Hello,
Could You please help me with making DHCP server from addon work? But from the beggining. I have Huawei B315 with WiFi enalbed and disabled DHCP server. Then my Pi with HA is connected to it by cable and on it I have installed HA on HassIO with DHCP server addon configured but not working when I try to connect to WiFi.
My router config page is on 192.168.8.1 and my Pi has 192.168.8.2 ip address. My DHCP config looks like this:
[12:59:56] INFO: Creating DHCP configuration...
[13:00:13] INFO: Starting DHCP server...
Internet Systems Consortium DHCP Server 4.4.1
Copyright 2004-2018 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Config file: /etc/dhcpd.conf
Database file: /data/dhcpd.lease
PID file: /var/run/dhcp/dhcpd.pid
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 0 leases to leases file.
Listening on LPF/eth0/b8:27:eb:11:5c:7b/192.168.8.0/24
Sending on LPF/eth0/b8:27:eb:11:5c:7b/192.168.8.0/24
Sending on Socket/fallback/fallback-net
Server starting service.
I assume the Huawei is the access point? If it doesn’t bridge between the wifi and the ethernet then wifi clients connecting to the Huawei will not be able to access the DHCP server.
Do wired computers on the LAN get a DHCP address from the pi?
Sorry for a delay. No it is not working. Moreover. I have old LinkSys connected via cable to Huawei and when I connect Pi to Linksys and change configuration on DHCP server, everything is working fine.
@Reinel
by using the terminal inside hassio, I typed “ha network info”
Then I got my docker network information and my real interface (I’m using wifi) that is wlan0.
After update the configuration replacing “eth0” by “wlan0” it worked.