marc:linux:hacking
This is an old revision of the document!
Table of Contents
Hacking howto
Spoofing Ethernet Mac address:
using ifconfig:
ifconfig (to find device) ifconfig wlan0/eth0 down ifconfig wlan0/eth0 hw ether 00:11:22:33:44:55 ifconfig wlan0/eth0 up ifconfig (to check)
using ip:
ip link show interface (where interface is the name of the nic) # this will give you the mac address: link/ether xx:xx:xx:xx:xx ip link set dev interface down (where interface is the name of the nic) ip link set dev interface address 11:22:33:44:55:66 ip link set dev interface up ip link show interface # to check
marc/linux/hacking.1641485564.txt.gz · Last modified: (external edit)
