Article Title: Linux Server NIC Driver Installation and troubleshooting. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
NICs are the most important network devices on Linux servers. According to statistics, 35% of Linux network faults are at the physical layer, 25% at the data link layer, 10% at the network layer, 10% at the transmission layer, 10% at the conversation layer, 7% at the presentation layer, and 3% at the application layer. From this we can see that the Network
Faults usually occur on the lower layer of the layer-7 network model, that is, the physical layer, link layer, and network layer. Corresponding to the actual network, that is, the used network cables, network adapters, switches, routers, and other equipment faults. Linux Network implementation is similar to FreeBSD. It supports FreeBSD's extended Sockets (socket) and TCP/IP protocols. It supports the network connection between two hosts and the Sockets communication model, and implements two types of Sockets: BSD Sockets and INET Sockets. It provides two transmission protocols for different communication models and service quality, namely, unreliable, message-based UDP transmission protocol and reliable, stream-based transmission protocol TCP, it is also implemented on the IP network protocol. INET sockets is implemented based on the above two protocols and IP protocols. The relationship between them is shown in.
Linux Network Model
Because vswitches and vrouters are generally independent of Linux or other operating systems. Nic configuration failure is the main cause of Linux Server failure. It may be caused by hardware quality or performance, wear and aging, human error, incorrect network settings, management problems, Linux software bugs, hacker attacks, and Linux viruses.
For Linux Server Nic troubleshooting, we should follow the hardware first and software method. If the hardware is physically damaged, how to set the NIC cannot solve the fault. To solve the problem, you can check the network card of your Linux computer. If the hardware is correct, consider the software settings.
1. Nic Selection
Generally, Linux Versions later than version 2.4 support a complete number of network card chipsets, including well-known vendors such as Intel and widely used RealTek and Via Nic chips, therefore, users can easily set their network cards. However, due to the large number of Linux releases (more than 188 at present), it is best to view the documentation of the Linux release before use. Take Redhat Linux 9.0 as an example. The device list is in the Ethernet-HOWTO document. In addition, the most direct method is to view a directory:/lib/modules/release/kernel/drivers/net, where release is the kernel version and can be obtained using the command "uname-r. For Redhat Linux 9.0, the value is 2.4.20-8.
You can see that this directory lists all network device drivers supported by the Linux kernel. Most of them are Ethernet cards (8139, 3COM, Intel ). There are also some other types of devices. For beginners, try to select the NIC already listed in the directory. Note that the file ended with the. o suffix is the driver. The driver directory (red) is not suffixed ).