• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Can't connect to wifi after firmware update

Scheduled Pinned Locked Moved
General Discussion
7
19
2.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    dc42 administrators
    last edited by 8 Jan 2018, 07:29

    Some suggestions:

    1. Which DuetWiFiServer.bin are you using: 1.20 or 1.20+1 ? Try the other one.

    2. Another user reported yesterday that he solved his connection issues by using a static IP address in the M587 command.

    3. Connect a PC via USB, send M111 S1 P14 to enable WiFi debugging, and report here what debugging messages are shown when the disconnection occur.

    Duet WiFi hardware designer and firmware engineer
    Please do not ask me for Duet support via PM or email, use the forum
    http://www.escher3d.com, https://miscsolutions.wordpress.com

    1 Reply Last reply Reply Quote 0
    • undefined
      briangilbert
      last edited by 8 Jan 2018, 08:16

      @dc42

      #2 alone didn't do it, but reverting back to 1.20 of DuetWiFiServer.bin seems to have resolved it

      Thanks.

      Co-creator of the Zesty Nimble direct drive extruder

      1 Reply Last reply Reply Quote 0
      • undefined
        Arty
        last edited by 1 Aug 2018, 11:29 8 Jan 2018, 09:46

        Hello. I'm new owner of duet wifi and also was experiencing problems with connecting. My wifiserver version 1.20 (also I had problems with preinstalled 1.19). In the beginning it connected but I've had numerous connection losts and AJAX webcontrol errors. So I've tried updating it to 1.20 version. It worked some time but after that it stopped connecting at all. Changing channels (btw in my flat it's totally useless because ALL 2.4ghz channels are overloaded, so I mainly use 5ghz wifi for my devices), wifi modes, I've tried everything - even using dedicated asus rt-n66u router solely for duet, but it wasn't any help.
        And when I was totally frustrated I've tried to connect to my neighbour's open (no password) DIR-320 router (d-link I presume).
        And it connected with no problems! Webcontrol was loading just instant, no AJAX errors at all.
        So today I want to try creating AP with no password on my routers and see how it goes with duet. (Also want to try static IP address).

        upd:

        1. static address - nope, it didn't help. It connected and got IP but I couldn't open webcontrol, it starts loading but very slow.
        2. Created AP with no password - connected with no problems.
        1 Reply Last reply Reply Quote 0
        • undefined
          dc42 administrators
          last edited by 8 Jan 2018, 12:08

          Interesting, I wasn't aware that enabling/disabling WPA2 could make a difference. Have you tried DuetWiFiserver 1.20+1 yet? It's at https://github.com/dc42/RepRapFirmware/blob/dev/EdgeRelease/DuetWiFiServer.bin (follow the link, then press Download).

          Duet WiFi hardware designer and firmware engineer
          Please do not ask me for Duet support via PM or email, use the forum
          http://www.escher3d.com, https://miscsolutions.wordpress.com

          1 Reply Last reply Reply Quote 0
          • undefined
            briangilbert
            last edited by 9 Jan 2018, 07:10

            So although I thought reverting to 1.20 duetwifiserver resolved the issue I am still getting DWC disconnects, just far less often now.

            Co-creator of the Zesty Nimble direct drive extruder

            1 Reply Last reply Reply Quote 0
            • undefined
              Gaza07
              last edited by 10 Jan 2018, 19:02

              I have had a lot of the same issues using the v1.20+1 I used to get the odd issue with v1.20 but no where near as much as v1.20+1 I will revert back to v1.20 for now

              1 Reply Last reply Reply Quote 0
              • undefined
                Arty
                last edited by 16 Jan 2018, 21:14

                @dc42:

                Interesting, I wasn't aware that enabling/disabling WPA2 could make a difference. Have you tried DuetWiFiserver 1.20+1 yet? It's at https://github.com/dc42/RepRapFirmware/blob/dev/EdgeRelease/DuetWiFiServer.bin (follow the link, then press Download).

                Sorry no help. I'm still using with AP without password (set my AP to use MAC address filters because of security). Sometimes I experience rare disconnects.
                AP with WPA2 password just don't work in my case. Firmware now - 1.21RC0 and 1.20+1 wifi.

                1 Reply Last reply Reply Quote 0
                • undefined
                  briangilbert
                  last edited by 31 Jan 2018, 08:19

                  Just reporting back that after updating my network gear to Ubiquiti Unifi kit everything is working properly again.

                  Co-creator of the Zesty Nimble direct drive extruder

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    dc42 administrators
                    last edited by 31 Jan 2018, 10:22

                    Brian, what make/model of router were you using before when you had the disconnections?

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      Dougal1957
                      last edited by 31 Jan 2018, 10:29

                      David just for info My Wifi wont connect at all to my Netgeear D6400 router but works to the cheap TP-Link travel router think it is a TL-720N or whatever I am due to change provider next week so will see what there Router is like I will report Back later.

                      Doug

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        MortarArt
                        last edited by MortarArt 9 Dec 2018, 07:07 12 Sept 2018, 06:57

                        I'm getting the same error now, since replacing my power supply. When I turn the Duet on, it either reports no wifi networks, or that it "failed while trying to connect" to the one it previously used without issue.

                        So back to troubleshooting!

                        17:04:00.737 : serial: M552 S1
                        17:04:00.742 : WiFi: mode : sta(5c:cf:7f:76:73:38)
                        17:04:00.743 : WiFi: add if0
                        17:04:02.931 : WiFi: scandone
                        17:04:02.939 : WiFi: ../src/SocketServer.cpp(353): found network BLANK1
                        17:04:02.945 : WiFi: ../src/SocketServer.cpp(353): found network BLANK2
                        17:04:02.954 : WiFi: ../src/SocketServer.cpp(353): found network BLANK3
                        17:04:02.961 : WiFi: ../src/SocketServer.cpp(353): found network BLANK4
                        17:04:02.969 : WiFi: ../src/SocketServer.cpp(353): found network ETC
                        17:04:03.015 : WiFi: sleep enable,type: 2
                        17:04:03.578 : N13 M10521
                        17:04:05.206 : WiFi: scandone
                        17:04:05.208 : WiFi: state: 0 -> 2 (b0)
                        17:04:06.209 : WiFi: state: 2 -> 0 (2)
                        17:04:06.210 : WiFi: reconnect
                        17:04:06.645 : N14 M105
                        18
                        17:04:08.401 : WiFi: scandone
                        17:04:08.403 : WiFi: state: 0 -> 2 (b0)
                        17:04:09.402 : WiFi: state: 2 -> 0 (2)
                        17:04:09.403 : WiFi: reconnect
                        17:04:09.707 : N15 M105*19
                        17:04:11.593 : WiFi: scandone
                        17:04:11.596 : WiFi: state: 0 -> 2 (b0)
                        17:04:12.595 : WiFi: state: 2 -> 0 (2)
                        17:04:12.596 : WiFi: reconnect
                        17:04:12.598 : ESP reported status change
                        17:04:12.598 : WiFi reported error: Failed while trying to connect to BLANK3
                        17:04:12.598 : WiFi module is idle
                        17:04:12.598 : WiFi: scandone
                        17:04:12.598 : WiFi: del if0
                        17:04:12.599 : WiFi: usl
                        17:04:12.601 : WiFi: mode : null

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          MortarArt
                          last edited by MortarArt 9 Dec 2018, 07:32 12 Sept 2018, 07:12

                          Not too sure if it's relevant, but I'm getting reset buffer blocks via the COM port now. Not sure if that was happening previously.

                          Firmware version 2.02beta1(RT0S) - date 2018-08-12b5
                          Duet Wifi 1.02 or later

                          Using M588 S"*" to forgot the existing network, allowed me to use M587 S"network" P"password" to connect (M552 S1) to a new network. I'll check now if I can still connect to the old one.

                          Final edit; problem solved by deleting the network and reconnecting. No idea why.

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA