User Tools

Site Tools


networking:linux:spoof_mac_addr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
networking:linux:spoof_mac_addr [2011/11/08 10:54]
gcooper created
networking:linux:spoof_mac_addr [2011/11/08 11:02] (current)
gcooper
Line 1: Line 1:
 ====== Spoof a MAC Address ====== ====== Spoof a MAC Address ======
 +
 +===== Linux =====
 +
 +Edit /etc/rc.local and add a couple of lines at the bottom.
 +
 +Specify your own desired MAC address instead of the one shown.
  
 <file> <file>
 vim /etc/rc.local vim /etc/rc.local
  
-ifconfig eth0 down hw ether 00:07:E9:DA:56:EB #specify desired MAC address+ifconfig eth0 down hw ether 00:07:E9:DA:56:EB
 ifconfig eth0 up ifconfig eth0 up
 +</file>
 +
 +Source the file and check your work:
 +
 +<file>
 +/etc/rc.local
 +
 +ifconfig | more
 </file> </file>
networking/linux/spoof_mac_addr.1320774845.txt.gz · Last modified: 2011/11/08 10:54 by gcooper