Install Network card in Linux : How to ??

Login to server as root and then navigate to the directory /lib/modules/ . Here you will find the modules supported by your system.
Assuming that you have a 3Com ethernet card, in which case, the module name is 3c59x ,
you have to add this in the /etc/modules.conf or /etc/modprobe.conf  file to let the machine detect the card each time the machine boots.


Add driver for ur new card  manually in /etc/modprobe.conf  (Kernel 2.6)  or etc/modules.conf (kernel 2.4)

#vi  /etc/modprobe.conf  

alias eth1 e100
alias eth2 "Driver name"    //add this line for ur eth2 network card with driver info (3c59x)

Load the module to kernel

# /sbin/insmod -v "drivername"  // 3c59x 

Check the loaded netowrk card in server using below commands

Then Reboot server and check the new card status.


#lspci |grep -i ethernet

# more /etc/modprobe.conf |grep -i eth

Modprobe command line options:

    -r : to unload the module.
    /sbin/modprobe -l \*   :list all modules.
    /sbin/modprobe -lt net \*  : List only network modules
    /sbin/modprobe -t net \*   : Try loading all network modules and see.



Post a Comment

0 Comments