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

    Duet 2 wifi unable to set IP

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    4
    11
    378
    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.
    • rowowundefined
      rowow
      last edited by

      When I enter
      "M552 S1 P192.168.1.14"
      I get the following in response
      "Error: M552: expected string expression<LF>ok<LF>"
      I am running version 3.3
      Not sure if im doing something wrong or if this is a glitch.

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

        How are you sending the command? USB terminal I assume? Which software?

        Can you send M122 and copy paste the result?

        Z-Bot CoreXY Build | Thingiverse Profile

        rowowundefined 1 Reply Last reply Reply Quote 0
        • Norderundefined
          Norder @rowow
          last edited by

          @rowow
          For WLAN, the SSID must be there, not the IP.
          In Ethernet mode, enter the IP there.
          More information about M552

          DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
          Thingiverse

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

            Take a look at this https://docs.duet3d.com/en/How_to_guides/Getting_connected/Getting_connected_to_your_Duet

            Z-Bot CoreXY Build | Thingiverse Profile

            rowowundefined 1 Reply Last reply Reply Quote 0
            • rowowundefined
              rowow @Phaedrux
              last edited by

              @phaedrux I am using yat via USB terminal yes. I sent M122 and got the following
              "=== Diagnostics ===<LF>RepRapFirmware for Duet 2 WiFi/Ethernet version 3.3 (2021-06-15 21:44:54) running on Duet WiFi 1.02 or later<LF>Board ID: 08DJM-9178L-L2MSD-6JTD2-3SN6K-KTHQR<LF>Used output buffers: 1 of 24 (23 max)<LF>=== RTOS ===<LF>Static ram: 23876<LF>Dynamic ram: 75180 of which 176 recycled<LF>Never used RAM 12328, free system stack 114 words<LF>Tasks: NETWORK(ready,65.2%,231) HEAT(delaying,1.4%,314) Move(notifyWait,4.8%,313) MAIN(running,27.0%,441) IDLE(ready,1.6%,29), total 100.0%<LF>Owned mutexes: WiFi(NETWORK) USB(MAIN)<LF>=== Platform ===<LF>Last reset 19:39:04 ago, cause: power up<LF>Last software reset at 2022-06-28 20:45, reason: User, GCodes spinning, available RAM 12328, slot 1<LF>Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a<LF>Error status: 0x00<LF>Step timer max interval 0<LF>MCU temperature: min 37.8, current 38.0, max 48.9<LF>Supply voltage: min 0.0, current 24.0, max 24.2, under voltage events: 1, over voltage events: 0, power [Warning: Maximal number of characters per line exceeded! Check the line break settings in Terminal > Settings > Text or increase the limit in Terminal > Settings > Advanced.]"

              1 Reply Last reply Reply Quote 0
              • rowowundefined
                rowow @Norder
                last edited by

                @norder Hello as the title says this is wifi not ethernet

                Norderundefined 1 Reply Last reply Reply Quote 0
                • rowowundefined
                  rowow @Phaedrux
                  last edited by

                  @phaedrux this is exactly what I followed. Ive been using my duet for a few years now and just now decided to put it on a stable ip.

                  1 Reply Last reply Reply Quote 0
                  • Norderundefined
                    Norder @rowow
                    last edited by

                    @rowow said in Duet 2 wifi unable to set IP:

                    @norder Hello as the title says this is wifi not ethernet

                    Yes, that's exactly why I wrote the comment.
                    There must not be an IP there, but the SSID of the network must be there.

                    DDA5X... 0.9° Stepper... Linearrails... Duet 2 Wifi... PT100 Board... Duet IR-Probe... Dyze Pro Kit up to 500°C.. etc
                    Thingiverse

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

                      Ideally you would use the DHCP reservation system of your router to give the Duet the same IP each time. Then the Duet remains in DHCP mode. Setting a static IP manually is not considered best practice these days.

                      Z-Bot CoreXY Build | Thingiverse Profile

                      rowowundefined 1 Reply Last reply Reply Quote 0
                      • rowowundefined
                        rowow @Phaedrux
                        last edited by

                        @phaedrux thanks alot, after some searching around in the router settings I managed to find the mac address and set it. Originally the entire reason I wanted to set the address manually is because of my new router the printer ip doesnt show up in the client list for whatever reason. There was a mac address in the client list that wasnt in the ip list which I assumed was the printer and worked. Before I had to check it each time via a usb cable. Thank you

                        dc42undefined 1 Reply Last reply Reply Quote 1
                        • Phaedruxundefined Phaedrux marked this topic as a question
                        • Phaedruxundefined Phaedrux has marked this topic as solved
                        • dc42undefined
                          dc42 administrators @rowow
                          last edited by

                          @rowow you can set a fixed IP address in the M587 command that you use to tell RRF the SSID and password of a network that you want to connect to.

                          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 1
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA