Hey all, how do I find the mac address for the AD container running Samba4? It's slightly odd but our procedure at this client is to document even static IPs in the router's DHCP lease table, and I need a MAC address to do this.
On your Nethserver prompt type the following to jump into the container:
As there is no ifconfig we have to get back to the roots...
EDIT:Oneliner from Nethserver prompt also possible:
fantastic thank you
This should be written in the useful command in the wiki
Happy to present my first wiki entries:https://wiki.nethserver.org/doku.php?id=howto:useful_commands#get_mac_address_without_ifconfighttps://wiki.nethserver.org/doku.php?id=howto:useful_commands#get_mac_address_of_nsdc_interface
thank you mate