Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

System and Network configuration • Re: NetworkManager wifi AP does not allocate IP addresses

$
0
0
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?
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 AP

Code:

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
What is the source of the commands quoted above ?

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
Hope this helps.

--
[1] Configuring RHEL as a WPA2 or WPA3 Personal access point

Statistics: Posted by Aki — 2025-01-03 17:21



Viewing all articles
Browse latest Browse all 2901

Trending Articles