LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-09-2005, 05:00 PM   #1
bjrnfrdnnd
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Rep: Reputation: 0
gentoo eth0 problem


Hello,
I am trying to install gentoo.

When using the live-cd, the internet connection (dhcp) works just fine, using
the

Broadcom Corporation NetXtreme BCM571M Gibabit Ethernet PCI Exress (rev 11)

card (output from lspci).

So for sure there is a certain module which, if used by the kernel, just makes this card
work.

But, sadly enough, after having configured the kernel with genkernel --menuconfig all
and having added some features concerning power management, the kernel does not
seem to contain anymore this module.

In my newly installed system,
ifconfig eth0
just gives
eth0: error fetching interface information: Device not found

As the gentoo manual just gives me the information to compile the module which is the
driver of this card into the kernel, I do now have the problem:
which module is that?
And how do I find out the solution of this kind of problem in general?

As the live-cd knows the driver the kernel needs, there should be a way for me
to find that out, at the least I hope so....

Thanks for all your answers in advance!
 
Old 04-09-2005, 05:07 PM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
after configuring the kernel (with that wretched thing), go make and do "make menuconfig" , go to Device Drivers->Networking->Netwarking Devices->gigabit cards (or something similar), and compile in (mark with[*]) the card driver that has your cards name an it (it should be easy to see, use the "help" option if you like)

then complie, install, and that card should work with no trouble after a reboot
 
Old 04-09-2005, 05:10 PM   #3
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
Boot into the liveCD and do an lsmod. This will tell you which modules the kernel has loaded. Then boot to your installation and do the same thing, and modprobe the ones that the liveCD had that your install doesn't.

I'm not sure which broadcom cards the driver supports, but I *think* you're looking for the 'tg3' module. Try modprobe tg3 and see if ifconfig -a shows an eth0 device.
 
Old 04-09-2005, 09:40 PM   #4
bjrnfrdnnd
LQ Newbie
 
Registered: Apr 2005
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks a lot, the tg3 thing was the one!
I included it in /etc/modules.autoload, and everything is fine.

Can you also tell me how I can tell gentoo to automatically detect if the network cable
is plugged in, while the system is running? For the time being, the connection is
detected at startup (if a cable is plugged in), but if no cable is plugged in ,
the boot procedure stops for a long time before coming up.

Once it is running, plugging in a network cable doesn't change anything - I have
to start dhcpcd eth0 in order to get internet.

And for my wlan - I did get it to work, but only by command lines like:

dhcpcd -k eth0
iwconfig wlan0 key s:my_key_word
dhcpcd wlan0

I found some installation instructions which _should_ start the wlan at boot, but
I did not get it to work. Is there an easy way to do that?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
eth0 doesn't exist in Gentoo Continuum Linux - Networking 8 05-10-2006 08:36 AM
[GENTOO] eth0 Problems mrfinch Linux - Distributions 10 04-23-2006 04:40 PM
[Gentoo] Problems with eth0 elitecodex Linux - Distributions 10 05-19-2005 12:02 AM
Gentoo: eth0 not working pumazi Linux - Networking 1 01-03-2005 06:50 PM
problem with eth0 in gentoo sewi Linux - Networking 1 05-21-2004 12:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 05:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration