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

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Laugh2
Level 4
Level 4
Posts: 275
Joined: Fri Aug 16, 2013 4:01 am

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

Post by Laugh2 »

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 LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8146
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: List of WiFi stations disappears with LM18.x

Post by kc1di »

Try this command

Code: Select all

systemctl restart NetworkManager
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Laugh2
Level 4
Level 4
Posts: 275
Joined: Fri Aug 16, 2013 4:01 am

Re: List of WiFi stations disappears with LM18.x

Post by Laugh2 »

That worked perfectly. That's, excellent! :D
User avatar
kc1di
Level 18
Level 18
Posts: 8146
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

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

Post by kc1di »

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://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
tgwilt
Level 3
Level 3
Posts: 131
Joined: Fri Jun 08, 2018 2:26 am
Location: Florida, USA

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

Post by tgwilt »

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 18
Level 18
Posts: 8146
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

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

Post by kc1di »

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://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
User avatar
farkas
Level 5
Level 5
Posts: 555
Joined: Mon Sep 21, 2015 6:10 pm
Location: Oregon

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

Post by farkas »

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.
If your query has been resolved, edit your first post and add [SOLVED] to the subject line.
If you found a solution on your own please post it.
A generation which ignores history has no past and no future.
Locked

Return to “Networking”