Linux – Wifi regularly stops working on Linux Mint 18

linux-mintwifi

After upgrading to Linux Mint 18, my wifi has randomly stopped working. When I turn the wifi off and back on repeatedly from the wifi applet (or put my laptop to sleep and back repeatedly), at some point the wifi no longer starts. The wifi applet displays one previous (no longer in range) network and never refreshes the list of networks.

In Linux Mint 17.3 the wifi faced a similar issue which could be fixed by running nmcli nm sleep false. In earlier releases the wifi worked 100% of the time.

The nmcli command no longer works in Mint 18, it just displays the error Error: Object 'nm' is unknown, try 'nmcli help'. I haven't found any other way to get the wifi back working other than rebooting my laptop, which is very frustrating.

My question is either:

  1. How can I resolve the issue so it no longer happens?

or alternatively

  1. How can I restore my wifi without rebooting my laptop?

Here is a dump of dmesg and syslog for a case where I first rebooted my laptop and it automatically connected to a wifi network (0-15). I then turned off and on the wifi (82-83) and the wifi did not wake up. After a while I turned if off and on again (133). Please ask if you need additional output. My laptop is a ThinkPad T430s.

Relevant portion of lspci -knn:

00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
        Subsystem: Lenovo 82579LM Gigabit Network Connection [17aa:21f3]
        Kernel driver in use: e1000e
        Kernel modules: e1000e
03:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] [8086:0085] (rev 34)
        Subsystem: Intel Corporation Centrino Advanced-N 6205 AGN [8086:1311]
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi

Best Answer

I also use Linux Mint 18 (Sarah). About few months ago, this problem also start to happening to me (and it still problem no.1 with my laptop).

I tried to find solution on Linux Mint help chanel about 3 month ago. Guys told me that is probably some problem/bug with xfce indicator. So they advice to me to use these command to restart nm:

sudo service network-manager restart

which is actually works, but - not every time in my case. Sometimes I must log-out and log-in again (Ctrl + Alt + Backspace).

EDIT: Well, after a while I decide to edit this post. Reason - I found a way! Finally I don't need to logout anymore;

killall nm-applet; nohup nm-applet &
Related Question