Re: [gentoo-user] eth0/eth1 detected, but "wired" network is eth1...

2006-04-03 Thread Neil Bothwick
On Sun, 2 Apr 2006 12:23:30 -0700, Richard Fish wrote:

> > But what is eht0, wifi? Can I somehow change network detection so that
> > eth0 is wired-ethernet, and eth1 "that other network" (probably
> > wifi)???
> 
> Most likely eth0 is your wifi card.  You can write udev rules to set
> whatever device names you want.

It could also be firewire if you have net1394 set in your kernel

udev rules are the way to go, it's how I keep my three interfaces (wired,
wireless and IEEE1394) consistently named.


-- 
Neil Bothwick

All right, set phasers to deep fat fry!


signature.asc
Description: PGP signature


Re: [gentoo-user] eth0/eth1 detected, but "wired" network is eth1...

2006-04-02 Thread Dirk Heinrichs
Am Sonntag, 2. April 2006 21:23 schrieb ext Richard Fish:
> On 4/2/06, Jarry <[EMAIL PROTECTED]> wrote:
> > But what is eht0, wifi? Can I somehow change network detection so that
> > eth0 is wired-ethernet, and eth1 "that other network" (probably
> > wifi)???
>
> Most likely eth0 is your wifi card.  You can write udev rules to set
> whatever device names you want.  For example:
>
> # wireless
> DRIVER=="ipw2100", NAME="wlan"

Or based on MAC addresses:

KERNEL=="eth*", SYSFS{address}=="00:11:22:33:44:55", NAME="eth0"
KERNEL=="eth*", SYSFS{address}=="11:22:33:44:55:66", NAME="eth1"

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.capgemini.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgpJ8RN23yifU.pgp
Description: PGP signature


Re: [gentoo-user] eth0/eth1 detected, but "wired" network is eth1...

2006-04-02 Thread Richard Fish
On 4/2/06, Jarry <[EMAIL PROTECTED]> wrote:
> But what is eht0, wifi? Can I somehow change network detection so that
> eth0 is wired-ethernet, and eth1 "that other network" (probably wifi)???

Most likely eth0 is your wifi card.  You can write udev rules to set
whatever device names you want.  For example:

# wireless
DRIVER=="ipw2100", NAME="wlan"

-Richard

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] eth0/eth1 detected, but "wired" network is eth1...

2006-04-02 Thread Jarry

Hi,

I tried to install gentoo on my notebook using x86-minimal-2006.0.iso.
I defined eth0 as usuall, but I could not ping to any IP inside/outside
my lan...

Then I went back to boot-messages and found out there are eth0 and eth1
detected! Very probably my 10/100/1000Mbit ethernet is eth1, because
when I defined IP for eth1, everything works...

But what is eht0, wifi? Can I somehow change network detection so that
eth0 is wired-ethernet, and eth1 "that other network" (probably wifi)???

Jarry
--
gentoo-user@gentoo.org mailing list