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

    No IP address after updating from config tool Mini 5+ Ethernet

    Scheduled Pinned Locked Moved
    Duet Hardware and wiring
    4
    24
    469
    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.
    • Phaedruxundefined
      Phaedrux Moderator
      last edited by

      And with only M552 S1 in your config.g it won't pull a DHCP address from your router?

      Z-Bot CoreXY Build | Thingiverse Profile

      1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @prcdslnc13
        last edited by

        @prcdslnc13 Can you share your config.json or the file provided by "Download JSON template" on the last page?

        Duet software engineer

        prcdslnc13undefined 1 Reply Last reply Reply Quote 0
        • prcdslnc13undefined
          prcdslnc13 @chrishamm
          last edited by

          @chrishamm config.json

          @Phaedrux correct. The only way I have been able to get it to show up is by forcing the IP. DHCP has not worked since updating.

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

            Can you try M552 S1 P0.0.0.0 in config.g?

            Z-Bot CoreXY Build | Thingiverse Profile

            prcdslnc13undefined 1 Reply Last reply Reply Quote 0
            • prcdslnc13undefined
              prcdslnc13 @Phaedrux
              last edited by

              @Phaedrux the connection died and didn't come back. Same behaviour as last night when I tried. Ill have to pull the SD card and redo the IP to make it work again most likely.

              1 Reply Last reply Reply Quote 0
              • chrishammundefined
                chrishamm administrators @prcdslnc13
                last edited by

                @prcdslnc13 Thanks, interesting. The first thing I see after loading it is:

                45ef93c5-14fc-4c66-872e-b6bbb1704d5b-image.png

                because no Z-probe input pin was specified.

                Also no fans seem to be present in the preset, so I am a bit puzzled how you could get it to generate NaN/undefined values. Sorry to be a PITA but can you provide step-by-step instructions to reproduce a faulty config?

                Duet software engineer

                prcdslnc13undefined 1 Reply Last reply Reply Quote 0
                • prcdslnc13undefined
                  prcdslnc13 @chrishamm
                  last edited by

                  @chrishamm no worries I understand where you are coming from. I am not sure how I got that json file. These are the settings I used to get the config that I have now. I ended up just copying the config file from the last link. That may have been my issue? Here is the config.json these settings generated.

                  624867ae-bd70-4eba-afae-a1866655b8ef-image.png

                  66499e35-1c4e-42dc-a73f-cc26bf333f68-image.png

                  0d2befa9-f10e-4618-b61f-ffaff2da39c8-image.png
                  0ac63db0-e9e3-4b4b-8a49-a9d520334c75-image.png

                  config.json

                  chrishammundefined 1 Reply Last reply Reply Quote 0
                  • chrishammundefined
                    chrishamm administrators @prcdslnc13
                    last edited by

                    @prcdslnc13 Thanks, I tried to reproduce it but I couldn't get NaN/undefined values with those inputs or your config.json.

                    Duet software engineer

                    prcdslnc13undefined 1 Reply Last reply Reply Quote 0
                    • prcdslnc13undefined
                      prcdslnc13 @chrishamm
                      last edited by

                      @chrishamm Ive been trying to replicate it as well with no luck.

                      Any ideas on the network issue I initially posted about?

                      chrishammundefined 1 Reply Last reply Reply Quote 0
                      • chrishammundefined
                        chrishamm administrators @prcdslnc13
                        last edited by

                        @prcdslnc13 Can you repeat this and check for other errors?

                        @dc42 said in No IP address after updating from config tool Mini 5+ Ethernet:

                        @prcdslnc13 if you run M98 P"config.g" do you see any error messages?

                        Duet software engineer

                        prcdslnc13undefined 1 Reply Last reply Reply Quote 0
                        • prcdslnc13undefined
                          prcdslnc13 @chrishamm
                          last edited by

                          @chrishamm 7e7abdf8-5dce-48a1-994a-84f65d15e5ac-image.png

                          No errors with this config.g
                          config (2).g

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

                            192.168.86.59

                            This address is a bit odd. What subnet mask are you using for your network? .86. is a bit unusual. I would expect it to be .1. Perhaps you need to specify a custom subnet mask as well with M553

                            https://docs.duet3d.com/en/User_manual/Reference/Gcodes#m553-set-netmask

                            By default it is 255.255.255.0 but perhaps you need 255.255.0.0

                            Z-Bot CoreXY Build | Thingiverse Profile

                            prcdslnc13undefined 1 Reply Last reply Reply Quote 0
                            • prcdslnc13undefined
                              prcdslnc13 @Phaedrux
                              last edited by

                              @Phaedrux I understand your thinking but it’s 255.255.255.0.

                              My mesh router setup defaulted to 86 for my subnet when I set it all up and it seemed reasonable to leave it

                              chrishammundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                              • chrishammundefined
                                chrishamm administrators @prcdslnc13
                                last edited by

                                @prcdslnc13 I have no good explanation why it only works after the second attempt. Does it work at the first try if you comment out the network M-code M552 in your config and then send the same command via serial/USB/PanelDue? Perhaps try a different microSD card or format it again, maybe it's a bit dodgy.

                                Duet software engineer

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

                                  @prcdslnc13 said in No IP address after updating from config tool Mini 5+ Ethernet:

                                  My mesh router setup

                                  Does the mesh network put out a 2.4 and 5ghz network with the same name?

                                  Z-Bot CoreXY Build | Thingiverse Profile

                                  prcdslnc13undefined 1 Reply Last reply Reply Quote 0
                                  • prcdslnc13undefined
                                    prcdslnc13 @Phaedrux
                                    last edited by

                                    @Phaedrux yes there is no seperate network names or channels

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