Gentoo Archives: gentoo-user

From: Michael Sullivan <michael@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] OT - Question about net.eth0 and the handbook [partially solved]
Date: Thu, 20 Apr 2006 00:39:16
Message-Id: 1145493290.4758.13.camel@camille.espersunited.com
In Reply to: Re: [gentoo-user] OT - Question about net.eth0 and the handbook [partially solved] by "Brett I. Holcomb"
1 On Wed, 2006-04-19 at 19:59 -0400, Brett I. Holcomb wrote:
2 > If you look at the script it uses the .ethx part to figure out what to start.
3 >
4 The script made no sense to me. I'm not that good at shell scripting
5 anyway.
6 > On Wednesday April 19 2006 17:00, Michael Sullivan wrote:
7 > > On Wed, 2006-04-19 at 22:50 +0200, Maxime Robert-Schreyers wrote:
8 > > > Michael Sullivan wrote:
9 > > > >The guy I'm helping to install Gentoo says that he can get to his Linux
10 > > > >installation and log in, but that he has no network unless he boots with
11 > > > >the LiveCD. I've tried every trick I know. At this point he's booted
12 > > > >with the LiveCD and entered his chroot install environment. Out of
13 > > > >desperation for some way to find what the problem is, I asked him to
14 > > > >take a look at ifconfig. According to what he told me, eth1 has an IP
15 > > > >address, but there's no mention of eth0. In the past he's told me that
16 > > > >the PC he's installing Gentoo on has a wired NIC and a wireless NIC. I
17 > > > >assume this is why his network card is assigned eth1, and that the
18 > > > >wireless card is eth0 and the LiveCD doesn't support it. The handbook
19 > > > >says that if multiple network interfaces exist, one can create symlinks
20 > > > >to /etc/init.d/net.eth0 for each successive network interface. My
21 > > > >question is if I tell him to rc-update add net.eth1 default and then to
22 > > > >symlink /etc/init.d/net.eth1 to /etc/init.d/net.eth0, when he reboots,
23 > > > >won't Gentoo just try to start /etc/init.d/net.eth0, which won't work at
24 > > > >this point? What should I do? I've told him what the handbook says,
25 > > > >but I'm not sure that it will work.
26 > > >
27 > > > Hi mike,
28 > > >
29 > > > It should be the other way around: first the symlink, then rc-update
30 > > > otherwise rc-update won't find the /etc/init.d/net.eth1script when it
31 > > > will attempt to add it to the default runlevel.
32 > > >
33 > > > Also, is the IP asignment properly set up ? (DHCP, static IP ?)
34 > > >
35 > > > Good luck,
36 > > > Maxime
37 > >
38 > > We did it in the correct order. He's rebooted into Linux (sans LiveCD)
39 > > and says he has network. I'd still like to know how
40 > > if /etc/init.d/net.eth1 is pointing to /etc/init.d/net.eth0, how does
41 > > Linux know to start eth1 instead of eth0?
42 >
43 > --
44 >
45 > Brett I. Holcomb
46
47 --
48 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] OT - Question about net.eth0 and the handbook [partially solved] "Brett I. Holcomb" <brettholcomb@×××××××××.net>