> I now need to find how to enable and debug the DHCPv6 client on the
> wan/wan6 interface...
Ok, odhcp6c does the job.
It is already launched:
odhcp6c -s /lib/netifd/dhcpv6.script -Nforce -P0 -t120 nas0
Adding "set -x" to the script leads to an error:
"
...
+ ubus call network.interface notify_proto { "action": 0, "link-up":
false, "keep": false, "interface": "" }
Command failed: Not found
"
Any idea how what does that mean ? Forcing the interface to an
existing interface, such as "wan6" makes the error disappears.
I think I do not get the meaning of the interface: there are nas0,
pppoe-wan, wan, wan6, ...
Running the same command on pppoe-wan rather than nas0 triggers many
more calls. It also seems that the DHCPv6 client gets some valid
replies from my ISP:
+ ubus call network.interface notify_proto { "action": 0, "link-up":
true, "data": { "passthru":
"00170020200141d00001e2b80000000000000001200141d0000301630000000000000001"
}, "keep": false, "routes6": [ { "target": "::", "netmask": "0",
"gateway": "fe80::230:88ff:fe04:63d4", "metric": 512, "valid": 1800,
"source": "2001:41d0:fe44:7d00::\/56" } ], "ip6prefix": [
"2001:41d0:fe44:7d00::\/56,86040,172440" ], "dns": [
"2001:41d0:1:e2b8::1", "2001:41d0:3:163::1" ], "interface": "wan6" }
Am I wrong ?
Thanks,
Manu
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users