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

    Duet2 wifi Not connecting

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    83
    3.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.
    • Phaedruxundefined
      Phaedrux Moderator @Tisum1979
      last edited by

      No problem. If there's anything you're unsure of, just ask for clarification.

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • Tisum1979undefined
        Tisum1979
        last edited by

        My SSID had upper and lower case letters is that an issue

        1 Reply Last reply Reply Quote 0
        • Tisum1979undefined
          Tisum1979
          last edited by

          Should I use all upper or lower case letters for my password

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

            Upper and lower case in the SSID isn't a bit deal, but if you are using upper and lower case in the password you should read the notes here: https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks

            Many programs used to send GCodes convert all characters to uppercase. In firmware 1.19.2 and later, within any quoted string you can use a single-quote character to indicate that the following character should be changed to lowercase. For example, M587 S"ABC" P"P'A'S'SW'O'R'D" would specify that the password is "PassWord". Use two single quote characters to represent one actual single quote character in the password or in the SSID. For example, if your SSID is "Pete's network" then enter "Pete''s network".

            The use of special characters in the SSID cannot be guaranteed to work. In general it's best to avoid most special characters. Spaces, periods, dashes, underscores, and other punctuation is likely ok, but special characters on the number keys likely are not safe. (@#$%^&*). If you are having troubles adding your SSID, try a simplified version with only letters and numbers.

            This is why I suggest using a macro to enter the SSID and password, so that it doesn't matter.

            Z-Bot CoreXY Build | Thingiverse Profile

            1 Reply Last reply Reply Quote 0
            • Tisum1979undefined
              Tisum1979
              last edited by

              I did what you said above and entered in my SSID and password which was all lower case with number and it loaded OK. I sent M552 S1 and then M122 while the command was trying to connect and this is what I got-- WiFi -<LF>
              Network state is changing mode<LF>
              WiFi module is trying to connect<LF>
              Failed messages: pending 0, notready 0, noresp 0<LF>
              WiFi firmware version 1.23<LF>
              WiFi MAC address 98:f4:ab:cf:be:21<LF>
              WiFi Vcc 3.33, reset reason Turned on by main processor<LF>
              WiFi flash size 4194304, free heap 28264<LF>
              Socket states: 0 0 0 0 0 0 0 0<LF>
              ok<LF>
              WiFi reported error: Failed while trying to connect to MySpectrumWiFiF8-2G<LF>
              WiFi module is idle<LF>

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

                Ok, so it seems like it's trying to connect, but can't. To eliminate the problem being with the wifi module, let's try setting it up in access point mode. This will verify that the wifi module is working, and confirm that you can connect to it. That would mean that the problem is with your wifi network, whatever that may be.

                https://duet3d.dozuki.com/Wiki/Gcode?revisionid=HEAD#Section_M589_Configure_access_point_parameters

                Take a look at that link. Basically you will be telling to Duet to create its own access point, and then you will connect your device (your PC) to that access point.

                Then you should be able to access the web interface from your browser by going to the IP address you set when you configure it.

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • Tisum1979undefined
                  Tisum1979
                  last edited by

                  Ok this is a stupid question. I have typed in M589 and the SSID and Password, in the example it shows a verticle line does that need to be in there before I type in the IP address

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

                    That vertical line is actually the capital letter i

                    Z-Bot CoreXY Build | Thingiverse Profile

                    1 Reply Last reply Reply Quote 0
                    • Tisum1979undefined
                      Tisum1979
                      last edited by

                      Ok and is there a space between the IP address and the C1? what is C1

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

                        Yes there is a spaxe between the address and the C1. You can leave the C1 off entirely. It sets the wifi channel (1-13) default is 1 and should be fine for our test.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        1 Reply Last reply Reply Quote 0
                        • Tisum1979undefined
                          Tisum1979
                          last edited by

                          ok so do I just type the 552 S1 now
                          ok so this is my resaults- M589 S"MySpectrumWiFiF8-2G" P"abigail2011" I192.168.1.1 C1<LF>
                          ok<LF>
                          M552 S1<LF>
                          ok<LF>
                          WiFi reported error: Failed while trying to connect to MySpectrumWiFiF8-2G<LF>
                          WiFi module is idle<LF>
                          WiFi reported error: Failed while trying to connect to MySpectrumWiFiF8-2G<LF>
                          WiFi module is idle<LF>

                          1 Reply Last reply Reply Quote 0
                          • Tisum1979undefined
                            Tisum1979
                            last edited by

                            I don't understand why it's not connecting

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

                              Ok, let me try explaining again.

                              What we want to do is use the M589 command to create a NEW wifi network that is coming from the Duet itself. You'll then connect to THAT network from your computer.

                              So try this, send M589 S"DuetWifi" P"abigail2011" I192.168.1.1

                              Then send M552 S2

                              Now on your computer you will have to look for the wifi network called DuetWifi and connect to that using the password you just set.

                              Then in your browser go to 192.168.1.1 which should open to the Duet web interface if everything is working.

                              Z-Bot CoreXY Build | Thingiverse Profile

                              1 Reply Last reply Reply Quote 1
                              • Tisum1979undefined
                                Tisum1979
                                last edited by

                                It didn't work. Would it be possible for it not to work if my windows 10 is out of date

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

                                  What does it say when you send the commands?
                                  Do you see a wifi network on your computer called DuetWifi after sending that command?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  1 Reply Last reply Reply Quote 0
                                  • Tisum1979undefined
                                    Tisum1979
                                    last edited by

                                    M589 S"DuetWiFi" P"abigail2011" I192.168.1.1<LF>
                                    ok<LF>

                                    1 Reply Last reply Reply Quote 0
                                    • Tisum1979undefined
                                      Tisum1979
                                      last edited by

                                      M552 S2<LF>
                                      ok<LF>
                                      WiFi module is providing access point DuetWiFi, IP address 192.168.1.1<LF>
                                      WiFi module is providing access point DuetWiFi, IP address 192.168.1.1<LF>

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

                                        Ok, that looks like it's working.

                                        Now on your computer you need to connect to the SSID called "DuetWifi" instead of MySpectrumWiFiF8-2G.

                                        Z-Bot CoreXY Build | Thingiverse Profile

                                        1 Reply Last reply Reply Quote 0
                                        • Tisum1979undefined
                                          Tisum1979
                                          last edited by

                                          ok the blue light came on but it was asking for a network security key.

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

                                            @Tisum1979 said in Duet2 wifi Not connecting:

                                            abigail2011

                                            That's the password you set in the M589 command.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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