Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

D-Link NIC@Installation@Help ---RedHat 7.2

Status
Not open for further replies.

Rockman75

Technical User
Nov 2, 2002
17
US
Im a first-time explorer of Linux.

Anyone please help to install D-Link NIC for my RH7.2

With "lspci", I see my D-link as unknow device 1300(rev 10)
,but with ifcfg, I dont see "eho".

Guess, the step is,

1: install NIC driver
2: configure network setting, (IP, subnet....)

Then I got this driver CDROM, but I dont know how to install this driver from CDROM.

Please explain the procedure clearly to this super beginner.
I really thank you for help.
 

Hi,
first of all, reach under your desk for your bin, then take your CDROM and put it in there. That's where it belongs.

Secondly, does 'lsmod' show something that looks like your card?? Which card is it exactly??
If the driver is already included in the distribution it should be in /lib/modules/<somenumber>/net (usually).

If you can see the driver, then try modprobe <drivername> without the .o after it.

If it doesn't automatically load the driver at startup then you need to alter the 'options' and 'alias' entries in /etc/modules.conf.

If the driver isn't there at all you need to recompile the kernel with the correct driver. More about that later, if you need it.

Hope it helps a bit. Just ask if you can't find it.

Cheers Henrik Morsing
IBM Certified AIX 4.3 Systems Administration
 
On the NIC you will have a model number, this is important. If it is a revison A or B you should be OK with the native driver. If it is a C you may need to recomple the driver. We went through 4 different drivers using the D-Link card. I like it, but you have to be careful to get the right driver. Some of the old D-links were really a Via-Rhine.

We have had no troubles in the newer versions of RedHat.

I suggest that you try the following from the command line:

insmod rtl8139 if it does not complain then

lsmod you may see the module

edit your /etc/sysconfig/network file

edit your /etc/sysconfig/network-scripts/ifcfg-eth0

then:
ifdown eth0 just to be sure

ifup eth0 it should load

if all this works:

edit your /etc/modules.conf or /etc/conf.modules (I always forget) and add an alias for driver. This is part of the automatic start up process.

ie: alias eth0 rtl8139

Give it a shot.

John


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top