Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

As my built-in NIC was not supported by Ubuntu out-of-the-box I was forced to use a USB NIC for temporary installation-time Internet connection.

And the USB NIC has taken the eth0 name making the built-in NIC to become eth1.

Sure, this doesn't really matter but just for the system "prettiness" I would like eth1 to become eth0 letting any newly attached NIC to become eth1.

Is this possible?

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

It is possible. Please do:

gksudo gedit /etc/udev/rules.d/70-persistent-net.rules 

Swap eth0 and eth1. Proofread carefully, save and close gedit. Use any other text editor if you don't have gedit. Reboot immediately and you should be all set.

share|improve this answer
... and first make a backup of the file –  Rinzwind Nov 15 '12 at 15:55
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.