Won't connect to Wifi (but it used too…)



  • So mid print I had a disconnect, and tried reconnecting via web interface and it just says:
    " Error

    Could not establish a connection to the Duet firmware! Please check your settings and try again."

    So, after connecting to simplify3D via USB I sent M552 S0 and S1 to reset it, still nothing. After looking through the wiki and trouble shootings I've installed the latest wifi firmware but still no connection??

    My next solution is to go back to access point mode and see if I have any luck then. Anyone got any ideas though?


  • administrators

    When you send M552 S0 and then S1, what response do you get? You should either get a response saying that the wifi has connected and giving you the IP address, or a message saying it has gone into access point mode.



  • It gives a connection message as usual, saying that its connected to router and it gives IP address.


  • administrators

    Are you able to ping that IP address? If so, please check that you can no longer ping it when you send M552 S0, to check that there isn't an IP address conflict.

    If you look in the status page of your router, does the Duet WiFi appear to be connected?



  • Bump up on this thread….. My wifi issues seem to be getting worse and it's turning into a huge pain in the arse.....

    Resetting board, or resetting wifiserver using M552 does not reconnect it. Resetting my router does but is just not an option any more when I have to reset the router every 5 minutes. Status page of router confirms connection to duetwifi.

    EDIT: No success with pinging it. Could not find host.


  • administrators

    Thats really odd, has something changed with your Wifi network? (or possibly other wifi networks that are conflicting with it?)



  • No, nothing has changed. It is possible that the issue was always present but I did not notice it to begin with. it's certainly gotten worse. I used to be able to jog a connection eventually, but now even resetting the router does not always reconnect it. I'm now resorting to printing over USB its gotten so bad, as majority of files will not upload since the connection will drop out before its even uploaded.


  • administrators

    Have you by any chance recently acquired another device that uses the 2.4GHz band and is close to the Duet, such as a cordless telephone?



  • I have a chromecast and a philips hue bridge connected to my router. The chromecast has been there since the beginning, and the hue is a more recent edition but the issues pre-date the hue, although I won't rule out one of these having made the problem worse. I'll disconnect them and see what happens.

    EDIT: It could very well be the Hue, although what caused my issues prior to this is a mystery. Found this rather helpful link – https://support.metageek.com/hc/en-us/articles/203845040-ZigBee-and-WiFi-Coexistence

    Any advice now to make my wifi, duet and hue co-exist would be much appreciated.



  • @GeckoBox3D:

    EDIT: No success with pinging it. Could not find host.

    I had a similar issue between a Raspberry Pi and a Sky TV box where they were arguing over an IP address despite both being DHCP.

    Did you ping the name of the Duet or it's IP address? If you pinged by name and there is a duplicate IP address this might not work as the device needs to be on the network to register it's name. To test and resolve this:

    1. Disconnect your Hue, restart your router and then turn on the Duet WiFi.

    2. Check in your router's interface for the Duet WiFi, depending on brand there should be an "attached devices" page or similar that you can use to find the MAC address<->IP Address mapping between the Duet and it's assigned IP.

    3. If you see an entry for the Duet, ping the IP Address. This should work and you should also be able to get to the web interface of the Duet.

    4. If that all works, either the Hue or the Duet is likely using the same IP Address for some reason. If you can't set static addresses on either/both then consider using IP Address Reservations on the router to statically bind the MAC address of the Duet to an unused IP Address. You may as well bind the Hue to a different IP Address at the same time, that way you should be able to guarantee keeping the two separate.

    If the IP Address is not in conflict and it's a radio spectrum issue then you are probably better off looking for general WiFi / Zigbee cooperation advice rather than anything specific to 3D printing.

    Hope this is of use

    David



  • My wifiduet has also just stopped doing wifi 😞



  • I can confirm that Unplugging the phillips Hue helped ALOT…. But not completely....

    I can now connect 50% of the time, but there are still a lot of disconnects / not connecting at all. I'll experiment by taking away the chromecast next... If that doesn't work then I will try the static IP addresses as already stated / check for conflicting IP addresses. I don't have a busy router though, only 7 devices connected at any given time, 4 of those being normal internet devices (laptops, phones etc...) so not sure how much any of this will make a difference.

    I'm also a wifi noob, so the idea of shuffling frequencies, allocating static IP addresses etc is all very new/unknown to me. Expect this to become my ranting thread very soon.

    I can't help but think there is an easier way forward though.... With all the IoT devices out there now, surely a lot of duet users are suffering?



  • Hallo,
    if have similar Problems with my duetwifi. After 4 month of usage the duetwifi lost the wifi connection from time to time. Now the wifi seems to run but the machine is not able to connect. If i ping the machine only the first ping works.
    This look like this.

    ping duetwifi
    PING duetwifi.fritz.box (10.10.10.41) 56(84) bytes of data.
    64 bytes from DeltaDrucker.fritz.box (10.10.10.41): icmp_seq=1 ttl=128 time=7.58 ms

    –- duetwifi.fritz.box ping statistics ---
    13 packets transmitted, 1 received, 92% packet loss, time 12002ms
    rtt min/avg/max/mdev = 7.588/7.588/7.588/0.000 ms

    Connection via Pronterface work.

    SENDING:M552 S1
    WiFi server starting up
    DuetWiFiServer version 1.03 (ch fork)
    Flash size 4194304, free RAM 32840 bytes, WiFi Vcc 3.08V, host name: duetwifi, reset reason: Turned on by main processor
    WiFi server connected to access point SweetHome, IP=10.10.10.41, signal strength=-66dBm

    Whats on with the wifi interface? I think it is an electronic failure, I am right?


  • administrators

    It could be a failure of the WiFi module. But I think it more likely that the Duet is competing with other devices to be heard by the router. If you move the printer closer to your router, does it connect reliably?



  • Had exact same thing - did you try clearing all of your browser cache?



  • Hi David,
    i put the printer as near as possible to the wifi router so the signal strength goes up to -30dBm. I also disable most of our wifi-device but nothing happens. If i ping the machine only the first ping received an answer all other packet are lost. Is it possible and does it make sense to connect an external antenna?



  • Hi David,
    i put the printer as near as possible to the wifi router so the signal strength goes up to -30dBm. I also disable most of our wifi-device but nothing happens. If i ping the machine only the first ping received an answer all other packet are lost. Is it possible and does it make sense to connect an external antenna?


  • administrators

    It does sound as though the wifi module may have developed a fault, or else you have hit an obscure bug i the wifi firmware. The two courses of action I can think of are:



  • @torge:

    Hallo,
    if have similar Problems with my duetwifi. After 4 month of usage the duetwifi lost the wifi connection from time to time. Now the wifi seems to run but the machine is not able to connect. If i ping the machine only the first ping works.
    This look like this.

    ping duetwifi
    PING duetwifi.fritz.box (10.10.10.41) 56(84) bytes of data.
    64 bytes from DeltaDrucker.fritz.box (10.10.10.41): icmp_seq=1 ttl=128 time=7.58 ms

    –- duetwifi.fritz.box ping statistics ---
    13 packets transmitted, 1 received, 92% packet loss, time 12002ms
    rtt min/avg/max/mdev = 7.588/7.588/7.588/0.000 ms

    Connection via Pronterface work.

    SENDING:M552 S1
    WiFi server starting up
    DuetWiFiServer version 1.03 (ch fork)
    Flash size 4194304, free RAM 32840 bytes, WiFi Vcc 3.08V, host name: duetwifi, reset reason: Turned on by main processor
    WiFi server connected to access point SweetHome, IP=10.10.10.41, signal strength=-66dBm

    Whats on with the wifi interface? I think it is an electronic failure, I am right?

    I got the same weird problem. I used DUET wifi 1 month back. After that I used the 3d printer today only. Initially the DUET Wifi was not connecting. I found this thread and thought the Wifi module is not working. I moved my printer closer to the router and used pronterface. I reset the wifi by M551 S0 and again used M551 S1 and found the signal strength=-48dBm.

    It gave the IP of 192.168.0.5, but nowhere I was able to connect to this IP.

    One of my PC's was connected to the router through ethernet cable. From that PC, I used Chrome browser and typed 192.168.0.5, and voila.. It worked. I am surprised by the behaviour of DUET Wifi. Eventhough the Wifi board is very good, like others we are also facing too much problems. Next we should go only to the Duet Ethernet.



  • I solved "my" Problem!
    After I almost went mad, I restart my Fritzbox 7390 (in Germany a very popular Wifi router) the first time after 3 months. I can not believe it but the DuetWifi-Board is now easily accessible again. Can it be that the Wifi router masked the DuetWifi board as unsafe?


 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.