(Solved) I can't get the wifi working
I can't get the wifi working on my Nexus 5. Previously it's worked, but now it does not show any potential connections when I select Network from the top menu and then "Wi-Fi settings..." It only shows "Previous networks", but gives no option to connect to these. Anyone know how I can fix this?
joe last edited by
@MarkG_108 Do you know what was going on before it stopped working?
I have seen this happen after using the hotspot feature on Nexus 5. Or switching off airplane mode on other devices.
Rebooting seems to bring it back when that happens to me though.
Or double check that wi-fi is enabled.
I intentionally disabled it a while ago, to avoid the internet for a bit (I do this on my desktop sometimes too). Usually I can just re-enable it, and be connected again. But that's not the case this time (there doesn't seem to be an opportunity to re-enable it). Also, I tried turning it off and back on, but that fails.
I just did a factory reset, using the Ubuntu Touch Recovery program, and I still can't get wifi. It says that "no wifi is available", which is ridiculous, given that I live in an apartment building, and everyone here has wifi.
Some further information:
mark@debian:~$ adb shell phablet@ubuntu-phablet:~$ nmcli g STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN disconnected none enabled enabled enabled enabled
The command "nmcli r all on" gave a similar result. Wifi still doesn't work.
Lakotaubp last edited by
@MarkG_108 As a a one off try installing the dev channel check wifi. if it's ok you can go back to stable or whatever and the fix should stay.
@Lakotaubp, thanks. Where do I find this "dev channel check wifi"? Is this an app from Open-Store? Or is it a package from Ubuntu? I'll assume the former... perhaps wifiscanner will do something. I'll have to figure out how to install it via my desktop with adb.
Also, it could be a hardware issue with my phone. So, perhaps I should try to install LineageOS on it to test.
I think he meant :
1- Install the dev channel
2- Check if the wifi works
3- Go back to stable channel
@AppLee Oh. Is this an option in the Recovery program?
@MarkG_108 It's in the system settings.
You go to
Updates, then at the bottom click on
Update settings, then tap on
Thanks, @AppLee. However, the problem is that it's not currently connected to the internet, so it can't connect to the dev channel to install it.
Lakotaubp last edited by
@MarkG_108 Try the installer
Okay, doing a factory reset from the Recovery utility failed. But, doing a fresh install did fix the wifi. I'm not sure what broke it in the first place, but it is now working. So, problem solved.
mark@debian:~/Templates/Nexus5/ubuntutouchinstall$ adb shell phablet@ubuntu-phablet:~$ nmcli g STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN connected full enabled enabled enabled enabled phablet@ubuntu-phablet:~$
Well, a reinstallation fixed this, but I think I discovered why it stopped working in the first place. I was attempting to install Anbox on it, and, apparently, from this bug report, that can mess up Wi-Fi: https://github.com/ubports/ubuntu-touch/issues/1264
Some time ago, I had previously installed Anbox on my Ubuntu Touch phone, and that didn't affect Wi-Fi. So, this bug seems to be new.