How to solve the problem that the Linux operating system can't find the network card

  
                  

1. Install the network card

The machine is too new, so the existing Linux version can not be recognized, for example, the machine can not find the network card, what should I do?

Don't worry, first you need to know what type of network card is. Take the newly purchased computer in this lab as an example. Its network card is integrated. The model is Realtek RTL8168/8111 PCI-E Gigabit Ethernet NIC. Then we go to Realtek's official website to download the corresponding Linux driver r8168-8.005.00.tar.bz2, follow the instructions to install.

Unpack the tarball :

# tar vjxf r8168-8.aaa.bb.tar.bz2


Change to the directory:

# cd r8168-8.aaa.bb

If you are running the target kernel, then you should be able to do :

# make clean modules (as root or with sudo


# make install

# /sbin/depmod -a

# /sbin/insmod ./src/r8168.ko (or r8168 .o in linux kernel 2.4.x)

You can check whether the driver is loaded by using following commands.

# /sbin/lsmod

Copyright © Windows knowledge All Rights Reserved