DWC does not connect to any browser
-
Hardware: Duet2Wifi and Duex5
Firmware: 3.4.5M122 (via serial tool) shows:
Wi-Fi
Network state is active
Wi-Fi module is connected to access pointWhen I type the address 192.168.178.xx shown in the router the browser replies „connection could not be established to the server“
This appeared after several hours of configuration work on my CoreXY printer using DWC.
Where does the error come from?
-
Check the SD card in your PC, are all the folders present?
You could try replacing the files in the WWW folder with a fresh set from here: https://github.com/Duet3D/RepRapFirmware/releases/download/3.4.5/DuetWebControl-SD.zip
Can you copy and paste the full result of M122?
-
@Phaedrux Thank you for your quick answer.
I changed the files of „www“ and restarted the printer. Unfortunately the error remains.Here you find the results of M115 and M122:
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.4.5 ELECTRONICS: Duet WiFi 1.02 or later + DueX5v0.11 FIRMWARE_DATE: 2022-11-30 19:36:12
okM122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 3.4.5 (2022-11-30 19:36:12) running on Duet WiFi 1.02 or later + DueX5v0.11
Board ID: 0JD0M-9P6B2-NJ4S8-6JTDJ-3SD6N-TS76L
Used output buffers: 1 of 26 (2 max)
=== RTOS ===
Static ram: 23836
Dynamic ram: 75740 of which 0 recycled
Never used RAM 12504, free system stack 164 words
Tasks: NETWORK(ready,13.1%,376) HEAT(notifyWait,0.0%,333) Move(notifyWait,0.0%,363) DUEX(notifyWait,0.0%,24) MAIN(running,86.5%,438) IDLE(ready,0.4%,30), total 100.0%
Owned mutexes: USB(MAIN)
=== Platform ===
Last reset 00:03:35 ago, cause: power up
Last software reset at 2023-02-09 16:23, reason: User, GCodes spinning, available RAM 12432, slot 0
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
Error status: 0x00
Aux0 errors 0,0,0
Step timer max interval 0
MCU temperature: min 25.4, current 30.0, max 30.4
Supply voltage: min 24.1, current 24.3, max 24.6, under voltage events: 0, over voltage events: 0, power good: yes
Heap OK, handles allocated/used 0/0, heap memory allocated/used/recyclable 0/0/0, gc cycles 0
Events: 1 queued, 1 completed
Driver 0: standstill, SG min n/a
Driver 1: standstill, SG min n/a
Driver 2: standstill, SG min n/a
Driver 3: standstill, SG min n/a
Driver 4: standstill, SG min n/a
Driver 5: standstill, SG min n/a
Driver 6: standstill, SG min n/a
Driver 7: over temperature warning, over temperature shutdown, phase A short to ground, phase B short to ground, standstill, SG min n/a
Driver 8: standstill, SG min n/a
Driver 9: standstill, SG min n/a
Driver 10:
Driver 11:
Date/time: 1970-01-01 00:00:00
Cache data hit count 4294967295
Slowest loop: 4.63ms; fastest: 0.18ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
=== Storage ===
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest read time 3.1ms, write time 0.0ms, max retries 0
=== Move ===
DMs created 83, segments created 0, maxWait 0ms, bed compensation in use: none, comp offset 0.000
=== MainDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== AuxDDARing ===
Scheduled moves 0, completed 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
=== Heat ===
Bed heaters 0 -1 -1 -1, chamber heaters -1 -1 -1 -1, ordering errs 0
=== GCodes ===
Segments left: 0
Movement lock held by null
HTTP is idle in state(s) 0
Telnet is idle in state(s) 0
File is idle in state(s) 0
USB is ready with „m122“ in state(s) 0
Aux is idle in state(s) 0
Trigger is idle in state(s) 0
Queue is idle in state(s) 0
LCD is idle in state(s) 0
Daemon is idle in state(s) 0
Autopause is idle in state(s) 0
Code queue is empty
=== DueX ===
Read count 1, 0.28 reads/min
=== Network ===
Slowest loop: 15.67ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0)
HTTP sessions: 0 of 8
= WiFi =
Network state is active
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.26
WiFi MAC address 48:3f:da:a7:0f:d3
WiFi Vcc 3.39, reset reason Power up
WiFi flash size 2097152, free heap 26128
WiFi IP address 192.168.178.xx
WiFi signal strength -68dBm, mode 802.11n, reconnections 0, sleep mode modem
Clock register 00002002
Socket states: 0 0 0 0 0 0 0 0
ok -
@3DinoPrint said in DWC does not connect to any browser:
192.168.178
What IP address does your computer have? Are you even on the same subnet?
-
@Phaedrux 192.168.178.96
With this address the printer is connected to the router -
Yes, but what is the IP address of your computer?
Can you ping the printer IP address from your computer?
-
@3DinoPrint Actually I am working on an iPad, which is also shown as connected to the same router via Wi-Fi.
Attached you find a screenshot from safari, my browser on the iPad:
-
@Phaedrux the iPad is connected with 192.168.178.93
-
@Phaedrux I managed to ping the address from my computer:
-
Does your router have wireless client isolation perhaps? It would prevent wireless clients from reaching each other.
@3DinoPrint said in DWC does not connect to any browser:
I managed to ping the address from my computer:
And does it load DWC in the browser?
-
@Phaedrux I just tried to connect via ethernet from my PC. With all three devices and different browsers it is not possible to connect.
-
Please test the Duet in Access Point Mode.
See here for details on how: https://docs.duet3d.com/User_manual/Reference/Gcodes#m589-configure-access-point-parametersThis will have the Duet create its own WIFI SSID that you will be able to connect to using your devices wifi menu. The duet becomes it's own router. Then you can try reaching it from a browser.
Does that make sense?
-
@Phaedrux I successfully set up an access point and DWC appeared. I think I will write two macros to change between a connection to Wi-Fi from a router and to an access point. Thank you for your support.
-
-