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