I was doing some Bash in my Lenovo Thinkpad T430 that has Linux Ubuntu 16.04.
I went to have dinner so I closed the laptop.
When I went back the Wifi didn’t work.
I went to the Wifi settings in Ubuntu: “Wifi Network Disconnected”.
Maybe I switched it off? The right side of the laptop has a switch to turn the Wifi on and off.
That didn’t work.
I went to the settings and I disabled/enabled the Wifi.
That didn’t work.
I also searched for solutions related to Ubuntu wireless network disconnected:
- How to connect to a wireless network Ubuntu
- How to stop network disconnecting in Ubuntu
- Ubuntu drops Wifi
I also checked the wireless network troubleshooter in Ubuntu.
What the heck is going on then?
I saw a great solution here.
Ubuntu Wifi Network Disconnected Solution – Assemble the minions
Open the terminal and run this:
sudo systemctl restart network-manager.service
Let this witchcraft take effect.
If that didn’t work. You can try one of these solutions:
If it shows Wired Network Disconnected.
Follow this solution:
Check if this file has the setting
managed to false
$ cat /etc/NetworkManager/NetworkManager.conf
The output could be:
$ sudo vim /etc/NetworkManager/NetworkManager.conf
To fix “wired network disconnected” then run:
sudo service network-manager restart
Other solution for wireless network disconnected
Follow this thread for another solution for wireless network disconnected.
This thread describes the problem as trying to connect to wifi it would ask for the password over and over again.
It also describes the problem when trying to connect to wifi via ad-hoc network.
The thread goes into several infinite rabbit holes. If you have a definite answer please add a comment below.
Ubuntu official documentation about wireless network disconnecting
This is the official documentation about Ubuntu – wireless network disconnecting.
It shows 4 basic “solutions”. Although I would call them more: riddles for you to figure it out:
- Weak wireless signal
- Network connection not being established properly
- Unreliable wireless drivers
- Busy wireless networks
Not great solutions but I would say: information to think about why your Ubuntu wireless network keeps disconnecting.
There is also the Ubuntu wireless network troubleshooter.
And the official documentation to connect to a wireless network in Ubuntu.
They have information for you to solve the problem.