public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] eth0/eth1 detected, but "wired" network is eth1...
@ 2006-04-02 12:19 Jarry
  2006-04-02 19:23 ` Richard Fish
  0 siblings, 1 reply; 4+ messages in thread
From: Jarry @ 2006-04-02 12:19 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] eth0/eth1 detected, but "wired" network is eth1...
  2006-04-02 12:19 [gentoo-user] eth0/eth1 detected, but "wired" network is eth1 Jarry
@ 2006-04-02 19:23 ` Richard Fish
  2006-04-03  6:37   ` Dirk Heinrichs
  2006-04-03  8:34   ` Neil Bothwick
  0 siblings, 2 replies; 4+ messages in thread
From: Richard Fish @ 2006-04-02 19:23 UTC (permalink / raw
  To: gentoo-user

On 4/2/06, Jarry <jarry@gmx.net> 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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] eth0/eth1 detected, but "wired" network is eth1...
  2006-04-02 19:23 ` Richard Fish
@ 2006-04-03  6:37   ` Dirk Heinrichs
  2006-04-03  8:34   ` Neil Bothwick
  1 sibling, 0 replies; 4+ messages in thread
From: Dirk Heinrichs @ 2006-04-03  6:37 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 950 bytes --]

Am Sonntag, 2. April 2006 21:23 schrieb ext Richard Fish:
> On 4/2/06, Jarry <jarry@gmx.net> 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: dirk.heinrichs@capgemini.com
Hambornerstraße 55      | Web:  http://www.capgemini.com
D-40472 Düsseldorf      | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net

[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] eth0/eth1 detected, but "wired" network is eth1...
  2006-04-02 19:23 ` Richard Fish
  2006-04-03  6:37   ` Dirk Heinrichs
@ 2006-04-03  8:34   ` Neil Bothwick
  1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2006-04-03  8:34 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 584 bytes --]

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!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-03  8:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-02 12:19 [gentoo-user] eth0/eth1 detected, but "wired" network is eth1 Jarry
2006-04-02 19:23 ` Richard Fish
2006-04-03  6:37   ` Dirk Heinrichs
2006-04-03  8:34   ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox