brain dump far away from /dev/null

28Feb/150

Debian: change MAC address

Temporarily:

ifconfig eth0 down
ifconfig eth0 hw ether 00-11-22-33-44-AA
ifconfig eth0 up

Permanently:

vi /etc/network/interfaces

iface eth0 inet dhcp
  hwaddress ether 00-11-22-33-44-AA

 

Got an error?

SIOCSIFHWADDR: Operation not permitted

Make sure you're root.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.