~mil/sxmo-tickets#599: 
Hotspot not available for modern Android devices

Opening it here since i got no user feedback on gitlab: https://gitlab.com/postmarketOS/pmaports/-/issues/2620

Create a hotspot on sxmo/pmos device.

Try to connect with new generation android13/14 device (e.g. samsung A33, A53). It will complain that it can not connect. While another linux device connects without trouble (which makes debugging a bit harder).

To fix it, we need to edit /usr/bin/sxmo_networks.sh on line ~219 and disable pmf:

notify_sucess "Adding hotspot wifi" \
                nmcli device wifi hotspot ifname wlan0 con-name "Hotspot $SSID" \
                ssid "$SSID" channel "$channel" band bg password "$key"
                nmcli con down "Hotspot $SSID"
                nmcli c modify "Hotspot $SSID" 802-11-wireless-security.pmf 1
                nmcli c modify "Hotspot $SSID" wifi-sec.pmf disable
                nmcli con up "Hotspot $SSID"

successfully tested/daily driving on OP6 with postmarketos edge and 23.12 to scared to submit a patch, so its at least documented here....

Status
REPORTED
Submitter
~magdesign
Assigned to
No-one
Submitted
2 months ago
Updated
2 months ago
Labels
No labels applied.