Ubuntu – Network manager is not detecting wifi networks


I used to get connected to the internet without any issues earlier using my router(DLINK DSL-2730U) . I tried to configure new router(TP-LINK TL-WR841N) by running following command:

sudo ppoeconf wlan0

After that my network manager is not able to detect any Wifi networks.
Network Connections
However the networks are available when I scan using "Wifi Radar". But I am not able to connect through that either.

If i run : $ iwlist wlan0 scan

it gives – wlan0 No scan results

If i run : $ sudo iwlist wlan0 scan gives – list of all available wifi connections

I ran this test (My wireless/WiFi connection does not work. What information is needed to diagnose the issue?) and here is my result

Can somebody please help me.

Best Answer

Yesterday, I upgraded from Ubuntu 16.10 to Ubuntu 17.04 and my wifi stopped working.

I noticed that I could still set up wifi manually on the console but the network manager applet wouldn't show any wifi spots and also not the active connection.

After spending 3 hours on the problem, I could fix it by a very simple step, namely modifying /etc/network/interfaces by removing (or commenting out using #) the following two lines:

auto wlan0
iface wlan0 inet dhcp

I hope this might be useful for others!

Related Question