View previous topic :: View next topic |
Author |
Message |
TimSSC Apprentice
Joined: 20 Apr 2006 Posts: 170 Location: Cambridge, MA
|
Posted: Thu Jul 13, 2006 9:55 am Post subject: eth1 does not exist [solved] |
|
|
I am trying to set up a home server, using some of the guides from gentoo.org and gentoo-wiki.com. when booting from the live cd, eth0 (the connected to cable modem) and eth1 (connected to lan) startup fine. However, when I boot from the HD installation, eth0 loads ok, giving me a nice internet connection, but when the boot process gets to starting eth1 ... it complains that eth1 does not exist. Now I am pretty sure I could fix this problem by using genkernel, but I have not yet successfully compiled my own kernel, and would love some help. Here is the output of lspci:
Code: | 00:00.0 Host bridge: Intel Corporation 440LX/EX - 82443LX/EX Host bridge (rev 03)
00:01.0 PCI bridge: Intel Corporation 440LX/EX - 82443LX/EX AGP bridge (rev 03)
00:04.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA (rev 01)
00:04.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
00:06.0 SCSI storage controller: Adaptec AIC-7880U
00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
00:0a.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 21)
00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G400/G450 (rev 04) |
I think the Realtek ethernet controller is the one that works (eth0). When I compiled my kernel, I found an option that matched the Realtek, but I couldn't find anything that seemed to corespond with the Lite-On. Does anyone know what modules I need to load, or what kernel options I need to use?
Thank you in advance for any help, it will be very much appreciated.
Last edited by TimSSC on Thu Jul 13, 2006 6:02 pm; edited 1 time in total |
|
Back to top |
|
|
phate Apprentice
Joined: 22 Mar 2004 Posts: 298 Location: Aachen, Germany
|
Posted: Thu Jul 13, 2006 10:51 am Post subject: |
|
|
TimSSC wrote: | it complains that eth1 does not exist |
Perhaps a little bit stupid but... are you missing the net.eth1 init-script? In case, a symlink to net.lo should do it |
|
Back to top |
|
|
TimSSC Apprentice
Joined: 20 Apr 2006 Posts: 170 Location: Cambridge, MA
|
Posted: Thu Jul 13, 2006 4:35 pm Post subject: |
|
|
No, I have the init script. I'm pretty sure it's a problem in the way I set up the kernel. Is there some sort of resource I can use to help me figure out what I need to do in the kernel? |
|
Back to top |
|
|
TimSSC Apprentice
Joined: 20 Apr 2006 Posts: 170 Location: Cambridge, MA
|
Posted: Thu Jul 13, 2006 4:49 pm Post subject: |
|
|
After browsing around on the internet, it looks like the linux kernel does not look for a second ethernet card by default. Is this true? And what can I do to make it look for one?
Thanks. |
|
Back to top |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Thu Jul 13, 2006 4:50 pm Post subject: |
|
|
I believe that NIC uses the tulip driver.
troymc |
|
Back to top |
|
|
TimSSC Apprentice
Joined: 20 Apr 2006 Posts: 170 Location: Cambridge, MA
|
Posted: Thu Jul 13, 2006 5:32 pm Post subject: |
|
|
I compiled the tulip driver into the kernel, and rebooted, but it still says that eth1 does not exist.
Is there any way to see what the live cd uses to load it? Because it is automatically detected and usable with that. I guess it's probably an older card, I suppose I could always just go buy a new one, but that would kind of defeat the purpose of this project. |
|
Back to top |
|
|
TimSSC Apprentice
Joined: 20 Apr 2006 Posts: 170 Location: Cambridge, MA
|
Posted: Thu Jul 13, 2006 6:02 pm Post subject: |
|
|
Yup, it uses the tulip driver. Thanks! |
|
Back to top |
|
|
|