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.
    • TomasLundefined
      TomasL
      last edited by

      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

      dc42undefined rossundefined 2 Replies Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators @TomasL
        last edited by

        @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
        • TomasLundefined
          TomasL
          last edited by

          And how do I get it to use Static IP

          tecnoundefined 1 Reply Last reply Reply Quote 0
          • tecnoundefined
            tecno @TomasL
            last edited by

            @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
            • TomasLundefined
              TomasL
              last edited by TomasL

              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

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

                @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
                • rossundefined
                  ross @TomasL
                  last edited by ross

                  @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.

                  TomasLundefined 1 Reply Last reply Reply Quote 0
                  • TomasLundefined
                    TomasL @ross
                    last edited by

                    @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.

                    rossundefined 1 Reply Last reply Reply Quote 0
                    • rossundefined
                      ross @TomasL
                      last edited by

                      @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.

                      TomasLundefined 1 Reply Last reply Reply Quote 0
                      • TomasLundefined
                        TomasL @ross
                        last edited by

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

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

                          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

                          TomasLundefined 1 Reply Last reply Reply Quote 0
                          • TomasLundefined
                            TomasL @Phaedrux
                            last edited by

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

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

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