eth0 not recognized:school system

Kerry Hoath kerry at gotss.net
Wed Feb 25 23:37:55 EST 2009


You might experience trouble eventually from obliterating udev, it seems to 
be becoming more and more ingrained and it solves a lot of problems as well 
as creating some interesting situations.
I think hotplug is deprecated not sure.
There is a good reason for the eth0 funnies, both why interfaces are renamed 
and why they are locked in place.
On a normal box you don't usually want a firewire interface showing up as 
eth0, as the average user doesn't want to network with firewire.

Also on a normal box when you boot the kernel without the udev magic 
multiple ethernet interfaces are detected in the order the kernel finds 
them. This means if you add a second card, eth0 can become eth1 and visa 
versa.
With udev, the mac address of eth0 is stored in the persistant rules file 
and eth0 stays eth0 when you add a card.
this can cause problems if you change the card in a box, eth0 will become 
eth1, then if you change to a 3rd card it becomes eth2.

You can fix this by removing the lines from 
/etc/udev/rules.d/70-persistant-net-generator-rules
not sure if I spelt that properly.

This is important if you are creating virtual machines with Debian Ubuntu or 
Gentoo and you clone the machine. When the Mac of the nic changes udev 
assigns another interface name to the card.
It is easy enough to remove the lines from the generator file and reboot the 
machine to get eth0 back.

I find that ifconfig -a is a good way to find out what udev has done to your 
interfaces.
Regards, Kerry.

----- Original Message ----- 
From: "Tyler Littlefield" <tyler at tysdomain.com>
To: "Speakup is a screen review system for Linux." <speakup at braille.uwo.ca>
Sent: Thursday, February 26, 2009 12:42 PM
Subject: Re: eth0 not recognized:school system


> hello,
> I am replying to the first post in response I think, as that's the top of 
> the thread for me.
> Anyway, it was udev, and I just replaced it with hotplug.
> More and more things seem to be breaiking with debian lately, now bash 
> requires udev for completion if you upgrade bash, but udev isn't  a 
> required package.
> There's a ln hack you can use, but it seems like packages aren't coming 
> with the proper dependencies.
> Anyone else experiencing this problem?
> I personally didn't mind udev--until it decided to rename nic interfaces, 
> anyway. That broke a lot of scripts from startup and others.
> ----- Original Message ----- 
> From: "Gregory Nowak" <greg at romuald.net.eu.org>
> To: "Speakup is a screen review system for Linux." 
> <speakup at braille.uwo.ca>
> Sent: Thursday, February 19, 2009 12:53 PM
> Subject: Re: eth0 not recognized:school system
>
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On Thu, Feb 19, 2009 at 09:07:33AM -0700, Tyler Littlefield wrote:
>>> I'm trying to set up a linux system here at school at my lab station, 
>>> and am using a cross over.
>>
>> Doesn't your school have an I/T department for doing that kind of
>> stuff, or are they for windows only, or is setting up a gnu/linux
>> system part of a course you're taking?
>>
>>> I installed linux and all that,
>>
>> "All that" isn't informative enough. What distribution?
>>
>>> but when I use ifconfig, it says that eth0 wasn't recognized.
>>> I've tried:
>>> inserting a NIC card in to the pci slot and using that.
>>> I also tried the onboard card, and it's not recognizing.
>>> Any ideas on how to get it to recognize? I've never had this problem 
>>> before.
>>
>> What does dmesg say, if anything? Does linux have support for the
>> card(s) you're trying to use, and if so, then is that support
>> configured into your running kernel, either as modules, or built-in?
>>
>> Greg
>>
>>
>> - -- 
>> web site: http://www.romuald.net.eu.org
>> gpg public key: http://www.romuald.net.eu.org/pubkey.asc
>> skype: gregn1
>> (authorization required, add me to your contacts list first)
>>
>> - --
>> Free domains: http://www.eu.org/ or mail dns-manager at EU.org
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEARECAAYFAkmduLQACgkQ7s9z/XlyUyB1egCfR13TZyuRoCKumDvQehX6AQac
>> UMkAmwWW6LhaxHlKeELBI1vsGF7YyezE
>> =TsTI
>> -----END PGP SIGNATURE-----
>> _______________________________________________
>> Speakup mailing list
>> Speakup at braille.uwo.ca
>> http://speech.braille.uwo.ca/mailman/listinfo/speakup
>
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 




More information about the Speakup mailing list