ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

Hotspot cannot be password-secured #1160

Open TartanSpartan opened 5 years ago

TartanSpartan commented 5 years ago

Steps to reproduce

Activate the mobile hotspot.

Expected behaviour

For the hotspot to be password secured.

Actual behaviour

The hotspot cannot be password secured. If you try to activate it with the password enabled, it will simply not function and other devices will not find the Pro 5 network. So it will only function with no password protection enabled. This means any random person in the vicinity can connect to the network unimpeded and eat up your data allowance without permission. For this reason I am forced to restrict myself to short bursts of mobile data usage in public, or use it in an area of my workplace where others can't use their mobile devices (because I'm on my break). This is far from ideal.

Logfiles and additional information

This issue https://github.com/ubports/ubuntu-touch/issues/1056 may be related. The following links comprise my /var/log/syslog after a reboot, truncated to that event up to the point where I need to turn hotspot on and off:

https://pastebin.com/tewNJGwh https://pastebin.com/LeM6CSTG https://pastebin.com/YghNHvZ8

I split it into three files to meet the Pastebin size restrictions; they are in the correct order. Because of this issue (i.e. 1160), I fully activate the hotspot by: turning on hotspot from the indicator menu, going to hotspot settings, hit Change Password/Setup, hit "Require a password" (thereby setting it to green/on), hit Change, and again Change Password/Setup, hit "Require a password" (thereby setting it to grayed out/on), and finally hit Change. When I turn on a WiFi-enabled device, I can now find the Pro 5 hotspot listed among the available connections.

Flaburgan commented 5 years ago

FYI, I cannot reproduce with the Fairphone 2 with the same build so this looks like a device specific bug.

ShadowEO commented 2 years ago

This is also occuring on the Nexus 7 LTE (Deb) as well. However in it's case, the hotspot starts up, but refuses connections with the correct key. Upon removing security, devices are able to connect and use it.