Hello,
If I understand correctly the question, you have configured your Debian 11 WiFi adapter to work in "AP" (Access Point) mode: you have used the Network Manager from the command line to configure the Debian "access point".
Then you tried to connect a second (Debian?) computer to the Debian 11 "access point", but the first one does not get a DHCP lease from the Debian 11 "access point" .
Am I right?
Below [1] is an alternate source (or is it the same ?).
Is a DHCP server installed in the Debian 11 "access point" (e.g. dnsmasq) ? If yes, is it running ? You can verify it running the following commands in the Debian 11 "access point":Hope this helps.
--
[1] Configuring RHEL as a WPA2 or WPA3 Personal access point
If I understand correctly the question, you have configured your Debian 11 WiFi adapter to work in "AP" (Access Point) mode: you have used the Network Manager from the command line to configure the Debian "access point".
Then you tried to connect a second (Debian?) computer to the Debian 11 "access point", but the first one does not get a DHCP lease from the Debian 11 "access point" .
Am I right?
What is the source of the commands quoted above ?Setting up a WiFi AP using NetworkManager on Debian 11. I am beginning with NetworkManager as I want to get rid off a complex system just for setting the network on Linux machines. Here the code I used to create the APCode:
sudo nmcli c add type wifi ifname wlan0 mode ap con-name test-ap-1 ssid stnc-ap autoconnect falsesudo nmcli c modify test-ap-1 802-11-wireless.band bgsudo nmcli c modify test-ap-1 ipv4.method shared ipv4.address 172.16.1.1/24sudo nmcli c modify test-ap-1 wifi-sec.key-mgmt wpa-psksudo nmcli c modify test-ap-1 wifi-sec.psk "testKEYS"sudo nmcli c up test-ap-1
Below [1] is an alternate source (or is it the same ?).
Is a DHCP server installed in the Debian 11 "access point" (e.g. dnsmasq) ? If yes, is it running ? You can verify it running the following commands in the Debian 11 "access point":
Code:
ps ax | grep dhcpapt list dnsmasq*sudo systemctl status dnsmasq
--
[1] Configuring RHEL as a WPA2 or WPA3 Personal access point
Statistics: Posted by Aki — 2025-01-03 17:21