need help installing driver for ethernet cards

I need to install a smc 1211tx ethernet card. When I plug it in the computer kadzu finds it but after the boot up it doesn't work. I get "delaying eth0 initialization". I went the smc website and crossed there driver section, under drivers for linux I found this link:
http://www.smc.com/smc/drivers/Drivers/1211/rtl8139.c

It came up as a text file, but I think it is a c file? do I put this file in the /dev directory? and do I have to compile it?

Please help me.

Matt
unomateoAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
vvijaykConnect With a Mentor Commented:
Compile the c file with -c option which will generate only the object file ( rtl8139.o).
gcc -c rtl8139.c

Put this file in the /lib/modules/2.2.x-x/net dir. The x stands for linux ver no. Then run netconf and goto Basic Host info. Then in the Adaptor 1 section do the following:
[x]Enabled
(o)Manual ()Dhcp ()Bootp
IP Address : (your choice)
Net device : eth0
Kernel module : rtl8139

Save changes and quit

This should work.

0
 
kittlejCommented:
Ok well I have a similar problem. I have installed a 3c509 (non B aka non PnP) ISA nic card @ 210 / 11 and I'm having problems.  I boot (after editing my conf.modules file to show

alias 3c509 eth0
options 3c509 io=0x210

)

what happens is if i type insmod 3c509 and then ifup eth0 it loads and works properly.  If I reboot the PC, it tries to load it automatically, but comes up "insmod failed" and then "delaying eth0 initalization"  What exactily do I need to do to fix this?
0
All Courses

From novice to tech pro — start learning today.