LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-11-2004, 08:08 AM   #1
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Rep: Reputation: 15
Unhappy Can't detect network card built-in to motherboard


Hi Linux gurus! I've successfully installed slackware linux 10 into our HP PC, I configured the network during the setup and made it DHCP. Now the problem is when I configured its network on the shell with "ifconfig eth0 <ipaddress>... netmask 255.255.255.0" i got an error that says: "eth0: error fetching interface information: Device not found"

The ethernet card of my PC is not in the PCI-interface, and it is built-in to the motherboard.

Please help me configuring my network card and Linux machine's IP configuration...

Thanks a Lot!
 
Old 11-11-2004, 08:38 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
Run this command as root user and post the output here (use a floppy to transfer, don't try to re-type :)

lspci
 
Old 11-11-2004, 08:40 AM   #3
judge_neo
Member
 
Registered: Sep 2004
Location: dumfries, scotland
Distribution: Mandrake10.1 ce
Posts: 65

Rep: Reputation: 15
can you post your output from ./lspci plz
 
Old 11-11-2004, 09:02 AM   #4
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
Hi! thanx for ur kind reply!!!
Here's the output of the lspci command... what do u think is wrong based from the lspci output???

my ethernet card by the way is built-in to my motherboard, its not PCI-based....thanks


00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 03)
00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 03)
00:1d.0 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #3 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corp. 82801DB (ICH4) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801DB (ICH4) Ultra ATA 100 Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801DB/DBM (ICH4) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corp. 82801DB (ICH4) AC'97 Audio Controller (rev 02)
03:0a.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
 
Old 11-11-2004, 09:27 AM   #5
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
The last line of lspci says that you have a broadcom ethernet controller. Go here to d/l the driver for your ethernet controller
 
Old 11-11-2004, 10:23 AM   #6
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
Thanx a lot bathory...

I got another issue with the driver you've given me....

on the readme file, there is a instruction for the installlation of the bcm driver, the first two says:

"1. Install the source RPM package:

rpm -ivh bcm4400-<version>.src.rpm

2. CD to the RPM path and build the binary driver for your kernel:

cd /usr/src/{redhat,OpenLinux,turbo,packages,rpm ..}

rpm -bb SPECS/bcm4400.spec

or

rpmbuild -bb SPECS/bcm4400.spec (for RPM version 4.x.x)"

it was successful,

instruction 3 says:

"3. Install the newly built package (driver and man page):

rpm -ivh RPMS/i386/bcm4400-<version>.i386.rpm"

when did that exactly my command was: "rpm -ivh RPMS/i386/bcm4400-3.0.7-1.i386.rpm", of course, I was on the right directory.

but on that 3rd instruction, i get the error message:

"error: Failed dependencies
/bin/sh is needed by bcm4400-3.0.7-1"

I assumed that I've gotta shift to bourne shell (sh), which I did, but I still get the same error message!!! :-(

Did I miss something??? Please help!!!

Thanks!!!!
 
Old 11-11-2004, 10:30 AM   #7
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
By the way I'm using slackware 10 and kernel 2.4.26 ... is it still compatible with this bcm 4400 3.0.7-1 version that I downloaded from you the site that u gave me???


Thanks a lot!
 
Old 11-11-2004, 10:51 AM   #8
judge_neo
Member
 
Registered: Sep 2004
Location: dumfries, scotland
Distribution: Mandrake10.1 ce
Posts: 65

Rep: Reputation: 15
did you try runnig the command as root?
 
Old 11-11-2004, 12:28 PM   #9
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
hi judge neo and bathory! well i guess ive completed installing the driver by doing the following:
--------------
The following are general guidelines for installing the driver. Refer to
DISTRIB.TXT for additional installation notes for various Linux distributions.

1. Create a directory and extract the files:

tar xvzf bcm4400-<version>.tar.gz

2. Build the driver bcm4400.o as a loadable module for the running kernel:

cd src
make

3. Test the driver by loading it:

insmod bcm4400.o

4. Install the driver and man page:

make install

See RPM instructions above for the location of the installed driver.

5. To configure network protocol and address, refer to various Linux
documentations.
--------------

but there's another problem, when i tried to reboot the machine, i run the command:

ifconfig eth0 <ipaddress>... netmask 255.255.255.0"

i got an error that says: "eth0: error fetching interface information: Device not found" again!!!

did i successfully installed the driver? or what would be the way to configure my built-in ethernet card?

thanks for bearing my stupidy in linux, im very new to linux...

cheers!
 
Old 11-11-2004, 12:48 PM   #10
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
by the way, i was logged in as root...

thanks!
 
Old 11-11-2004, 03:54 PM   #11
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Yes the driver built correctly, but it needs to be moved to the /lib/modules/2.6.~/kernel/drivers/net/ directory
then do depmod -a

This makes it available for modprobe at boot time..

Your current kernel version can be found from uname -r
Each kernel version has it's own modules directory..

You should also add an alias for eth0 to specify the module..
Usually in /etc/modules.conf add a line
alias eth0 bcm4400

Last edited by peter_robb; 11-11-2004 at 03:57 PM.
 
Old 11-11-2004, 05:13 PM   #12
rsumbeling
Member
 
Registered: Nov 2004
Location: Toronto, Ontario
Distribution: slackware, redhat
Posts: 42

Original Poster
Rep: Reputation: 15
Hi! Thanks a lot Peter, my Ethernet card is finally up at boot time! thanks a lot! ur the man! but i still have another question... but its better to have a new thread for this... please take a look at my thread named "DHCP configuration and incoming telnet, ssh"


thanks and more power!
 
  


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
Redhat linux 9.0 can't detect built-in network adapter on hp d220 mt mrpc_cambodia Linux - Networking 12 10-24-2009 04:36 AM
linux shuts down built in network card then windows tells me network card is unplugge lesmoxhaybaker SUSE / openSUSE 8 08-29-2006 05:10 PM
Alsaconf fails to detect motherboard sound card BuckRogers01 Debian 10 07-15-2005 03:43 PM
couldnt detect built in network card actteoh Linux - Hardware 4 10-16-2004 03:15 AM
couldnt detect built in sound card actteoh Linux - Hardware 2 05-30-2004 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:58 PM.

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