[Solved] List of WiFi stations disappears with LM18.x

Questions about WIFI networks and devices
Forum rules
Before you post please read how to get help
Post Reply
Laugh2
Level 3
Level 3
Posts: 170
Joined: Fri Aug 16, 2013 4:01 am

[Solved] List of WiFi stations disappears with LM18.x

Post by Laugh2 » Sat Jun 23, 2018 6:06 pm

I help with several computers running Linux Mint, all are on LM 18.x MATE 64-bit and several have wireless connections. The problem is that the list of WiFi stations disappears after a while making it impossible to change WiFi stations via the GUI. (Or at least I haven't found another way?) Even though the list is gone, the wireless connection continues to function properly and connection speeds remain unchanged.

How can I get the list of available WiFi stations to reappear when I right click with the mouse on the network connection icon i.e. those 4 short vertical bars in a triangular shape where Connection Information can also be found?

Some details for one of the old laptops concerned:
inxi -nn replies
  • Network: Card-1: Broadcom BCM4312 802.11b/g LP-PHY driver: wl
    IF: wlp2s0 state: up mac: xx:xx:xx:xx:xx:xx
    Card-2: Qualcomm Atheros AR8132 Fast Ethernet driver: atl1c
    IF: enp5s0 state: down mac: xx:xx:xx:xx:xx:xx
iwconfig replies:
  • enp5s0 no wireless extensions.

    wlp2s0 IEEE 802.11 ESSID:"homeagain"
    Mode:Managed Frequency:2.462 GHz Access Point: xx:xx:xx:xx:xx:xx
    Bit Rate=54 Mb/s Tx-Power=200 dBm
    Retry short limit:7 RTS thr:off Fragment thr:off
    Encryption key:off
    Power Management:off
    Link Quality=60/70 Signal level=-50 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:0 Invalid misc:0 Missed beacon:0

    lo no wireless extensions.
I turned off power management since last rebooting but it hasn't made any difference. Can anyone make suggestions? This seems to be a characteristic of LM18.x as this problem is not new to me and effects several machines. And yes, the list does appear as expected after rebooting but then disappears again sometime.
Last edited by Laugh2 on Tue Jun 26, 2018 4:54 am, edited 1 time in total.

User avatar
kc1di
Level 13
Level 13
Posts: 4723
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: List of WiFi stations disappears with LM18.x

Post by kc1di » Mon Jun 25, 2018 3:16 pm

Try this command

Code: Select all

systemctl restart NetworkManager
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

Laugh2
Level 3
Level 3
Posts: 170
Joined: Fri Aug 16, 2013 4:01 am

Re: List of WiFi stations disappears with LM18.x

Post by Laugh2 » Tue Jun 26, 2018 4:53 am

That worked perfectly. That's, excellent! :D

User avatar
kc1di
Level 13
Level 13
Posts: 4723
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: [Solved] List of WiFi stations disappears with LM18.x

Post by kc1di » Tue Jun 26, 2018 5:35 am

Glad it worked for you. :)
you can automate the process if you want by creating a file with the following data.

Code: Select all

[Unit]

Description=Restart networkmanager at resume

After=suspend.target

After=hibernate.target

After=hybrid-sleep.target


[Service]

Type=oneshot

ExecStart=/bin/systemctl restart network-manager.service


[Install]

WantedBy=suspend.target

WantedBy=hibernate.target

WantedBy=hybrid-sleep.target
Create it with your favorite text editor then save it in

Code: Select all

/etc/systemd
name it

Code: Select all

wifi-resume.service
(note you have to be have root privileges to do it. (so use gksudo xed /or other favorite text editor/ to create the file and save it.)

Then issue this command in a terminal

Code: Select all

systemctl enable wifi-resume.service

That will cause systemd to run the service automatically each time you come out of suspend or hibernations.
good luck.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

tgwilt
Level 2
Level 2
Posts: 71
Joined: Fri Jun 08, 2018 2:26 am
Location: Florida, USA

Re: [Solved] List of WiFi stations disappears with LM18.x

Post by tgwilt » Fri Jun 29, 2018 3:25 am

kc1di wrote:
Tue Jun 26, 2018 5:35 am
Glad it worked for you. :)
you can automate the process if you want by creating a file with the following data.

Code: Select all

[Unit]

Description=Restart networkmanager at resume

After=suspend.target

After=hibernate.target

After=hybrid-sleep.target


[Service]

Type=oneshot

ExecStart=/bin/systemctl restart network-manager.service


[Install]

WantedBy=suspend.target

WantedBy=hibernate.target

WantedBy=hybrid-sleep.target
Create it with your favorite text editor then save it in

Code: Select all

/etc/systemd
name it

Code: Select all

wifi-resume.service
(note you have to be have root privileges to do it. (so use gksudo xed /or other favorite text editor/ to create the file and save it.)

Then issue this command in a terminal

Code: Select all

systemctl enable wifi-resume.service

That will cause systemd to run the service automatically each time you come out of suspend or hibernations.
good luck.
This command (sudo systemctl restart network-manager.service) never works for me. I usually have to use WICD to reconnect to the wireless network as network-manager claims that there are no wireless networks available. Sigh...it's not a big deal to me, though. I don't mind using WICD or rebooting the computer I'm using.

User avatar
kc1di
Level 13
Level 13
Posts: 4723
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: [Solved] List of WiFi stations disappears with LM18.x

Post by kc1di » Fri Jun 29, 2018 5:20 am

tgwilt wrote:
Fri Jun 29, 2018 3:25 am


This command (sudo systemctl restart network-manager.service) never works for me. I usually have to use WICD to reconnect to the wireless network as network-manager claims that there are no wireless networks available. Sigh...it's not a big deal to me, though. I don't mind using WICD or rebooting the computer I'm using.
Which version of Mint are you using?

You should start a new thread if you want to explore why the command does not work for you.
Easy tips : https://sites.google.com/site/easylinuxtipsproject/
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608

stevep3129
Level 2
Level 2
Posts: 79
Joined: Mon Sep 21, 2015 6:10 pm
Location: Oregon

Re: [Solved] List of WiFi stations disappears with LM18.x

Post by stevep3129 » Mon Oct 08, 2018 1:52 am

I had a similar problem with Mint 19
viewtopic.php?f=47&t=279102
I followed the steps in this post, most of it worked.
The final solution needed a little tweak.

Re: How do you open Xed in administrator mode?

Post by smurphos » Sun Oct 07, 2018 9:39 pm
I don't think the instructions you followed specified the correct location. Try moving /etc/systemd/wifi-resume.service to /etc/systemd/system/wifi-resume.service

To move the service file via the terminal - sudo mv etc/systemd/wifi-resume.service /etc/systemd/system/wifi-resume.service

Or you can use nemo with root privileges.

Post Reply

Return to “Wireless”