siamzoqa.blogg.se

Linux command line get mac address
Linux command line get mac address









linux command line get mac address

CentOS and Scientific Linux), to disable and restart networking, one must stop and start /etc/init.d/network, instead of /etc/init.d/networking. Alternatively, under RHEL/ Fedora and possibly other GNU/Linux distributions (incl. The above should work on Debian, Ubuntu, and similar distributions. etc/init.d/networking stop ifconfig eth0 hw ether 02:01:02:03:04:08 /etc/init.d/networking start

linux command line get mac address linux command line get mac address

prepended with "sudo "), in order for things to work! NOTE: Commands below MUST be executed with root privileges (e.g. Substitute according to your requirements. NOTE: MAC addresses used within this article are provided for example only. Under GNU/Linux, the MAC address of a network interface card (NIC) can be changed by following the procedures below.











Linux command line get mac address