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

Finding the MAC address

Scheduled Pinned Locked Moved
Duet Hardware and wiring
6
14
2.0k
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.
  • undefined
    DocTrucker
    last edited by 27 Sept 2019, 11:33

    MAC address is usually set in config.g.

    Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

    1 Reply Last reply Reply Quote 0
    • undefined
      DocTrucker
      last edited by DocTrucker 27 Sept 2019, 11:34

      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.

      Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

      ? 1 Reply Last reply 27 Sept 2019, 12:09 Reply Quote 0
      • ?
        A Former User @DocTrucker
        last edited by 27 Sept 2019, 12:09

        @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?

        undefined 1 Reply Last reply 27 Sept 2019, 12:10 Reply Quote 0
        • undefined
          DocTrucker @A Former User
          last edited by 27 Sept 2019, 12:10

          @bearer Oh yeah, didn't think about the wifi half of the equation!

          Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

          ? 1 Reply Last reply 27 Sept 2019, 12:45 Reply Quote 0
          • undefined
            DocTrucker
            last edited by 27 Sept 2019, 12:12

            "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?

            Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

            1 Reply Last reply Reply Quote 0
            • ?
              A Former User @DocTrucker
              last edited by 27 Sept 2019, 12:45

              @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)

              1 Reply Last reply Reply Quote 0
              • undefined
                Phaedrux Moderator @heoconnor
                last edited by 28 Sept 2019, 05:15

                @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

                Z-Bot CoreXY Build | Thingiverse Profile

                1 Reply Last reply Reply Quote 0
                • undefined
                  Danal
                  last edited by 28 Sept 2019, 05:21

                  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
                  

                  Delta / Kossel printer fanatic

                  undefined 1 Reply Last reply 28 Sept 2019, 05:35 Reply Quote 0
                  • undefined
                    DocTrucker @Danal
                    last edited by DocTrucker 28 Sept 2019, 05:35

                    @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

                    Running 3 P3Steel with Duet 2. Duet 3 on the shelf looking for a suitable machine. One first generation Duet in a Logo/Turtle style robot!

                    1 Reply Last reply Reply Quote 0
                    • undefined
                      heoconnor
                      last edited by 2 Oct 2019, 10:19

                      Got it using the M540 - Thanks everyone!!

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