Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Loading eth0 at startup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
co
n00b
n00b


Joined: 20 Sep 2002
Posts: 4

PostPosted: Fri Sep 20, 2002 1:20 pm    Post subject: Loading eth0 at startup Reply with quote

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
View user's profile Send private message
simon
Apprentice
Apprentice


Joined: 26 Apr 2002
Posts: 225
Location: Vienna

PostPosted: Fri Sep 20, 2002 1:38 pm    Post subject: Re: Loading eth0 at startup Reply with quote

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
View user's profile Send private message
co
n00b
n00b


Joined: 20 Sep 2002
Posts: 4

PostPosted: Fri Sep 20, 2002 2:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
simon
Apprentice
Apprentice


Joined: 26 Apr 2002
Posts: 225
Location: Vienna

PostPosted: Fri Sep 20, 2002 2:32 pm    Post subject: Reply with quote

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
Code:
modprobe 8139too
with your currently running kernel?

Simon
Back to top
View user's profile Send private message
co
n00b
n00b


Joined: 20 Sep 2002
Posts: 4

PostPosted: Fri Sep 20, 2002 2:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
simon
Apprentice
Apprentice


Joined: 26 Apr 2002
Posts: 225
Location: Vienna

PostPosted: Fri Sep 20, 2002 2:49 pm    Post subject: Reply with quote

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
Code:
dmesg|less
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
View user's profile Send private message
co
n00b
n00b


Joined: 20 Sep 2002
Posts: 4

PostPosted: Sat Sep 21, 2002 9:52 am    Post subject: Reply with quote

Added 8139 as a module.

Worked straight away.

Cheers mate

Just about to emerge kde.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Sep 21, 2002 3:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum