Upgrading to Ubuntu 20.04.1 LTS from Ubuntu 18.04 LTS resulted in a lost internet connection

Also it looks like this package is available in Ubuntu 20.04 repository:

r8168-dkms - dkms source for the r8168 network driver

You could try download that from a different machine and then installing that it seems that it's the network driver for your LAN card: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

If you get that working first you would then work on getting your wireless card to work. Just thought I'd mentioned it might make things easier.
 


Also it looks like this package is available in Ubuntu 20.04 repository:

r8168-dkms - dkms source for the r8168 network driver

You could try download that from a different machine and then installing that it seems that it's the network driver for your LAN card: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller

If you get that working first you would then work on getting your wireless card to work. Just thought I'd mentioned it might make things easier.

I have tried the new kernel 5.8.14, but it did not solve anything.

Sorry for the silly question, but can you please tell me how to download the wifi driver from the Ubuntu repository. Is the link: https://packages.debian.org/sid/r8168-dkms okay?
 
I have tried the new kernel 5.8.14, but it did not solve anything.

Sorry for the silly question, but can you please tell me how to download the wifi driver from the Ubuntu repository. Is the link: https://packages.debian.org/sid/r8168-dkms okay?
Click on one of the mirrors in your location and the package will download.

You will probably also need the dkms package: https://packages.ubuntu.com/focal/all/dkms/download
 
Okay thanks. I have downloaded them. Now to install them, I need to write the command: sudo dpkg -i *.deb
Am I right?
Correct. I hope that fixes your LAN interface and after installation you need to reboot. I am logging off, it's late here. Someone else watching the thread will see if you reply.
 
Correct. I hope that fixes your LAN interface and after installation you need to reboot. I am logging off, it's late here. Someone else watching the thread will see if you reply.
Thank you very much for your help. I will let you know the results in this thread.
Thanks again.
 
A suggestion.

Have you another working computer to download Ubuntu 20.04 iso and create a bootable usb and boot from that to see if the network adapters are found.
Hi, I have tried this suggestion and the internet is working smoothly when I am booting from the bootable usb.
 
Hi, I have tried this suggestion and the internet is working smoothly when I am booting from the bootable usb.
When you are booted from the bootable usb and are connected to your lan/wlan. Open a terminal and run lspci -v then search for "Network" and then check for your network devices what drivers it is using, so this part:
Code:
Kernel driver in use:
Kernel modules:
 
When you are booted from the bootable usb and are connected to your lan/wlan. Open a terminal and run lspci -v then search for "Network" and then check for your network devices what drivers it is using, so this part:
Code:
Kernel driver in use:
Kernel modules:

Hi, Good morning.

I have downloaded r8168 (as you suggested) and also iwlwifi. Now I can see cable network and wifi network in the network settings - which was missing earlier.

I am connecting through USB tethering from phone while booting from the bootable usb.
The command "lspci -v" gives:

for Network Controller:
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

for Ethernet Controller:
Kernel driver in use: r8169
Kernel modules: r8169

Should I download and install r8169 instead of r8168 (which I installed)?
 
Hi, Good morning.

I have downloaded r8168 (as you suggested) and also iwlwifi. Now I can see cable network and wifi network in the network settings - which was missing earlier.

I am connecting through USB tethering from phone while booting from the bootable usb.
The command "lspci -v" gives:

for Network Controller:
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

for Ethernet Controller:
Kernel driver in use: r8169
Kernel modules: r8169

Should I download and install r8169 instead of r8168 (which I installed)?
Good morning to you as well. When you boot into your normal Ubuntu 20.04 install, do you have this package installed? linux-modules-extra
 
Hi @prottoy


Big question? Do you have a backup of your data from from Ubuntu 18.04? using something like Timeshift to a different drive. If so it would be easier to do a fresh install from the 20.04.iso. I had a problen when I attempted to upgrade to 20.04 and the solution was to do a fresh install. Hope this helps
 
Good morning to you as well. When you boot into your normal Ubuntu 20.04 install, do you have this package installed? linux-modules-extra
Yes, there are two modules - linux-modules-extra-5.4.0-48-generic and linux-modules-extra-5.4.0-51-generic.
 
Hi @prottoy


Big question? Do you have a backup of your data from from Ubuntu 18.04? using something like Timeshift to a different drive. If so it would be easier to do a fresh install from the 20.04.iso. I had a problen when I attempted to upgrade to 20.04 and the solution was to do a fresh install. Hope this helps
No. I don't have the back up yet. I have to take a back up now.
 
I don't think there is much more we can do here since when you boot Ubuntu 20.04 from the live usb your lan/wlan network cards work, the kernel modules installed support both cards so the upgrade just broke something that causes trouble with your network cards. That's always a risk of things breaking when updating software, especially when upgrading from one major version to the next. That's why it's useful to keep backups to restore from for when an upgrade breaks your system.
 
I don't think there is much more we can do here since when you boot Ubuntu 20.04 from the live usb your lan/wlan network cards work, the kernel modules installed support both cards so the upgrade just broke something that causes trouble with your network cards. That's always a risk of things breaking when updating software, especially when upgrading from one major version to the next. That's why it's useful to keep backups to restore from for when an upgrade breaks your system.
Okay, thank you very much.
I have a last question: Is there a way to know whether there is any back up saved by Ubuntu system itself?

Best regards,
Prottoy
 
Okay, thank you very much.
I have a last question: Is there a way to know whether there is any back up saved by Ubuntu system itself?

Best regards,
Prottoy
I don't know, I haven't used Ubuntu as a daily driver in a long time. But AFAIK Linux Mint is the only distro of my knowledge that comes with a backup/restore utility(timeshift) installed. I think one of the other members subscribed to this thread will be able to answer that for you, but I suspect not.
 
Ubuntu has a backup capability built in but you have to turn it own. The only problem I have with the built-in backup capability is it backups to your regular drives if I’m not mistaken. For Ubuntu 18.04 LTS you have to down load Timeshift using:

sudo add-apt-respository -y ppa:teejee2008/ppa
sudo apt-get update
sudo apt install timeshift


With Ubuntu 20.04 it is easier to install Timeshift from available default repositories. Using time shift you backup to a different storage device (usb, another HDD, etc) as follows:

sudo apt-get update
sudo apt-get install timeshift


Just to insure I got the Timeshift correct I’m sending for help @wizardfromoz
 
:) @Hansel Johnson Jr - G'day Hansel, nice to see you

Hansel is correct with both the PPA (Personal Package Archive) method - 1st lot of code, and with the Ubuntu 20.04 installation instructions.

Ubuntu 20.04 also has it in their Software Centre for a GUI install.

Linux Lite, since the 4.x series began, have Timeshift installed by default.

There are a couple of other Distros that ship with it now, but Timeshift can be installed on any and every Linux Distro I have used (currently trimmed down to 56).

Any questions on Timeshift can be directed to my Thread here

https://www.linux.org/threads/timeshift-similar-solutions-safeguard-recover-your-linux.15241/

Cheers

Wizard
 

Members online


Latest posts

Top