MAC Spoofing
How to MAC Spoofing
By. EFRIEL ELYASA, efriel_e@yahoo.co.id
1. # ifconfig eth0 hw ether MA:CA:DD:RR:BA:RU
2. # ifconfig eth0
3. # ifconfig eth0 down
4. # ifconfig eth0 192.168.1.1 hw ether MA:CA:DD:RR:BA:RU up
5. # ifconfig eth0
/etc/sysconfig/network-scripts/ifcfg-eth0
1. to Avoid failed message when "service network restart"
Shutting down interface eth0:
Device eth0 has different MAC address than expected, ignoring.
[FAILED]
try:
2. set BOOTPROTO=static di ifcfg-eth0 change to BOOTPROTO=none
file /etc/sysconfig/network-scripts/ifcfg-eth0 containing:
BOOTPROTO=static
BROADCAST=192.168.0.255IPADDR=192.168.2.185
NETMASK=255.255.255.0
NETWORK=192.168.0.0ONBOOT=yes
HWADDR=MA:CA:DD:RR:BA:RU
3.edit file rc.local di /etc/rc.d/rc.local
ifconfig eth0 hw ether MA:CA:DD:RR:BA:RU