Pi-Star 4.1.0 RC5 IPv6 DUID Bug

All IP networking related issues
Post Reply
k2dls
Posts: 71
Joined: Mon Aug 20, 2018 5:24 pm

Pi-Star 4.1.0 RC5 IPv6 DUID Bug

Post by k2dls » Thu Sep 12, 2019 8:48 pm

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

k2dls
Posts: 71
Joined: Mon Aug 20, 2018 5:24 pm

Re: Pi-Star 4.1.0 RC5 IPv6 DUID Bug

Post by k2dls » Thu Sep 12, 2019 9:03 pm

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.

KE7FNS
Posts: 290
Joined: Wed Apr 17, 2019 11:11 pm

Re: Pi-Star 4.1.0 RC5 IPv6 DUID Bug

Post by KE7FNS » Fri Sep 13, 2019 3:58 am

Well thats interesting.

Good find.
All views, comments, posts and opinions shared are entirely my own.

Post Reply