Static IP Address and upgrade to 3.4.5
-
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:01Hi 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/16So 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.
-
@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.
-
@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
okIf 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
okIf 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
-
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.
-
@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
-
-
-