|
|
|
@ -70,6 +70,7 @@ struct nvram_tuple router_defaults[] = {
|
|
|
|
|
{ "wan_gateway_get", "0.0.0.0" , 0 }, // default gateway for PPP
|
|
|
|
|
{ "wan_dns", "" , 0 }, // x.x.x.x x.x.x.x ...
|
|
|
|
|
{ "wan_weight", "1" , 0 },
|
|
|
|
|
{ "wan_hilink_ip", "0.0.0.0" , 0 },
|
|
|
|
|
{ "wan_ckmtd", "2" , 0 },
|
|
|
|
|
|
|
|
|
|
{ "wan2_proto", "dhcp" , 0 }, // [static|dhcp|pppoe|disabled]
|
|
|
|
@ -81,6 +82,7 @@ struct nvram_tuple router_defaults[] = {
|
|
|
|
|
{ "wan2_hwname", "" , 0 }, // WAN driver name (e.g. et1)
|
|
|
|
|
{ "wan2_hwaddr", "" , 0 }, // WAN interface MAC address
|
|
|
|
|
{ "wan2_ifnameX", NULL , 0 }, // real wan if; see wan.c:start_wan
|
|
|
|
|
{ "wan2_hilink_ip", "0.0.0.0" , 0 },
|
|
|
|
|
{ "wan2_ckmtd", "2" , 0 },
|
|
|
|
|
|
|
|
|
|
#ifdef TCONFIG_MULTIWAN
|
|
|
|
@ -93,6 +95,7 @@ struct nvram_tuple router_defaults[] = {
|
|
|
|
|
{ "wan3_hwname", "" , 0 }, // WAN driver name (e.g. et1)
|
|
|
|
|
{ "wan3_hwaddr", "" , 0 }, // WAN interface MAC address
|
|
|
|
|
{ "wan3_ifnameX", NULL , 0 }, // real wan if; see wan.c:start_wan
|
|
|
|
|
{ "wan3_hilink_ip", "0.0.0.0" , 0 },
|
|
|
|
|
{ "wan3_ckmtd", "2" , 0 },
|
|
|
|
|
|
|
|
|
|
{ "wan4_proto", "dhcp" , 0 }, // [static|dhcp|pppoe|disabled]
|
|
|
|
@ -104,6 +107,7 @@ struct nvram_tuple router_defaults[] = {
|
|
|
|
|
{ "wan4_hwname" "" , 0 }, // WAN driver name (e.g. et1)
|
|
|
|
|
{ "wan4_hwaddr", "" , 0 }, // WAN interface MAC address
|
|
|
|
|
{ "wan4_ifnameX", NULL , 0 }, // real wan if; see wan.c:start_wan
|
|
|
|
|
{ "wan4_hilink_ip", "0.0.0.0" , 0 },
|
|
|
|
|
{ "wan4_ckmtd", "2" , 0 },
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|