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

    DuetWifi static IP

    Scheduled Pinned Locked Moved
    General Discussion
    static ip
    4
    4
    301
    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.
    • CVMichaelundefined
      CVMichael
      last edited by

      I'm tying to setup a static IP because almost every time I turn on the printer it gets new IP.
      I entered this in the config.g

      ; Network
      M540 P0xCE:0xAF:0xAA:0xAC:0xFC:0x38 	; MAC Address
      M550 P"Printer400"                                 ; Set machine name
      M552 S1                                            ; Enable network
      M552 P192.168.0.10			; (0 = DHCP)
      M554 P192.168.0.1			; Gateway
      M553 P255.255.255.0			; Netmask
      M587 S"xxxxxxxxx" P"yyyyyyyyy"                 ; Configure access point. You can delete this line once connected
      M586 P0 S1                                         ; Enable HTTP
      M586 P1 S0                                         ; Disable FTP
      M586 P2 S1                                         ; Disable Telnet
      

      But it does not seem to make any difference, it still gets a random IP

      PaulHewundefined 1 Reply Last reply Reply Quote 0
      • PaulHewundefined
        PaulHew @CVMichael
        last edited by

        @cvmichael said in DuetWifi static IP:

        M552 P192.168.0.10

        try this instead

        M552 P192.168.0.10 S1

        RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
        Voron 2.4 disassembled..... Waiting for the RailCore Mini....

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

          The best solution is to assign a DHCP reservation at the router to prevent any potential conflicts.

          Z-Bot CoreXY Build | Thingiverse Profile

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

            @cvmichael to set up a static wifi IP address, you need to include the IP and gateway addresses in the M587 command that you use to program the SSID and password into the wifi module. This is so that every SSID you program in can have a different IP address or use DHCP.

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