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

    How to clone a Duet printer?

    Scheduled Pinned Locked Moved
    General Discussion
    4
    11
    427
    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.
    • zaptaundefined
      zapta
      last edited by

      Let's say that I have a working printer and I want to clone it. Is it sufficient to clone the SD card and set a unique IP?

      My concern is that some of the Duet's state is stored on the Duet itself and not on its SD card.

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by A Former User

        wifi is stored in the wifi module, the rest on the SD card. you also have to flash the matching firmware.

        edit: i'd change the printer name as well as it's advertised via mDNS

        zaptaundefined 2 Replies Last reply Reply Quote 1
        • zaptaundefined
          zapta @A Former User
          last edited by

          Thanks @bearer, good point about the wifi state.

          1 Reply Last reply Reply Quote 0
          • zaptaundefined
            zapta @A Former User
            last edited by

            Is there a way to specify a static Wifi IP? (Duet 2, 2.05.1). The documentation of M552 mentions it only for Duet Ethernet.

            (Currently using a static address that is assigned by the router based on the Duet's MAC address but would prefer to have the setting in the Duet itself as done for other devices on our network).

            ChrisPundefined dc42undefined 2 Replies Last reply Reply Quote 0
            • ChrisPundefined
              ChrisP @zapta
              last edited by

              @zapta said in How to clone a Duet printer?:

              (Currently using a static address that is assigned by the router based on the Duet's MAC address but would prefer to have the setting in the Duet itself as done for other devices on our network).

              I'd have thought that setting the static IP on the router is the better way of doing this anyway as you avoid the risk of IP clashes unless you've set a reserved range?

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

                @zapta said in How to clone a Duet printer?:

                Is there a way to specify a static Wifi IP? (Duet 2, 2.05.1). The documentation of M552 mentions it only for Duet Ethernet.

                Yes, it's an option in the M587 command, so that you can use a different IP address depending on which access point you 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
                • A Former User?
                  A Former User
                  last edited by

                  +1 for using a DHCP reservation than static IP if possible.

                  ´M587 ´ and ´I´ parameter will specify static ip

                  zaptaundefined 1 Reply Last reply Reply Quote 0
                  • zaptaundefined
                    zapta @A Former User
                    last edited by

                    Thanks everybody for the info. I ended up defining the static IP in the router. That's a hassle because I use low numbers for static ips and high numbers for DHCP allocation but the router wouldn't allow me set a static IP outside the DHCP range so had to workaround it.

                    M587 would be nice if I would could have all the parameters but the wifi password in config.g and just provide the password once manually but I don't think this is possible.

                    It's working now. Thanks.

                    A Former User? 1 Reply Last reply Reply Quote 0
                    • A Former User?
                      A Former User @zapta
                      last edited by A Former User

                      @zapta said in How to clone a Duet printer?:

                      M587 would be nice if I would could have all the parameters but the wifi password in config.g and just provide the password once manually but I don't think this is possible.

                      I could be wrong, but I think M552 Pnnnn overrides the Innnn from M587 (from memory) will see if I can verify later.

                      (also "static IP in router" is probably not static even if it seems like it, the client still uses the DHCP protocol but receives the same reserved address each time. Some DHCP servers allow reservations outside of the pool some don't, which is correct is up for debate.)

                      zaptaundefined 1 Reply Last reply Reply Quote 0
                      • zaptaundefined
                        zapta @A Former User
                        last edited by

                        @bearer, yes 'fixed IP' may be more accurate here than 'static IP'.

                        Another issue is that M587 can't be set in config.g to avoid wearing out non volatile memory (per the M587 documentation). Theoretically Duet could write only if the data changes (or support conditional gcode to do that) but it seems that currently it writes it blindly.

                        1 Reply Last reply Reply Quote 0
                        • A Former User?
                          A Former User
                          last edited by A Former User

                          M587 doesn't work in config.g without a delay afaik, but could be subject to change.

                          Conditional g-code support may be able to help, haven't poked it much but if you test for a wifi.g, enable wifi module, delay (to give wifi module time to start and accept the comands), run and either rewrite, rename or delete it. There has aslo been talk of a run-once.g or something to that effect.

                          But my response was more in the lines of saying you could probably choose SSID and (dhcp or static) IP with M552 after having set the keys once with M587.

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