Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
System remembers eth0 which points to a broken Ethernet (OK)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1061
Location: Stuart, Florida

PostPosted: Thu Dec 23, 2010 8:49 pm    Post subject: System remembers eth0 which points to a broken Ethernet (OK) Reply with quote

I am running 2.6.36-gentoo-r5 on an amd64 system.

My motherboard's Ethernet quit working and I replaced it with an Ethernet PCI board and it works. The system configured it as eth1 and has retained eth0 which is inoperative and is configured out of the system.

I would like to know how to get the system to forget about the old eth0 and rename the current eth1 to eth0.

Any ideas how to do it?


Last edited by Featherfoot on Fri Dec 24, 2010 5:10 am; edited 1 time in total
Back to top
View user's profile Send private message
gentoo_ram
Guru
Guru


Joined: 25 Oct 2007
Posts: 418
Location: San Diego, California USA

PostPosted: Thu Dec 23, 2010 9:06 pm    Post subject: Reply with quote

rm /etc/udev/rules.d/70-persistent-net.rules and reboot.
Back to top
View user's profile Send private message
Inodoro_Pereyra
Advocate
Advocate


Joined: 03 Nov 2006
Posts: 2631
Location: En la otra punta del cable

PostPosted: Fri Dec 24, 2010 4:03 am    Post subject: Reply with quote

You can also edit the 70-persistent-net.rules file instead of deleting it. Rebooting is not needed, just issue:
Code:
udevadm trigger net


Cheers!
_________________
Mi Blog.

Si no fuera por C, estaríamos escribiendo programas en BASI, PASAL y OBOL.
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1061
Location: Stuart, Florida

PostPosted: Fri Dec 24, 2010 5:09 am    Post subject: Reply with quote

Thanks to both for your advice. It seemed to be enough to rename the 70-persistent-net .rules up to a higher level and then move it back after the system had rebooted.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum