Re: e1000 in 2.6.21.2 and even older, like 2.6.13: eth0 does not exist but eth1 does

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 2007.05.25 00:00:06 +0200, Martin MOKREJŠ wrote:
>  Let me emphasize ifconfig(1) does only show loopback device all the time.
> Finally I found that in /proc/net/dev there is a row for "lo:" and "eth1".
> Yes, the network card is recognized as eth1. Blindly running 'ifconfig eth1 
> $IP'

ifconfig shows only interfaces that are "up" unless you run it with -a

> I think there is sometimes logged wrong device name to syslog, I do not 
> know why.
> But it always shows eth0 after inserting the e1000 module? Removing the 
> module
> disables the IRQ for the device, re-inserting the module again claims it is
> eth0 ... but it is eth1, I know now. The network card is wired into the 
> motherboard,

The log entries are probably right, but userspace renames the device
shortly after. Check /etc/iftab and/or your udev rules.

HTH
Björn
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux