No internet connection

Asked by geee2beee

Hi, my OS Ubuntu 21.10 two nights ago, internet connection disappeared while watching a utube clip, along with the internet connection icon in the top right corner of my laptop screen also completely vanished but in my wifi settings it indicates the laptop is connected with a good connection. I've tried hot spotting via tethering and a doggie and still no internet. All my other four Andriod devices work as they should with the same wifi service. Itll be greatfull with help to troubleshoot this weird issue, so as to get the internet back in place. Thanks Geee2Beee

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1
Revision history for this message
geee2beee (geee2beee) said :
#2

Hi and thanks Manfred for you help, but before Evan starting procedure 1 it says "Please first connect your network card to the wireless router using an ethernet cable (also known as a LAN cable) and apply all updates". I can`t get internet at all !! Does that matter at all ??

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

To gain usable information from the procedure your system needs to be connected to the internet.
Do you have any possibility to connect the system in question to the internet (e.g. connecting it to the router via a LAN cable, or mobile phone tethering, an additional WLAN USB stick, ...)?

Revision history for this message
geee2beee (geee2beee) said :
#4

I've tried tethering (USB C to C cable between my working mobile phone and the system in question) and also I tried a dongle (USB stick with a wifi areal) and still internet no go. It's strange that in settings it says that the visible network is connected but at the top right corner of screen there is no internet icon displayed. I thought my proton VPN might of been the trouble but after deleting it, that made no difference 🙁

Revision history for this message
geee2beee (geee2beee) said :
#5

Does any one know what's happened with my no internet icon that is suppose to be displayed in top right corner of my laptop screen ?? Thanks muchley for thinking about it.

Revision history for this message
Manfred Hampl (m-hampl) said :
#6

The missing icon not relevant. The real problem is that networking does not work, neither with WLAN nor with tethering.

If you issue the command

lspci -nnk | grep -iA3 net

do you see network devices listed? And are there lines with "Kernel driver in use" shown?

Revision history for this message
geee2beee (geee2beee) said :
#7

Hi Manfred man, sorry for this late reply, as I have been else where. There is an Ethernet controller listed with the Kernal driver in use: r8169 and a Network controller listed with a Kernal driver in use: iwlwifi

Revision history for this message
Manfred Hampl (m-hampl) said :
#8

It is hard to help without seeing the full output of the troubleshooting procedure, but as long as there is no network connection it is hard to make it available.

When you issue the command

ifconfig

which IP addresses do you see for that system?

Revision history for this message
geee2beee (geee2beee) said :
#9

Yes indeed, the no network is causing many major problems. Command 'ifconfig' not found, but can be installed with: sudo apt install net-tools : which required a network to install New Packages and therefore failed. It said try '--fix-missing?' but command not found. Then after command 'apt-get update'
Reading package lists... Done
E: Could not open lock file /var/lib/apt/lists/lock - open (13: permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - remove Caches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - Remove Caches (13: Permission denied)

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

The error messages like "Could not open lock file ..." are caused because you did not use sudo for an admin command.
"sudo apt-get update" will help with the permission problem, but it will most probably fail with "repository server not found".

"It said try '--fix-missing?'":
That message is a bit misleading. It is meant that you might try
sudo apt-get install --fix-missing
which in your case probably will not help either.

Do you have an Ubuntu installer at hand (either on DVD or on a bootable USB-stick)?
I suggest that you try booting from such installer in the "Try Ubuntu without installing" mode to test whether networking is possible in that mode.

Revision history for this message
geee2beee (geee2beee) said :
#11

No I have not a Ubuntu installer, sad to say.

Revision history for this message
geee2beee (geee2beee) said :
#12

Hi Manfred, is it true that you think my no internet issue has been fixed with your last reply to my needed help request. Where do I get a Ubuntu installer as I last said that I have not a Ubuntu installer. I'm at a lost for what to do next

Can you help with this problem?

Provide an answer of your own, or ask geee2beee for more information if necessary.

To post a message you must log in.