Cannot Connect to Duet 3 Web Control
-
@phaedrux Better, but still not completely working. Is it possible to connect via just USB instead of using the ethernet/networking?
-
How does it behave now? Are you able to connect to the web interface or not?
Does the SD card have the correct files in the /www folder?
You can stream gcode over USB from a sender program like octoprint or simplify3d or pronterface, but you lose a lot of features including speed and quality.
-
@phaedrux When I try to set up the networking, I get this on YAT: . Visiting this address on a browser does not work. I just want to connect to the Web Control
-
You have to have on the SD card a basic config.g and the files for the web interface.
Do you have those on the SD card?
Frederick
-
@frank-0 said in Cannot Connect to Duet 3 Web Control:
Visiting this address on a browser does not work.
What do you actually see in the browser when you try to go to that address?
Are you able to ping that address from your computer?
What IP address does your computer have?
This will help us confirm if you're able to communicate with the Duet over the network.
Can you show us a screenshot of the contents of your SD card?
At minimum it should have a folder structure similar to what is shown here: https://duet3d.dozuki.com/Wiki/SD_Card#Section_Creating_the_file_structure
If the /www folder is missing or empty, you won't be able to connect to the web control even if the network connection is good. If it's missing or empty, you can replace the files using this zip file.
https://github.com/Duet3D/RepRapFirmware/releases/download/3.2.2/DuetWebControl-SD.zip
Extract the contents of that zip file into the /www folder.
-
@phaedrux The SD card contents look just like the link you sent. The www folder is there and has the stuff in the second link you sent. When I try to go to the address, I believe it either just says something along the lines of "cannot connect" or "no internet" (because I have no internet on the PC I am using-- only 1 ethernet cable).
-
@phaedrux YAT is not responding back to me anymore either?
-
Replug the USB cable and try to reconnect? If it still won't respond, what LEDs are lit up on the board?
Are you able to ping that address from your computer?
What IP address does your computer have?
-
@phaedrux There is 5 LEDs lit up. The USB one next to the micro USB. Blue next to V Fused, and 3 other lights for 12V, 5V, and 3.3V. (red lights and green). Right now, the YAT program will not even send a response back to me when I type in commands (see screenshot above). I tried re plugging the device in, undoing the drivers, reinstalling the drivers, etc.
SD Card contents:
sys folder:
www folder:
-
The screen shot showing the SD card contents has a lot of additional files I'm not expecting to see. It looks like a linux partition.
Do you have a spare SD card you can test with? Format it as FAT32 and Copy over just the file folders.
When you connect the board via USB do you get a device detected chime from windows? Does anything show up in device manager?
-
@phaedrux Yes, it shows up as COM3 USB Serial Device. When I install the drivers to it, it changes to Bossa Program or something like that. Should I go into the config files and change the IP to what I plan to assign to the printer? (It shows up in device manager, but I dont get a windows notification of it connecting. could be a notification setting).
-
Seems like this may be my issue. I have the Duet 3 6HC Mainboard. How can I get the right firmware again? The link appears to be for a different version of the board.
-
@phaedrux I reinstalled the firmware and YAT is responding. Im back to the old problem of not being able to connect to the web control.
-
Ok, it seems like the firmware got wiped and you've got it back on, so that's good.
In YAT, please send M115 to confirm what firmware version was installed. When we know the firmware version we can use the correct DWC files for that version.
Once we have the correct DWC files for that version in place we can work on setting an IP address and connecting to the web interface.
The easiest would be just letting the duet get a DHCP address from the router and then using http://duet3.local to connect to it, but you can also set a static IP in the config.g if you prefer as long as you're sure the static IP you choose is valid and free to use on the network and isn't likely to be assigned to another device at some point which would generate a conflict.
-
@frank-0 Do you have something like this at the start of your config.g file:
M552 P192.168.2.2 S1 ; set hard address
M553 P255.255.255.0 ; assign subnet address
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet;Better yet, post up your config.g file
-
@kb58 After using Bossa to reset my firmware, I cannot find the config.g file. The sys folder changed to this
-
@phaedrux I do not think my SD card has everything on it properly. Is there a way I can fix/confirm my SD card is as should be? I will run the M115 command after or soon.
-
@frank-0 said in Cannot Connect to Duet 3 Web Control:
@kb58 After using Bossa to reset my firmware, I cannot find the config.g file. The sys folder changed to this
I have never seen anything like that before.
I suggest you get a clean new SD card, format it as FAT32, and then start fresh from there.
Create the following folders
sys
macros
www
gcodes
menu
filamentsCreate a fresh config file set from here: https://configtool.reprapfirmware.org/Start
Fill out the info to the best of your knowledge. We just want a starting point.
What firmware bin file version did you use to flash with Bossa? 3.3?
https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/DuetWebControl-SD.zip
Download that zip file and extract it into the /www/ folder.
That should get your SD card back to a working state.
-
@phaedrux Does using the config tool automatically generate a www folder? I used the tool and it had me download a sys and www folder
-
@frank-0 I downloaded the third link here when using Bossa.
https://duet3d.dozuki.com/Wiki/Installing_and_Updating_Firmware
I followed fall back procedure #2