dhcpcd-discuss

Re: porting dhcpv6 to android

Roy Marples

Mon May 13 14:07:37 2013

Hi Jayce

On 11/05/2013 13:55, jayce lee wrote:
I'm getting hands on porting dhcpv6 to ASOP (the android 4.2 JB use
dhcpcd 5.5.6 with the feature ipv6 rs and ra). However, when I tested
in my mobile(android 4.2 kernel 3.4.0), the ipv6 rs can't work
normally.

I use tcpdump to capture the packets of wlan0. 
tcpdump -vv -i wlan0 -w /dhcpcd_android.pcap

I found that android can't receive the RA message from my router.

I use wireshark to capture from my pc (in the same LAN with the
mobile), and found the router transmit the RA message.

I'm confused why the broadcast message can't be received by android,
can you help me with it?

Well, this isn't a dhcpcd bug as far as I'm aware.
I see the same problem from my NetBSD server to a NetBSD laptop over the iwi(4) interface (that's wireless) but not over the bge(4) interface. That leads me to suspect an issue somewhere in kernel - more than this I do not know.

BTW, can you test if the kernel RS/RA works outside of dhcpcd to rule out dhcpcd being in error?

Thanks

Roy

References:
porting dhcpv6 to androidjayce lee
Archive administrator: postmaster@marples.name