Duet Ethernet MAC address

  • Hey I'm a uni student an my accommodation requires the mac address of any device to be added to their network, I'm trying to add my printer too this network but when using command M540 to aquire the address I get what I would say is a valid MAC address but when I enter it too the system it says its invalid, any ideas?

    The address I'm getting is: be:7c:3a:30:52:3e

  • Moderator

    You could use M540 to specify your own mac address if you can find one that the system accepts.


  • @Phaedrux what would the command be to use then? M540 (New MAC Address)? And what should I input that into? YAT?

  • Moderator

    @Phaedrux said in Duet Ethernet MAC address:


    M540: Set MAC address

    Pnnn The MAC address

    M540 P0xBE:0xEF:0xDE:0xAD:0xFE:0xED

    You'd put that command into your config.g so that it was executed at startup.

    But now looking at the examples, it reminds me that there are 2 ways to express a mac address. Perhaps your network is looking for the 0x method.

  • administrators

    what is the system the university is using to determine what a valid MAC address is? I assume its not jsut a formatting issue (you added your Laptop etc i expect?) they may have a database of mac address ranges assigned to "valid" devices and don't allow arbitrary MAC addresses (for "security")

    you could try setting it to


    and then adding that to the network...

    That is a Mac address from within the HP range i think. If that works then you know its something in their tool that allows certain mac addresses and not others

  • @Phaedrux said in Duet Ethernet MAC address:

    it reminds me that there are 2 ways to express a mac address

    much more than 2 when it comes to formatting of MACs. Microsoft uses - instead of : to separate hex bytes, pluss countless variations on binary hexadecimal and octal representations

    I'd discourage using MAC addresses with the unique/local but set to unique for an address outside your organisations control as it could (theoretically) break networks. If deemed absolutely necessary for testing try using an address for equipment you own and know is not connected to avoid problems. Even if you know the address isn't on your broadcast domain you rarely have control over the other broadcast domains of neighboring layer 3 devices which could be affected. And make sure to revert the address to the original or a locally administered one as soon as possible.