LinuxQuestions.org
Help answer threads with 0 replies.
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-13-2001, 12:38 AM   #1
TheWoodchuck
Member
 
Registered: Jun 2001
Posts: 34

Rep: Reputation: 15

Okay guys i need your assistance on this one. I've got most everything working with redhat 7 (except sound, but thats for a another post) and im having trouble getting the nic working. Its a linksys NIC and from what i read i need to used the tulip drivers. which red hat does come with found in:
lib\modules\2.2.16-22\net\tulip.o

I found a pci scan program which gave me the information:

Bus 0, device 11, funcion 0:
Ethernet controller: Unknown vendor Unknown device (rev 17)

which makes me think that the sucker isnt installed. So, if any of you can help me install the NIC it would be of much help. Thanks


 
Old 06-13-2001, 01:46 AM   #2
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
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 tulip driver 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 ifconfig. There should be stats for the loopback device (lo) and eth0. Verify that the IP infomation for eth0 is correct, and note the IRQ/base address information.

5. 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.

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

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

8. Last, type "alias eth0 tulip" 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.
 
Old 06-13-2001, 10:48 AM   #3
smoshea
LQ Newbie
 
Registered: Jun 2001
Posts: 17

Rep: Reputation: 0
old-tulip.o

Just to add to DMR's responce:
I've had loads of problems with tulip based NIC's and if you've followed DMR's reply without success i would suggest that you try the old tulip driver. You may find it called something like 'old-tulip.o' in the same directory as the new one, or you may have to get a copy of an older distro and take it from there.

HTH

Stuart
 
Old 06-14-2001, 12:00 AM   #4
TheWoodchuck
Member
 
Registered: Jun 2001
Posts: 34

Original Poster
Rep: Reputation: 15
Thanks so much for your replies. I havent quiet gotten it yet, but i have to admitt, im learning alot along the way. I fallowed your steps and unfortunately at startup it looks like it runs the insmod command and fails (insmod eth0 failed). How when i tried to do step 6 heres what happens:

[root@localhost /root]# insmod tulip

"Using /lib/modules/2.2.16-22/net/tulip.o
/lib/modules/2.2.16-22/net/tulip.o: init_module: Device or resource busy
Hint: insmod errors can be caused by incorect module parameters, including invalid IO or IRQ parameters.

Now, how do i got about telling it that my ethernet card is in IRQ 10. When i just typed "insmod" to bring up the help screen it listed nothing pertaining to how to assign the IRQ.

Thanks so much for your time, awaiting your responses.
 
Old 06-14-2001, 12:35 AM   #5
TheWoodchuck
Member
 
Registered: Jun 2001
Posts: 34

Original Poster
Rep: Reputation: 15
Also it says:
insmod /lib/modules/2.2.16-22/net/tulip.o: insmod failed
when shutting down... not sure if that helps you guys out any. just trying to give you guys as much info as a i can.
Thanks again!
 
Old 06-14-2001, 04:37 AM   #6
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
"Device or resource busy" errors usualy indicate an IRQ or address conflct with your NIC, previous to loading the module. Did you turn off P-N-P support in the BIOS as I suggested? Also, run ifconfig and post the output. Sorry, but it's geting rather late over here (3 AM my time), and sleep is calling. I'll get back to you in a few hours when I get to work.
 
Old 06-14-2001, 04:51 PM   #7
TheWoodchuck
Member
 
Registered: Jun 2001
Posts: 34

Original Poster
Rep: Reputation: 15
ifconfig output:

lo Link Encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOKBACK RUNNING MTU:3924 METRIC:1
RX packets:14 errors:0 droped:0 overruns:0 frame:0
TX packets:14 errors:0 droped:0 overruns:0 frame:0
Collisions:0 txqueuelen:0

And yes, i did switch off the PNP on the mother board. I poped open the system and took the NIC and tried another PCI slot to see if it would like a different IRQ better. But no luck.

also at shut down it doesnt say:
insmod /lib/modules/2.2.16-22/net/tulip.o: insmod failed
it says:
insmod /lib/modules/2.2.16-22/net/tulip.o: insmod invalid parameter.

 
Old 06-14-2001, 09:06 PM   #8
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Hm, no eth0 listed by ifconfig...not good.

1. Is it possible that the card is bad?
2. Did any reference to the card show up when you did cat /proc/pci or cat /proc/interrrupts?
3. As far as passing IRQ/Address options to the kernel, you can add an option line to your modules.conf. I think the syntax is as follows:

alias eth0 tulip
options tulip io=<desired base address> irq=<desired IRQ>

You can also try passsing the options to the kernel directly at the LILO boot prompt:

LILO: linux ether= <desired IRQ>,<base address>,eth0

From what I've read of other peoples' experiences, though, neither of these methods are guaranteed to work.

That's all I can think of for now-
Good Luck



 
  


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
Lost installing intel nic on redhat 9.0 prep Linux - Networking 4 11-13-2004 07:56 AM
Best NIC for RedHat 7.3 halfcan Linux - Hardware 2 11-10-2004 05:36 PM
which NIC to buy ? (redhat 8.0 or 9.0) inode100 Linux - Networking 3 10-29-2003 07:29 PM
Redhat 9 NIC question Futureman Linux - Networking 1 08-09-2003 05:54 PM
Installing NIC in Redhat 7.3? rootking Linux - Networking 5 10-08-2002 07:15 AM

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

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