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

    Static IP Address and upgrade to 3.4.5

    Scheduled Pinned Locked Moved Solved
    Firmware installation
    3
    6
    220
    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.
    • Dizzwoldundefined
      Dizzwold
      last edited by

      M115
      FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.4.4 ELECTRONICS: Duet 3 MB6HC v1.01 FIRMWARE_DATE: 2022-10-20 16:19:01

      Hi Guys,

      I have an issue with not being able to connect to DWC via my Iphone, discussed in the following topic;
      https://forum.duet3d.com/topic/32407/unable-to-see-dwc-on-iphone/16

      So I diconnected everything and wired the Duet up to my computer (apple mac), to start again with setting a static IP address, to see if this would fix things or find some issues.

      When I connect using serial tools I get the following results from M552;
      M115
      FIRMWARE_NAME: RepRapFirmware for Duet 3 MB6HC FIRMWARE_VERSION: 3.4.4 ELECTRONICS: Duet 3 MB6HC v1.01 FIRMWARE_DATE: 2022-10-20 16:19:01
      ok
      M552
      Ethernet is enabled, configured IP address: 192.168.0.72, actual IP address: 0.0.0.0 ok

      Shouldn't the "Actual IP Address" be the same as 192.168.0.72 and not 0.0.0.0 ?

      This is a second new sd card, so it shouldn't be an sd card issue. Is this yet another sd card reader issue?

      I was also considering while working with the board out, to also upgrade to 3.4.5, but when I was transferring the files from my old card to the new one (as stated above to make sure the card wasn't at fault), I noticed that in 3.4.4 there is a file called;
      Duet3Firmware_SAMMYC21.bin.,

      Yet this file isn't in 3.4.5. Is this file needed for the Duet3 MB 6HC ?

      Dizzwold.

      chrishammundefined droftartsundefined 3 Replies Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @Dizzwold
        last edited by

        @Dizzwold AFAIR the actual IP address is only updated when the Ethernet interface detects a proper Ethernet link. Is any of the LEDs on the Ethernet jack lit?

        The SAMMY firmware file is just optional for a SAMMY-based CAN expansion board, so you can omit it.

        Duet software engineer

        1 Reply Last reply Reply Quote 0
        • droftartsundefined
          droftarts administrators @Dizzwold
          last edited by droftarts

          @Dizzwold It's acting as if there's no Ethernet cable plugged in. I just tried this on my 6HC with RRF 3.4.5. If I turn on the 6HC with no Ethernet cable plugged in and connect via USB, it is initially set up to look for a DHCP server to get an address. It doesn't find any, so both configured and actual IP addresses are 0.0.0.0. If I turn off the network, then set a manual IP, I get:

          M552
          Ethernet is enabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0
          ok
          M552 S0
          Network stopped
          ok
          M552
          Ethernet is disabled, configured IP address: 0.0.0.0, actual IP address: 0.0.0.0
          ok
          M552 P192.168.3.3 S1
          ok
          M552
          Ethernet is enabled, configured IP address: 192.168.3.3, actual IP address: 0.0.0.0
          ok

          If I then plug in Ethernet (in this case, a direct connection to an unconfigured Mac Ethernet port), the green light comes on on the Duet Ethernet port and I get:

          Ethernet running, IP address = 192.168.3.3
          M552
          Ethernet is enabled, configured IP address: 192.168.3.3, actual IP address: 192.168.3.3
          ok

          If you never get this message with the Ethernet cable connected, check/change your Ethernet cable. Once the Mac Ethernet port (they are usually set as DHCP, and with a 'self-assigned' IP address) is configured to be in the same subnet but with a different address (eg 192.168.3.4), I can connect in the browser using the IP address of the Duet. If you are doing a direct connection, remember that the IP address subnet (the 192.168.3... part) needs to be different from the rest of your network (typically set to something like 192.168.1...). See https://docs.duet3d.com/en/User_manual/Machine_configuration/Networking#wired-direct-connection for an example.

          Ian

          Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

          Dizzwoldundefined 1 Reply Last reply Reply Quote 0
          • Dizzwoldundefined
            Dizzwold @droftarts
            last edited by

            @droftarts @chrishamm

            Thank you guys for your quick replies.

            Your both correct. Once I'd connected the Ethernet cable I got the correct address in the Actual ip Address field. I didn't realise this, me being dumb!

            Regarding the sammy, I'm guessing this would also include the toolbooard as this is CAN connected too?

            Still no joy with DWC on the my Iphone, so I'll continue that on my thread listed above.

            Thank you again.

            Dizzwold.

            1 Reply Last reply Reply Quote 0
            • droftartsundefined
              droftarts administrators @Dizzwold
              last edited by

              @Dizzwold said in Static IP Address and upgrade to 3.4.5:

              I noticed that in 3.4.4 there is a file called;
              Duet3Firmware_SAMMYC21.bin.,
              Yet this file isn't in 3.4.5. Is this file needed for the Duet3 MB 6HC ?

              As @chrishamm says, you don't need this file, it's for an expansion board. In the 3.4.5 release notes (https://github.com/Duet3D/RepRapFirmware/releases/tag/3.4.5) it says

              Important! There are no changes to firmware binaries for Duet 3 expansion boards, so they remain at version 3.4.4 in the Duet2and3Firmware-3.4.5.zip file in this release

              So they are not in the release folder, but they are in the 3.4.5 zip file.

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              Dizzwoldundefined 1 Reply Last reply Reply Quote 0
              • Dizzwoldundefined
                Dizzwold @droftarts
                last edited by

                @droftarts

                Okay, Thank you Ian.

                Dizzwold.

                1 Reply Last reply Reply Quote 0
                • dc42undefined dc42 marked this topic as a question
                • dc42undefined dc42 has marked this topic as solved
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA