How to change MAC address in Open Suse
April 18, 2011 Leave a comment
Connect as a root user:
> su
Password:
Go to the following location:
> cd /etc/init.d
and edit the following file by some editor, I prefer to use vi editor.
> vi boot.local
Press “i” key, which means enabling insert mode, and then add the following entries:
/sbin/ifconfig eth0 down
/sbin/ifconfig eth0 hw ether 7F:G2:A4:30:R1:H7
/sbin/ifconfig eth0 up
7F:G2:A4:30:R1:H7 is the MAC address, enter yours.
after that click ESC key and type:
:wq
which means write and quite.
Now reboot the system :
>reboot
That it, I hope this post will help someone 🙂