Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    New Duet 2 Wifi Not Working

    Duet Hardware and wiring
    6
    26
    734
    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.
    • RAM
      RAM last edited by RAM

      Hi I just got my Duet 2 Wifi with external antenna 🙂 .
      I have been through the https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7 documentaion and installed all the drivers and followed the steps carefully.

      I cannot get the wifi to work at all, this is what I get in YAT.

      M115
      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
      ok
      M552 S0
      ok
      M587 S"ASUS" P" ** 23password23 ** " (Please note there is not a space between the asterisk symbols, quotes and password
      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
      WiFi reported error: no known networks found
      WiFi module is idle
      M552 S0
      ok

      I double checked that I was connecting to the 2.4Ghz side of the Wifi and that I had the correct password and SSID and also added my other Wifi network just to be sure but it will not connect to either.

      Am I missing something ???

      Any help with this would be very much appreciated.

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

        What's the output if you run M587?

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

          @oliof
          M587
          M587: Failed to retrieve network list
          ok
          M587 S"ASUS" P" ** 23Password23 ** "
          M587: Failed to add SSID to remembered list

          Ok I am officially lost now as I could have swore that when I run this last time it came back with (ok)

          A Former User 1 Reply Last reply Reply Quote 0
          • oliof
            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.

            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
              • oliof
                oliof last edited by

                That's stored in the ESP

                1 Reply Last reply Reply Quote 0
                • RAM
                  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
                  • oliof
                    oliof last edited by

                    What does a plain M587 return?

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

                      @oliof

                      M587
                      M587: Failed to retrieve network list
                      ok

                      1 Reply Last reply Reply Quote 0
                      • RAM
                        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
                        • oliof
                          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.

                          1 Reply Last reply Reply Quote 0
                          • RAM
                            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
                            • dc42
                              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.

                              RAM 1 Reply Last reply Reply Quote 0
                              • RAM
                                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
                                • nophead
                                  nophead last edited by

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

                                  RAM 1 Reply Last reply Reply Quote 0
                                  • RAM
                                    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
                                    • dc42
                                      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?

                                      RAM 2 Replies Last reply Reply Quote 0
                                      • RAM
                                        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
                                        • Phaedrux
                                          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

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

                                            @phaedrux Thanks very much 👍 ☺

                                            1 Reply Last reply Reply Quote 0
                                            • RAM
                                              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 ?

                                              Phaedrux 1 Reply Last reply Reply Quote 0
                                              • Phaedrux
                                                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.

                                                RAM 1 Reply Last reply Reply Quote 0
                                                • RAM
                                                  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
                                                  • Phaedrux
                                                    Phaedrux Moderator last edited by

                                                    You can amend the first line to add the p"Asus" part.

                                                    Then remove the last line where it's adding the password.

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

                                                      @phaedrux Thanks very much, was just taking a look at your printer it is really nice, hoping to finish my Hypercube soon.

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