Duet2 wifi stuck repeating Wifi Error.
-
@zBeeble Okay. Getting an
M112M122 when the print finishes would help. A lot of WiFi bugs where quashed in the run up to 3.5 release, but that doesn't mean they all are!This thread seems very similar, and sounds like it didn't get resolved: https://forum.duet3d.com/topic/34029/wifi-spi-timeout-error/
And this one https://forum.duet3d.com/topic/31075/3-5-0b1-wifi-error-spi-timeoutDo you have FTP enabled?
Ian
-
@droftarts I can't check at the moment, but I probably have FTP on.
-
@zBeeble Here's a question: what if I can't get in via IP and the screen is still flashing that message? Any ideas on getting that command in?
-
@zBeeble Connect via USB and serial terminal.
Ian
-
@droftarts I was unable to get all that together. After rebooting the machine, as usual, it is again running normally. Any info you want from it before it craps out again?
-
-
@zBeeble Hello, I have some questions:
"DWC is unavailable (port is just closed)"
When you said , did the browser only keep spinning when trying to load DWC, or was there a more definite error message?
I was unable to get all that together.
Did you mean trying to get M122 failed as well, or were you only not able to attempt to do a M122 prior to reboot?
My Duet2 Wifi occasionally sticks repeating
Do you have some notion on how often this repeats? Does it happen when printing, or when the printer has a high uptime? What's the signal level like on the printer normally, is it far from the AP? Are there multiple DWC instances open from multiple devices?
-
@zBeeble , also are you able and willing to load a special build of the WiFi firmware with more debug output on the printer? This can help us tremendously in diagnosing the problem if you can.
If you are, the other thing is also to turn on wifi and network debug outputs using
M111 P14 S1
andM111 P1 S1
, and having the printer continuously connected to a computer, monitoring the serial output , until the issue happens again . And then once it does happen, we have more logs to go by. -
@OwenD @danzaywer you previously reported this issue on other threads mentioned by @droftarts , are you still encountering this issue?
If yes, are you also able to do https://forum.duet3d.com/post/339484?
@zBeeble , also are you able and willing to load a special build of the WiFi firmware with more debug output on the printer? This can help us tremendously in diagnosing the problem if you can.
If you are, the other thing is also to turn on wifi and network debug outputs using M111 P14 S1 and M111 P1 S1, and having the printer continuously connected to a computer, monitoring the serial output , until the issue happens again . And then once it does happen, we have more logs to go by.
-
@rechrtb said in Duet2 wifi stuck repeating Wifi Error.:
@zBeeble Hello, I have some questions:
"DWC is unavailable (port is just closed)"
When you said , did the browser only keep spinning when trying to load DWC, or was there a more definite error message?
I'm a network guy (most familiar with the FreeBSD IP stack). I didn't try telnetting to it, but the browser response was that of the port being closed before the page was being delivered. I'm relatively sure it's delivering no data, but I didn't check that for sure. I am sure it's closing the port.
I was unable to get all that together.
Did you mean trying to get M122 failed as well, or were you only not able to attempt to do a M122 prior to reboot?
I didn't have time to sort out a usb/serial cable.
My Duet2 Wifi occasionally sticks repeating
Do you have some notion on how often this repeats? Does it happen when printing, or when the printer has a high uptime? What's the signal level like on the printer normally, is it far from the AP? Are there multiple DWC instances open from multiple devices?
From a large view ... it's been happening about once a week. It may have happened before the 3.5.0 beta -> 3.5.1 update, but not before then. At a more granular view, previously, it errored a few times and then was back online. This constant error until restart is new ... it's happened twice. The errors happen so quickly that I cannot usefully cancel them on the printer display.
-
@rechrtb said in Duet2 wifi stuck repeating Wifi Error.:
@zBeeble , also are you able and willing to load a special build of the WiFi firmware with more debug output on the printer? This can help us tremendously in diagnosing the problem if you can.
If you are, the other thing is also to turn on wifi and network debug outputs using
M111 P14 S1
andM111 P1 S1
, and having the printer continuously connected to a computer, monitoring the serial output , until the issue happens again . And then once it does happen, we have more logs to go by.I'm certainly willing. I'll try to find a cable. Do I just need an A to mini-A?
-
@rechrtb urnh? That seems to point to this forum post.
-
@zBeeble The link @rechrtb posted was asking the other users that had reported this problem to look at his previous post.
Can you get an M122 report? I want to check what version of DuetWiFiServer you are using.
Do I just need an A to mini-A?
Yes, just make sure it's power AND data, some aren't. Send
M111 P14 S1
andM111 P1 S1
at startup, and you'll need to connect to the Duet using a serial monitor (eg YAT) and leave it connected and running.Ian
-
@rechrtb
I was randomly having that issue, but haven't seen it for a while.
I turned off telnet , but still have ftp running.
DWC was unresponsive when it happened, but I could connect via usb. -
@OwenD How do you turn telnet and/or ftp on/off?
-
@zBeeble Great! Here is the custom WiFi module firmware. To confirm you have this,
M122
should sayFirmware version 2.1.0d
.Also, I would suggest logging the terminal outputs to a file (some terminal software have this feature). This is because some terminals have a line/character liimit - and this might be a long term log gathering. If you mention the terminal software you are going to use, we can maybe advise you on how to turn on logging to file.
-
@OwenD Are you currently on 1.27 or 2.x wifi firmware?
-
@rechrtb I was just going to jack it into one of the FreeBSD boxes here ... so any unix/linux software. I'm lazy enough to use CU for most things, but there are a few term programs.
-
-
@rechrtb BTW... I'm familliar with uploading a .zip to the printer to update it ... i usually choose the everything.zip. How do I update the one file?