Gentoo Archives: gentoo-user

From: Dirk Heinrichs <ext-dirk.heinrichs@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eth0/eth1 detected, but "wired" network is eth1...
Date: Mon, 03 Apr 2006 06:42:53
Message-Id: 200604030837.49851.ext-dirk.heinrichs@nokia.com
In Reply to: Re: [gentoo-user] eth0/eth1 detected, but "wired" network is eth1... by Richard Fish
1 Am Sonntag, 2. April 2006 21:23 schrieb ext Richard Fish:
2 > On 4/2/06, Jarry <jarry@×××.net> wrote:
3 > > But what is eht0, wifi? Can I somehow change network detection so that
4 > > eth0 is wired-ethernet, and eth1 "that other network" (probably
5 > > wifi)???
6 >
7 > Most likely eth0 is your wifi card. You can write udev rules to set
8 > whatever device names you want. For example:
9 >
10 > # wireless
11 > DRIVER=="ipw2100", NAME="wlan"
12
13 Or based on MAC addresses:
14
15 KERNEL=="eth*", SYSFS{address}=="00:11:22:33:44:55", NAME="eth0"
16 KERNEL=="eth*", SYSFS{address}=="11:22:33:44:55:66", NAME="eth1"
17
18 HTH...
19
20 Dirk
21 --
22 Dirk Heinrichs | Tel: +49 (0)162 234 3408
23 Configuration Manager | Fax: +49 (0)211 47068 111
24 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
25 Hambornerstraße 55 | Web: http://www.capgemini.com
26 D-40472 Düsseldorf | ICQ#: 110037733
27 GPG Public Key C2E467BB | Keyserver: www.keyserver.net