leiweibau / Pi.Alert

Scan the devices connected to your WIFI / LAN and alert you the connection of unknown devices. It also warns if a "always connected" device disconnects. In addition, it is possible to check web services for availability. For this purpose HTTP status codes and the response time of the service are evaluated.
https://leiweibau.net
GNU General Public License v3.0
434 stars 31 forks source link

Question: DHCP requests? #214

Closed hspindel closed 10 months ago

hspindel commented 10 months ago

If I'm reading my logs right, piAlert is making frequent DHCP requests. The DHCP server makes an offer, which is not ACK'ed.

Is this expected behavior? What would disable it?

Thank you.

leiweibau commented 10 months ago

If the search for rogue DHCP servers is active, this is normal. If this is not desired, it can be switched off in the configuration file.

https://github.com/leiweibau/Pi.Alert/blob/17dacdd65da927041abeb01ef3dd1863754bed01/config/pialert.conf#L28

If the search is enabled, you see entries like this in the scan log

Looking for Rogue DHCP Servers...
    One DHCP Server detected......: 10.1.1.21 (valid)
hspindel commented 10 months ago

Okay, thank you.