Dhcp6c configuration


the openwrt documentation says that the configuration for dhcp6c is in /etc/config/dhcp6c, this file is missing on turris. Where can I find the corresponding settings? E.g. where can I enable additional debug output for dhcp6c, or request a permanent, non temporary address form the dhcp6 server?

By default the turris uses dnsmasq and not WIDE-DHCPv6 (which doesn’t even exist as provided package) for dhcp: https://openwrt.org/docs/guide-user/base-system/dhcp_configuration?s[]=dnsmasq

I’m asking for the dhcp6 client (/usr/sbin/odhcp6c). odhcp6c -h lists for example the flag -v which increases log verbosity. The openwrt manual says that the configuration of this service is in /etc/config/dhcp6c, which does not exist on my turris and if I add it manually it seems to be ignored. I’d like to know where I can tell turris to launch odhcp6c with my desired flags.

Should be https://openwrt.org/docs/techref/odhcp6c

It is started by the process /sbin/netifd (openwrt network interface daemon https://openwrt.org/docs/techref/netifd) (validate by using htop and enable tree view)

Config probably happens with /lib/netifd/proto/qmi.sh which adds the protocol dhcpv6 which itself then is defined in/lib/netifd/proto/dhcpv6.sh.

That file seems to then get config parameters through call of json_get_vars(netifd api https://wiki.openwrt.org/doc/devel/network-scripting) and the parameter names and then adds the corresponding command line argument (function proto_dhcpv6_setup in that file).

TLDR> Config options are defined in /etc/config/network https://openwrt.org/docs/guide-user/network/ipv6/start