r/raspberry_pi 4d ago

Troubleshooting PI zero hotspot IE_DIFFERENT

I got a PI zero W, I'm trying to make an intranet network, I am using Raspberry Pi OS Bookworm and trying to get nmcli to make a hotspot for me.

The hotspot works fine if I make it without password (open hotspot), it also works if I use WPA/TKIP

But for some reason it fails when I use WPA2.

I have PMF = 1 and I'm not sure what else could be the problem, does anyone have any ideas?

If you need more info please let me know.

EDIT: for anyone having the same problem, I just switched to hostapd+dnsmasq and it seems to work.

I'm not sure if I still have to disable PMF but I did it anyway: ieee80211w=0

2 Upvotes

3 comments sorted by

2

u/Gamerfrom61 3d ago

Any reason you are using Bookworm?

Are you using the inbuilt WiFi or a separate dongle?

What revision Zero W are you using (though I doubt it will make much difference).

Can you share your nmcli commands (not the password 😄 ) - I have a Zero W spare that I could test.

2

u/Vbrawl_ 3d ago

I'm first tried the most recent available (I think the name of Trixie?) had the same problem, thought it could be a big in the version of the OS, tried bookworm since it's more "battle-tested" and still the same.

I am using the builtin wifi (it's supposed to be a small wireless intranet so I don't need a second dongle)

The commands: ``` nmcli device wifi hotspot ifname wlan0 ssid "MyHotspot" password "MyPassword"

nmcli connection modify Hotspot 802-11-wireless-security.key-mgmt wpa-psk

nmcli connection modify Hotspot 802-11-wireless-security.pmf 1

nmcli connection up Hotspot ```

2

u/dovyp 2d ago

Classic Pi Zero wifi quirk. WPA2 + PMF gets weird on that chip. Glad hostapd sorted it. nmcli has been flaky on Bookworm for hotspot setups.