Finding the MAC address
-
Should be part of the output of
M122
but do take care to set the line ending to LF if on windows. -
M122 just comes back with: Emergency stop! Reset the controller to continue.ok
-
Your IT dept could tell you the MAC address if they wanted.
You could plug it into the network tell them the IP address and they can find the MAC that way.
Or ask them for an IP address, set it, they can scan and cross reference the IP to the MAC. -
MAC address is usually set in config.g.
-
Run M540
https://duet3d.dozuki.com/Wiki/Gcode#Section_M540_Set_MAC_address
Edit: M540 on its own should return MAC address. Read the link to see how to set MAC address.
-
@DocTrucker said in Finding the MAC address:
Run M540
aye, that works! didn't see it was specified ethernet, and not sure if it works for the wifi?
-
@bearer Oh yeah, didn't think about the wifi half of the equation!
-
"Note on the Duet 2 Wifi the MAC address is unique and set on the Wifi Module so this command has no effect. The default MAC address on a Duet 2 Ethernet is generated from the unique processor ID so there is normally no need to change it."
So trying to set it with M540 won't work. Whether or not it reports the correct address would have to be checked. Can you access your router and confirm from there?
-
@DocTrucker said in Finding the MAC address:
@bearer Oh yeah, didn't think about the wifi half of the equation!
OP seems to be on Ethernet so thats okay, I was just curious about the wifi for future reference; ultimately a moot point as M122 doesn't seem include mac address for Ethernet (on the Maestro at least)
-
@heoconnor said in Finding the MAC address:
M122 just comes back with: Emergency stop! Reset the controller to continue.ok
I think you might have sent M112
https://duet3d.dozuki.com/Wiki/Gcode#Section_M112_Emergency_Stop
-
Via a Windows machine command prompt:
C:\Users\Danal>ping 192.168.7.100 Pinging 192.168.7.100 with 32 bytes of data: Reply from 192.168.7.100: bytes=32 time=3ms TTL=255 Reply from 192.168.7.100: bytes=32 time=36ms TTL=255 Reply from 192.168.7.100: bytes=32 time=168ms TTL=255 Reply from 192.168.7.100: bytes=32 time=64ms TTL=255 Ping statistics for 192.168.7.100: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 3ms, Maximum = 168ms, Average = 67ms C:\Users\Danal>arp -a 192.168.7.100 Interface: 192.168.7.210 --- 0x13 Internet Address Physical Address Type 192.168.7.100 2c-3a-e8-0b-2f-27 dynamic
-
@Danal neat, copies directly to linux to:
doctrucker@BURPSPC:~$ arp -a 192.168.82.1 fritz.box (192.168.82.1) at e0:28:6d:bb:41:cc [ether] on enp8s0code_text
-
Got it using the M540 - Thanks everyone!!