- Determine the existing MAC address of the interface to be changed:
$ sudo ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:24:2c:e3:c8:a9 - Bring the interface down:
$ sudo ifconfig wlan0 down
- Set the new MAC address:
$ sudo ifconfig wlan0 hw ether 00:24:2c:e3:c8:aa
- Bring the interface back online:
$ sudo ifconfig wlan0 up
- Verify the change took:
$ sudo ifconfig wlan0 | grep HWaddr
wlan0 Link encap:Ethernet HWaddr 00:24:2c:e3:c8:aa
Voila.
No comments:
Post a Comment