ppp command:
root@LEDE:~# ps ww | grep [p]pp
4418 root 1216 S /usr/sbin/pppd nodetach ipparam wan ifname pppoe-wan +ipv6 set AUTOIPV6=1 nodefaultroute usepeerdns maxfail 1 user SomeUserName password SomePassword ip-up-script /lib/netifd/ppp-up ipv6-up-script /lib/netifd/ppp6-up ip-down-script /lib/netifd/ppp-down ipv6-down-script /lib/netifd/ppp-down mtu 1492 mru 1492 plugin rp-pppoe.so nic-eth0.6
4535 root 1032 S odhcp6c -s /lib/netifd/dhcpv6.script -P0 -t120 pppoe-wan
ifstatus wan_6:
root@LEDE:~# ifstatus wan_6
{
"up": false,
"pending": true,
"available": true,
"autostart": true,
"dynamic": true,
"proto": "dhcpv6",
"device": "pppoe-wan",
"data": {
}
}
DHCPv6 support registered:
root@LEDE:~# ubus call network get_proto_handlers
{
"dhcp": {
"validate": {
"ipaddr": "ipaddr",
"hostname": "hostname",
"clientid": "string",
"vendorid": "string",
"broadcast": "bool",
"release": "bool",
"reqopts": "list(string)",
"defaultreqopts": "bool",
"iface6rd": "string",
"sendopts": "string",
"delegate": "bool",
"zone6rd": "string",
"zone": "string",
"mtu6rd": "string",
"customroutes": "string",
"classlessroute": "bool"
},
"immediate": false,
"no_device": false,
"init_available": false,
"renew_available": true,
"force_link_default": false,
"last_error": false,
"teardown_on_l3_link_down": false,
"no_task": false
},
"dhcpv6": {
"validate": {
"reqaddress": "or(\"try\",\"force\",\"none\")",
"reqprefix": "or(\"auto\",\"no\",range(0, 64))",
"clientid": "string",
"reqopts": "list(uinteger)",
"defaultreqopts": "bool",
"noslaaconly": "bool",
"forceprefix": "bool",
"extendprefix": "bool",
"norelease": "bool",
"ip6prefix": "ip6addr",
"iface_dslite": "string",
"zone_dslite": "string",
"iface_map": "string",
"zone_map": "string",
"iface_464xlat": "string",
"zone_464xlat": "string",
"zone": "string",
"ifaceid": "ip6addr",
"userclass": "string",
"vendorclass": "string",
"sendopts": "string",
"delegate": "bool",
"soltimeout": "uinteger",
"fakeroutes": "bool",
"sourcefilter": "bool",
"keep_ra_dnslifetime": "bool",
"ra_holdoff": "uinteger"
},
"immediate": false,
"no_device": false,
"init_available": false,
"renew_available": true,
"force_link_default": false,
"last_error": false,
"teardown_on_l3_link_down": false,
"no_task": false
},
"ppp": {
"validate": {
"device": "string",
"username": "string",
"password": "string",
"keepalive": "string",
"keepalive_adaptive": "bool",
"demand": "uinteger",
"pppd_options": "string",
"connect": "file",
"disconnect": "file",
"ipv6": "string",
"authfail": "bool",
"mtu": "uinteger",
"pppname": "string",
"unnumbered": "string",
"persist": "bool",
"maxfail": "uinteger",
"holdoff": "uinteger"
},
"immediate": false,
"no_device": true,
"init_available": true,
"renew_available": false,
"force_link_default": false,
"last_error": true,
"teardown_on_l3_link_down": false,
"no_task": false
},
"pppoe": {
"validate": {
"username": "string",
"password": "string",
"keepalive": "string",
"keepalive_adaptive": "bool",
"demand": "uinteger",
"pppd_options": "string",
"connect": "file",
"disconnect": "file",
"ipv6": "string",
"authfail": "bool",
"mtu": "uinteger",
"pppname": "string",
"unnumbered": "string",
"persist": "bool",
"maxfail": "uinteger",
"holdoff": "uinteger",
"ac": "string",
"service": "string",
"host_uniq": "string"
},
"immediate": false,
"no_device": false,
"init_available": false,
"renew_available": false,
"force_link_default": false,
"last_error": true,
"teardown_on_l3_link_down": false,
"no_task": false
},
"static": {
"validate": {
"ipaddr": "ip4addr",
"ip6addr": "ip6addr",
"netmask": "netmask",
"broadcast": "ipaddr",
"ptpaddr": "ip4addr",
"gateway": "ip4addr",
"ip6gw": "ip6addr",
"ip6prefix": "ip6addr",
"ip6deprecated": "bool"
},
"immediate": true,
"no_device": false,
"init_available": false,
"renew_available": false,
"force_link_default": true,
"last_error": false,
"teardown_on_l3_link_down": false,
"no_task": false
}
}