Duet disconnects
-
Hello,
I have been getting many disconnects the last days.
How can i check what the reason is? Is there a way to see if it is my internet connection's problem? The router does not seem to disconnect nor my computer. What may be the reason for this?
Thank you in advance
-
See here for some troubleshooting on wifi issues.
https://duet3d.dozuki.com/Wiki/WiFi_disconnections_and_AJAX_timeout_errorsIf you do M122 to get a diagnostic readout, what does the wifi section at the end say?
-
@phaedrux said in Duet disconnects:
M122
I did a reset some mins ago. To see if that fixes anything. It disconnected again. This is what M122 gives.
-
Here is my firmware version as well.
-
First, try updating your firmware to the full release of 2.02.
Simply upload this zip file to the settings>general page of the DWC.
https://github.com/dc42/RepRapFirmware/releases/download/2.02/Duet2Firmware-2.02.zip
Don't unzip it first. The DWC should take care of the whole update.Then, you can try updating the wifi server firmware to a recent beta release that may help with disconnects. https://forum.duet3d.com/topic/8355/duetwifiserver-1-22beta1-available
-
Updated both.
Disconnects continue.
-
How can i validate if this is an internet connection problem or a duet problem?
-
Well the disconnects would be from your local router. The internet wouldn't come into play at all, even if you were connecting to the Duet over the internet.
-
@phaedrux So duet is connected to the local network and should not be affected by the internet connection or speed?
-
That's right, the Duet won't be affected by the internet portion of the router at all.
Your signal strength is good, so that's not an issue.
Are there other devices that could be causing interference?
Are you in an apartment with congested wireless spectrum?
Have you rebooted the router?
-
@phaedrux said in Duet disconnects:
congested wireless spectrum
Not sure what congested wireless spectrum is.
My internet provider is a wireless internet service that transfers the internet signal via antennas through the air if that matters. -
@phaedrux Also my router is next to my computer and that is 1.5meters away from the printer.
-
Without knowing the exact details of your whole network I'm not sure what else to recommend at the moment. But you can try to identify a source of interference.
https://en.wikipedia.org/wiki/List_of_2.4_GHz_radio_use#Resolving_interference
In your case, with your internet provider being wireless itself, it's actually possible that it could be the source of interference. It might actually help to move your router out into a different room.
-
@phaedrux The provider signal hits an antenna on the roof of the building, 4floors higher, and then an ethernet cat6 cable brings it to the router. It is not wireless till the router.
-
Ah I see. I thought it might be like one of those portable cellular wifi hotspots.
-
@gpetropoulos, what does the blue LED on the WiFi module do? After it connects the first time, does it remain solid blue, or does it flash?
If the problem is due to 2.4GHz interference from another device (e.g. cordless phone, baby monitor, microwave oven) then changing the router WiFi channel may help.
-
@dc42 I see the led of the wifi module staying stable blue even after disconnects.
-
@gpetropoulos said in Duet disconnects:
@dc42 I see the led of the wifi module staying stable blue even after disconnects.
That means the WiFi module thinks it is still connected to your router. So I suspect the problem is not with the Duet WiFi.
When the problem occurs, are you still able to ping the Duet from a PC? If so, does the ping fail after you turn the Duet off?
-
@dc42 I cannot manage to ping it as it reconnects immediately after it disconnects.
-
@dc42 This is what M122 gives after the last event.
M122
=== Diagnostics ===
RepRapFirmware for Duet 2 WiFi/Ethernet version 2.02(RTOS) running on Duet WiFi 1.02 or later
Board ID: 08DGM-917NK-F23T0-6JKD4-3S06T-9YANF
Used output buffers: 3 of 20 (20 max)
=== RTOS ===
Static ram: 25524
Dynamic ram: 98604 of which 0 recycled
Exception stack ram used: 384
Never used ram: 6560
Tasks: NETWORK(ready,544) HEAT(blocked,1232) MAIN(running,3844) IDLE(ready,200)
Owned mutexes:
=== Platform ===
Last reset 00:03:16 ago, cause: software
Last software reset at 2019-01-07 01:09, reason: User, spinning module GCodes, available RAM 6600 bytes (slot 2)
Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
Error status: 4
Free file entries: 10
SD card 0 detected, interface speed: 20.0MBytes/sec
SD card longest block write time: 8.3ms, max retries 0
MCU temperature: min 33.1, current 33.4, max 33.8
Supply voltage: min 24.1, current 24.3, max 24.4, under voltage events: 0, over voltage events: 0, power good: yes
Driver 0: standstill, SG min/max 0/252
Driver 1: standstill, SG min/max 0/229
Driver 2: standstill, SG min/max 0/140
Driver 3: standstill, SG min/max not available
Driver 4: standstill, SG min/max not available
Date/time: 2019-01-07 01:12:34
Cache data hit count 728214923
Slowest loop: 35.97ms; fastest: 0.07ms
I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0
=== Move ===
Hiccups: 0, StepErrors: 0, LaErrors: 0, FreeDm: 240, MinFreeDm: 230, MaxWait: 26033ms, Underruns: 0, 0
Scheduled moves: 74, completed moves: 74
Bed compensation in use: mesh
Bed probe heights: 0.000 0.000 0.000 0.000 0.000
=== Heat ===
Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1
=== GCodes ===
Segments left: 0
Stack records: 2 allocated, 0 in use
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
serial is idle in state(s) 0
aux is idle in state(s) 0
daemon is idle in state(s) 0
queue is idle in state(s) 0
autopause is idle in state(s) 0
Code queue is empty.
=== Network ===
Slowest loop: 56.46ms; fastest: 0.00ms
Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
HTTP sessions: 1 of 8- WiFi -
Network state is running
WiFi module is connected to access point
Failed messages: pending 0, notready 0, noresp 0
WiFi firmware version 1.22beta1(30b14
WiFi MAC address b4:e6:2d:53:0a:f4
WiFi Vcc 3.36, reset reason Turned on by main processor
WiFi flash size 4194304, free heap 28576
WiFi IP address 192.168.11.39
WiFi signal strength -44dBm, reconnections 0, sleep mode modem
Socket states: 0 0 0 0 0 0 0 0
- WiFi -