Is OH4.2.2 dependant on IPv6?

I upgraded from OH 4.2.1 to 4.2.2 (using apt on RPi 3B+ Linux openhabian 6.6.51+rpt-rpi-v7 #1 SMP Raspbian 1:6.6.51-1+rpt2 (2024-10-01) armv7l GNU/Linux). I have IPv6 disabled by adding ipv6.disable=1 to /boot/firmware/cmdline.txt

Apart from needing to clear the OH cache to get everything working, the following lines were repeated in journalctl:

Oct 04 10:54:07 openhabian NetworkManager[550]: <warn>  [1728003247.2260] ipv6ll[29b0824b1690267d,ifindex=3]: changed: no IPv6 link local address to retry after Duplic>
Oct 04 10:54:43 openhabian NetworkManager[550]: <warn>  [1728003283.3768] platform-linux: do-add-ip6-address[3: fe80::ffe8:9ed1:96f8:9a18]: failure 95 (Operation not s>
Oct 04 10:54:45 openhabian NetworkManager[550]: <warn>  [1728003285.3799] platform-linux: do-add-ip6-address[3: fe80::14bd:d6ba:4d2b:cc3f]: failure 95 (Operation not s>
Oct 04 10:54:47 openhabian NetworkManager[550]: <warn>  [1728003287.3828] platform-linux: do-add-ip6-address[3: fe80::3538:26cd:b969:e724]: failure 95 (Operation not s>
Oct 04 10:54:49 openhabian NetworkManager[550]: <warn>  [1728003289.3859] platform-linux: do-add-ip6-address[3: fe80::117e:5f74:d5bc:1573]: failure 95 (Operation not s>
Oct 04 10:54:51 openhabian NetworkManager[550]: <warn>  [1728003291.3895] platform-linux: do-add-ip6-address[3: fe80::da06:cfe0:d38e:f9b]: failure 95 (Operation not su>
Oct 04 10:54:53 openhabian NetworkManager[550]: <warn>  [1728003293.3926] platform-linux: do-add-ip6-address[3: fe80::3ea8:d1db:7a83:d1e7]: failure 95 (Operation not s>
Oct 04 10:54:55 openhabian NetworkManager[550]: <warn>  [1728003295.3934] ipv6ll[29b0824b1690267d,ifindex=3]: changed: no IPv6 link local address to retry after Duplic>

and OH would not complete startup.

If I enabled IPv6 and rebooted, OH4.2.2 would startup OK.

Is this the expected behaviour?

Some add-ons require ipv6 including the upcoming Matter binding. But I didn’t think that OH core requires ipv6.

Those log messages are from the operating system, not from openHAB. openHABian is not openHAB. Is there anything in openHAB 's logs?

1 Like

OOPS. Thanks for pointing me in the right direction. I missed the subtlety in the log messages. The apt update must have updated NetworkManager (part of the OS) as well. OH4.2.2 was taking a long time to start-up due to the cache being cleared (which is normal). If I had have left it long enough, it would have started OK. This is NOT an OH issue.

For anyone else, if you strike this problem, you need to disable ipv6 on the interface in NetworkManager as well as in /boot/firmware/cmdline.txt using this command:

sudo nmcli d modify wlan0 ipv6.method "disabled"

Of course, change the interface name as per your system (I was disabling it on wlan0).

Thanks again for the excellent support. This is now closed.

I just disable IPv6 in my router so that I don’t have to mess with individual computers, mostly to simplify Pi-Hole configuration. However, I’ll have to figure out IPv6 with Pi-Hole now that Matter is close to being viable.