need help with linux....

IBhacknU

Diamond Member
Oct 9, 1999
6,855
0
0
I'm a newbie at this whole linux.. so please be kind.

I am trying to set-up a driver for a newly installed network card. I have the .c file from the install disk.

1) How do I compile this file (into a .o module file)
2) What folder do I put it in?

If I get it in the proper folder, I should be able to run 'kernelcfg' and add the module.

HELP!

<edit>If it matters, I'm using Mandrake 6.0</edit>
 

IBhacknU

Diamond Member
Oct 9, 1999
6,855
0
0
I also have a bunch of other cards sitting around here:

3COM 3C900B-CMB
3COM 3C509TP
3COM 3C905TX

I'm not sure if the above NICs work and I would have to get the drivers from 3COM.

The D-Link NIC is brand new out of the box. The others are thanks to the MIS manager at work.
 

andri

Senior member
Aug 12, 2000
339
0
0
3com cards are supported just fine, no need to download something. i have 2 boxes with 3Com 10/100 NICs running under my desk right now.
 

Shuxclams

Diamond Member
Oct 10, 1999
9,286
15
81
You don't need drivers for 3Com cards...:). Throw the 905b in and type &quot;insmod 3c59x&quot; if its not already listed under &quot;lsmod&quot;, then &quot;ifup ethx&quot; where &quot;x&quot; is the ethernet card number, if its the only one then it should be eth0.



SHUX
 

rahvin

Elite Member
Oct 10, 1999
8,475
1
0
The D-Link card should just be a tulip driver, if you already have it in the computer just do a insmod tulip, then do a cat /var/log/messages to see if it installed it or gave you an error message. If you got a clean detection and set up of the card you can do ifconfig eth0 IP and it should set it up (or you can use linuxconf)
 

Damaged

Diamond Member
Oct 11, 1999
3,020
0
0
Well, you can determine which driver you may need by doing a:

dmesg | grep ^eth. See what it says.