Advertisement
MarkoAlvarez

How to change MAC address in Debian 6.0 Linux

Oct 8th, 2014
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. How to change MAC address in Debian 6.0 Linux
  2.  
  3. First of all we have to stop networking. /etc/network/interfaces file and under eth0 (or other network interface) add following line:
  4.  
  5. hwaddress ether your_new_mac_address
  6.  
  7. After that you can start networking again.
  8.  
  9. Example:
  10.  
  11. sudo /etc/init.d/networking stop
  12.  
  13. sudo vi /etc/network/interfaces
  14.  
  15. #now add: hwaddress ether 01:02:03:04:05:06
  16.  
  17. sudo /etc/init.d/networking start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement