Ubuntu – networking disabled, cant re-enable


For some reason I seem to get disconnected from my wifi as noted by the nm-applet going to the disconnected icon. When I hover the mouse it says networking disabled. When I click on enable networking, nothing happens and I am forced to reboot to get my wifi back.

kreuger@Robbies-Laptop:~$ lspci -knn | grep Net -A2
02:00.0 Network controller [0280]: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) [168c:002b] (rev 01)
    Subsystem: Lenovo Device [17aa:30a1]
    Kernel driver in use: ath9k

kreuger@Robbies-Laptop:~$ rfkill list  
0: ideapad_wlan: Wireless LAN  
    Soft blocked: no  
    Hard blocked: no  
1: phy0: Wireless LAN  
    Soft blocked: no  
    Hard blocked: no  

kreuger@Robbies-Laptop:~$ uname -a
Linux Robbies-Laptop 3.13.0-58-generic #97-Ubuntu SMP Wed Jul 8 02:56:50 UTC 2015 i686 i686 i686 GNU/Linux

Not sure why it says i686 so many times.

Best Answer

try these commands

These commands will delete the file where network state is stored and restarts the service forcefuly.

sudo rm -f /var/lib/NetworkManager/NetworkManager.state
sudo service network-manager restart
Related Question