View previous topic :: View next topic |
Author |
Message |
co n00b
Joined: 20 Sep 2002 Posts: 4
|
Posted: Fri Sep 20, 2002 1:20 pm Post subject: Loading eth0 at startup |
|
|
Hi
I installed Gentoo last night; everything went fine.
But my ethernet card is not being recognised or loaded when I boot up.
During installation I did "modprobe 8139too" but now it comes up not found.
Any ideas on how to configure/load my network card so I can run emerge? |
|
Back to top |
|
|
simon Apprentice
Joined: 26 Apr 2002 Posts: 225 Location: Vienna
|
Posted: Fri Sep 20, 2002 1:38 pm Post subject: Re: Loading eth0 at startup |
|
|
Hi,
co wrote: |
During installation I did "modprobe 8139too" but now it comes up not found.
|
have you compiled support for your network card as module or is it in the kernel. Is the module or the network card not found?
If it is compiled as a module add it to /etc/modules.autoload.
Did you add net.eth0 to the default runlevel as described in the installation guide?
Simon |
|
Back to top |
|
|
co n00b
Joined: 20 Sep 2002 Posts: 4
|
Posted: Fri Sep 20, 2002 2:11 pm Post subject: |
|
|
I did the following during install:
modprobe 8139too
dhcpcd eth0
/sbin/ifconfig -a
(Everything was fine at this point)
Compiled kernel with gentoo-sources (stage3 install)
Added 8139too to /etc/modules.autoload
Left the /etc/conf.d/net fiel as it was (don't know what to change/add)
Ran: rc-update add net.eth0 default
How do I compile support for the network card as a module or in the kernel?
I have read the installation guide at least three times - but maybe I'm missing something. |
|
Back to top |
|
|
simon Apprentice
Joined: 26 Apr 2002 Posts: 225 Location: Vienna
|
Posted: Fri Sep 20, 2002 2:32 pm Post subject: |
|
|
co wrote: |
How do I compile support for the network card as a module or in the kernel?
|
You compile 8139too as a module if you check the option in the kernel configuration with "M" or if you want the support in the kernel by marking it with "*".
Code: | <M> RealTek RTL-8139 PCI Fast Ethernet Adapter support |
or
Code: | <*> RealTek RTL-8139 PCI Fast Ethernet Adapter support |
(Network device support -> Ethernet (10 or 100MBit) -> RealTek RTL-8139 PCI Fast Ethernet Adapter support.)
What's the output of with your currently running kernel?
Simon |
|
Back to top |
|
|
co n00b
Joined: 20 Sep 2002 Posts: 4
|
Posted: Fri Sep 20, 2002 2:41 pm Post subject: |
|
|
The output of modprobe 8139too:
8139too cannot be found (or words to that effect)
I'll try your suggestions - I didn't check either of the options you identified (didn't know what I was looking for)
Many thanks - I'll let you know how I get on! |
|
Back to top |
|
|
simon Apprentice
Joined: 26 Apr 2002 Posts: 225 Location: Vienna
|
Posted: Fri Sep 20, 2002 2:49 pm Post subject: |
|
|
Can you find similar output from dmesg
Code: | eth0: OEM i82557/i82558 10/100 Ethernet, 00:D0:59:26:15:33, IRQ 11. |
You can pipe the output from dmesg to less with to take a look or search.
Do you have a file called 8139too.o in /lib/modules/2.4.19-gentoo-r?/net/ ?
If modprobe says
Code: | modprobe: Can't locate module 8139too | you probaly don't have it compiled as a module. If you can't find any messages in dmesg, maybe you forgot to compile support in the kernel.
Check your kernel configuration.
Simon |
|
Back to top |
|
|
co n00b
Joined: 20 Sep 2002 Posts: 4
|
Posted: Sat Sep 21, 2002 9:52 am Post subject: |
|
|
Added 8139 as a module.
Worked straight away.
Cheers mate
Just about to emerge kde. |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sat Sep 21, 2002 3:19 pm Post subject: |
|
|
Just a warning note --- don't emerge arts with -fframe-omit-pointer in your CFLAGS (things may go pretty bad later)
co wrote: | Added 8139 as a module.
Worked straight away.
Cheers mate
Just about to emerge kde. |
|
|
Back to top |
|
|
|