Linux Nic Installation Guide

Source: Internet
Author: User

Linux supports NICs better than other hardware. XteamLinux 4.0 can automatically identify common NICs. You only need to enter the IP address, subnet mask, and other related information as prompted to complete the installation, if Linux does not recognize your Nic, You need to download the driver for the NIC. The following describes how to manually configure the network card.
Step 1:Preparations before driver
First, let's first confirm what the chip used by the NIC is. The simplest identification method is to check what type of chip is written on the largest chip on the NIC ), write down your Nic name and chip name.
Step 2:Download and compile the driver
If Linux does not support your Nic chip, you have to find its driver. For Driver Search, refer to the following website:
Http://www.linhardware.com/
Http://cesdis.gsfc.nasa.gov/linux/drivers/
Http://www.drivershq.com
Http://www.mrdriver.com
Http://www.totallydrivers.com
If you find the. c driver, use gcc to compile it:
Gcc-DMODVERSIONS-DMODULE-D_KERNEL _-Wall-Wstrict-prototypes
-O6-c driver. c
In this way, the. o file with the same name will be generated in the current directory, which is the driver module. Of course, if the driver you downloaded is. o, you can directly use it without compiling, but it may be caused by the different Linux Kernel used for compiling this module and your Linux kernel. If successful, you can copy this module to the "/lib/modules/current kernel version/net" directory.
Step 3:Manual "Drive" Nic
Linux usually automatically detects all installed NICs of this brand type, which is no problem for the PCI driver; but for the ISA Nic, it is insecure to find a network card. Therefore, you need to provide the I/O address of the network card so that the module can know where to find it. This information is stored in the file/etc/conf. modules.
1. Modify the/etc/config. modules file and add the following information:
Alias eth0 Network Module name does not need to be added. o)
Options Network Module name I/O = I/O address irq = IRQ Number sometimes you can leave this item empty)
2. Run modprobe ethN to test it.
3. restart Linux or run/etc/rc. d/init. d/network restart Nic.

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.