openHABian has an option to enable/disable ipv6 in /etc/openhabian.conf
I don’t think it’s used at boot time, only during installation, but feel free to check the script source code in /opt/openhabian/functions/*.
Your post is an X-Y type of problem post.
You should not be asking about this param but rather tell us what your real problem is and why you want to have that value set …
In /etc/openhabian.conf I have set ipv6=enable, so it should be OK?
I use Openhab with Matter and the Matter documentation states that:
Enabling IPv6 Thread Connectivity on Linux Hosts
It is important to make sure that Route Announcements (RA) and Route Information Options (RIO) are enabled on your host so that Thread boarder routers can announce routes to the Thread network. This is done by setting the following sysctl options:
1. net.ipv6.conf.wlan0.accept_ra should be at least 1 if ip forwarding is not enabled, and 2 otherwise.
2. net.ipv6.conf.wlan0.accept_ra_rt_info_max_plen should not be smaller than 64.
the accept_ra is defaulted to 1 for most distributions.
There may be other network daemons which will override this option (for example, dhcpcd on Raspberry Pi will override accept_ra to 0).
…..
To make these changes permanent, add the following lines to /etc/sysctl.conf:
net.ipv6.conf.eth0.accept_ra=1
net.ipv6.conf.eth0.accept_ra_rt_info_max_plen=64
Raspberry Pi users may need to add the following lines to /etc/dhcpcd.conf to prevent dhcpcd from overriding the accept_ra value:
noipv6
noipv6rs
I have installed the system with Raspberry Pi Imager v1.9.6. and later updated to openHAB 5.1.0.M1.
Setting the accept_ra is necessary for a working Matter setup