Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 became eth1 -- how do I reset it (udev)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
eXess
Apprentice
Apprentice


Joined: 17 Aug 2003
Posts: 243
Location: Belgium

PostPosted: Wed Aug 08, 2007 5:13 pm    Post subject: eth0 became eth1 -- how do I reset it (udev) Reply with quote

Hi folks,

I struggled in the forum for some time now and couldn't find anything useful. Here is the problem :

I changed the hardware of my webserver. I thought I would do a quick-and-dirty trick and take the hard disk of the old machine, then put it in the new one and see what happens. Surprisingly enough, it's about ok. I'll recompile "world" later (the CPU changed from P3 to P4) but it runs. Fine.

There is one problem : UDEV kept track of my old NIC and registered it as eth0. So now, it thought it would be fun to assign eth1 to the new one. I don't find it particularly fun. I'd like to force UDEV to forget all nodes and rediscover my NIC just as if it was the first one it finds, and assign it to net.eth0 as should be. I emptied /etc/udev/rules.d/70-persistent-net-rules

Can anyone help ?
_________________
. . . . . . . .
eXess
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Aug 08, 2007 5:21 pm    Post subject: Reply with quote

most probably a DUP for [Solved] Change eth1 to eth0?

deleting /etc/udev/rules.d/70-persistent-net.rules should fix the issue
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
eXess
Apprentice
Apprentice


Joined: 17 Aug 2003
Posts: 243
Location: Belgium

PostPosted: Wed Aug 08, 2007 5:40 pm    Post subject: Reply with quote

How in hell did I not find this ?
I swear I looked !
It works, of course... :lol:
_________________
. . . . . . . .
eXess
Back to top
View user's profile Send private message
think4urs11
Administrator
Administrator


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Wed Aug 08, 2007 5:44 pm    Post subject: Reply with quote

Moved from Networking & Security to Duplicate Threads.
_________________
Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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