In the Network Manager (in Ubuntu 16.04) I configured a connection as a hotspot in Access Point mode, to be used to connect my mobile devices to the internet via my Linux computer - which in turn is connected to the internet via an ethernet cable.
I can enable the hotspot by executing
nmcli connection up 'my hotspot SSID'
and a signal will always be created, but about 50% of the time I am not able to connect any device to it: other devices will either immediately disconnect after trying to connect (Android 7.0), time-out while trying to connect (iPad) or claim to be connected but not actually have access to the internet (Linux). The other 50% of the time it works and continues to function indefinitely.
After re-executing the command once (or twice on rare occasions) the hotspot will usually work. My questions are:
- What could be the cause of this issue?
- What tools could be used to diagnose this problem? Is there a way to detect whether the hotspot is working correctly on the broadcasting machine? In this case, an easy workaround would be to keep re-executing the command until the hotspot works.
- Is there a proper solution?