View previous topic :: View next topic |
Author |
Message |
eXess Apprentice
Joined: 17 Aug 2003 Posts: 243 Location: Belgium
|
Posted: Wed Aug 08, 2007 5:13 pm Post subject: eth0 became eth1 -- how do I reset it (udev) |
|
|
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 |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Wed Aug 08, 2007 5:21 pm Post subject: |
|
|
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 |
|
|
eXess Apprentice
Joined: 17 Aug 2003 Posts: 243 Location: Belgium
|
Posted: Wed Aug 08, 2007 5:40 pm Post subject: |
|
|
How in hell did I not find this ?
I swear I looked !
It works, of course... _________________ . . . . . . . .
eXess |
|
Back to top |
|
|
think4urs11 Bodhisattva
Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Wed Aug 08, 2007 5:44 pm Post subject: |
|
|
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 |
|
|
|