Unsolved Duet2 connection interrupted: Let's get to the bottom of this
-
I wonder if this might be a DHCP issue. Is your Duet configured for DHCP or static IP address? If DHCP, try configuring it with a static IP (that is outside the DHCP lease list range). Aternatively, try changing the lease period expiration on the DHCP server (probably the router) to zero (or whatever = never).
-
@ajdtreyd Man I would have never guessed to look in that direct, good thinking on your part. Although I must admit I have never known DHCP to cause intermittent issues. And I doubt it is the case here. My Duet is indeed in DHCP mode, with a preferred IP set at the DHCP-server (the router in my case), with a default lease time of 10 days. To give some perspective, the issues I described happend multiple times a day, variying amounts but I'd guestimate around 10-15 times/day.
I will try if setting a proper static ip will make any difference just to be sure.
-
@ajdtreyd As promissed, I just tried with a static ip. No change sadly. One more thing to cross off the list I guess
-
Another interesting and possibly related experience:
Most of yesterday, I had substantial problems downloading files from Cura to my Duet2wifi. When you select to print via Cura, it asks you to confirm the file name and then you see a progress window for the download. Most of the time this goes very fast. Well, yesterday the progress would go in little chunks. Maybe 2% at a time, sometimes more, sometimes less, sometimes it would just sit there for a second or ten before moving again.
To me this looks like interference of some kind but short of a spectrum analyser, I have no means of tracing the problem. I am 99.9999% sure this has nothing to do with anything in my household but I have no idea what kind of crap comes in from the outside. I am not sure how the neigborhood would react to me wrapping the house in aluminum foil but I suspect they would not be pleased.Today it is business as usual with a very fast file transfer.
The funny thing is that the printer is in the basement, thick concrete walls and what not so presumably a substantial amount of reduction in any interfering signals. The network access point is about 30 feet away but I have had it sitting right next to the printer with no difference in the issue.
-
@jens55 I feel you, I can't really justify one but I'd love to have capable spectrum analyzer as well. My 200MHz scope fft isn't going to cut it when looking for 2,4 GHz noise . Although I must admit that I doubt this an interference issue, seeing how constant it is. My connection issues happen 24/7 for random lengths of time. Also, and I did have them before I moved as well, eliminating some HAM neighbour going wild on the spectrum
@chrishamm or @Phaedrux Did you manage to figure out anything from the wireshark traces / debug dumps?
-
I'm not sure if @chrishamm has had a chance to view your debug dumps yet.
How handy are you with a soldering iron? Handy enough to replace the wifi module confidently?
-
@phaedrux said in Duet2 connection interrupted: Let's get to the bottom of this:
How handy are you with a soldering iron? Handy enough to replace the wifi module confidently?
I do some sodering every now and then and do have a hot air station available as well. I believe I should be able to get it off.
-
One more question/suggestion; Have you tried reflashing the wifi module ( M997 S1 )?
Back when 3.3 was in pre-release I was doing a bit of version hopping and occasionally the wifi module would give me some erratic connection problems. Sometimes it would take a couple of poweroff/on-flash-poweroff/on cycles to get the wifi stable again, but this has worked for me. Dunno if that will do the trick, but it takes about 5min and no soldering skills to try. -
@ajdtreyd said in Duet2 connection interrupted: Let's get to the bottom of this:
One more question/suggestion; Have you tried reflashing the wifi module ( M997 S1 )?
Back when 3.3 was in pre-release I was doing a bit of version hopping and occasionally the wifi module would give me some erratic connection problems. Sometimes it would take a couple of poweroff/on-flash-poweroff/on cycles to get the wifi stable again, but this has worked for me. Dunno if that will do the trick, but it takes about 5min and no soldering skills to try.I just tried a
M997 S1
and a couple of power cycles, but no relief. -
Sorry about that. Sounds like if the dumps don't provide insight it's gonna be a soldering exercise.
-
@nxt-1 side note, but if you do replace the WiFi module, put some heat protection around the other components, especially the SD slot.
I did mine a while back and it was pretty easy. However, I didn't protect the SD slot and slightly melted some of the internals. It still worked, but no longer clicked in so I had to tape the SD card in until I got round to replacing it.
A bit of kapton tape over it should do -
@nxt-1 My question is this, is the blue LED off, solid on, or blinking during the times your Duet board is not pingable? That would at least tell if the board is connected to the access point or wifi router or hub.