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

    Board not connecting to Wifi: no know networks found

    Scheduled Pinned Locked Moved
    General Discussion
    4
    18
    515
    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.
    • quilby7undefined
      quilby7 @A Former User
      last edited by

      @bearer
      The output for M587 is:

      Remembered networks:
      Diabase IP=0.0.0.0 GW=0.0.0.0 NM=0.0.0.0
      ok

      The password does have the ! $ @ sybols in it

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

        Looks like I was mistaken. The WiFi Firmware is actually 1.23

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

          @quilby7 said in Board not connecting to Wifi: no know networks found:

          The password does have the ! $ @ sybols in it

          I'd try without the @ and $

          1 Reply Last reply Reply Quote 0
          • quilby7undefined
            quilby7
            last edited by

            Alright, I'll try that. It's not my personal network so I'll have to contact someone to change it, which may take a while. I'll post back here if it does (or doesn't) work

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

              You may want to try using a macro to add the wifi network. That can avoid any capitalization changes that the USB terminal may do. It's also easier than having to type it a bunch of times.

              Something like this saved as a macro called addwifi and placed in the macros folder. Then you can send M98 P"addwifi" to execute it.

              ; Add default wifi network
              ;
              M291 R"Add default WIFI network? Y/N" P"This will add duetwifi access point." S3 T10
              
              M552 S0			; Disable network module
              G4 S5			; wait 5 seconds
              M587 S"NETWORKNAME" P"PASSWORD"			; Add duet wifi SSID to remembered networks list
              G4 S5			; wait 5 seconds
              M552 S1			; reenable wifi module
              
              M291 R"duetwifi SSID added." P"Check console to verify IP address."
              

              Since the network is not under your control, you could use access point mode to test that the wifi module is otherwise working.

              https://duet3d.dozuki.com/Wiki/Gcode#Section_M589_Configure_access_point_parameters

              Z-Bot CoreXY Build | Thingiverse Profile

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

                @Phaedrux
                I am trying access point mode currently
                I input: M589 S"NetworkName" P"Password" lnnn.nn.nn
                It returns: M589: Bad or missing parameter
                The WiFi module is Idle. I think that the part I am messing up on is the IP. I am pretty new to this, can the IP be just any random numbers, or is there a format it has to follow?

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

                  Yes you will need to specify an actual ip address.

                  192.168.0.1 would be suitable.

                  Example command: M589 S"DuetSSID" P"password" I"192.168.0.1" C1

                  Z-Bot CoreXY Build | Thingiverse Profile

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

                    @Phaedrux
                    It worked! Not a permanent solution, but it’s good to see some progress. I’ll stil try to get that password changed. Thanks for your help

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

                      @quilby7 said in Board not connecting to Wifi: no know networks found:

                      @Phaedrux
                      It worked! Not a permanent solution, but it’s good to see some progress. I’ll stil try to get that password changed. Thanks for your help

                      How did you send the password in the M587 command originally? AFAIK the ! $ @ symbols should be OK in a password. OTOH, many GCode sending programs force all characters to uppercase (which will mess up any lowercase characters in the password), also I don't think the WiFi firmware supports accented characters.

                      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

                      A Former User? quilby7undefined 2 Replies Last reply Reply Quote 0
                      • A Former User?
                        A Former User @dc42
                        last edited by A Former User

                        @dc42 said in Board not connecting to Wifi: no know networks found:

                        AFAIK the ! $ @ symbols should be OK in a password.

                        ah, they were in a warning for SSIDs in the docs, but that doesn't apply to the password then?

                        Given OP's output from M587 showing mixed case and no special characters I presumed the issue would be the password, signal strength or frequency band (or could technically still be SSID case sensitivity I guess)

                        1 Reply Last reply Reply Quote 0
                        • quilby7undefined
                          quilby7 @dc42
                          last edited by

                          I was sending the gcode commands using YAT, which I believe can send lowercase characters.

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

                            @quilby7 said in Board not connecting to Wifi: no know networks found:

                            I was sending the gcode commands using YAT, which I believe can send lowercase characters.

                            Yes it does, that is why I asked you for the output of M587 with no paramters. It shows the SSID is stored with both upper and lower case so we know you're not using a upper case terminal.

                            Can you confirm the network is 2.4GHz and that the case is exactly as shown in M587. Duet does not support 5GHz.

                            quilby7undefined 1 Reply Last reply Reply Quote 0
                            • quilby7undefined
                              quilby7 @A Former User
                              last edited by

                              I am pretty sure the network was 2.4GHz. I’ll double check with the admin when they change the password. Because of Covid restrictions, it may be a while before I am actually able to test anything out.

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