Linux skills: network interface card-Linux Enterprise Application-Linux server application information. The following is a detailed description. First, all the articles I have written are based on version 2.4.20-8. later articles do not have any special instructions. You can use the following command to view your system version!
[Root @ localhost root] # uname-
Linux localhost 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux
The NIC chips supported by linux after version 2.4 are already very comprehensive. Apart from some miscellaneous cards, the mainstream and second-stream are supported. you can use the following command to view the NIC chip driver supported by the system:
[Root @ localhost root] # ls/lib/modules/2.4.20-8/kernel/drivers/net/
3c501. o acenic. o de4x5. o eepro100.o hamradio ne. o ppp_synctty.o smc-ultra.o tun. o
3c503. o aironet4500_card.o de600.o eepro. o hp100.o netconsole. o r8169.o starfire. o via-rhine.o
3c505. o aironet4500_core.o de6316o eexpress. o hp. o ni5010.o rcpci. o strip. o wan
3c507. o aironet4500_proc.o defxx. o epic100.o hp-plus.o ni52.o sb1000.o sundance. o wavelan. o
3c509. o amd8111e. o depca. o eql. o irda ni65.o shaper. o sungem. o wd. o
3c515. o appletalk dgrs. o es3210.o lance. o ns83820.o sis900.o sunhme. o winbond-840.o
3c59x. o arlan. o dl2k. o eth16i. o lne390.o pcmcia sk98lin tc35815.o wireless
8139cp. o arlan-proc.o dmfe. o ethertap. o lp486e. o pcnet32.o skfp tg3.o wireless_old
8139too. o at1700.o dummy. o ewrk3.o mii. o plip. o slhc. o tlan. o yellowfin. o
82596. o atp. o e100 fc natsemi. o ppp_async.o slip. o tokenring
8390. o bonding. o e1000 fealnx. o ne2k-pci.o ppp_deflate.o smc9194.o tulip
Ac3200.o cs89x0. o e2100.o hamachi. o ne3210.o ppp_generic.o smc-ultra32.o (tulip_old)
The above. o suffix file is the driver, and the directory without the suffix is.
Generally, the NIC Driver Module is automatically loaded when the system starts. sometimes, because the system does not have your chip driver, it is impossible for the system to load the NIC Driver Module. for beginners, it may have been debugging for a long time, but debugging is not good. in the end, the hard-installed linux system was deleted due to the inability to access the Internet. you can use the following command to check whether the NIC Driver Module is loaded.
The red part is my Nic, Because I installed it on the VM. therefore, the module name is pcnet32. if no (unused) exists in the network card module, it indicates that the network card has been loaded successfully. you may ask how I know the name of the NIC Driver Module. the command is as follows:
If you see the network card type, but it is not loaded, you can use the following command to load
[Root @ localhost root] # modprobe pcnet32
If an error occurs, the module does not exist. in this case, you should find the correct module and recompile it. if your Nic is a miscellaneous card, you cannot find the driver for linux on the official website. then you can copy the largest chip model on your network card. find the compatible chip driver!
Now that the NIC driver is installed and loaded, you need to set the IP address information. The IP Address Setting Method for the linux Nic is very flexible. You can select as needed. I will introduce three methods.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service