Skip to content

[Solved][Linux] There Is No Network After Installing The Operating System

Recently, I reinstalled an Ubuntu 18.04 OS desktop. But after installation, I found that I could not connect to the Internet after entering the desktop environment.

It should be because there is no any driver for the network interface.

In fact, I suspect that there may be something wrong with the installed image, but I have not thought of a clear way to verify it.

According to the following process, I finally successfully connected to the Internet, so I left a record here.

  1. Connect to a temporary network (WiFi or mobile USB sharing)
  2. Confirm the name and number of the network card
  3. Download the official network card driver
  4. Follow the installation steps in Linux environment

Step 1: Connect to a temporary network

First of all, it is best to connect to the Internet. If there is no network environment, then downloading the official driver as described below will probably have to be done on another computer before moving it.

In here, I recommended to use USB to connect the mobile phone with the computer. In the settings, find the option to allow the mobile device share the network to the computer through USB.

Then, the computer have a temporary network and may install the driver for the network interface driver.


Step 2: Confirm the name and number of the network card

You can use ifconfig -a to check if the driver for the network card is installed.

Or you can use the lspci command to confirm the network card. If you use lspci | grep Ethernet command and you can display all names of the devices containing the Ethernet card directly.

My network card device name is displayed as Intel Corporation Device 15fa (rev 11), os I also search for the following network card driver based on this.

Of course you need to search your own Network device name.


Step 3: Download the official network card driver

In the process of searching, I first found https://cateee.net/lkddb/web-lkddb/E1000E.html and confirmed that my network card is supported by the Linux kernel, so it should be worked.

Then I went to the official website to download the network card for Linux: https://downloadcenter.intel.com/download/15817

Then I downloaded the latest version of driver (2022/04/22 3.8.4).


Step 4: Follow The Installation Steps In Linux Environment

After downloading, go to the downloaded folder and use the following command to make the driver.

tar -xvf e1000e-3.8.4.tar.gz
cd e1000e-3.8.4/src/
sudo make install
sudo reboot


After rebooting, you should be able to connect to the network normally.


References


Read More

Tags:

5 thoughts on “[Solved][Linux] There Is No Network After Installing The Operating System”

  1. This is needlessly complex. What if don’t have any phone or wifi network at all? I would like to have the driver in the bootable USB and install it from there. In fact, Zorin OS let you run the operating system directly on it and it had the network the driver and everything. My installed OS have none of it.
    When I installed it I had trouble with the GRUB, it fail and messed my system up. I had to run from the temporary os and perform a boot repair to get both working but then this happen.

    If I can get network working, then I might be able to fix everything else?

Leave a Reply