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

prottoy

New Member
Credits
119
Hi,

I have just upgraded to Ubuntu 20.04.1 LTS from Ubuntu 18.04 LTS, after getting upgrade suggestions from software updater. In Ubuntu 18.04, internet was working properly both in Wifi and Ethernet, but now in Ubuntu 20.04 I have no internet connection.

I have searched online for solution and checked the following things:

1. dpkg -l *netplan
2. cat /etc/network/interfaces
3. cat /etc/netplan/*yaml
4. sudo lshw -C network

Please find the screenshots in the following links:

1. 1st_image
2. 2nd_image

I am new to Ubuntu. I don't know what to do. I am really stuck. Can anyone please help me in this regard?

Thanks in advance.

Best regards,
Prottoy
 


Nelson Muntz

Active Member
Credits
1,825
Go into system settings and turn off the wireless connection and make sure the wired connection is turned on and see if you have a wired connection.

Upgrades from version to version can be problematic from my experience.
 

prottoy

New Member
Credits
119
Go into system settings and turn off the wireless connection and make sure the wired connection is turned on and see if you have a wired connection.

Upgrades from version to version can be problematic from my experience.
There is no wireless connection in settings and also there is no wired connections there.
 

dos2unix

Well-Known Member
Credits
2,225
Can you give output from

nmcli dev show

nmcli con show

ip add
 

f33dm3bits

Gold Member
Gold Supporter
Credits
6,125
Please find the output in the image attached.
It looks like you network interface is not even seen by the OS. Can you share the output of the following:
Code:
lspci -nn | grep -i net
 

f33dm3bits

Gold Member
Gold Supporter
Credits
6,125
My kernel version is: 5.4.0-1028-gcp.
I got it by the command: uname -r
You can install a mainline kernel in Ubuntu, but looks like anything above 5.4 is considered testing:

You could install it just to see if it gets your wireless card to work. If you want I can explain how if you don't understand what the what to do from the page I just linked. Your LAN network card works right?
 

prottoy

New Member
Credits
119
You can install a mainline kernel in Ubuntu, but looks like anything above 5.4 is considered testing:

You could install it just to see if it gets your wireless card to work. If you want I can explain how if you don't understand what the what to do from the page I just linked. Your LAN network card works right?
Sorry, my LAN network is also not working after the upgrade to Ubuntu 20.04. So I have got no connection in it.
Is there any other way to download the kernel in another laptop from that link and then transfer it?
Please suggest.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
6,125
Yes you can download the needed files to a usb drive then plug that into your laptop and install them. I found a website that explains in detail howto, you can use Method 1: Manually install new Linux kernel in Ubuntu using command line. Also not mainline kernels are not officially supported by Ubuntu, but that is also mentioned in the page I linked. If you are not comfortable do you have anyway of restoring to before you upgraded to 20.04?
 

Nelson Muntz

Active Member
Credits
1,825
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.
 

f33dm3bits

Gold Member
Gold Supporter
Credits
6,125
Also I came across this issue: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1859287

If you read through it you see that it was working and then someone else with Ubuntu 20.04 is having the same issues again. So it might be worth a try installing a newer kernel since according to the other source I linked says that the wifi should work with kernel 5.7 and above.
 

prottoy

New Member
Credits
119
Yes you can download the needed files to a usb drive then plug that into your laptop and install them. I found a website that explains in detail howto, you can use Method 1: Manually install new Linux kernel in Ubuntu using command line. Also not mainline kernels are not officially supported by Ubuntu, but that is also mentioned in the page I linked. If you are not comfortable do you have anyway of restoring to before you upgraded to 20.04?
Thank you. If
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.
yes I have downloaded it already from another laptop. I will check that and let you know. Thank you.
 

prottoy

New Member
Credits
119
Also I came across this issue: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1859287

If you read through it you see that it was working and then someone else with Ubuntu 20.04 is having the same issues again. So it might be worth a try installing a newer kernel since according to the other source I linked says that the wifi should work with kernel 5.7 and above.
Ok I can try it then. Let me follow the link to manually download the new kernel and install it. Thank you.
 


Members online


Latest posts

Top