LinuxQuestions.org
Visit Jeremy's Blog.
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 06-28-2001, 03:48 PM   #1
musicnut01
LQ Newbie
 
Registered: Jun 2001
Posts: 4

Rep: Reputation: 0
Angry DHCP / Net Card Problems


ARghh! I am very new to Linux but have X up and running. The only problem is that on bootup, the kernel can't start eth0, it's the only thing that fails. the box is a Dell Optiplex GX1 with a 3Com Fast Etherlink 10/100 TX (3C905B-TX). Is there some configuring i have to do before it will recognize my card? I haven't done ANYTHING with linuxconf or anything like that so i probably just ahven't set it up correctly! X says it recognized the card and automatically assigned a driver thing but any time I try to activate eth0, it won't work!! Any help would be greatly appreciated.

Thanks,

Ben
 
Old 06-28-2001, 08:21 PM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
musicnut01,

You didn't say which distro you're using, but here are a few of the standard things to try when your NIC is being uncooperative (I'm using RH 6.2, but the basics should apply):

1. Check the screen output at bootup. If the NIC is being properly initialized, you should see a line that says: "Bringing up eth0- O.K." If you see "failed" or "delaying" instead, you've got problems (see #3).

2. Assuming the NIC comes up, you can do the configuration with the graphical configuration tools linuxconf or netconf. Click on Basic host information->Adaptor 1. From there, select eth0 as the device, choose the correct module (3c90x or 3c59x I think) from the drop-down list of kernel modules, and enable the device. Then either choose DHCP (if you're using it), or enter your IP information manually. After that, fill in your DNS and gateway/routing info under the appropriate sections.

3. If you get a failure on bootup, you may have a resource conflict with another device. Try turning off Plug-N-Play support in your BIOS, it can cause conflicts with some cards.

4. Log in as root, go to the command line or terminal window, and type "cat /proc/pci" and verify that your NIC is being recognized. Type "cat
/proc/interrupts" and make sure your NIC's IRQ isn't conflicting with another device. Type "cat /proc/ioports" and check the address ranges for conflicts. If you have resource conflicts, you can try rearranging the slot order of your PCI cards.

5. You can also verify the IRQ/address info by typing "ifconfig". There should be stats for the loopback device (lo) and eth0.

6. If you get card recognized, but the module isn't loading, try to load it manually by typing "insmod <your module's name>" or "modprobe <your module's name>". After that, type "lsmod" to list all loaded modules; the module should show up there.

7. You can then manually configure the NIC by typing "ifconfig eth0 xxx.xxx.xxx.xxx up", where xxx.xxx.xxx.xxx is your IP address.

8. Last, type "alias eth0 <your module's name>" to associate the driver with the card.

Those are the most basic steps; try them and see what happens. If you still have issues, repost with specifics on the problems.

Hope this helps.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
wireless card problems, getting DHCP but not internet spondootre Linux - Newbie 8 07-24-2005 04:02 PM
cableone.net DHCP on SuSE 9.1 LUB997 Linux - Software 1 07-18-2005 12:15 AM
dhcp problem no net!! Nz_Boy_2004 Linux - Distributions 10 12-12-2004 10:14 PM
Vector Linux 4.3 rc1 sound and net card detection problems lil_becky Linux - Newbie 3 11-15-2004 01:13 PM
DHCP and NIC card problems in Mandrake 10 emcee Linux - Networking 10 06-11-2004 12:44 AM

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

All times are GMT -5. The time now is 06:26 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