Hi Alex,
thanks for you fast response.
I am not really sure if this is a DHCP issue here. This is the networkd configuration I am using:
# file: /etc/systemd/network/80-wifi-ap.network
[Match]
Name=uap0
Type=wlan
WLANInterfaceType=ap
[Network]
Address=192.168.8.1/24
DHCPServer=yes
[DHCPServer]
PoolOffset=200
PoolSize=50
It is basically the same configuration from the tutorial mentioned above. According to my knowledge there is no option specified, that a fixed IP address is assigned a specific device.
I also tried using a dnsmasq
server inside a docker container instead of using networkd
Here is the dnsmasq.conf file I used:
/etc/dnsmasq.conf:
==================
### DMQ_DNS*
server=8.8.8.8
server=8.8.4.4
no-resolv
local=/local/
expand-hosts
domain-needed
selfmx
dns-loop-detect
domain=local
### DMQ_DHCP*
# dhcp-option=44,172.17.10.1
dhcp-range=192.168.8.110,192.168.8.120,24h
dhcp-option=3,192.168.8.1
dhcp-option=6,192.168.8.253,8.8.8.8,8.8.4.4
Not quite sure if the config does not contain other errors, but the behavior of devices connecting to the AP is the same. The first device gets an IP address and the second one does not.
Lastly, I tried connecting the second device with a pre-configured, static IP address (now again with the networkd
DHCP server), 192.168.8.100 in this case.
The behavior here is also strange, although the laptop connects to the AP, it can not ping the AP device (192.168.8.1) and vice versa.
At last I like to mention, that everything is working fine, when I am using Torizon 5.3.0. Then I can connect 2 devices without problem, and also connecting a device with a static IP is working. So I don’t think this is related to misconfiguration of the DHCP server, but rather some kind of driver problem.
Any thoughts on that? Maybe I did indeed misconfigure the server, but I am just not aware of it.
Best regards,
Thorbjörn