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

    Duet 3d WiFi set IP address

    Scheduled Pinned Locked Moved Solved
    Using Duet Controllers
    5
    21
    1.4k
    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
      last edited by

      Can you try adding M552 S1 P192.168.1.14 to your config.g? With your chosen IP of course.

      The SSID and password will be saved to the module.

      Z-Bot CoreXY Build | Thingiverse Profile

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

        @joel said in Duet 3d WiFi set IP address:

        As far as from within config.g, does it really not work, or is it you don't want to leave it there because 1) it's a security issue and 2) it's not good to write the flash over and over every time you restart.

        It really doesn't work because of those reasons.

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @phaedrux

          M552 does not set the IP address either. It Seems M552 only sets IP for non WiFi versions.

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

            @phaedrux

            Then it really does work, it's not a good idea, but that's a different answer.

            I recall when I first set it up, I put it in config.g then deleted those lines after the first power up. I think the configuration tool now makes a runonce.g file that deletes itself after the first run.

            So not working and not being a good idea are two different things.

            But in the end, this still does not work any way I try it.

            Can someone actually verify that it does work for them?

            M587 with no parameters always return the SSID and everything is is all zeros.

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

              @joel said in Duet 3d WiFi set IP address:

              M587 with no parameters always return the SSID and everything is is all zeros.

              In that case, the M587 command that you sent hasn't worked. Please try the following:

              • Send M552 S0 to put the wifi module in idle mode
              • Send M588 P"*" to delete all SSIDs
              • Send M587 without parameters, to verify that the list is clear
              • Send your M587 command including SSID, password and IP address
              • Send M587 without parameters again

              If that doesn't work, cut and paste the transcript and post it here, with the password changed.

              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

              Joelundefined 1 Reply Last reply Reply Quote 0
              • Joelundefined
                Joel @dc42
                last edited by

                @dc42

                Hi,

                That was one of the first things I did. I will do it again and capture the output.

                I will have to find a way to capture a clean transcript. Because I will be killing the WiFi, I need to do this over USB, I was doing it through Simplify3D which has messy output. Stay tuned

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

                  @joel, if your PC is running Windows, then try YAT.

                  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

                  Joelundefined 1 Reply Last reply Reply Quote 0
                  • Joelundefined
                    Joel @dc42
                    last edited by

                    @dc42

                    I used Putty and now it seems to work. Through panel due and the console on Simplify3D those steps did not work. Trying the full M587 line though the web gui did not work. Using putty it worked. Maybe there's an indication of something here.

                    Now I am set

                    Thanks for putting up with the fuss.
                    Joel

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

                      Paneldue has a max line length, so that's to be expected. Not sure how simplify3d handles usb comms, could be a limit there as well.

                      I would think it should work through the DWC console though.

                      Another option would have been creating a macro file with the full command and then using the paneldue to execute the macro.

                      Z-Bot CoreXY Build | Thingiverse Profile

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

                        @phaedrux

                        I did do the macro thing, I don't recall if I did all the steps as described by DC42 ( missing step would have been the M588 S"*".

                        Using DWC I did everything except the M588 S"*", I should have tried it but was thinking I would get disconnected.

                        In panel due, yes, I had to break it up because of line length.

                        Hopefully if this ever comes up for me again, I remember what I learned here.

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