How to change MAC address in Open Suse

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 🙂

 

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: