home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.gentoo      Stupid OS you gotta compile EVERYTHING      17,684 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 16,399 of 17,684   
   Mike Bleiweiss to AZ Nomad   
   Re: udev is renaming my ethernet devices   
   01 Oct 08 17:54:15   
   
   From: unixg33k@yahoo.com   
      
   On Fri, 12 Sep 2008 17:51:45 -0500, AZ Nomad wrote:   
      
   > Udev has a nasty habit where it takes it upon itself to rename ethernet   
   > devices.   
   > I have lines in demsg such as:   
   > udev: renamed network interface eth1 to eth2 udev: renamed network   
   > interface eth0_rename to eth1   
   >   
   > This behavior sucks especially when udev changes its mind between   
   > reboots where NO hardware changes have occured.  My motherboard ethernet   
   > which has been eth0 for *years*, is now getting renamed to eth2.   
   >   
   > I see rules in /etc/udev/rules.d/70-persistent-net.rules and when I had   
   > swapped out a plugin card and udev started it's musical chairs game, I   
   > was able to reverse it by deleting the extranious rules there.   
   >   
   > However, it won't leave my motherboard at eth0.  I delete the rule, and   
   > some nanny process shoves it back giving me two rules for the   
   > motherboard ethernet.   
   >   
   > I don't really care what the ethernet devices get named as long as they   
   > don't change for no damn reason between reboots.  This system is a   
   > mythtv server and I don't appreciate having to get out a keyboard to fix   
   > something that was previously working.  If it works, don't fix it!   
      
   I've had this same problem with some nvidia chipsets (nforce, etc).  You   
   may notice that your MAC address is changing every time the computer is   
   rebooted.  It's the BIOS that is doing this.  The kernel boots up, udev   
   sees the nic as a different device since it has a different MAC, and then   
   it assigns the "new device" as a different /dev/eth*.   
      
   You may find a setting in the BIOS which disables this - but it's never   
   worked for me.  I eventually ended up replacing the motherboard.  I did   
   have a script going for a while that would change the device back after   
   boot, but it caused all kinds of occasional random wierdness.   
      
   You may be able to modify your /etc/udev/rules.d/70-persistent-net.rules   
   and change the eth* lines to eth0.   
      
   Some similar references:   
   http://www.linuxquestions.org/questions/linux-hardware-18/nvidia-nforce-   
   network-adapter-has-different-mac-adress-every-boot-569576/   
      
   http://ubuntuforums.org/archive/index.php/t-593747.html   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca