1 |
On 4/19/06, Michael Sullivan <michael@××××××××××××.com> wrote: |
2 |
> On Wed, 2006-04-19 at 22:50 +0200, Maxime Robert-Schreyers wrote: |
3 |
> > Michael Sullivan wrote: |
4 |
> > |
5 |
> > >The guy I'm helping to install Gentoo says that he can get to his Linux |
6 |
> > >installation and log in, but that he has no network unless he boots with |
7 |
> > >the LiveCD. I've tried every trick I know. At this point he's booted |
8 |
> > >with the LiveCD and entered his chroot install environment. Out of |
9 |
> > >desperation for some way to find what the problem is, I asked him to |
10 |
> > >take a look at ifconfig. According to what he told me, eth1 has an IP |
11 |
> > >address, but there's no mention of eth0. In the past he's told me that |
12 |
> > >the PC he's installing Gentoo on has a wired NIC and a wireless NIC. I |
13 |
> > >assume this is why his network card is assigned eth1, and that the |
14 |
> > >wireless card is eth0 and the LiveCD doesn't support it. The handbook |
15 |
> > >says that if multiple network interfaces exist, one can create symlinks |
16 |
> > >to /etc/init.d/net.eth0 for each successive network interface. My |
17 |
> > >question is if I tell him to rc-update add net.eth1 default and then to |
18 |
> > >symlink /etc/init.d/net.eth1 to /etc/init.d/net.eth0, when he reboots, |
19 |
> > >won't Gentoo just try to start /etc/init.d/net.eth0, which won't work at |
20 |
> > >this point? What should I do? I've told him what the handbook says, |
21 |
> > >but I'm not sure that it will work. |
22 |
> > > |
23 |
> > > |
24 |
> > > |
25 |
> > Hi mike, |
26 |
> > |
27 |
> > It should be the other way around: first the symlink, then rc-update |
28 |
> > otherwise rc-update won't find the /etc/init.d/net.eth1script when it will |
29 |
> > attempt to add it to the default runlevel. |
30 |
> > |
31 |
> > Also, is the IP asignment properly set up ? (DHCP, static IP ?) |
32 |
> > |
33 |
> > Good luck, |
34 |
> > Maxime |
35 |
> > |
36 |
> |
37 |
> We did it in the correct order. He's rebooted into Linux (sans LiveCD) |
38 |
> and says he has network. I'd still like to know how |
39 |
> if /etc/init.d/net.eth1 is pointing to /etc/init.d/net.eth0, how does |
40 |
> Linux know to start eth1 instead of eth0? |
41 |
|
42 |
Already answered that, but no harm in repeat. By the name... |
43 |
I never really checked it, but hey, ITS THE ONLY DIFFERENCE. So, it |
44 |
gets the name, and checks etc/conf.d/net for configuration regarding |
45 |
that name, and executes it accourdingly. |
46 |
|
47 |
-- |
48 |
Daniel da Veiga |
49 |
Computer Operator - RS - Brazil |
50 |
-----BEGIN GEEK CODE BLOCK----- |
51 |
Version: 3.1 |
52 |
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- |
53 |
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ |
54 |
------END GEEK CODE BLOCK------ |
55 |
|
56 |
-- |
57 |
gentoo-user@g.o mailing list |