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

    Problem with wifi - Duet2WiFi - no known networks found

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    3
    20
    590
    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.
    • alil2096undefined
      alil2096
      last edited by alil2096

      Hi all,

      I've one duet2wifi. Until one year ago, the board worked perfectlty, but after one stop year, the wifi doesn't work anymore.

      I've a custom printer. Until one year ago, with the last RRF2x installed sll worked well. I moved house afterwards and the printer was in standby for a year. When I tried to turn it on again, it no longer worked. So I tried to upgrade to RRF3 (which was already planned) but it still gives the error "no known networks found". I don't know where to turn anymore.

      In attach a print screen of the YAT screen.

      Immagine 2023-03-15 213622.png

      (p.s. the password contains numbers and the symbol "!")

      Thanks to anyone who can help me,

      bye,

      Andrea

      www.lillia.net

      Facebook page

      gloomyandyundefined 1 Reply Last reply Reply Quote 0
      • gloomyandyundefined
        gloomyandy @alil2096
        last edited by

        @alil2096 If you enable WiFi debug using M111 that should provide some additional information that may show what is happening. I think you need M111 P14 S1 to enable the debug (which will be displayed in the USB console).

        alil2096undefined 1 Reply Last reply Reply Quote 0
        • alil2096undefined
          alil2096 @gloomyandy
          last edited by

          @gloomyandy Thanks for your answer.

          Enclosed the print screen of YAT. This is outside of my area of expertise, but maybe someone understands somethings about it 😄YAT2.png

          www.lillia.net

          Facebook page

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

            I would suggest you clear all saved networks with M588 S"*" then re-add your SSID with M587.

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @Phaedrux
              I've an error:

              "Error: Failed to reset the WiFi module to factory settings"

              www.lillia.net

              Facebook page

              gloomyandyundefined 1 Reply Last reply Reply Quote 0
              • gloomyandyundefined
                gloomyandy @alil2096
                last edited by

                @alil2096 Try m552 s-1 followed by M552 s0 then M588 S"*"

                alil2096undefined 1 Reply Last reply Reply Quote 0
                • alil2096undefined
                  alil2096 @gloomyandy
                  last edited by

                  @gloomyandy Ok, thanks, the procedure now work, but the network problem is the same.. YAT3.png

                  Maybe the wifi module is broke?

                  www.lillia.net

                  Facebook page

                  gloomyandyundefined 1 Reply Last reply Reply Quote 0
                  • gloomyandyundefined
                    gloomyandy @alil2096
                    last edited by

                    @alil2096 Does your WiFi router have a 2.4GHz network (with the name you are using)? The WiFi module only operates on 2.4GHz.

                    alil2096undefined 1 Reply Last reply Reply Quote 0
                    • alil2096undefined
                      alil2096 @gloomyandy
                      last edited by

                      @gloomyandy Yes, and in order to avoid problems, I've renamed the 5Ghz net with another name (TP-Link_DB90_5G)

                      www.lillia.net

                      Facebook page

                      gloomyandyundefined 1 Reply Last reply Reply Quote 0
                      • gloomyandyundefined
                        gloomyandy @alil2096
                        last edited by

                        @alil2096 I wonder if the signal strength is too low? If your phone can work as a wifi hotspot you could try connecting to that with the phone right next to the board?

                        alil2096undefined 1 Reply Last reply Reply Quote 0
                        • alil2096undefined
                          alil2096 @gloomyandy
                          last edited by

                          @gloomyandy I also thought that was the problem, but I've moved the printer under the modem (and it wasn't easy, weighing almost 100kg).

                          I've the fiber, and I've a lot of other devices connected at the modem (but now are all turn of, except for the phone and my desktop pc)

                          www.lillia.net

                          Facebook page

                          gloomyandyundefined 1 Reply Last reply Reply Quote 0
                          • gloomyandyundefined
                            gloomyandy @alil2096
                            last edited by

                            @alil2096 does your board have an external antenna? If that has become damaged/disconnected it might not work even if very close to the router. Another thing to try might be to use a much simpler SSID (without any "-" or "_"), just in case they are causing problems? Oh and you could try setting the board to access point mode and see if you can connect to it from your phone. If that works it probably means the module is ok.

                            After that I'm out of ideas, sorry!

                            alil2096undefined 1 Reply Last reply Reply Quote 0
                            • alil2096undefined
                              alil2096 @gloomyandy
                              last edited by

                              @gloomyandy
                              Ok, maybe I'm doing something wrong, but with the M587 command, shouldn't I see the IP in the list of networks?

                              And thanks to all for the patience

                              YAT4.png

                              www.lillia.net

                              Facebook page

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

                                Can you please use these steps to setup the Duet in Access Point mode?

                                https://docs.duet3d.com/User_manual/Reference/Gcodes#m589-configure-access-point-parameters

                                This will have the Duet creating an SSID of its own. You then need to connect your device to it. This will remove your wifi network router from the equation and let us know if the module is working correctly or not.

                                Z-Bot CoreXY Build | Thingiverse Profile

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

                                  @Phaedrux YHEA!!! That's work!!!!

                                  I can connect to the Duet with my phone.

                                  YAT5.png

                                  So the module is working (gret news).. and now we must understand why I cannot connect in wifi mode 😄

                                  www.lillia.net

                                  Facebook page

                                  alil2096undefined 1 Reply Last reply Reply Quote 0
                                  • alil2096undefined
                                    alil2096 @alil2096
                                    last edited by

                                    Without doing anything, just resetting the power suppply, the module started and now is connected to the wifi network.. Any ideas?

                                    www.lillia.net

                                    Facebook page

                                    Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                    • alil2096undefined
                                      alil2096
                                      last edited by

                                      The new problem, is that the IP adress change every time that I trun off and turn on the board. I can fix this?

                                      www.lillia.net

                                      Facebook page

                                      gloomyandyundefined 2 Replies Last reply Reply Quote 0
                                      • gloomyandyundefined
                                        gloomyandy @alil2096
                                        last edited by

                                        @alil2096 The best way to fix the IP address is to configure your routers dhcp server so that it will give back a fixed ip address based on the MAC address of the client.

                                        1 Reply Last reply Reply Quote 1
                                        • gloomyandyundefined
                                          gloomyandy @alil2096
                                          last edited by

                                          @alil2096 Oh and you should be able to use mdns to access your printer so if your printer is called "my3dprinter" you should be able to access it via http://my3dprinter.local that way the actual ip address does not really matter. You can set the printer name via m550 see: https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m550-set-name

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

                                            @alil2096 said in Problem with wifi - Duet2WiFi - no known networks found:

                                            Without doing anything, just resetting the power suppply, the module started and now is connected to the wifi network.. Any ideas?

                                            Sounds like clearing the saved networks with M588 was enough.

                                            If you can't set a DHCP reservation with your router, you can specify a static IP address to use manually, but you need to be sure that address isn't already in use on the network and isn't in the DHCP range the router uses for new devices, otherwise it could get handed out in the future.

                                            To do it manually you need to specify the address in the M587 command when you add the SSID with the I parameter.

                                            https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m587-add-wifi-host-network-to-remembered-list-or-list-remembered-networks

                                            S"ccc" Network SSID (case sensitive)
                                            P"ccc" Network password (case sensitive)
                                            Inn.nn.nn.nn (optional) IP address to use when connected to this network. If zero or not specified then an IP address will be acquired via DHCP.

                                            Z-Bot CoreXY Build | Thingiverse Profile

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