Go Back  PPRuNe Forums > Misc. Forums > Computer/Internet Issues & Troubleshooting
Reload this Page >

Wifi connection locking up - Mint 18.3 laptop

Wikiposts
Search
Computer/Internet Issues & Troubleshooting Anyone with questions about the terribly complex world of computers or the internet should try here. NOT FOR REPORTING ISSUES WITH PPRuNe FORUMS! Please use the subforum "PPRuNe Problems or Queries."

Wifi connection locking up - Mint 18.3 laptop

Thread Tools
 
Search this Thread
 
Old 24th Oct 2021, 12:18
  #1 (permalink)  
Thread Starter
 
Join Date: Sep 2004
Location: Berkshire, UK
Posts: 807
Likes: 0
Received 15 Likes on 6 Posts
Wifi connection locking up - Mint 18.3 laptop

I installed Linux Mint 18.3 onto an old laptop PC which had some serious issues with the original Win OS, I forget which version, the machine was gifted to me to play with. The installation went smoothly and, after increasing the ram to 4GB ran acceptably if not blindingly quickly. In use it wakes up and runs as expected, logging onto any of our Wifi routers and happily running Firefox but, after some time it loses the Wifi link. Hovering over the Wifi icon in the task bar shows the Wifi signal strength high, sometimes higher than it is when it is working, sometimes up at 100%. When working normally the signal strength is typically 85%. When it locks out the machine's other functions seem to be OK and if the ethernet cable is connected to the router, the internet browsing is resumed. The Wifi connection can only be restored by rebooting the whole machine, nudging the network connections by changing which router to connect wirelessly doesn't force reconnection. Refreshing the available routers list doesn't work. The problem occurs on 2.4GHz and 5Ghz Wifi connections.

Is there an easy way to determine if the problem is in the hardware or in the driver software? I didn't use the machine before the OS change so have no idea if the machine lost the Wifi before.

Thanks,

Rans6....................
rans6andrew is online now  
Old 25th Oct 2021, 09:20
  #2 (permalink)  
 
Join Date: Mar 2002
Location: near an airplane
Posts: 2,791
Received 52 Likes on 42 Posts
One way to narrow it down would be to use a USB Wifi adapter for a bit. If it runs ok on that, your laptop hardware or software is still suspect of course, but if you get the same dropping out behaviour, there is something suspicious in your software installation that is unrelated to the Wifi driver. You could try putting an old Windows OS (or another Linux distribution) back on the laptop to see if it runs fine on that, as that would eliminate the hardware as a suspect. If it had issues with the Windows installation, were any of those issues perhaps Wifi related?
Jhieminga is offline  
Old 25th Oct 2021, 12:42
  #3 (permalink)  
 
Join Date: May 2009
Location: YMML
Posts: 1,838
Received 16 Likes on 6 Posts
Or try a live Linux USB maybe.
le Pingouin is offline  
Old 25th Oct 2021, 20:54
  #4 (permalink)  
Thread Starter
 
Join Date: Sep 2004
Location: Berkshire, UK
Posts: 807
Likes: 0
Received 15 Likes on 6 Posts
Thanks Jhieminga, good suggestion. I plugged in a USB WiFi dongle and enabled it in the network manager, disabling the built in Wifi at the same time. After not very long the network connection locked out pointing to an issue with the driver software in the OS. Some Googling found other folk with a similar issue a few versions of Mint ago with the suggestion that the network manager and power manager (it is a laptop) don't always work together as desired. One of the suggested fixes is to open a terminal window and to type in a few lines, given, to change the settings but when I did it asked for a password for github that I don't know. Still checking down that route.

Rans6........
rans6andrew is online now  
Old 26th Oct 2021, 08:22
  #5 (permalink)  
 
