Whenever I freshly install Ubuntu I face this Network problem. The Network Manager says that no wired connection is connected. It says that this device is not managed and I wont be able to connect to internet. Here is a workaround that fixes this problem.
Open terminal and type the following :
sudo gedit /etc/NetworkManager/nm-system-settings.conf
and hit enter. Now text editor will open nm-system-settings.conf. Find the line managed=false and replace false with true and save the file (ctrl+s) and close the file. Then open terminal and type the following commands to restart network manager :
sudo service network-manager stop
sudo service network-manager start
Now, your network should be detected. If it didn’t then try restarting your computer. The problem will be solved.
- Thanks to Weegreenblobbie for leaving comment on how to restart network-manager without reboot.
Things to remember :
There is no space in the string /etc/NetworkManager/nm-system-settings.conf.
The command is case sensitive, so type the string as it is.
If this workaround didn’t worked for you then try another workaround about which I have posted. You can see it here.