Cannot Connect to Duet 3 Web Control
-
@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 -
@phaedrux FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.4.0beta1 ELECTRONICS: Duet 3 MB6HC v1.01 or later FIRMWARE_DATE: 2021-07-10 16:20:28<LF>ok<LF>
When running M115 Command
-
@frank-0 said in Cannot Connect to Duet 3 Web Control:
@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
It will if you have checked off the include latest firmware/Duet Web Control files.
@frank-0 said in Cannot Connect to Duet 3 Web Control:
FIRMWARE_VERSION: 3.4.0beta1
That's probably one step further than I would have recommended. I'd stick to the latest stable release while we're troubleshooting which is 3.3.
https://github.com/Duet3D/RepRapFirmware/releases/tag/3.3
Regardless, now that you have a firmware flashed and an SD card redone, are you able to get an IP address in YAT?
-
@phaedrux Is the latest stable release not 3.3? What happens if the SD card has 3.3 and the board has 3.4?
-
@phaedrux Made a new SD card and have this on it. .
Is this all I need? -
@frank-0 said in Cannot Connect to Duet 3 Web Control:
@phaedrux Is the latest stable release not 3.3? What happens if the SD card has 3.3 and the board has 3.4?
The SD card doesn't really hold firmware in any meaningful way other than it has the bin files available to be flashed to the board itself. We can go back to 3.3 once you have solid access to dwc again.