I have a linux system for which I want to create my own udev rules for the nic. Currently there are no rules, so no ethX is configured. I can't do ifconfig
(it is not showing any interfaces besides lo
) or grep eth in /var/log/*
. Is there a way I can find out the mac address from within my system without looking at the hardware?
Linux: find MAC Address for unconfigured card
linuxmac address
Best Answer
Just try (ifconfig does not display interfaces which are down otherwise)
of