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.
    • heoconnorundefined
      heoconnor
      last edited by

      Looking for the MAC address to register my duet with IT services where I work (to connect it to the ethernet). Is there a command I can use in YAT to find this?

      1 Reply Last reply Reply Quote 0
      • A Former User?
        A Former User
        last edited by

        Should be part of the output of M122but do take care to set the line ending to LF if on windows.

        1 Reply Last reply Reply Quote 0
        • heoconnorundefined
          heoconnor
          last edited by

          M122 just comes back with: Emergency stop! Reset the controller to continue.ok 😕

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • PaulHewundefined
            PaulHew
            last edited by

            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.

            RailCore II - Duet Mini + 1LC, Voron V0.1 - Duet Mini
            Voron 2.4 disassembled..... Waiting for the RailCore Mini....

            1 Reply Last reply Reply Quote 0
            • DocTruckerundefined
              DocTrucker
              last edited by

              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
              • DocTruckerundefined
                DocTrucker
                last edited by DocTrucker

                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!

                A Former User? 1 Reply Last reply Reply Quote 0
                • A Former User?
                  A Former User @DocTrucker
                  last edited by

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

                  DocTruckerundefined 1 Reply Last reply Reply Quote 0
                  • DocTruckerundefined
                    DocTrucker @A Former User
                    last edited by

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

                    A Former User? 1 Reply Last reply Reply Quote 0
                    • DocTruckerundefined
                      DocTrucker
                      last edited by

                      "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?
                        A Former User @DocTrucker
                        last edited by

                        @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
                        • Phaedruxundefined
                          Phaedrux Moderator @heoconnor
                          last edited by

                          @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
                          • Danalundefined
                            Danal
                            last edited by

                            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

                            DocTruckerundefined 1 Reply Last reply Reply Quote 0
                            • DocTruckerundefined
                              DocTrucker @Danal
                              last edited by DocTrucker

                              @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
                              • heoconnorundefined
                                heoconnor
                                last edited by

                                Got it using the M540 - Thanks everyone!!

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