Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When a mobile phone is connected, dhcpcd is used. After arp is broadcast, announce is sent less than once #313

Open
anqiao-cell opened this issue Apr 11, 2024 · 1 comment

Comments

@anqiao-cell
Copy link

When the dhcpcd5.2.10 version is used, no ip address is assigned when I connect to the mobile phone. After the carrier lost occurs after the lease is transferred to the ip address, the wireshark is used to capture the packet and check the log. When the ip address is allocated normally, the carrier lost packet is sent twice, and when an exception occurs, only one announce packet is sent. It should be certain that two announce packets are sent, but only one is sent in the log. Please help me analyze why only one announce packet is sent. Thank you
log:
行 8426: Apr 11 05:21:50.1583.158247 dhcpcd[5056]: wlan0: waiting for carrier
行 8439: Apr 11 05:21:50.4739.473458 dhcpcd[5056]: wlan0: carrier acquired
行 8442: Apr 11 05:21:50.5358.535728 dhcpcd[5056]: wlan0: broadcasting for a lease
行 8443: Apr 11 05:21:50.5805.580333 dhcpcd[5056]: wlan0: offered 192.168.191.193 from 192.168.191.137
行 8458: Apr 11 05:21:50.6085.608440 dhcpcd[5056]: wlan0: acknowledged 192.168.191.193 from 192.168.191.137
行 8459: Apr 11 05:21:50.6972.697043 dhcpcd[5056]: wlan0: checking for 192.168.191.193
行 8477: Apr 11 05:21:55.4824.477025 dhcpcd[5056]: wlan0: leased 192.168.191.193 for 3599 seconds
行 8478: Apr 11 05:21:55.4824.479524 dhcpcd[5056]: wlan0: open: Read-only file system
行 8479: Apr 11 05:21:55.4825.479647 dhcpcd[5056]: write_lease: Read-only file system
行 8491: Apr 11 05:21:57.5028.502671 dhcpcd[5056]: wlan0: carrier lost

wireshark log:
image

@rsmarples
Copy link
Member

dhcpcd-5.2.10 is pretty old and very much unsupported. Can you try something newer like dhcpcd-10.0.6 please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants