LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 01-21-2003, 09:24 PM   #1
bjb123
LQ Newbie
 
Registered: Jan 2003
Posts: 21

Rep: Reputation: 15
What to do with ethernet drivers


I am running RH8, dual booting with XP.

RH did not recognize my Broadcom onboard LAN on installation (I have an Asus P4PE board) but I did find the Broadcom drivers on the CD

So I managed to unpack and make the drivers into a file called bcm5700.o which I can add successfully using the insmod command and can then see when running lsmod.

But my question is, now what? Even after I load the module I still can't see my ethernet card. I think I somehow have to get the module to load automatically on boot, but don't know how...
 
Old 01-22-2003, 04:32 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,527

Rep: Reputation: 147Reputation: 147
When the module is loaded, you need to configure your NIC, assign IP and so on. From console, you do this using
ifconfig eth0 your_ip_here
and then you need to configure your routing table. If it's your only interface (no modems, other NICs and so on), you can type:
route del default
route add default eth0
It deletes old default gateway and tells the kernel to send all the packetes via your NIC.
 
Old 01-22-2003, 04:57 PM   #3
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Its actually simpler than that in Redhat.

Try this, run the "netconfig" utility. That will probe all the modules in your modules folder pertaining to NIC's. It wil then allow you to set up the networking parameters. It should also set it up to launch at boot.

Let us know how it works.

Kevin
 
Old 01-23-2003, 05:38 PM   #4
bjb123
LQ Newbie
 
Registered: Jan 2003
Posts: 21

Original Poster
Rep: Reputation: 15
This worked a treat - thanks a lot.

For future reference, what does the netconfig do to install the card?

I'd really like to understand how Linux assigns drivers to devices to hardware and in what files it records the info. Just so I can troubleshoot more effectively in the future...

but thanks again for the tip...
 
Old 01-23-2003, 07:48 PM   #5
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Everyone wants to be an admin and no one a user!
That will be the downfall of Linux I tell ya!



I imagine netconfig does all of the following:

#checks to see which NIC modules will load
modprobe -t net *

#configures the NIC with an IP and Subnet mask
ifconfig eth0 xxx.xxx.xxx.xxx mask yyy.yyy.yyy.yyy

#configures /etc/resolv.conf with the nameserver you provide
echo xxx.xxx.xxx.xxx > /etc/resolv.conf

#configures your routing tables with a gateway
route add gw ....

#edits your /etc/modules.conf for driver to load at boot
echo "alias eth0 blah" >> /etc/modules.conf


Some of that is helpful to know... but trust me... in Red Hat, netconfig is the best way to configure you NIC and I have never not seen it not work for a standard setup.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nForce 4 Audio/Ethernet drivers nhusted Fedora 4 05-29-2005 02:08 PM
Proprietary nvidia drivers vs. generic intel sound and ethernet drivers vharishankar Linux - Hardware 2 02-22-2005 05:32 AM
problems in installing drivers for myson mtd80x fast based ethernet card drivers pop_harish Linux - Hardware 0 02-12-2005 05:27 AM
drivers for my ethernet card bjornbjorn Linux - Newbie 34 11-01-2004 06:35 AM
trouble installing ethernet drivers sbcdivision63 Linux - Newbie 8 11-05-2003 02:56 PM


All times are GMT -5. The time now is 11:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration