Hi. Please see log entries below. I was using my computer the whole time. Why are there many DHCP-related entries? Why is my computer disassociated every half-hour? I thought that disassociations happened mostly on phones to save energy. My computer is a plugged-in desktop computer.
Are these entries normal or something to worry about?
Many thanks for any help.
Sun May 25 20:42:48 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 [computer's MAC address]
Sun May 25 20:42:48 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 [computer's MAC address] iMac
Sun May 25 20:42:50 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 [computer's MAC address]
Sun May 25 20:42:50 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 [computer's MAC address] iMac
Sun May 25 20:42:52 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 [computer's MAC address]
Sun May 25 20:42:52 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 [computer's MAC address] iMac
Sun May 25 20:42:57 2025 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) [computer's MAC address]
Sun May 25 20:42:57 2025 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.100 [computer's MAC address]
Sun May 25 20:42:59 2025 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) [computer's MAC address]
Sun May 25 20:42:59 2025 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.100 [computer's MAC address]
Sun May 25 20:43:00 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 [computer's MAC address]
Sun May 25 20:43:00 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 [computer's MAC address] iMac
Sun May 25 21:14:57 2025 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED [computer's MAC address]
Sun May 25 21:14:57 2025 daemon.info hostapd: phy1-ap0: STA [computer's MAC address] IEEE 802.11: disassociated
Sun May 25 21:14:58 2025 daemon.info hostapd: phy1-ap0: STA [computer's MAC address] IEEE 802.11: authenticated
Sun May 25 21:14:58 2025 daemon.info hostapd: phy1-ap0: STA [computer's MAC address] IEEE 802.11: associated (aid 1)
Sun May 25 21:14:58 2025 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED [computer's MAC address] auth_alg=open
Sun May 25 21:14:58 2025 daemon.info hostapd: phy1-ap0: STA [computer's MAC address] WPA: pairwise key handshake completed (RSN)
Sun May 25 21:14:58 2025 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED [computer's MAC address]
Sun May 25 21:14:58 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 [computer's MAC address]
Sun May 25 21:14:58 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 [computer's MAC address] iMac
Sun May 25 21:46:03 2025 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED [computer's MAC address]
Sun May 25 21:46:03 2025 daemon.info hostapd: phy1-ap0: STA [computer's MAC address] IEEE 802.11: disassociated
Sun May 25 21:46:04 2025 daemon.info hostapd: phy1-ap0: STA [computer's MAC address] IEEE 802.11: authenticated
Sun May 25 21:46:04 2025 daemon.info hostapd: phy1-ap0: STA [computer's MAC address] IEEE 802.11: associated (aid 1)
Sun May 25 21:46:04 2025 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED [computer's MAC address] auth_alg=open
Sun May 25 21:46:04 2025 daemon.info hostapd: phy1-ap0: STA [computer's MAC address] WPA: pairwise key handshake completed (RSN)
Sun May 25 21:46:04 2025 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED [computer's MAC address]
Sun May 25 21:46:04 2025 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 [computer's MAC address]
Sun May 25 21:46:04 2025 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 [computer's MAC address] iMac
It's hard to know exactly what might be triggering that, but the best thing to do would be for us to review your configs to see if there are any problems.
Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:
Many thanks for your quick responses, Augustus and Peter. Here are my configuration settings. Would you please tell me if you see anything odd, whether or not it is related to the DHCP and disassociations?
My suspicions concern the HE20 and HE80, thus I would set these to basic values, like HT20, just to confirm suspicion.
Do the disassoc occure, only when channel/station(s) busy, or also, when (almost) idle ?
Pls, provide (anon) log messages, when disassocs occure.
When disassoc triggered from AP, then there is a reason for it in log.
I was using default values. I cannot find these settings in luci. I did not change them through SSH cli before now. What are the differences among HE20, HE80, and HT20?
I don't know because I don't know when devices were busy and idle, other than when I was using the computer yesterday evening. I'll have to monitor.
Your shouting at wrong tree, your client pc should have logs on why it sends dhcp request every 2 seconds.
From DHCP RFC:
DHCP clients are responsible for all message retransmission. The
client MUST adopt a retransmission strategy that incorporates a
randomized exponential backoff algorithm to determine the delay
between retransmissions. The delay between retransmissions SHOULD be
chosen to allow sufficient time for replies from the server to be
delivered based on the characteristics of the internetwork between
the client and the server. For example, in a 10Mb/sec Ethernet
internetwork, the delay before the first retransmission SHOULD be 4
seconds randomized by the value of a uniform random number chosen
from the range -1 to +1. Clients with clocks that provide resolution
granularity of less than one second may choose a non-integer
randomization value. The delay before the next retransmission SHOULD
be 8 seconds randomized by the value of a uniform number chosen from
the range -1 to +1. The retransmission delay SHOULD be doubled with
subsequent retransmissions up to a maximum of 64 seconds. The client
MAY provide an indication of retransmission attempts to the user as
an indication of the progress of the configuration process.
What's with you and shouting at trees? Diagnostics and resolutions may come from any layer of abstraction and many different angles... Almost everything in computing is a multi-client or client/server architecture... Hardly any networking communication is in isolation - I just needed to vent because you said the same thing on my post lol.
brada4, my computer's system log has many disconnection messages that seem to be about connecting to my phone over wi-fi. There is nothing about DHCP. I do not see any correlation between the messages in the computer's log and the messages in the OpenWrt log. The time stamps are not correlated.
(By the way, the saying is about "barking up the wrong tree". )
In any case, I am grateful for any attempt to help. Thanks, brada4!
Yes. Your config looks reasonable. Thus, need to eliminate potential issues, and check, whether problem still exists.
What about the logs from your router ?
I shared logs in my first post and said that I would have to monitor for the kind of entries that you asked about. Are you interested in something specific right now?
No. Sorry asking, I did not really catch it.
According to the logs provided, it looks like, the disconnects are initiated by the client. But that could be consequence, not reason of a problem.
Now, when using HT20, is connection stable ? ANd which type of client/OS do you have ? Because it is strange, that client does not honor the 12h lifetime of IP assigned.
The client is a Macintosh running the current macOS, 15.5.
I discovered one problem: I had changed the channels on the router but didn't think to change it on the "dumb" access point. So I changed the channels on the "dumb" AP this morning. Using the principle of "change only one thing at a time", I also reverted to 802.11ax (HE20 and HE80) to see if the change in channels made a difference.
What I have noticed so far is that the DHCP events continue periodically even when the computer is asleep:
This would be entirely expected. When the computer is sleeping, it will periodically wake up to run various processes including network activity (checking for notifications, etc. this actually happens quite frequently but still at very low power (minimizing battery impact) and it still seems like the system is asleep at a human level.
When the system wakes up for any network access, it will attach to the network again and it must verify that the lease is still valid (even though it knows it should be based on the lease duration, there is no guarantee that it is truly attaching to the same network (for example, you use it at Starbucks, then go to another Starbucks - same ssid, different local network).
My AppleTV is even more aggressive with DHCP, when it is sleeping
It requests every 12 sec.
May 25 02:02:06 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:02:06 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:02:18 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:02:18 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:02:30 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:02:30 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:02:42 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:02:42 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:02:54 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:02:54 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:03:06 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:03:06 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:03:18 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:03:18 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:03:30 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:03:30 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:03:42 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:03:42 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:03:54 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:03:54 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:04:06 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
May 25 02:04:06 debian02 dhcpd[29231]: Added reverse map from 11.30.217.10.in-addr.arpa. to atv04.
May 25 02:04:18 debian02 dhcpd[29231]: Added new forward map from atv04. to 10.217.30.11
When it's powered on , it follows the lease/half-lease times.
MY pi-hole suggests it's not just the OS, but also any apps that hasn't been closed, that makes "Callbacks" to the Mothership.
I suspected that. I appreciate your confirmation. Thanks, Peter.
Thanks for the information, Bingo. The DHCP events on my sleeping, ethernet-connected Apple TV are hours apart. I don't know what's happening with the forward and reverse maps in your system.