Join Date: Jan 2008
Location: LONDON
Posts: 198
Received 21 Likes on 12 Posts
Originally Posted by rans6andrew
I installed Linux Mint 18.3 onto an old laptop PC which had some serious issues with the original Win OS, I forget which version, the machine was gifted to me to play with. The installation went smoothly and, after increasing the ram to 4GB ran acceptably if not blindingly quickly. In use it wakes up and runs as expected, logging onto any of our Wifi routers and happily running Firefox but, after some time it loses the Wifi link. Hovering over the Wifi icon in the task bar shows the Wifi signal strength high, sometimes higher than it is when it is working, sometimes up at 100%. When working normally the signal strength is typically 85%. When it locks out the machine's other functions seem to be OK and if the ethernet cable is connected to the router, the internet browsing is resumed. The Wifi connection can only be restored by rebooting the whole machine, nudging the network connections by changing which router to connect wirelessly doesn't force reconnection. Refreshing the available routers list doesn't work. The problem occurs on 2.4GHz and 5Ghz Wifi connections.

Is there an easy way to determine if the problem is in the hardware or in the driver software? I didn't use the machine before the OS change so have no idea if the machine lost the Wifi before.

Thanks,

Rans6....................
Generally I do:

Step 1 On Linux run ifconfig in a terminal shell (ipconfig in a command shell in Windows land) to see if the WiFi interface is still up and has plausible settings.
Step 2 ping your WiFi router to see if you have a link as far as the router
Step 3 ping an external IP address directly (for example 8.8.4.4) to see if you have a link to the internet
Step 4 ping a hostname (for example www.bbc.com) to see if your DNS configuration is working.

Further steps depend on how far you get with the above.

When using WiFi do you disable the wired Ethernet adaptor? You shouldn't need to, but I've known it make a difference.

HTH

netstruggler is offline  
Old 26th Oct 2021, 12:48
  #6 (permalink)  
Thread Starter
 
Join Date: Sep 2004
Location: Berkshire, UK
Posts: 807
Likes: 0
Received 15 Likes on 6 Posts
I have tried all of the suggestions netstruggler, some time ago. All suggested a complete loss of connection. It doesn't make any difference if the ethernet wired connection is enable or not but if it is enabled (either before the wifi drops connection or after) and a cable is connected the internet access is resumed from where it was when it stopped. The browser doesn't need anything beyond F5 to reload page.

Last evening I followed a few threads in fora relating to the problem I see and tried opening a terminal window and doing:

sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*

and then reboot the machine.

I have not figured out what it is changing, I will do "man" to figure it out but it does seem to have improved the situation, the machine has been on for some hours and the connection has stayed up. Finger crossed.

Rans6........
rans6andrew is online now  
Old 26th Oct 2021, 23:16
  #7 (permalink)  
Spoon PPRuNerist & Mad Inistrator
 
Join Date: Sep 2003
Location: Twickenham, home of rugby
Posts: 7,387
Received 244 Likes on 162 Posts
sudo sed -i 's/3/2/' /etc/NetworkManager/conf.d/*

and then reboot the machine.

I have not figured out what it is changing,
It turned off wifi powersave.

SD
Saab Dastard is offline  
Old 27th Oct 2021, 18:31
  #8 (permalink)  
Thread Starter
 
Join Date: Sep 2004
Location: Berkshire, UK
Posts: 807
Likes: 0
Received 15 Likes on 6 Posts
I guessed it was something like that but I failed to find any "Man" entries relating to this. No explanation as to the meaning of 2 or 3 in this context.......

Happy that the machine seems to be fixed now though,

Thanks for trying.

Rans6...........
rans6andrew is online now  
Old 28th Oct 2021, 07:53
  #9 (permalink)  
 
Join Date: Jan 2008
Location: LONDON
Posts: 198
Received 21 Likes on 12 Posts
Originally Posted by rans6andrew
I guessed it was something like that but I failed to find any "Man" entries relating to this. No explanation as to the meaning of 2 or 3 in this context.......

Rans6...........
It's substituting the 3 with a 2, which is the correct thing to do in the wifi powersave config file. How to turn off wifi power management

However it seems to be acting on all files in the conf.d directory (conf.d/*), which sounds a bit dodgy as it could have unintended consequences if there are other files in there.

However, if it's working, maybe best to leave well alone.
netstruggler is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.