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

    Period in SSID

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    ssid period . duet 2 wifi
    3
    16
    2.0k
    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.
    • jamesadotyundefined
      jamesadoty
      last edited by

      I've been doing a bit of research between calls.

      Is there a status LED near the wifi adapter on the Duet 2 wifi board?

      Also, if there is and it's not lit up (I need to check) would typing M552 S1 from the LCD panel help?

      I've got a bit of a steep learning curve going on here I think.

      Should there be a line in config.g stating M552 S1? I'm not home to check.

      1 Reply Last reply Reply Quote 0
      • jamesadotyundefined
        jamesadoty
        last edited by

        Typing M552 S1 from the panel didn't work, no networks available. I can't seem to get the printer to accept my WAP SSID.

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

          @jamesadoty said in Period in SSID:

          I removed the MicroSD card and took a look at config.h and it shows my SSID and password. I believe the format is:
          M587 S"belkin.c6f" P"<password>" <- the password is set to my SSID password.

          That M587 command shouldn't be in config,g, it should either be in a macro file that you execute after the Duet has started up, or you should send it to the USB port vis a terminal emulator. See https://duet3d.dozuki.com/Guide/1.)+Getting+Connected+to+your+Duet/7#s5.

          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

          jamesadotyundefined 1 Reply Last reply Reply Quote 0
          • jamesadotyundefined
            jamesadoty @dc42
            last edited by

            @dc42
            I'd better double check that when I get home after work, I could swear it was there but I've been known to be wrong.

            I do recall reading something about macros, I'll take a look tonight.

            In fact I wonder if a macro for that is already there and is set to the SSID I see when I type M587 from the LCD screen.

            I don't really want to unplug all those cables to take my Duet board to my computer if I don't have to.

            I haven't had a 3D printer connected directly to my computer in years. Very liberating. 🙂

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

              If your password isn't too long, you can send the M587 command from PanelDue. Otherwise, put the M587 command in a macro file on the SD card and execute that.

              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

              jamesadotyundefined 1 Reply Last reply Reply Quote 0
              • jamesadotyundefined
                jamesadoty @dc42
                last edited by

                @dc42
                My SSID password isn't terribly long but is in all lowercase, I can't figure out how to get quote marks or type lowercase characters from the LCD panel.

                I'll try the macro idea though.

                I suppose if worse comes to worse I could borrow a laptop from work.

                Hey, as a thought. I do have a Chromebook. I wonder if there's a terminal program for it that works through USB??? Hmm.

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

                  @jamesadoty said in Period in SSID:

                  My SSID password isn't terribly long but is in all lowercase, I can't figure out how to get quote marks or type lowercase characters from the LCD panel.

                  If you have recent firmware on the PanelDue then there is a Shift key on the keyboard to switch to lowercase and punctuation 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

                  jamesadotyundefined 1 Reply Last reply Reply Quote 0
                  • SupraGuyundefined
                    SupraGuy
                    last edited by

                    I'm pretty sure that the RRF configuration tool will happily put your SSID and password into the config.g file. I did mine, though I removed it after the printer connected to the network.

                    Putting it into a macro file to generate is also not a bad idea.

                    I might do such a macro as follows:

                    ; wifimacro.g
                    ; tell the Duet to connect to the wifi
                    M552 S0                     ; Turn off the wifi module
                    M588 "*"                    ; forget all current SSID networks
                    M587 S"WI.FI.SupraGuy" P"supraguyssupersecurepassword" 
                    M552 S1                     ; turn the wifi module back on
                    

                    Lead screw driven printer, powered by Duet 2 Wifi
                    MPCNC powered by Duet 2 Wifi
                    CoreXY printer driven by Duet 3 6HC
                    LowRider CNC powered by Duet 2 Wifi

                    jamesadotyundefined 1 Reply Last reply Reply Quote 0
                    • jamesadotyundefined
                      jamesadoty @dc42
                      last edited by

                      @dc42
                      My next step will be to update the firmware then. I think it has version 1.17?? Not sure but I did see it wasn't current.

                      dc42undefined 1 Reply Last reply Reply Quote 0
                      • jamesadotyundefined
                        jamesadoty @SupraGuy
                        last edited by

                        @supraguy
                        Great script. I'll create one myself and give it a try.

                        Thanks.

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

                          @jamesadoty said in Period in SSID:

                          @dc42
                          My next step will be to update the firmware then. I think it has version 1.17?? Not sure but I did see it wasn't current.

                          M587 is supported in firmware 1.19 and later.

                          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

                          1 Reply Last reply Reply Quote 0
                          • jamesadotyundefined
                            jamesadoty
                            last edited by

                            No progress yet.

                            Here's my script file.
                            ; SetNetwork macro to set up wifi
                            ; Tell Duet to connect to the wifi
                            M552 S0 ; turn off wifi
                            M588 S"*" ; forget all stored networks, remove if this works
                            ; G4 P1000 I commented this out
                            M587 S"belkin.c6f" P"<password_secret> :)"
                            ;M587 I commented this out
                            M552 S1 ; turn on wifi
                            ; M552 I commented this out

                            I found out that the file originally contained a dummy network set up and that's what's in the system, M588 S"*" doesn't seem to get rid of it though.

                            Is there another command used to erase a setting from permanent memory?

                            1 Reply Last reply Reply Quote 0
                            • jamesadotyundefined
                              jamesadoty
                              last edited by

                              Time to sing it:
                              "Happy Happy Joy Joy Joy!!!"

                              The learning curve is killing me. But some progress made!

                              I thought macros were automatically run. Nope. Did some research. Tried:
                              P/macros/setnetwork.
                              Nope, no go.

                              Did even more research
                              M98 p/macros/setnetwork

                              M587 showed belkin.c6f but no IP address or netmask or anything, all zeros.
                              Rebooted, ran M587. Connected with an IP address!!!!

                              Thank you all of you who helped me figure this out.

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