Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Linux»Ethernet Not Working on Ubuntu? Here’s 7 Proven Fixes

Ethernet Not Working on Ubuntu? Here’s 7 Proven Fixes

nishantBy nishantAugust 8, 2022
Ehernet Not working on Ubuntu

When it comes to uninterrupted and fast internet access, Ethernet still remains our favorite. And when the Ethernet fails, it is a struggle to get a comparable internet experience.

If you run Ubuntu on your computer and your Ethernet appears to be malfunctioning, there might be several reasons for it. The most probable reason for the issue is the Kernel not supporting the Ethernet adapter. Or, if you have recently installed Ubuntu or updated to a recent version, this is very common.  

We will further discuss this issue and suggest some fixes that might help you resolve the issue. 

Table of Contents

  • What Causes the Ethernet to Not Work?
  • Fixes for Ethernet Not Working on Ubuntu
    • Enable Ethernet Connection
    • Restart Network Manager Service
    • Reset the Network Settings to default
    • Install Network Packages
    • Install New Kernels
    • Update the OS
    • Change the DNS

What Causes the Ethernet to Not Work?

The Ethernet can stop working in Ubuntu after a major Kernel update. It appears that some versions of the kernel have the interrupt management issue. This causes the system to not recognize the Ethernet interface. Some other reasons that might disrupt the Ethernet are:

  • Damaged Ethernet port or cable
  • Issues with the Ethernet package 
  • Network configurations

Fixes for Ethernet Not Working on Ubuntu

We have already discussed that Kernel issues are the most evident reason the Ethernet not working in Ubuntu. We will suggest the fixes for this problem in the later part of this article. However, we cannot sideline some minor reasons that can bring issues of Ethernet. 

Therefore, the first obvious thing to do is to connect the cable to a different Ethernet port on your router and see if that helps. Also, there might be some temporary glitches in the system that get fixed with a normal system restart.

Moreover, verify that the internet works using the Wi-Fi network. If everything appears to be in check, the Ethernet cable might be the culprit. If you have a spare cable, you might test that as well. 

If none of these solves the problem, try these fixes and check if it brings back your internet.

Enable Ethernet Connection

If the Ethernet is not functioning, it can also be that the port has been disabled. Ubuntu users can easily enable the Ethernet through the terminal. First of all, you have to determine the Ethernet interface using the terminal.

Here’re the steps:

  1. Open the Terminal and run the command ip addr
  2. You will see all the information regarding your network Adapter. Note down the Adapter’s ID. It must be something like eth0, eth1, eno1, etc.
  3. Now to enable the Ethernet using this command. Replace the eno1 in the command with the Adapter’s ID you noted earlier.  sudo ip link set eno1 up
    sudo-in
  4. When asked for, enter the system password. This will enable the first Ethernet port (for instance eno1) if it had been disabled earlier.  
  5. For those users whose Ethernet interface is already enabled, try disabling it at first and re-enabling it again. To disable it use this command.
    sudo ip link set eno1 down
  6. Replace the eno1 if your adapter’s id is different and hit enter. After this, use the Ethernet enable command mentioned above to re-enable it.

Restart Network Manager Service

This is a system that manages the network interfaces on Ubuntu. If the Ethernet is not working, it might also have something to do with the Network manager service. Therefore, restarting the service can give you results.

Here’s how you can do it:

  1. First of all, run this command to flush the DNS. 
    resolvectl flush-caches
    resolvectl
  2. Use this command line to restart the Network manager service.
    sudo service network-manager restart

Restart the computer at the end of the process. Finally, check the internet to see if the Ethernet works now. 

Reset the Network Settings to default

Linux users are frequently toying with their system configurations and this might also involve the network settings. Reset the network settings to default in case any modified settings have hindered the internet. 

