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

    New Duet 2 Wifi Not Working

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    6
    26
    1.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.
    • oliofundefined
      oliof
      last edited by

      You can try

      M552 S-1
      M552 S0
      M587 S"SSID" P"password"
      M552 S1

      This resets the wifi module, then puts it in idle mode where you can tell it to add a WiFi and password to it's list of networks to try and connect, and then enables the wifi again.

      If that fails, run M122 and post the output about wifi.

      <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User @RAM
        last edited by

        M587: Failed to add SSID to remembered list

        Is this stored on SD card or inside ESP8266?

        1 Reply Last reply Reply Quote 0
        • oliofundefined
          oliof
          last edited by

          That's stored in the ESP

          <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

          1 Reply Last reply Reply Quote 0
          • RAMundefined
            RAM
            last edited by

            nope not working either
            M552 S-1
            ok
            M552 S0
            ok
            WiFi module started
            M587 S"ASUS" P" ** 23password23 ** "
            ok
            M552 S1
            ok
            WiFi reported error: no known networks found
            WiFi module is idle

            I don't understand why it won't connect to the network it is about 3 feet away from the router and has the external antenna connected.

            1 Reply Last reply Reply Quote 0
            • oliofundefined
              oliof
              last edited by

              What does a plain M587 return?

              <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

              RAMundefined 1 Reply Last reply Reply Quote 0
              • RAMundefined
                RAM @oliof
                last edited by

                @oliof

                M587
                M587: Failed to retrieve network list
                ok

                1 Reply Last reply Reply Quote 0
                • RAMundefined
                  RAM
                  last edited by

                  ahh now it is showing
                  Remembered networks:
                  TNCAP2FCC19 IP=192.168.1.14 GW=0.0.0.0 NM=0.0.0.0
                  ASUS IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
                  VM2973955 IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
                  ok

                  not sure where the TNCAP2FCC19 IP=192.168.1.14 GW=0.0.0.0 NM=0.0.0.0 came from

                  1 Reply Last reply Reply Quote 0
                  • oliofundefined
                    oliof
                    last edited by

                    OK, so the M587 S... P... didn't complete.

                    Do you have quote marks, semicolons, or spaces in your WiFi password? They might mess things up.

                    Also, I remember now that with YAT you have to set the line ending to LF, maybe that'll help.

                    <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

                    1 Reply Last reply Reply Quote 0
                    • RAMundefined
                      RAM
                      last edited by

                      yes I have double * at the start and end of my wifi password e.g ** 23password** but no spaces. I have got the YAT settings set to LF as the Getting Connected to your Duet webpage tells you to do.

                      The only thing I haven't done is updated any of the firmware.

                      I literally unpacked the Duet2Wifi controller out of the box.
                      connected it to my pc via the supplied USB cable.
                      Installed the Drivers, YAT and did the text settings and set the line ending to LF.
                      Continued to follow the Getting connected to your Duet guide all the way till I couldn't get it to connect to my wifi.

                      The SD Card that came with the Duet2Wifi I take is pre setup as it has all the folders in there and I copied over my reprap config files to the /sys folder.

                      1 Reply Last reply Reply Quote 0
                      • dc42undefined
                        dc42 administrators
                        last edited by dc42

                        I suggest you run this from YAT:

                        M552 S-1
                        M552 S0
                        wait until you get "WiFi module is idle"
                        M588 S"*"
                        that deletes the remembered list
                        M587 S"ASUS" P"<your password>"
                        M587
                        check that the output from that command has just ASUS in the remembered list
                        M552 S1
                        and see whether it connects.

                        Is the SSID of your network definitely just ASUS ? Is it transmitting on 2.4GHz? Many routers use different SSIDs for 2.4GHz and 5GHz.

                        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

                        RAMundefined 1 Reply Last reply Reply Quote 0
                        • RAMundefined
                          RAM @dc42
                          last edited by

                          @dc42

                          M552 S-1
                          WiFi module stopped
                          ok
                          M552 S0
                          ok
                          WiFi module started
                          M588 S"*"
                          ok
                          M587 S"ASUS" P" ** 23password23 **"
                          ok
                          M587
                          Remembered networks:
                          ASUS IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
                          ok
                          M552 S1
                          ok
                          WiFi reported error: no known networks found
                          WiFi module is idle
                          WiFi reported error: no known networks found
                          WiFi module is idle
                          WiFi reported error: no known networks found
                          WiFi module is idle

                          My 2.4Ghz Wifi is definitely called ASUS as I setup the router and the 5Ghz side is called ASUS_5G lol simple I know but it works and the SSID is hidden so would that make a difference ?

                          1 Reply Last reply Reply Quote 0
                          • nopheadundefined
                            nophead
                            last edited by

                            You say "no spaces" but your posts here do have spaces after the stars.

                            RAMundefined 1 Reply Last reply Reply Quote 0
                            • RAMundefined
                              RAM @nophead
                              last edited by

                              @nophead yes I had to put them in as it changes it from looking like P" ** 23password23 **" to P"23password23"

                              1 Reply Last reply Reply Quote 0
                              • dc42undefined
                                dc42 administrators
                                last edited by

                                The "No known networks found" message means it couldn't find a 2.4GHz network with SSID ASUS that is not hidden.

                                If you have configured your router to hide the SSID, you should be able to connect by sending M552 S1 P"ASUS" instead of just M552 S1.

                                It could be that the WiFi signal is too weak. I suggest you use your smartphone to scan for wifi networks in the vicinity of the Duet. Check that is reports the network ASUS, that it says the frequency is 2.4GHz, and that it has a good signal strength.

                                Is the Duet on the bench, or fitted into a printer?

                                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

                                RAMundefined 2 Replies Last reply Reply Quote 0
                                • RAMundefined
                                  RAM @dc42
                                  last edited by

                                  @dc42

                                  M552 S1 P"ASUS"
                                  ok
                                  WiFi module is connected to access point ASUS, IP address 192.168.254.43

                                  Thank you all so much for your help and Thank you dc42 for working out what it was I will gladly buy you a beer if you are ever in my area.

                                  Just a quick side question would you recommend that I update all the firmwares to the latest version or run on the current ones that I have.

                                  FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 2.02(RTOS) ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2018-12-24b1

                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator
                                    last edited by

                                    You can update to the latest set of firmwares by uploading this zip file as is to the settings page.

                                    https://github.com/dc42/RepRapFirmware/releases/download/2.03/Duet2Firmware-2.03.zip

                                    Z-Bot CoreXY Build | Thingiverse Profile

                                    RAMundefined 1 Reply Last reply Reply Quote 0
                                    • RAMundefined
                                      RAM @Phaedrux
                                      last edited by

                                      @phaedrux Thanks very much 👍 ☺

                                      1 Reply Last reply Reply Quote 0
                                      • RAMundefined
                                        RAM @dc42
                                        last edited by

                                        @dc42 I have just connected the screen up that I bought which all seems to work but I noticed that the duet isn't connecting to the wifi again.

                                        Do I need to add M552 S1 P"ASUS" to the config.g so that it knows that it has to connect to a hidden SSID wifi network ?

                                        Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                        • Phaedruxundefined
                                          Phaedrux Moderator @RAM
                                          last edited by

                                          @ram said in New Duet 2 Wifi Not Working:

                                          Do I need to add M552 S1 P"ASUS" to the config.g so that it knows that it has to connect to a hidden SSID wifi network ?

                                          It seems odd that it would need the SSID specified, but if it's working to connect to it when you send the command manually there's no reason not to add it to the config.g so it's done automatically at boot up.

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          RAMundefined 1 Reply Last reply Reply Quote 0
                                          • RAMundefined
                                            RAM @Phaedrux
                                            last edited by

                                            @phaedrux where about should I add it in the config.g file ?

                                            M552 S1 ; Enable network
                                            M552 S1 P"ASUS" <----- here ?
                                            M587 S"ASUS" P"password" ; Configure access point. You can delete this line once connected

                                            Sorry I am not very good when it comes to this type of thing unfortunately

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