linux : easily change the mac address of an ethernet card
Par taz le vendredi 16 décembre 2016, 12:18 - Lien permanent
to easily change the mac address of an interface with linux, you have to (where wlan0 is your ethernet card):
ip link set wlan0 down ip link set dev wlan0 address ea:ba:12:ef:4a:2c ip link set wlan0 up
with this the chosen ethernet card is supposed to be using the new mac address
pour changer facilement l'adresse mac d'une interface sous linux, il est possible d'utiliser la commande ip :
ip link set wlan0 down ip link set dev wlan0 address ea:ba:12:ef:4a:2c ip link set wlan0 up
avec ca la carte réseau choisir est supposée utiliser la nouvelle adresse mac définie