Here are the steps you can follow to reset the network settings. 

  1. Open the Terminal and Run ip addr
    ip[-addr
  2. Note down the adapter’s ID. It must be something like eth0 or eno1.
  3. Again run this command: sudo nano /etc/network/interfaces
  4.  A file with some information will open. Delete all of it and paste this inside the file.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eno1
iface eno1 inet dhcp
  1. Change the adapter’s name to the one you found through the ip addr and replace it in place of eno1.
  2. At last save the file by pressing Ctrl+O on your keyboard.

Restart the computer at the end of the process. This reverts the network settings to their default. Finally, check the internet to see if the Ethernet works now. 

Install Network Packages

The Ethernet might not work if the network drivers are not installed on the computer. To resolve the issue in this case, use this method to identify the network adapter and install the right driver for it.

Follow these steps:

  1. Go to the terminal and use this command.
     sudo lshw -C network
    sudo-lshw
  2. You will get a bunch of information about the network adapters after using the above command. Most users have Realtek’s Ethernet interface and to install the drivers for it run this update command.
    sudo apt-get update -y
  3. Now use this to install the package and depositories.
    sudo apt-get install -y r8168-dkms
  4. Restart the computer after the installation.

Install New Kernels

As reported by most Ubuntu users, installing stable kernels solved the issue for them. For your convenience, we have given the links to the kernels below. Version 5.9 is found to be more stable and also fixes the Ethernet issues. You can even download the latest updates from the website if you want. 

Follow these steps to download and install the kernel:

  1. First of all download the kernel files from these links: 
    • linux-headers-5.9.0-050900_5.9.0-050900.202010112230_all.deb
    • linux-headers-5.9.0-050900-generic_5.9.0-050900.202010112230_amd64.deb
    • linux-image-unsigned-5.9.0-050900-generic_5.9.0-050900.202010112230_amd64.deb
    • linux-modules-5.9.0-050900-generic_5.9.0-050900.202010112230_amd64.deb
  2. Copy the downloaded files to the USB drive inside a folder name kernel. 
  3. Make a new directory to mount the USB drive using this command. Make sure you have the terminal with superuser privileges. Here, in this command the mount point is usb. 
    mkdir /media/usb
    sudo-mkdir
  4. Now type lsblk  and hit Enter. This command gives information about the devices like the USB that are connected to the computer. Note down the USB drive’s address (Eg: sdb1, sdb2)
  5. Then use this command to mount the USB in a folder. In the command-line change the sbd1 to the USB address you found in step 4. 
    sudo mount /dev/sdb1 /media/usb
  6. Now change the directory.
    cd /media/usb/kernel
  7. Finally, run the package manager to install the kernel. 
    sudo dpkg -i *.deb
    mkdir
  8. Restart the computer. This should solve the ethernet issues for you.

Update the OS

If you are still unable to fix the Ethernet, try performing system updates. The regular updates of Ubuntu give tons of bug fixes and performance improvements. Follow these steps to perform a system update. 

You can use the simple GUI update application in Ubuntu or use command lines as well for performing an update.

For using the software updater follow these steps:

  1. In the Application, search for Software Updater and launch it. It checks for the available updates and downloads them.
  2. A window will open that will give a general overview of all the available updates.
    Software Updater in ubuntu
  3. You can choose the updates you want to install. However, it is recommended that you select all of the available updates.
  4. Click on Install Now.  
    install-now
  5. Wait for some time for the installation process to finish and then restart the computer. 

In order to Update using the Terminal, run this command, sudo apt update && sudo apt upgrade -y

When the update completes it might get your Ethernet issue fixed and make the internet up and running. 

Change the DNS

The Ethernet problem is most likely to take the blame for the internet outage. However, DNS is also essential for the internet to function correctly. Setting a good DNS server address can make a whole lot of difference in this. 

Furthermore, you can use Google’s or Cloud fare’s DNS instead of the ISPs to make the internet more stable and secure. If you want a secure one go for Cloudfare’s DNS while you could choose Google’s for reliability.  This might even solve the Ethernet issue for you.

Here’s how to set a new DNS on your Ubuntu device:

  1. Go to Settings.
  2. On the left panel of the settings window, click on Network. 
  3. In the Network menu, click on the gear icon on the right side of the Wired section. 
  4. In the new window click on IPv4 tab.
  5. Toggle the Automatic button to off for the DNS. This will let you add a new DNS server address. 
  6. Enter the new DNS server address:
    • Google’s DNS Server IP address: 8.8.8.8, 8.8.4.4
    • Cloudfare’s DNS Server IP address: 1.1.1.1, 1.0.0.1
  7. Save to apply the changes by clicking on the Apply button at the top of the window. 
    wired
fix
nishant

Nishant is an enthusiast who loves writing about technology. He also is heavily invested in keeping himself updated about the latest happenings in the tech world. At Tech News Today, he covers Operating Systems, how-to-topics, and Fixes.

Related Posts

how to change boot order on linux

How to Change Boot Order on Linux

December 16, 2022
make-command-not-found

How to Fix “Make: Command Not Found” Error

September 20, 2022
linux terminal for windows

How to Install Linux Terminal on Windows

September 19, 2022
How-to-force-Quit-an-app-on-Linux

How to Force Quit an App on Linux

August 30, 2022
best linux for virtualbox

8 Best Linux Distros to Try in VirtualBox

August 30, 2022
ifconfig command not found

How To Fix “ifconfig Command Not Found” Error?

December 18, 2022
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
what is ghost of tsushima legends

What is the Ghost of Tsushima Legends Mode

January 12, 2023
raid 5 vs raid 10

RAID 5 Vs RAID 10 – Which One Is Better?

January 12, 2023
best-tv-settings-for-gaming

Best TV Settings for Gaming

January 9, 2023
You may also like
tv-screen-goes-black-randomly

TV Screen Goes Black Randomly? Try These 11 Fixes

January 15, 2023
how to find unique values in excel

How to Find Unique Values in Excel

January 15, 2023
how-to-open-and-use-chrome-settings

How to Open and Use Chrome Settings

January 16, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Editorial Guidelines
  • Fact-Checking Policy
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday.

Type above and press Enter to search. Press Esc to cancel.