From: "Björn Steinbrink" <B.Steinbrink@gmx.de>
To: "Martin MOKREJŠ" <mmokrejs@ribosome.natur.cuni.cz>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: e1000 in 2.6.21.2 and even older, like 2.6.13: eth0 does not exist but eth1 does
Date: Sat, 26 May 2007 07:59:30 +0200 [thread overview]
Message-ID: <20070526055930.GA8647@atjola.homenet> (raw)
In-Reply-To: <46560AE6.10307@ribosome.natur.cuni.cz>
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
prev parent reply other threads:[~2007-05-26 5:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-24 22:00 Martin MOKREJŠ
2007-05-26 5:59 ` Björn Steinbrink [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070526055930.GA8647@atjola.homenet \
--to=b.steinbrink@gmx.de \
--cc=linux-kernel@vger.kernel.org \
--cc=mmokrejs@ribosome.natur.cuni.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®