lkml.org 
[lkml]   [2007]   [May]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateSat, 26 May 2007 07:59:30 +0200
FromBjörn Steinbrink <>
SubjectRe: e1000 in 2.6.21.2 and even older, like 2.6.13: eth0 does not exist but eth1 does
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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-26 06:01    [from the cache]
©2003-2008