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