Page 1 of 1

Pi-Star 4.1.0 RC5 IPv6 DUID Bug

Posted: Thu Sep 12, 2019 8:48 pm
by k2dls
I've been trying to track down why Pi-Star is not getting the statically assigned IPv6 address from the DHCP server on each boot. Something is changing the DUID between boots. I've verified on a non Pi-Star installation that this is not a generic Buster issue, rather it is specific to Pi-Star.

It is messy as Pi-Star gets a different IPv6 address on each boot and is ignoring DHCPv6.

Original DUID:
00010001250437e0b827eb4d6d1f

After boot DUID:
00010001250d693fb827eb4d6d1f

Re: Pi-Star 4.1.0 RC5 IPv6 DUID Bug

Posted: Thu Sep 12, 2019 9:03 pm
by k2dls
OK, the problem seems to be that /var/lib/dhcpcd5 is not a permanent filesystem. This is very bad, as DUID should be unique and never change between reboots. If /var/lib/dhcpcd5 MUST be a tmpfs, the duid needs to be stored somewhere on the sdcard and copied over at boot time.

Re: Pi-Star 4.1.0 RC5 IPv6 DUID Bug

Posted: Fri Sep 13, 2019 3:58 am
by KE7FNS
Well thats interesting.

Good find.