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

Duet2 WiFI, does not use static IP

Scheduled Pinned Locked Moved
Using Duet Controllers
6
13
721
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.
  • undefined
    TomasL
    last edited by 17 May 2021, 11:26

    In RRF-Config Tool (https://configtool.reprapfirmware.org/Start), I set the Duet to use a specific SSID and a static IP-adress.
    When booting, it still picks up another SSID 50 % of the times and it still uses DHCP.
    Now, how do I force it to use a specific SSID and static IP-adress.
    As of yesterday latest firmware, AFAIK

    undefined undefined 2 Replies Last reply 17 May 2021, 11:32 Reply Quote 0
    • undefined
      dc42 administrators @TomasL
      last edited by 17 May 2021, 11:32

      @tomasl, if you never want it to connect to the other SSID, just tell RRF to forget that SSID using M588 (you only need to do that once). Otherwise, in the M552 S1 command in config.g use the P parameter to specify which SSID 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 0
      • undefined
        TomasL
        last edited by 17 May 2021, 14:43

        And how do I get it to use Static IP

        undefined 1 Reply Last reply 17 May 2021, 14:53 Reply Quote 0
        • undefined
          tecno @TomasL
          last edited by 17 May 2021, 14:53

          @tomasl

          google search !

          Duet 2 WiFi

          To set a static IP address, use the 'I' parameter in your M587 command. ...
          Use M552 S1 to turn on networking, and connect.

          1 Reply Last reply Reply Quote 0
          • undefined
            TomasL
            last edited by TomasL 17 May 2021, 15:03

            In runonce.g

            ; runonce.g
            ; called after config.g. When it has been executed, it is automatically deleted!
            ;
            ; generated by RepRapFirmware Configuration Tool v3.2.3 on Sat Apr 03 2021 11:58:00 GMT+0200 (centraleuropeisk sommartid)
            M552 S0 ; disable network
            G4 P500 ; wait half a second
            M552 S1 ; enable network
            G4 P1000 ; wait a second
            M587 S"MY_SSID" P"MY_WIFI_PASSW" I192.168.0.10 J192.168.0.1 K255.255.255.0 ; configure WiFi
            M552 S1

            It does not seem to work

            undefined 1 Reply Last reply 17 May 2021, 15:15 Reply Quote 0
            • undefined
              dc42 administrators @TomasL
              last edited by 17 May 2021, 15:15

              @tomasl send M587 without parameters to list the known SSIDs and static IP addresses.

              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
              • undefined
                ross @TomasL
                last edited by ross 19 May 2021, 20:13

                @tomasl I got it to use a static ip in my routers setup. You can assign the duets Mac address to any ip you want. I have tp link and it's under dhcp address reservation.

                undefined 1 Reply Last reply 19 May 2021, 20:26 Reply Quote 0
                • undefined
                  TomasL @ross
                  last edited by 19 May 2021, 20:26

                  @ross
                  Well, it is till DHCP, hence still dynamic IP. With the difference that the router sets the lease-period to "forever".
                  And I still want to use a proper static IP.

                  undefined 1 Reply Last reply 19 May 2021, 20:47 Reply Quote 0
                  • undefined
                    ross @TomasL
                    last edited by 19 May 2021, 20:47

                    @tomasl just out of curiosity what difference would there be? If you assign let's say 192.168.1.101 the way I did or a "proper static ip" assigned to the same local address.

                    undefined 1 Reply Last reply 19 May 2021, 20:51 Reply Quote 0
                    • undefined
                      TomasL @ross
                      last edited by 19 May 2021, 20:51

                      @ross
                      Ultimately I dont want to use DHCP, only static assigned IP's.

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        Phaedrux Moderator
                        last edited by 19 May 2021, 20:56

                        There should be nothing stopping you from using a static IP.

                        DC42 asked to check M587 on the 17th, were you able to do that yet?

                        Post your full config.g and the results of M122 please.

                        Z-Bot CoreXY Build | Thingiverse Profile

                        undefined 1 Reply Last reply 19 May 2021, 20:57 Reply Quote 0
                        • undefined
                          TomasL @Phaedrux
                          last edited by 19 May 2021, 20:57

                          @phaedrux
                          No I havent been at my workshop yet, will do that this weekend.

                          undefined 1 Reply Last reply 20 May 2021, 00:21 Reply Quote 0
                          • undefined
                            Joel @TomasL
                            last edited by 20 May 2021, 00:21

                            @tomasl

                            I had issues trying to set a static IP as well. I finally got it to work with some suggestions. The steps seems to be very picky. See this thread,

                            https://forum.duet3d.com/topic/22703/duet-3d-wifi-set-ip-address/7?_=1621469740585

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