Open papakpmartin opened 2 months ago
Here is a short manual on how to configure access point with NetworkManager:
1) use this command to generate new uuid:
uuid=$(openssl rand -hex 16) && echo ${uuid:0:8}-${uuid:8:4}-${uuid:12:4}-${uuid:16:4}-${uuid:20:12}
2) sudo nano /etc/NetworkManager/system-connections/TEST-AP.nmconnection
[connection]
id=TEST-AP
uuid=<fill generated uuid here>
type=wifi
autoconnect=false
interface-name=wlan0
[wifi]
band=bg
channel=1
cloned-mac-address=<fill desired mac address, for example 00:11:22:33:44:55>
mode=ap
ssid=MY-AP
[wifi-security]
key-mgmt=wpa-psk
psk=<fill your password for AP here>
#uncomment for PSK/SHA-256 support
#proto=rsn
pairwise=ccmp
group=ccmp
[ipv4]
address1=192.168.1.1/24
method=shared
[ipv6]
addr-gen-mode=stable-privacy
method=disabled
[proxy]
3) chmod 600 /etc/NetworkManager/system-connections/TEST-AP.nmconnection
4) systemctl restart NetworkManager
5) To start it just run nmcli connection up TEST-AP
If you want automatic startup for your AP, change autoconnect=true
If wlan0
is not managed by NetworkManager, you can change it with sudo nmcli device set wlan0 managed yes
.
Describe the bug
Prior to Bookworm, I enabled the Pi to act as a Wi-Fi Access Point (in part) via:
This permitted ESP32-based devices to connect easily.
In Bookworm, I'm trying to basically replicate this via:
This isn't working. I can connect to
my-network
from a laptop, but the ESP32-based devices won't.At least, not unless I downgrade the minimum security that the ESP32 will accept from the default setting...
...which works fine on pre-Bookworm Pis, to...
...in which case it can successfully connect to a Bookworm Pi.
This appears to be exactly what's referred to here, that the access point is being detected as merely WEP and not WEP2. But the documentation for NetworkManager says that
wpa-psk
should be “WPA2 + WPA3 personal”.Am I missing something in my attempted transition to Bookworm, or is this a bug in how
wifi-sec.key-mgmt wpa-psk
is currently working?Steps to reproduce the behaviour
I think all steps are included in the bug description.
Device (s)
Raspberry Pi 4 Mod. B
System
Logs
No response
Additional context
No response