RPI4 wifi hotspot network manager connection issues -ESP32 won't connect at all.

I'm running openplotter 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 I can connect devices, e.g. my laptop, android phone, apple iPad tablet successfully. I can't connect ESP32 I can connect ESP32 quite happily to my home network, phone hotspot. The same hardware has connected ok in the past. Any ideas? Here is my AP connection conf: pi@openplotter:/etc/NetworkManager/system-connections $ sudo cat OpenPlotter-Hotspot.nmconnection [connection] id=OpenPlotter-Hotspot uuid=** type=wifi interface-name=wlan9 timestamp=1740381969 [wifi] band=bg mode=ap ssid=pm-open channel=1 [wifi-security] key-mgmt=wpa-psk proto=rsn psk=** [ipv4] method=shared [ipv6] addr-gen-mode=stable-privacy method=ignore [proxy]
1 Reply
Lao An
Lao AnOP6d ago
ESP32 even supports WPA2 Enterprise but I used ChatGPT to help with enforcing WPA2-AES (psk) on the Pi - which my iPad will be happy about as well hopefully ### Updated Configuration Edit your /etc/NetworkManager/system-connections/wifi-hotspot.nmconnection file as follows: [wifi-security] key-mgmt=wpa-psk proto=rsn pairwise=ccmp group=ccmp psk=YourSecurePassword
### Explanation:
- `proto=rsn`: This specifies WPA2 (the modern standard).
- `pairwise=ccmp`: Forces AES for unicast traffic.
- `group=ccmp`: Forces AES for group traffic (broadcast/multicast).

### Restart and Activate the Hotspot
After saving the changes, restart NetworkManager and bring up the hotspot again:


sudo systemctl restart NetworkManager
nmcli connection up wifi-hotspot
### Explanation:
- `proto=rsn`: This specifies WPA2 (the modern standard).
- `pairwise=ccmp`: Forces AES for unicast traffic.
- `group=ccmp`: Forces AES for group traffic (broadcast/multicast).

### Restart and Activate the Hotspot
After saving the changes, restart NetworkManager and bring up the hotspot again:


sudo systemctl restart NetworkManager
nmcli connection up wifi-hotspot
Reset pin pressed, when booting the ESP32 and it finally connected. *

Did you find this page helpful?