You are not logged in.

#1 2026-08-26 07:40:27

snack
Member
From: Italy
Registered: 2009-01-13
Posts: 894

dhcpcd 10.5.2-1 unable to get IP address from Android access point

dhcpcd 10.5.2-1 times  out while getting the IP address from the access point of Android phones (tried with two phones, one running  Android 16) while it work with other devices (e.g. FritzBox 7530 AX). Launching it manually in debug mode after connecting to an an Android access point with wpa_supplicant the log says:

$ sudo dhcpcd -ddd wlan0
dhcpcd-10.5.0 starting
chrooting as dhcpcd to /var/lib/dhcpcd
spawned manager process on PID 6272
spawned manager process on PID 6272
sandbox: seccomp
spawned privileged proxy on PID 6273
spawned network proxy on PID 6274
spawned controller proxy on PID 6275
DUID 00:01:00:01:32:20:c2:3a:9c:b6:d0:be:bd:8d
wlan0: spawned DHCP6 proxy fe80::9eb6:d0ff:febe:bd8d on PID 6276
wlan0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks PREINIT
wlan0: connected to Access Point: OnePlusSnack
wlan0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks CARRIER
wlan0: IAID d0:be:bd:8d
wlan0: delaying IPv6 router solicitation for 0.4 seconds
wlan0: delaying IPv4 for 1.3 seconds
wlan0: soliciting an IPv6 router
wlan0: sending Router Solicitation
wlan0: reading lease: /var/lib/dhcpcd/wlan0-OnePlusSnack.lease
wlan0: soliciting a DHCP lease
wlan0: sending DISCOVER (xid 0xf1fcb3b4), next in 4.8 seconds
wlan0: spawned BPF BOOTP on PID 6279
wlan0: sending Router Solicitation
wlan0: sending DISCOVER (xid 0xf1fcb3b4), next in 8.2 seconds
wlan0: process BPF BOOTP already started on pid 6279
wlan0: sending Router Solicitation
wlan0: sending Router Solicitation
wlan0: no IPv6 Routers available
wlan0: sending DISCOVER (xid 0xf1fcb3b4), next in 15.3 seconds
wlan0: process BPF BOOTP already started on pid 6279
wlan0: sending DISCOVER (xid 0xf1fcb3b4), next in 32.0 seconds
wlan0: process BPF BOOTP already started on pid 6279
wlan0: ignoring ack of 10.28.185.42 from 10.28.185.49
timed out
forked to background

Downgrading to 10.3.2-1 fixes the problem:

$ sudo dhcpcd -ddd wlan0
dhcpcd-10.3.2 starting
chrooting as dhcpcd to /var/lib/dhcpcd
sandbox: seccomp
spawned manager process on PID 5944
spawned privileged proxy on PID 5945
spawned network proxy on PID 5946
spawned controller proxy on PID 5947
DUID 00:01:00:01:32:20:c2:3a:9c:b6:d0:be:bd:8d
wlan0: spawned DHCP6 proxy fe80::9eb6:d0ff:febe:bd8d on PID 5948
wlan0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks PREINIT
wlan0: connected to Access Point: OnePlusSnack
wlan0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks CARRIER
wlan0: IAID d0:be:bd:8d
wlan0: delaying IPv6 router solicitation for 0.8 seconds
wlan0: delaying IPv4 for 0.9 seconds
wlan0: soliciting an IPv6 router
wlan0: sending Router Solicitation
wlan0: reading lease: /var/lib/dhcpcd/wlan0-OnePlusSnack.lease
wlan0: soliciting a DHCP lease
wlan0: spawned BPF BOOTP on PID 5952
wlan0: sending DISCOVER (xid 0x4fc3f4d8), next in 4.5 seconds
wlan0: offered 10.28.185.42 from 10.28.185.49
wlan0: process BPF BOOTP already started on pid 5952
wlan0: sending REQUEST (xid 0x4fc3f4d8), next in 4.8 seconds
wlan0: acknowledged 10.28.185.42 from 10.28.185.49
wlan0: spawned BPF ARP 10.28.185.42 on PID 5953
wlan0: probing address 10.28.185.42/24
wlan0: probing for 10.28.185.42
wlan0: ARP probing 10.28.185.42 (1 of 3), next in 1.5 seconds
wlan0: ARP probing 10.28.185.42 (2 of 3), next in 1.4 seconds
wlan0: ARP probing 10.28.185.42 (3 of 3), next in 2.0 seconds
wlan0: sending Router Solicitation
wlan0: DAD completed for 10.28.185.42
wlan0: leased 10.28.185.42 for 3599 seconds
wlan0: renew in 1799 seconds, rebind in 3149 seconds
wlan0: writing lease: /var/lib/dhcpcd/wlan0-OnePlusSnack.lease
wlan0: adding IP address 10.28.185.42/24 broadcast 10.28.185.255
wlan0: ARP announcing 10.28.185.42 (1 of 2), next in 2.0 seconds
wlan0: adding route to 10.28.185.0/24
wlan0: adding default route via 10.28.185.49
wlan0: executing: /usr/lib/dhcpcd/dhcpcd-run-hooks BOUND
forked to background

Is there any know issue with dhcpcd 10.5 that can produce the above behavior?

Last edited by snack (2026-08-26 08:11:27)

Offline

#2 2026-08-26 08:06:48

-thc
Member
Registered: 2017-03-15
Posts: 1,177

Re: dhcpcd 10.5.2-1 unable to get IP address from Android access point

Pleas use "code" tags to format your post.

It seems you are not the only one.

As seth mentions in the other thread that is most likely a regression (dhcpcd seems to ignore the offer from Android's DHCP server).

Offline

#3 Yesterday 09:20:52

mamauriz
Member
Registered: 2026-08-21
Posts: 10

Re: dhcpcd 10.5.2-1 unable to get IP address from Android access point

After updating to version 10.5.2-1 it works correctly for me.

Offline

#4 Yesterday 13:38:10

-thc
Member
Registered: 2017-03-15
Posts: 1,177

Re: dhcpcd 10.5.2-1 unable to get IP address from Android access point

Excellent - please mark your thread as "[Solved]".

Oops: Your thread is another one. Please mark that thread instead.

Last edited by -thc (Yesterday 13:39:22)

Offline

Board footer

Powered by FluxBB