Cannot Connect to Duet 3 Web Control
-
Do you have the ethernet cable connected to your router or your computer?
Can you please post your config.g from the SD card? I'd like to see what it's set to do at startup.
Can you also send M122 in the terminal and copy and paste the results?
-
@phaedrux Right now I have it connected to my computer and I am trying to configure/set an IP address. I also set an IP address on my computer. I also tried connecting it to the router, but that did not work either.
M122 command: === Diagnostics ===<LF>RepRapFirmware for Duet 3 MB6HC version 3.2.2 running on Duet 3 MB6HC v1.01 or later (standalone mode)<LF>Board ID: 08DJM-9P63L-DJMSS-6J9DD-3S06Q-TBFR8<LF>Used output buffers: 1 of 40 (1 max)<LF>=== RTOS ===<LF>Static ram: 149788<LF>Dynamic ram: 92564 of which 120 recycled<LF>Never used RAM 116360, free system stack 164 words<LF>Tasks: NETWORK(ready,545) ETHERNET(blocked,211) HEAT(blocked,297) CanReceiv(blocked,927) CanSender(blocked,371) CanClock(blocked,352) TMC(blocked,53) MAIN(running,1130) IDLE(ready,19)<LF>Owned mutexes: USB(MAIN)<LF>=== Platform ===<LF>Last reset 00:44:08 ago, cause: power up<LF>Last software reset at 2021-06-30 14:15, reason: User, GCodes spinning, available RAM 117132, slot 0<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x00400000 BFAR 0x00000000 SP 0x00000000 Task MAIN Freestk 0 n/a<LF>Error status: 0x00<LF>Aux0 errors 0,0,0<LF>Aux1 errors 0,0,0<LF>MCU temperature: min 39.1, current 49.6, max 49.7<LF>Supply voltage: min 0.2, current 23.6, max 23.7, under voltage event[Warning: Maximal number of characters per line exceeded! Check the line break settings in Terminal > Settings > Text or increase the limit in Terminal > Settings > Advanced.]
I cannot upload a screenshot of my config file because it is over 4096 kb... It is EXTREMELY blank. This is all it has (I typed it out).
;Default config.g template for DuetPi
;Replace this with a proper configuration file (e.g. from https://configtool.reprapfirmware.org);Display initial welcome message
;Enable network
M552 P192.168.2.1 S1. -
I can't see anything in your photo. What am I looking at?
@frank-0 said in Cannot Connect to Duet 3 Web Control:
Maximal number of characters per line exceeded! Check the line break settings in Terminal > Settings > Text or increase the limit in Terminal > Settings > Advanced.]
Please configure YAT to use the correct line break format so we can see the fulll report.
-
@phaedrux I realized the image was impossible to read. Sorry. It was meant to be the config.g file.
.
When I was on the web control, I changed the 0.0.0.0 to 192.168.2.1
-
@phaedrux My version of YAT does not have these settings. It looks different.
-
@frank-0 Is the "ETHERNET(blocked,211)" section of this text a concern?
-
Are you using a single board computer like a raspberry Pi with your duet3 right now?
-
@phaedrux No I am not. I realized the error with the network commands was because the SD card got loose. I am trying to get a wired network connection (ethernet) and access the web control page.
https://duet3d.dozuki.com/Wiki/Setting_up_networking_on_Duet I have read and looked at this page as well.
-
So with the SD card back in place are you having better luck?
-
@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).