<div dir="auto">Stupid dirty GUI messing things up AGAIN! ;-)<br><br><div data-smartmail="gmail_signature">Thanks,<br>Alexander<br><br>Sent from my Samsung Galaxy S22+</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 26, 2022, 12:24 AZ Pete via PLUG-discuss <<a href="mailto:plug-discuss@lists.phxlinux.org">plug-discuss@lists.phxlinux.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#333333" bgcolor="#FFFFFF">
<font face="Calibri">All, <br>
I ran into an interesting bug that I thought I'd share here. I set
up one of my Raspberry Pi computers as a Pi-hole and also
configured it to act as my DHCP server.<br>
After the Pi was acting as a my DHCP router I noticed hundreds of
log entries in the pihole.log file. <br>
The Pi was being flooded with these kind of requests:<br>
<br>
10:17:10 dnsmasq-dhcp[20546]: DHCPINFORM(eth0) 192.168.1.41
dc:a6:32:65:89:d9<br>
10:17:10 dnsmasq-dhcp[20546]: DHCPACK(eth0) 192.168.1.41
dc:a6:32:65:89:d9 desertpi<br>
<br>
Literally dozens of entries per second. As it turns out, I set my
other two PIs to static IP addresses using the GUI interface,
which put this into dhcpcd.conf file:<br>
interface eth0<br>
inform 192.168.1.41<br>
static routers=192.168.1.1<br>
static domain_name_servers=192.168.1.1<br>
<br>
When I changed it to this there were no more log entries as listed
above (i.e. changed 'inform' to 'static')<br>
interface eth0<br>
static ip_address=<a href="http://192.168.1.41/24" target="_blank" rel="noreferrer">192.168.1.41/24</a><br>
static routers=192.168.1.1<br>
static domain_name_servers=192.168.1.1<br>
<br>
As it turns out there is a bug in dhcp that causes INFORM messages
to flood the router. Since my Netgear router acted as the dhcp
server previously, I never saw these entries (the netgear log must
not display them). But, I had always wondered why my PI's network
LED was always blinking so much....<br>
<br>
I could only find two article discussing this:<br>
<a href="https://raspberrypi.stackexchange.com/questions/116121/huge-syslog-filled-with-dhcpcd-lines" target="_blank" rel="noreferrer">https://raspberrypi.stackexchange.com/questions/116121/huge-syslog-filled-with-dhcpcd-lines</a><br>
<a href="https://forums.raspberrypi.com/viewtopic.php?t=265516" target="_blank" rel="noreferrer">https://forums.raspberrypi.com/viewtopic.php?t=265516</a><br>
<br>
My take away: Don't use the GUI to configure things. :)<br>
<br>
Hope this helps someone...<br>
Thanks,<br>
Peter<br>
<br>
<br>
<br>
<br>
<br>
<br>
</font>
</div>
---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank" rel="noreferrer">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="https://lists.phxlinux.org/mailman/listinfo/plug-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.phxlinux.org/mailman/listinfo/plug-discuss</a></blockquote></div>