The solution to the inability to use the network after the Linux system is installed

After the Linux system is installed, the network cannot be used normally (the network cable is connected normally, but the wired connection cannot be found) the solution

The problem that has been bugging me for a day is finally solved! ! ! !
There may be a problem with the driver, and the network card driver needs to be installed

1. Check the driver model of the system graphics card
at the command line and enter:

lspci

The Ethernet controller in the displayed content shows the model of the network card.
insert image description here
2. Go to the official website (https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software) to find the network card driver of the corresponding model, download it and put it in the root directory
3. Enter in the command line:

sudo sh autorun.sh

If it is displayed that make cannot be found,
insert image description here
enter in sequence on the command line:

sudo apt-get update
sudo apt-get install make
sudo apt-get install gcc 
sudo sh autorun.sh

After completion, if the following image is displayed
insert image description here

The network can be used normally

Mainly to record the problems I usually encounter and share them with you.
If there is any infringement, please contact me

Like it and support it

Guess you like

Origin blog.csdn.net/Anne332/article/details/118788669