source: src/router/services/sysinit/defaults.c @ 11416

Last change on this file since 11416 was 11416, checked in by BrainSlayer, 4 years ago

not required, its always ixp1

File size: 89.2 KB
Line 
1/*
2 * defaults.c
3 *
4 * Copyright (C) 2007 Sebastian Gottschall <gottschall@dd-wrt.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19 *
20 * $Id:
21 */
22
23#include <epivers.h>
24#include <string.h>
25#include <bcmnvram.h>
26#include <typedefs.h>
27#include <wlioctl.h>
28#include <stdio.h>
29#include <ezc.h>
30
31#include <code_pattern.h>
32#include <cy_conf.h>
33
34#define XSTR(s) STR(s)
35#define STR(s) #s
36
37#ifdef HAVE_SKYTEL
38#define HAVE_POWERNOC_WORT54G 1
39#define HAVE_POWERNOC 1
40#endif
41
42struct nvram_tuple srouter_defaults[] = {
43    // {"default_init","1",0},
44    {"nvram_ver", "3", 0},
45#ifdef HAVE_FON
46
47#ifdef HAVE_MSSID
48    {"fon_revision", "913", 0},
49#else
50    {"fon_revision", "13", 0},
51#endif
52    {"router_style", "fon", 0},
53#elif HAVE_GGEW
54    {"router_style", "blue", 0},
55#elif HAVE_CORENET
56    {"router_style", "corenet", 0},
57#elif HAVE_XIOCOM
58    {"router_style", "xiocom", 0},
59#elif HAVE_DDLAN
60    {"router_style", "blue", 0},
61#elif HAVE_CESAR
62    {"router_style", "cesar", 0},
63#elif HAVE_THOM
64    {"router_style", "orange", 0},
65#elif HAVE_BUFFALO
66    {"router_style", "buffalo", 0},
67#elif HAVE_3COM
68    {"router_style", "3com", 0},
69#elif HAVE_SPUTNIK
70    {"router_style", "red", 0},
71#elif HAVE_MAKSAT
72    {"router_style", "maksat", 0},
73#elif HAVE_ALFA_BRANDING
74    {"router_style", "xirian", 0},
75#else
76    {"router_style", "elegant", 0},
77#endif
78    /*
79     * OS parameters
80     */
81    {"os_name", "", 0},         /* OS name string */
82    {"os_version", EPI_VERSION_STR, 0}, /* OS revision */
83    {"os_date", __DATE__, 0},   /* OS date */
84    {"ct_modules", "", 0},      /* CyberTAN kernel modules */
85    {"wait_time", "5", 0},
86    /*
87     * Miscellaneous parameters
88     */
89    {"timer_interval", "3600", 0},      /* Timer interval in seconds */
90#ifdef BUFFALO_JP
91    {"daylight_time", "1", 0},  /* japan has no summertime option */
92    {"time_zone", "+09", 0},    /* Time zone (GNU TZ format) */
93#else
94    {"daylight_time", "3", 0},  /* Automatically adjust clock for daylight */
95    {"time_zone", "+01", 0},    /* Time zone (GNU TZ format) */
96#endif
97#ifdef HAVE_SKYTRON
98    {"ntp_server", "ntp0.fau.de", 0},   /* NTP server *//* Modify */
99#elif HAVE_DDLAN
100    {"ntp_server", "10.0.0.1", 0},      /* NTP server *//* Modify */
101#else
102    {"ntp_server", "", 0},      /* NTP server *//* Modify */
103#endif
104    {"refresh_time", "3", 0},   /* GUI Auto-Refresh interval */
105    {"log_level", "0", 0},      /* Bitmask 0:off 1:denied 2:accepted */
106
107#ifdef HAVE_UPNP
108#ifdef HAVE_SKYTRON
109    {"upnp_enable", "1", 0},    /* 0:Disable 1:Enable */
110#else
111    {"upnp_enable", "0", 0},    /* 0:Disable 1:Enable */
112#endif
113    { "upnp_config", "1", 0 },          /* Allow Users to Configure. 0:Disable 1:Enable */
114    { "upnp_internet_dis", "0", 0 },    /* Allow Users to Disable Internet Access. 0:Disable 1:Enable */
115    {"upnp_ssdp_interval", "60", 0},    /* SSDP interval */
116    {"upnp_max_age", "180", 0}, /* MAX age time */
117    {"upnpmnp", "0", 0},        /* UPnP URL */
118    {"upnpcas", "0", 0},        /* UPnP clear at startup */
119#endif
120
121    {"ezc_enable", "1", 0},     /* Enable EZConfig updates */
122    {"ezc_version", EZC_VERSION_STR, 0},        /* EZConfig version */
123    {"is_default", "1", 0},     /* is it default setting: 1:yes 0:no */
124    {"os_server", "", 0},       /* URL for getting upgrades */
125    {"stats_server", "", 0},    /* URL for posting stats */
126    {"console_loglevel", "1", 0},       /* Kernel panics only */
127
128    /*
129     * Big switches
130     */
131    // {"router_disable", "0", 0}, /* lan_proto=static lan_stp=0
132    // wan_proto=disabled */
133    {"fw_disable", "0", 0},     /* Disable firewall (allow new connections
134                                 * from the WAN) */
135
136    /*
137     * TCP/IP parameters
138     */
139    {"log_enable", "0", 0},     /* 0:Disable 1:Eanble *//* Add */
140    {"log_ipaddr", "0", 0},     /* syslog recipient */
141
142    /*
143     * LAN H/W parameters
144     */
145    {"lan_ifname", "", 0},      /* LAN interface name */
146    {"lan_ifnames", "", 0},     /* Enslaved LAN interfaces */
147    {"lan_hwnames", "", 0},     /* LAN driver names (e.g. et0) */
148    {"lan_hwaddr", "", 0},      /* LAN interface MAC address */
149#ifdef HAVE_MADWIFI
150    {"wl0_ifname", "ath0", 0},  /* LAN interface MAC address */
151#else
152    {"wl0_ifname", "eth1", 0},  /* LAN interface MAC address */
153#endif
154    /*
155     * LAN TCP/IP parameters
156     */
157#ifdef HAVE_POWERNOC_WOAP54G
158    {"lan_proto", "static", 0}, /* [static|dhcp] */
159#else
160    {"lan_proto", "dhcp", 0},   /* [static|dhcp] */
161#endif
162#ifdef HAVE_SKYTRON
163    {"lan_ipaddr", "192.168.0.1", 0},   /* LAN IP address */
164#elif HAVE_DDLAN
165#ifdef HAVE_NS5
166    {"ath0_regdomain", "GERMANY_BFWA", 0},      /* LAN IP address */
167    {"ath0_channelbw", "10", 0},        /* LAN IP address */
168#else
169    {"ath0_regdomain", "GERMANY", 0},   /* LAN IP address */
170#endif
171    {"lan_ipaddr", "192.168.1.1", 0},   /* LAN IP address */
172#elif HAVE_BUFFALO
173    {"lan_ipaddr", "192.168.11.1", 0},  /* LAN IP address */
174#elif HAVE_GGEW
175#ifdef HAVE_NS5
176    {"ath0_regdomain", "GERMANY_BFWA", 0},      /* LAN IP address */
177#elif HAVE_NS2
178    {"ath0_regdomain", "GERMANY", 0},   /* LAN IP address */
179#endif
180    {"lan_ipaddr", "192.168.1.1", 0},   /* LAN IP address */
181#elif HAVE_CORENET
182    {"ath0_regdomain", "UNITED_KINGDOM", 0},    /* LAN IP address */
183    {"lan_ipaddr", "192.168.1.1", 0},   /* LAN IP address */
184#elif HAVE_NEWMEDIA
185    {"lan_ipaddr", "172.31.28.3", 0},   /* LAN IP address */
186#elif HAVE_FON
187    {"lan_ipaddr", "192.168.10.1", 0},  /* LAN IP address */
188#elif HAVE_34TELECOM
189    {"lan_ipaddr", "192.168.1.4", 0},   /* LAN IP address */
190#elif HAVE_SPUTNIK
191    {"lan_ipaddr", "192.168.180.1", 0}, /* LAN IP address */
192#else
193    {"lan_ipaddr", "192.168.1.1", 0},   /* LAN IP address */
194#endif
195    {"lan_netmask", "255.255.255.0", 0},        /* LAN netmask */
196    {"lan_gateway", "0.0.0.0", 0},      /* LAN gateway */
197    {"sv_localdns", "0.0.0.0", 0},      /* Local DNS */
198#ifdef HAVE_SKYTRON
199    {"lan_stp", "0", 0},        /* LAN spanning tree protocol */
200#elif HAVE_MAKSAT
201    {"lan_stp", "0", 0},        /* LAN spanning tree protocol */
202#else
203    {"lan_stp", "0", 0},        /* LAN spanning tree protocol */
204#endif
205    {"lan_wins", "", 0},        /* x.x.x.x x.x.x.x ... */
206#ifdef HAVE_SKYTRON
207    {"lan_domain", "local", 0}, /* LAN domain name */
208#else
209    {"lan_domain", "", 0},      /* LAN domain name */
210#endif
211    {"lan_lease", "86400", 0},  /* LAN lease time in seconds */
212    // {"lan_lease", "1440", 0}, /* LAN lease time in seconds */
213
214    /*
215     * WAN H/W parameters
216     */
217
218    {"wan_ifname", "", 0},      /* WAN interface name */
219    {"wan_ifname2", "", 0},     /* WAN interface name (clone) */
220    {"wan_ifnames", "", 0},     /* WAN interface names */
221    {"wan_default", "", 0},     /* WAN interface names */
222    {"wan_hwname", "", 0},      /* WAN driver name (e.g. et1) */
223    {"wan_hwaddr", "", 0},      /* WAN interface MAC address */
224
225    /*
226     * WAN TCP/IP parameters
227     */
228    {"wan_vdsl", "0", 0},
229#ifdef HAVE_SKYTRON
230    {"wan_proto", "static", 0}, /* [static|dhcp|pppoe|disabled] */
231    {"wan_ipaddr", "10.254.254.254", 0},        /* WAN IP address */
232    {"wan_netmask", "255.0.0.0", 0},    /* WAN netmask */
233    {"wan_gateway", "10.0.0.1", 0},     /* WAN gateway */
234    {"wan_dns", "213.146.232.2 213.146.230.2", 0},      /* x.x.x.x x.x.x.x
235                                                         * ... */
236#elif HAVE_TRIMAX
237    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
238
239    {"wan_ipaddr", "0.0.0.0", 0},       /* WAN IP address */
240    {"wan_netmask", "0.0.0.0", 0},      /* WAN netmask */
241    {"wan_gateway", "0.0.0.0", 0},      /* WAN gateway */
242    {"wan_dns", "", 0},         /* x.x.x.x x.x.x.x ... */
243#elif HAVE_DDLAN
244    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
245
246    {"wan_ipaddr", "0.0.0.0", 0},       /* WAN IP address */
247    {"wan_netmask", "0.0.0.0", 0},      /* WAN netmask */
248    {"wan_gateway", "0.0.0.0", 0},      /* WAN gateway */
249    {"wan_dns", "", 0},         /* x.x.x.x x.x.x.x ... */
250#elif defined(HAVE_GGEW) && defined(HAVE_NS5)
251    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
252#elif defined(HAVE_GGEW) && defined(HAVE_NS2)
253    {"wan_proto", "pptp", 0},   /* [static|dhcp|pppoe|disabled] */
254#elif HAVE_X86
255#ifdef HAVE_GW700
256    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
257#else
258    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
259#endif
260#elif HAVE_MAGICBOX
261    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
262#elif HAVE_TW6600
263    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
264#elif HAVE_XSCALE
265#ifdef HAVE_SPUTNIK
266    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
267#elif HAVE_XIOCOM
268    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
269#else
270    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
271#endif
272#elif HAVE_DIR400
273    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
274#elif HAVE_DIR300
275    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
276#elif HAVE_FONERA
277    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
278#elif HAVE_NS2
279    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
280#elif HAVE_LS5
281    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
282#elif HAVE_LS2
283    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
284#elif HAVE_CA8
285    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
286#elif HAVE_RS
287    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
288#elif HAVE_LSX
289    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
290#elif HAVE_DANUBE
291    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
292#elif HAVE_STORM
293    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
294#elif HAVE_WP54G
295    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
296#elif HAVE_NP28G
297    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
298#elif HAVE_ECB9750
299    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
300#elif HAVE_ADM5120
301    {"wan_proto", "disabled", 0},       /* [static|dhcp|pppoe|disabled] */
302#else
303    {"wan_proto", "dhcp", 0},   /* [static|dhcp|pppoe|disabled] */
304
305#endif
306    {"wan_ipaddr", "0.0.0.0", 0},       /* WAN IP address */
307    {"wan_netmask", "0.0.0.0", 0},      /* WAN netmask */
308    {"wan_gateway", "0.0.0.0", 0},      /* WAN gateway */
309    {"wan_dns", "", 0},         /* x.x.x.x x.x.x.x ... */
310
311    {"wan_wins", "0.0.0.0", 0}, /* x.x.x.x x.x.x.x ... */
312
313#ifdef HAVE_SKYTRON
314    {"wan_hostname", "skymax254b", 0},  /* WAN hostname */
315    {"wan_domain", "local", 0}, /* WAN domain name */
316#else
317    {"wan_hostname", "", 0},    /* WAN hostname */
318    {"wan_domain", "", 0},      /* WAN domain name */
319#endif
320    {"wan_lease", "86400", 0},  /* WAN lease time in seconds */
321    {"static_route", "", 0},    /* Static routes
322                                 * (ipaddr:netmask:gateway:metric:ifname ...)
323                                 */
324    {"static_route_name", "", 0},       /* Static routes name ($NAME:name) */
325
326    {"ses_enable", "1", 0},     /* enable ses */
327    {"ses_event", "2", 0},      /* initial ses event */
328    {"ses_button", "0", 0},     /* Affect custom actions to SES Button - 0-3:
329                                 * nothing, reboot, enable/disable wireless,
330                                 * custom script */
331    {"ses_script", "", 0},      /* Custom script to launch when pushing SES
332                                 * Button */
333
334    {"wan_primary", "1", 0},    /* Primary wan connection */
335    {"wan_unit", "0", 0},       /* Last configured connection */
336
337    /*
338     * Filters
339     */
340    {"filter_maclist", "", 0},  /* xx:xx:xx:xx:xx:xx ... */
341    {"filter_macmode", "deny", 0},      /* "allow" only, "deny" only, or
342                                         * "disabled" (allow all) */
343    {"filter_client0", "", 0},  /* [lan_ipaddr0-lan_ipaddr1|*]:lan_port0-lan_port1,proto,enable,day_start-day_end,sec_start-sec_end,desc
344                                 */
345
346    {"filter_port", "", 0},     /* [lan_ipaddr|*]:lan_port0-lan_port1 */
347    {"filter_rule1", "", 0},    /* $STAT: $NAME:$$ */
348    {"filter_rule2", "", 0},    /* $STAT: $NAME:$$ */
349    {"filter_rule3", "", 0},    /* $STAT: $NAME:$$ */
350    {"filter_rule4", "", 0},    /* $STAT: $NAME:$$ */
351    {"filter_rule5", "", 0},    /* $STAT: $NAME:$$ */
352    {"filter_rule6", "", 0},    /* $STAT: $NAME:$$ */
353    {"filter_rule7", "", 0},    /* $STAT: $NAME:$$ */
354    {"filter_rule8", "", 0},    /* $STAT: $NAME:$$ */
355    {"filter_rule9", "", 0},    /* $STAT: $NAME:$$ */
356    {"filter_rule10", "", 0},   /* $STAT: $NAME:$$ */
357    {"filter_tod1", "", 0},     /* Filter Time of the day */
358    {"filter_tod2", "", 0},     /* Filter Time of the day */
359    {"filter_tod3", "", 0},     /* Filter Time of the day */
360    {"filter_tod4", "", 0},     /* Filter Time of the day */
361    {"filter_tod5", "", 0},     /* Filter Time of the day */
362    {"filter_tod6", "", 0},     /* Filter Time of the day */
363    {"filter_tod7", "", 0},     /* Filter Time of the day */
364    {"filter_tod8", "", 0},     /* Filter Time of the day */
365    {"filter_tod9", "", 0},     /* Filter Time of the day */
366    {"filter_tod10", "", 0},    /* Filter Time of the day */
367    {"filter_tod_buf1", "", 0}, /* Filter Time of the day */
368    {"filter_tod_buf2", "", 0}, /* Filter Time of the day */
369    {"filter_tod_buf3", "", 0}, /* Filter Time of the day */
370    {"filter_tod_buf4", "", 0}, /* Filter Time of the day */
371    {"filter_tod_buf5", "", 0}, /* Filter Time of the day */
372    {"filter_tod_buf6", "", 0}, /* Filter Time of the day */
373    {"filter_tod_buf7", "", 0}, /* Filter Time of the day */
374    {"filter_tod_buf8", "", 0}, /* Filter Time of the day */
375    {"filter_tod_buf9", "", 0}, /* Filter Time of the day */
376    {"filter_tod_buf10", "", 0},        /* Filter Time of the day */
377    {"filter_ip_grp1", "", 0},  /* Filter IP group 1 */
378    {"filter_ip_grp2", "", 0},  /* Filter IP group 1 */
379    {"filter_ip_grp3", "", 0},  /* Filter IP group 1 */
380    {"filter_ip_grp4", "", 0},  /* Filter IP group 1 */
381    {"filter_ip_grp5", "", 0},  /* Filter IP group 1 */
382    {"filter_ip_grp6", "", 0},  /* Filter IP group 1 */
383    {"filter_ip_grp7", "", 0},  /* Filter IP group 1 */
384    {"filter_ip_grp8", "", 0},  /* Filter IP group 1 */
385    {"filter_ip_grp9", "", 0},  /* Filter IP group 1 */
386    {"filter_ip_grp10", "", 0}, /* Filter IP group 1 */
387    {"filter_mac_grp1", "", 0}, /* Filter MAC group 1 */
388    {"filter_mac_grp2", "", 0}, /* Filter MAC group 1 */
389    {"filter_mac_grp3", "", 0}, /* Filter MAC group 1 */
390    {"filter_mac_grp4", "", 0}, /* Filter MAC group 1 */
391    {"filter_mac_grp5", "", 0}, /* Filter MAC group 1 */
392    {"filter_mac_grp6", "", 0}, /* Filter MAC group 1 */
393    {"filter_mac_grp7", "", 0}, /* Filter MAC group 1 */
394    {"filter_mac_grp8", "", 0}, /* Filter MAC group 1 */
395    {"filter_mac_grp9", "", 0}, /* Filter MAC group 1 */
396    {"filter_mac_grp10", "", 0},        /* Filter MAC group 1 */
397    {"filter_web_host1", "", 0},        /* Website Blocking by URL Address */
398    {"filter_web_host2", "", 0},        /* Website Blocking by URL Address */
399    {"filter_web_host3", "", 0},        /* Website Blocking by URL Address */
400    {"filter_web_host4", "", 0},        /* Website Blocking by URL Address */
401    {"filter_web_host5", "", 0},        /* Website Blocking by URL Address */
402    {"filter_web_host6", "", 0},        /* Website Blocking by URL Address */
403    {"filter_web_host7", "", 0},        /* Website Blocking by URL Address */
404    {"filter_web_host8", "", 0},        /* Website Blocking by URL Address */
405    {"filter_web_host9", "", 0},        /* Website Blocking by URL Address */
406    {"filter_web_host10", "", 0},       /* Website Blocking by URL Address */
407    {"filter_web_url1", "", 0}, /* Website Blocking by keyword */
408    {"filter_web_url2", "", 0}, /* Website Blocking by keyword */
409    {"filter_web_url3", "", 0}, /* Website Blocking by keyword */
410    {"filter_web_url4", "", 0}, /* Website Blocking by keyword */
411    {"filter_web_url5", "", 0}, /* Website Blocking by keyword */
412    {"filter_web_url6", "", 0}, /* Website Blocking by keyword */
413    {"filter_web_url7", "", 0}, /* Website Blocking by keyword */
414    {"filter_web_url8", "", 0}, /* Website Blocking by keyword */
415    {"filter_web_url9", "", 0}, /* Website Blocking by keyword */
416    {"filter_web_url10", "", 0},        /* Website Blocking by keyword */
417    {"filter_port_grp1", "", 0},        /* Blocked Services */
418    {"filter_port_grp2", "", 0},        /* Blocked Services */
419    {"filter_port_grp3", "", 0},        /* Blocked Services */
420    {"filter_port_grp4", "", 0},        /* Blocked Services */
421    {"filter_port_grp5", "", 0},        /* Blocked Services */
422    {"filter_port_grp6", "", 0},        /* Blocked Services */
423    {"filter_port_grp7", "", 0},        /* Blocked Services */
424    {"filter_port_grp8", "", 0},        /* Blocked Services */
425    {"filter_port_grp9", "", 0},        /* Blocked Services */
426    {"filter_port_grp10", "", 0},       /* Blocked Services */
427    {"filter_dport_grp1", "", 0},       /* Blocked Services */
428    {"filter_dport_grp2", "", 0},       /* Blocked Services */
429    {"filter_dport_grp3", "", 0},       /* Blocked Services */
430    {"filter_dport_grp4", "", 0},       /* Blocked Services */
431    {"filter_dport_grp5", "", 0},       /* Blocked Services */
432    {"filter_dport_grp6", "", 0},       /* Blocked Services */
433    {"filter_dport_grp7", "", 0},       /* Blocked Services */
434    {"filter_dport_grp8", "", 0},       /* Blocked Services */
435    {"filter_dport_grp9", "", 0},       /* Blocked Services */
436    {"filter_dport_grp10", "", 0},      /* Blocked Services */
437
438    /*
439     * Services List
440     */
441    {"filter_services", "", 0}, /* only user defined filters */
442    {"filter_services_1", "", 0},
443
444    /*
445     * Port forwards
446     */
447    {"dmz_enable", "0", 0},     /* Enable (1) or Disable (0) */
448    {"dmz_ipaddr", "0", 0},     /* x.x.x.x (equivalent to
449                                 * 0-60999>dmz_ipaddr:0-60999) */
450    {"autofw_port0", "", 0},    /* out_proto:out_port,in_proto:in_port0-in_port1>to_port0-to_port1,enable,desc
451                                 */
452
453    /*
454     * DHCP server parameters
455     */
456    {"dhcp_start", "100", 0},   /* First assignable DHCP address */
457    // { "dhcp_end", "150", 0 }, /* Last assignable DHCP address */ /* Remove
458    //
459    //
460    // */
461    {"dhcp_num", "50", 0},      /* Number of DHCP Users *//* Add */
462
463#ifdef HAVE_SKYTRON
464    {"dhcp_lease", "10", 0},    /* LAN lease time in minutes */
465#else
466    {"dhcp_lease", "1440", 0},  /* LAN lease time in minutes */
467#endif
468    {"dhcp_domain", "wan", 0},  /* Use WAN domain name first if available
469                                 * (wan|lan) */
470    {"dhcp_wins", "wan", 0},    /* Use WAN WINS first if available (wan|lan) */
471    {"wan_get_dns", "", 0},     /* DNS IP address which get by dhcpc *//* Add */
472
473    /*
474     * Web server parameters
475     */
476#ifdef HAVE_POWERNOC
477    {"http_username", "bJz7PcC1rCRJQ", 0},      /* Username */
478#else
479    {"http_username", "bJ/GddyoJuiU2", 0},      /* Username */
480#endif
481
482#ifdef HAVE_SKYTRON
483    {"skyhttp_username", "bJkMQXH.mZhZo", 0},   /* Username */
484    {"skyhttp_passwd", "bJkMQXH.mZhZo", 0},     /* Password */
485    {"http_passwd", "bJe0C3lwF.z0c", 0},        /* Password */
486#elif HAVE_NEWMEDIA
487#ifdef HAVE_GGEW
488    {"http_passwd", "bJz7PcC1rCRJQ", 0},        /* Password */
489#elif HAVE_KODATA
490    {"http_passwd", "bJDLObifZlIRQ", 0},        /* Password */
491#else
492    {"http_passwd", "bJxJZz5DYRGxI", 0},        /* Password */
493#endif
494#elif HAVE_CORENET
495    {"http_passwd", "$1$YwPEyUx/$LLV6oaeof4WDEdpHPEMpA.", 0},   /* Username */
496    {"http_username", "$1$9wWnpX1Q$1fobI1HcfeXewVtWCnhxh.", 0}, /* Password */
497#elif HAVE_DDLAN
498    {"http_passwd", "4DC5smu4lEiiQ", 0},        /* Password */
499#else
500    {"http_passwd", "bJz7PcC1rCRJQ", 0},        /* Password */
501#endif
502
503    {"remote_ip_any", "1", 0},  /* allowed remote ip */
504    {"remote_ip", "0.0.0.0 0", 0},      /* allowed remote ip range */
505    {"http_wanport", "8080", 0},        /* WAN port to listen on */
506    {"http_lanport", "80", 0},  /* LAN port to listen on */
507    {"http_enable", "1", 0},    /* HTTP server enable/disable */
508#ifdef HAVE_HTTPS
509    {"https_enable", "0", 0},   /* HTTPS server enable/disable */
510#endif
511    {"http_method", "post", 0}, /* HTTP method */
512#ifdef HAVE_SAGAR
513    {"web_wl_filter", "1", 0},  /* Allow/Deny Wireless Access Web */
514#else
515    {"web_wl_filter", "0", 0},  /* Allow/Deny Wireless Access Web */
516#endif
517    /*
518     * PPPoE parameters
519     */
520    {"pppoe_ifname", "", 0},    /* PPPoE enslaved interface */
521    {"ppp_username", "", 0},    /* PPP username */
522    {"ppp_passwd", "", 0},      /* PPP password */
523    {"ppp_idletime", "5", 0},   /* Dial on demand max idle time (mins) */
524    {"ppp_keepalive", "0", 0},  /* Restore link automatically */
525    {"ppp_demand", "0", 0},     /* Dial on demand */
526    {"ppp_redialperiod", "30", 0},      /* Redial Period (seconds) */
527    {"ppp_mru", "1500", 0},     /* Negotiate MRU to this value */
528    {"ppp_mtu", "1500", 0},     /* Negotiate MTU to the smaller of this value
529                                 * or the peer MRU */
530    {"ppp_service", "", 0},     /* PPPoE service name */
531    {"ppp_ac", "", 0},          /* PPPoE access concentrator name */
532    {"ppp_static", "0", 0},     /* Enable / Disable Static IP */
533    {"ppp_static_ip", "", 0},   /* PPPoE Static IP */
534    {"ppp_get_ac", "", 0},      /* PPPoE Server ac name */
535    {"ppp_get_srv", "", 0},     /* PPPoE Server service name */
536    {"ppp_compression", "0", 0},        /* PPPoE compr. */
537    {"ppp_mppe", "", 0},        /* PPPoE mppe parameters */
538
539    /*
540     * Wireless parameters
541     */
542
543#ifdef HAVE_MSSID
544    {"wl0_nbw", "20", 0},       /* N-BW */
545    {"wl0_nctrlsb", "lower", 0},        /* N-CTRL SB */
546    {"wl0_nband", "2", 0},      /* N-BAND */
547    {"wl0_nmcsidx", "-1", 0},   /* N-MCS Index - rate */
548    {"wl0_nmode", "-1", 0},     /* N-mode */
549    {"wl0_nreqd", "0", 0},      /* Require 802.11n support */
550    {"wl0_vlan_prio_mode", "off", 0},   /* VLAN Priority support */
551    {"wl0_leddc", "0x640000", 0},       /* 100% duty cycle for LED on router */
552    {"wl_rxstreams", "0", 0},   /* 802.11n Rx Streams, 0 is invalid, WLCONF will
553                                 * change it to a radio appropriate default
554                                 */
555    {"wl_txstreams", "0", 0},   /* 802.11n Tx Streams 0, 0 is invalid, WLCONF will
556                                 * change it to a radio appropriate default
557                                 */
558    {"wl0_sta_retry_time", "5", 0},     /* 100% duty cycle for LED on router */
559#endif
560#ifdef HAVE_DDLAN
561    {"wl_distance", "2000", 0}, /* ack timing, distance in meters */
562#else
563    {"wl_distance", "2000", 0}, /* ack timing, distance in meters */
564#endif
565    {"wl_ifname", "", 0},       /* Interface name */
566    {"wl_hwaddr", "", 0},       /* MAC address */
567    {"wl_phytype", "g", 0},     /* Current wireless band ("a" (5 GHz), "b" *
568     * * (2.4 GHz), or "g" (2.4 GHz)) *//*
569     * Modify
570     */
571    {"wl_corerev", "", 0},      /* Current core revision */
572    {"wl_phytypes", "", 0},     /* List of supported wireless bands (e.g.
573                                 * "ga") */
574    {"wl_radioids", "", 0},     /* List of radio IDs */
575    {"wl_shortslot", "auto", 0},
576#ifdef HAVE_WTS
577    {"wl_ssid", "www.wts.com.ve", 0},   /* Service set ID (network name) */
578#elif HAVE_DDLAN
579    {"wl_ssid", "www.ddlan.de", 0},     /* Service set ID (network name) */
580#elif HAVE_SKYTEL
581    {"wl_ssid", "skytel", 0},   /* Service set ID (network name) */
582#elif HAVE_POWERNOC
583    {"wl_ssid", "powernoc", 0}, /* Service set ID (network name) */
584#elif HAVE_SKYTRON
585    {"wl_ssid", "SKYTRON Network", 0},  /* Service set ID (network name) */
586#elif HAVE_SAGAR
587    {"wl_ssid", "hotspot-internet", 0}, /* Service set ID (network name) */
588#elif HAVE_CORENET
589    {"wl_ssid", "corenet", 0},  /* Service set ID (network name) */
590#elif defined(HAVE_GGEW) && !defined(HAVE_NS5) && !defined(HAVE_NS2)
591    {"wl_ssid", "GGEWnet-WLAN", 0},     /* Service set ID (network name) */
592#elif HAVE_NEWMEDIA  && !defined(HAVE_NS5) && !defined(HAVE_NS2)
593    {"wl_ssid", "changeme", 0}, /* Service set ID (network name) */
594#elif HAVE_MAKSAT
595    {"wl_ssid", "maksat", 0},   /* Service set ID (network name) */
596#elif HAVE_34TELECOM
597    {"wl_ssid", "Lobo", 0},     /* Service set ID (network name) */
598#elif HAVE_FON
599#ifdef HAVE_MSSID
600    {"wl_ssid", "FON_INIT", 0}, /* Service set ID (network name) */
601#else
602    {"wl_ssid", "FON_HotSpot", 0},      /* Service set ID (network name) */
603#endif
604#else
605#ifdef HAVE_MSSID
606
607#ifdef HAVE_MADWIFI
608#ifdef HAVE_MAKSAT
609    {"show_hidden", "1", 0},
610    {"ath_regulatory", "0", 0},
611    {"ath0_ssid", "maksat", 0}, /* Service set ID (network name) */
612#else
613    {"ath_regulatory", "1", 0},
614#ifdef HAVE_BUFFALO
615    {"wl0_ssid", "BUFFALO", 0}, /* Service set ID (network name) */
616    {"ath0_ssid", "BUFFALO", 0},        /* Service set ID (network name) */
617#elif defined(HAVE_TRIMAX)
618    {"wl0_ssid", "trimax", 0},  /* Service set ID (network name) */
619    {"ath0_ssid", "trimax", 0}, /* Service set ID (network name) */
620#elif defined(HAVE_GGEW) && defined(HAVE_NS5)
621    {"ath0_ssid", "GGEWnet-WLAN", 0},   /* Service set ID (network name) */
622#elif defined(HAVE_GGEW) && defined(HAVE_NS2)
623    {"ath0_ssid", "GGEWnet-WLAN", 0},   /* Service set ID (network name) */
624#elif defined(HAVE_CORENET)
625    {"ath0_ssid", "corenet", 0},        /* Service set ID (network name) */
626#elif defined(HAVE_DDLAN)
627    {"wl0_ssid", "www.ddlan.de", 0},    /* Service set ID (network name) */
628    {"ath0_ssid", "www.ddlan.de", 0},   /* Service set ID (network name) */
629#else
630    {"wl0_ssid", "dd-wrt", 0},  /* Service set ID (network name) */
631    {"ath0_ssid", "dd-wrt", 0}, /* Service set ID (network name) */
632#endif
633
634#endif
635    {"ath0.1_ssid", "", 0},     /* Service set ID (network name) */
636    {"ath0.2_ssid", "", 0},     /* Service set ID (network name) */
637    {"ath0.3_ssid", "", 0},     /* Service set ID (network name) */
638    {"ath0_bridged", "1", 0},   /* Service set ID (network name) */
639    {"ath0.1_bridged", "1", 0}, /* Service set ID (network name) */
640    {"ath0.2_bridged", "1", 0}, /* Service set ID (network name) */
641    {"ath0.3_bridged", "1", 0}, /* Service set ID (network name) */
642    {"ath0_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
643    {"ath0.1_ipaddr", "0.0.0.0", 0},    /* Service set ID (network name) */
644    {"ath0.2_ipaddr", "0.0.0.0", 0},    /* Service set ID (network name) */
645    {"ath0.3_ipaddr", "0.0.0.0", 0},    /* Service set ID (network name) */
646    {"ath0_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
647    {"ath0.1_netmask", "0.0.0.0", 0},   /* Service set ID (network name) */
648    {"ath0.2_netmask", "0.0.0.0", 0},   /* Service set ID (network name) */
649    {"ath0.3_netmask", "0.0.0.0", 0},   /* Service set ID (network name) */
650#else
651#ifdef HAVE_BUFFALO
652    {"wl_ssid", "BUFFALO", 0},  /* Service set ID (network name) */
653    {"wl0_ssid", "BUFFALO", 0}, /* Service set ID (network name) */
654#else
655    {"wl_ssid", "dd-wrt", 0},   /* Service set ID (network name) */
656    {"wl0_ssid", "dd-wrt", 0},  /* Service set ID (network name) */
657#endif
658    {"wl0.1_ssid", "", 0},      /* Service set ID (network name) */
659    {"wl0.2_ssid", "", 0},      /* Service set ID (network name) */
660    {"wl0.3_ssid", "", 0},      /* Service set ID (network name) */
661    {"wl0_bridged", "1", 0},    /* Service set ID (network name) */
662    {"wl0.1_bridged", "1", 0},  /* Service set ID (network name) */
663    {"wl0.2_bridged", "1", 0},  /* Service set ID (network name) */
664    {"wl0.3_bridged", "1", 0},  /* Service set ID (network name) */
665    {"wl0_ipaddr", "0.0.0.0", 0},       /* Service set ID (network name) */
666    {"wl0.1_ipaddr", "0.0.0.0", 0},     /* Service set ID (network name) */
667    {"wl0.2_ipaddr", "0.0.0.0", 0},     /* Service set ID (network name) */
668    {"wl0.3_ipaddr", "0.0.0.0", 0},     /* Service set ID (network name) */
669    {"wl0_netmask", "0.0.0.0", 0},      /* Service set ID (network name) */
670    {"wl0.1_netmask", "0.0.0.0", 0},    /* Service set ID (network name) */
671    {"wl0.2_netmask", "0.0.0.0", 0},    /* Service set ID (network name) */
672    {"wl0.3_netmask", "0.0.0.0", 0},    /* Service set ID (network name) */
673#endif
674#else
675#ifdef HAVE_BUFFALO
676    {"wl_ssid", "BUFFALO", 0},  /* Service set ID (network name) */
677#else
678    {"wl_ssid", "dd-wrt", 0},   /* Service set ID (network name) */
679#endif
680#endif
681
682#endif
683#ifdef HAVE_NEWMEDIA
684    {"wl_radio", "1", 0},       /* Enable (1) or disable (0) radio */
685#else
686#ifdef HAVE_MADWIFI
687    {"ath0_radio", "1", 0},     /* Enable (1) or disable (0) radio */
688    {"ath0_closed", "0", 0},    /* Closed (hidden) network */
689    {"ath1_radio", "1", 0},     /* Enable (1) or disable (0) radio */
690    {"ath1_closed", "0", 0},    /* Closed (hidden) network */
691    {"ath2_radio", "1", 0},     /* Enable (1) or disable (0) radio */
692    {"ath2_closed", "0", 0},    /* Closed (hidden) network */
693    {"ath3_radio", "1", 0},     /* Enable (1) or disable (0) radio */
694    {"ath3_closed", "0", 0},    /* Closed (hidden) network */
695    {"ath4_radio", "1", 0},     /* Enable (1) or disable (0) radio */
696    {"ath4_closed", "0", 0},    /* Closed (hidden) network */
697    {"ath5_radio", "1", 0},     /* Enable (1) or disable (0) radio */
698    {"ath5_closed", "0", 0},    /* Closed (hidden) network */
699#else
700    {"wl_radio", "1", 0},       /* Enable (1) or disable (0) radio */
701#ifdef HAVE_MSSID
702    {"wl0_radio", "1", 0},      /* Enable (1) or disable (0) radio */
703    {"wl0_closed", "0", 0},     /* Closed (hidden) network */
704    {"wl0.1_closed", "0", 0},   /* Closed (hidden) network */
705    {"wl0.2_closed", "0", 0},   /* Closed (hidden) network */
706    {"wl0.3_closed", "0", 0},   /* Closed (hidden) network */
707#else
708    {"wl_closed", "0", 0},      /* Closed (hidden) network */
709#endif
710
711#endif
712
713#endif
714
715#ifdef HAVE_SAGAR
716    {"wl_ap_isolate", "1", 0},  /* AP isolate mode */
717#elif HAVE_FON
718    {"wl_ap_isolate", "1", 0},  /* AP isolate mode */
719#else
720    {"wl_ap_isolate", "0", 0},  /* AP isolate mode */
721#endif
722#ifdef HAVE_POWERNOC_WORT54G
723    {"wl_mode", "sta", 0},      /* AP mode (ap|sta|wet|infra) */
724    {"wl0_mode", "sta", 0},     /* AP mode (ap|sta|wds) */
725#elif HAVE_SKYTRON
726    {"wl_mode", "sta", 0},
727    {"wl0_mode", "sta", 0},
728#elif HAVE_GGEW && !defined(HAVE_NS5) && !defined(HAVE_NS2)
729    {"wl_mode", "sta", 0},
730    {"wl0_mode", "sta", 0},
731#else
732
733#ifdef HAVE_MSSID
734
735#ifdef HAVE_FON
736    {"wl_mode", "apsta", 0},
737    {"wl0_mode", "apsta", 0},
738    {"wl_vifs", "wl0.1", 0},
739    {"wl0_vifs", "wl0.1", 0},
740    {"wl0.1_ssid", "FON", 0},
741#else
742#ifndef HAVE_MADWIFI
743    {"wl_mode", "ap", 0},       /* AP mode (ap|sta|wet|infra) */
744    {"wl0_mode", "ap", 0},      /* AP mode (ap|sta|wet|infra) */
745#else
746#ifdef HAVE_DDLAN
747    {"wl_mode", "sta", 0},      /* AP mode (ap|sta|wet|infra) */
748#elif defined(HAVE_GGEW) && defined(HAVE_NS5)
749    {"wl_mode", "sta", 0},      /* AP mode (ap|sta|wds) */
750#elif defined(HAVE_GGEW) && defined(HAVE_NS2)
751    {"wl_mode", "sta", 0},      /* AP mode (ap|sta|wds) */
752#elif HAVE_TRIMAX
753    {"wl_mode", "sta", 0},      /* AP mode (ap|sta|wet|infra) */
754#else
755    {"wl_mode", "ap", 0},       /* AP mode (ap|sta|wet|infra) */
756#endif
757    {"ath0_channelbw", "20", 0},        /* AP mode (ap|sta|wds) */
758    {"ath1_channelbw", "20", 0},        /* AP mode (ap|sta|wds) */
759    {"ath2_channelbw", "20", 0},        /* AP mode (ap|sta|wds) */
760    {"ath3_channelbw", "20", 0},        /* AP mode (ap|sta|wds) */
761    {"ath4_channelbw", "20", 0},        /* AP mode (ap|sta|wds) */
762    {"ath5_channelbw", "20", 0},        /* AP mode (ap|sta|wds) */
763
764#ifdef HAVE_DDLAN
765    {"ath0_mode", "sta", 0},    /* AP mode (ap|sta|wds) */
766#elif defined(HAVE_GGEW) && defined(HAVE_NS5)
767    {"ath0_mode", "sta", 0},    /* AP mode (ap|sta|wds) */
768#elif defined(HAVE_GGEW) && defined(HAVE_NS2)
769    {"ath0_mode", "sta", 0},    /* AP mode (ap|sta|wds) */
770#elif HAVE_TRIMAX
771    {"ath0_mode", "sta", 0},    /* AP mode (ap|sta|wds) */
772#else
773    {"ath0_mode", "ap", 0},     /* AP mode (ap|sta|wds) */
774    {"ath1_mode", "ap", 0},     /* AP mode (ap|sta|wds) */
775    {"ath2_mode", "ap", 0},     /* AP mode (ap|sta|wds) */
776    {"ath3_mode", "ap", 0},     /* AP mode (ap|sta|wds) */
777    {"ath4_mode", "ap", 0},     /* AP mode (ap|sta|wds) */
778    {"ath5_mode", "ap", 0},     /* AP mode (ap|sta|wds) */
779#endif
780    {"ath0_xr", "0", 0},        /* AP mode (ap|sta|wds) */
781    {"ath1_xr", "0", 0},        /* AP mode (ap|sta|wds) */
782    {"ath2_xr", "0", 0},        /* AP mode (ap|sta|wds) */
783    {"ath3_xr", "0", 0},        /* AP mode (ap|sta|wds) */
784    {"ath4_xr", "0", 0},        /* AP mode (ap|sta|wds) */
785    {"ath5_xr", "0", 0},        /* AP mode (ap|sta|wds) */
786#endif
787#endif
788#else
789    {"wl_mode", "ap", 0},       /* AP mode (ap|sta|wet|infra) */
790#endif
791#endif
792#ifdef HAVE_MADWIFI
793    {"ath0_lazywds", "0", 0},   /* Enable "lazy" WDS mode (0|1) */
794    {"ath1_lazywds", "0", 0},   /* Enable "lazy" WDS mode (0|1) */
795    {"ath2_lazywds", "0", 0},   /* Enable "lazy" WDS mode (0|1) */
796    {"ath3_lazywds", "0", 0},   /* Enable "lazy" WDS mode (0|1) */
797#else
798    {"wl_lazywds", "0", 0},     /* Enable "lazy" WDS mode (0|1) */
799#endif
800    {"wl_wds", "", 0},          /* xx:xx:xx:xx:xx:xx ... */
801    {"wl_wep", "disabled", 0},  /* Data encryption (off|wep|tkip|aes) */
802#ifndef HAVE_MADWIFI
803#ifdef HAVE_MSSID
804    {"wl_crypto", "off", 0},    /* Data encryption (off|wep|tkip|aes) */
805    {"wl_auth", "0", 0},        /* Shared key authentication optional (0) or
806                                 * required (1) */
807    {"wl0_crypto", "off", 0},   /* Data encryption (off|wep|tkip|aes) */
808    {"wl0_auth", "0", 0},       /* Shared key authentication optional (0) or
809                                 * required (1) */
810    {"wl0_key", "1", 0},        /* Current WEP key */
811    {"wl0_key1", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
812    {"wl0_key2", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
813    {"wl0_key3", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
814    {"wl0_key4", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
815
816    {"wl0.1_crypto", "off", 0}, /* Data encryption (off|wep|tkip|aes) */
817    {"wl0.1_auth", "0", 0},     /* Shared key authentication optional (0) or
818                                 * required (1) */
819    {"wl0.1_key", "1", 0},      /* Current WEP key */
820    {"wl0.1_key1", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
821    {"wl0.1_key2", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
822    {"wl0.1_key3", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
823    {"wl0.1_key4", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
824
825    {"wl0.2_crypto", "off", 0}, /* Data encryption (off|wep|tkip|aes) */
826    {"wl0.2_auth", "0", 0},     /* Shared key authentication optional (0) or
827                                 * required (1) */
828    {"wl0.2_key", "1", 0},      /* Current WEP key */
829    {"wl0.2_key1", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
830    {"wl0.2_key2", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
831    {"wl0.2_key3", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
832    {"wl0.2_key4", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
833
834    {"wl0.3_crypto", "off", 0}, /* Data encryption (off|wep|tkip|aes) */
835    {"wl0.3_auth", "0", 0},     /* Shared key authentication optional (0) or
836                                 * required (1) */
837    {"wl0.3_key", "1", 0},      /* Current WEP key */
838    {"wl0.3_key1", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
839    {"wl0.3_key2", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
840    {"wl0.3_key3", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
841    {"wl0.3_key4", "", 0},      /* 5/13 char ASCII or 10/26 char hex */
842#else
843    {"wl_crypto", "off", 0},    /* Data encryption (off|wep|tkip|aes) */
844    {"wl_auth", "0", 0},        /* Shared key authentication optional (0) or
845                                 * required (1) */
846    {"wl_key", "1", 0},         /* Current WEP key */
847    {"wl_key1", "", 0},         /* 5/13 char ASCII or 10/26 char hex */
848    {"wl_key2", "", 0},         /* 5/13 char ASCII or 10/26 char hex */
849    {"wl_key3", "", 0},         /* 5/13 char ASCII or 10/26 char hex */
850    {"wl_key4", "", 0},         /* 5/13 char ASCII or 10/26 char hex */
851#endif
852#endif
853    {"wl_macmode", "disabled", 0},      /* "allow" only, "deny" only, or
854                                         * "disabled" (allow all) */
855    {"wl_macmode1", "disabled", 0},     /* "disabled" or "other" for WEBB *//* Add */
856#ifdef HAVE_MADWIFI
857    {"ath0_channel", "0", 0},   /* Channel number */
858    {"ath1_channel", "0", 0},   /* Channel number */
859#else
860
861#ifdef HAVE_MSSID
862    {"wl0_channel", "6", 0},    /* Channel number */
863#else
864    {"wl_channel", "6", 0},     /* Channel number */
865#endif
866
867#endif
868    {"wl_reg_mode", "off", 0},  /* Regulatory: 802.11H(h)/802.11D(d)/off(off)
869                                 */
870    {"wl_dfs_preism", "60", 0}, /* 802.11H pre network CAC time */
871    {"wl_dfs_postism", "60", 0},        /* 802.11H In Service Monitoring CAC
872                                         * time */
873    {"wl_rate", "0", 0},        /* Rate (bps, 0 for auto) */
874    {"wl_mrate", "0", 0},       /* Mcast Rate (bps, 0 for auto) */
875    {"wl_rateset", "default", 0},       /* "default" or "all" or "12" */
876    {"wl_frag", "2346", 0},     /* Fragmentation threshold */
877#ifdef HAVE_POWERNOC_WORT54G
878    {"wl_rts", "65", 0},        /* RTS threshold */
879#else
880    {"wl_rts", "2347", 0},      /* RTS threshold */
881#endif
882    {"wl_dtim", "1", 0},        /* DTIM period (3.11.5) *//* It is best value for WiFi test */
883    {"wl_bcn", "100", 0},       /* Beacon interval */
884    {"wl_plcphdr", "long", 0},  /* 802.11b PLCP preamble type */
885
886#ifdef HAVE_GGEW
887    {"wl_net_mode", "b-only", 0},       /* Wireless mode
888                                         * (mixed|g-only|b-only|disable) */
889    {"wl0_net_mode", "b-only", 0},      /* Wireless mode
890                                         * (mixed|g-only|b-only|disable) */
891#elif HAVE_NEWMEDIA
892    {"wl_net_mode", "disabled", 0},     /* Wireless mode
893                                         * (mixed|g-only|b-only|disable) */
894    {"wl0_net_mode", "disabled", 0},    /* Wireless mode
895                                         * (mixed|g-only|b-only|disable) */
896#elif HAVE_DDLAN
897#ifdef HAVE_NS5
898    {"ath0_net_mode", "a-only", 0},
899    {"wl0_net_mode", "a-only", 0},      /* Wireless mode
900                                         * (mixed|g-only|b-only|disable) */
901#else
902    {"ath0_net_mode", "b-only", 0},
903    {"wl0_net_mode", "b-only", 0},      /* Wireless mode
904                                         * (mixed|g-only|b-only|disable) */
905#endif
906#else
907    {"wl_net_mode", "mixed", 0},        /* Wireless mode
908                                         * (mixed|g-only|b-only|disable) */
909    {"wl0_net_mode", "mixed", 0},       /* Wireless mode
910                                         * (mixed|g-only|b-only|disable) */
911#endif
912
913#ifndef HAVE_MSSID
914#ifdef HAVE_SAGAR
915    {"wl_gmode", XSTR( GMODE_LEGACY_B ), 0},    /* 54g mode */
916#elif HAVE_GGEW
917    {"wl_gmode", "0", 0},       /* 54g mode */
918#elif HAVE_NEWMEDIA
919    {"wl_gmode", "-1", 0},      /* 54g mode */
920#else
921    {"wl_gmode", XSTR( GMODE_AUTO ), 0},        /* 54g mode */
922#endif
923#else
924#ifdef HAVE_SAGAR
925    {"wl0_gmode", XSTR( GMODE_LEGACY_B ), 0},   /* 54g mode */
926#elif HAVE_GGEW
927    {"wl0_gmode", "0", 0},      /* 54g mode */
928#elif HAVE_NEWMEDIA
929    {"wl0_gmode", "-1", 0},     /* 54g mode */
930#else
931    {"wl0_gmode", XSTR( GMODE_AUTO ), 0},       /* 54g mode */
932#endif
933#endif
934
935#ifdef HAVE_MSSID
936    {"wl_gmode_protection", "auto", 0}, /* 802.11g RTS/CTS protection
937                                         * (off|auto) */
938    {"wl_nmode_protection", "auto", 0}, /* 802.11g RTS/CTS protection
939                                         * (off|auto) */
940#else
941    {"wl_gmode_protection", "off", 0},  /* 802.11g RTS/CTS protection
942                                         * (off|auto) */
943#endif
944#ifdef HAVE_SKYTEL
945    {"wl_frameburst", "on", 0}, /* BRCM Frambursting mode (off|on) */
946#elif HAVE_GGEW
947    {"wl_frameburst", "on", 0}, /* BRCM Frambursting mode (off|on) */
948#else
949    {"wl_frameburst", "off", 0},        /* BRCM Frambursting mode (off|on) */
950#endif
951
952    {"wl_infra", "1", 0},       /* Network Type (BSS/IBSS) */
953
954    {"wl_passphrase", "", 0},   /* Passphrase *//* Add */
955    {"wl_wep_bit", "64", 0},    /* WEP encryption [64 | 128] *//* Add */
956    {"wl_wep_buf", "", 0},      /* save all settings for web *//* Add */
957    {"wl_wep_gen", "", 0},      /* save all settings for generate button *//* Add */
958    {"wl_wep_last", "", 0},     /* Save last wl_wep mode *//* Add */
959    {"wl_active_mac", "", 0},   /* xx:xx:xx:xx:xx:xx ... *//* Add */
960    {"wl_mac_list", "", 0},     /* filter MAC *//* Add */
961    {"wl_mac_deny", "", 0},     /* filter MAC *//* Add */
962
963    /*
964     * WPA parameters
965     */
966    {"security_mode", "disabled", 0},   /* WPA mode
967                                         * (disabled|radius|wpa|psk|wep) for
968     * * * WEB *//*
969     * Add
970     */
971    {"security_mode_last", "", 0},      /* Save last WPA mode *//* Add */
972#ifndef HAVE_MADWIFI
973#ifdef HAVE_MSSID
974    {"wl0_auth_mode", "disabled", 0},   /* WPA mode (disabled|radius|wpa|psk)
975                                         */
976    {"wl0_akm", "disabled", 0},
977    {"wl0_wpa_psk", "", 0},     /* WPA pre-shared key */
978    {"wl0_wpa_gtk_rekey", "3600", 0},   /* WPA GTK rekey interval *//* Modify */
979    {"wl0_radius_port", "1812", 0},     /* RADIUS server UDP port */
980    {"wl0_radius_ipaddr", "", 0},       /* RADIUS server IP address */
981    {"wl0_radius_key", "", 0},  /* RADIUS shared secret */
982    {"wl0_security_mode", "disabled", 0},       /* WPA mode */
983
984    {"wl0.1_auth_mode", "disabled", 0}, /* WPA mode (disabled|radius|wpa|psk)
985                                         */
986    {"wl0.1_akm", "disabled", 0},
987    {"wl0.1_wpa_psk", "", 0},   /* WPA pre-shared key */
988    {"wl0.1_wpa_gtk_rekey", "3600", 0}, /* WPA GTK rekey interval *//* Modify */
989    {"wl0.1_radius_port", "1812", 0},   /* RADIUS server UDP port */
990    {"wl0.1_radius_ipaddr", "", 0},     /* RADIUS server IP address */
991    {"wl0.1_radius_key", "", 0},        /* RADIUS shared secret */
992
993    {"wl0.2_auth_mode", "disabled", 0}, /* WPA mode (disabled|radius|wpa|psk)
994                                         */
995    {"wl0.2_akm", "disabled", 0},
996    {"wl0.2_wpa_psk", "", 0},   /* WPA pre-shared key */
997    {"wl0.2_wpa_gtk_rekey", "3600", 0}, /* WPA GTK rekey interval *//* Modify */
998    {"wl0.2_radius_port", "1812", 0},   /* RADIUS server UDP port */
999    {"wl0.2_radius_ipaddr", "", 0},     /* RADIUS server IP address */
1000    {"wl0.2_radius_key", "", 0},        /* RADIUS shared secret */
1001
1002    {"wl0.3_auth_mode", "disabled", 0}, /* WPA mode (disabled|radius|wpa|psk)
1003                                         */
1004    {"wl0.3_akm", "disabled", 0},
1005    {"wl0.3_wpa_psk", "", 0},   /* WPA pre-shared key */
1006    {"wl0.3_wpa_gtk_rekey", "3600", 0}, /* WPA GTK rekey interval *//* Modify */
1007    {"wl0.3_radius_port", "1812", 0},   /* RADIUS server UDP port */
1008    {"wl0.3_radius_ipaddr", "", 0},     /* RADIUS server IP address */
1009    {"wl0.3_radius_key", "", 0},        /* RADIUS shared secret */
1010#else
1011    {"wl_auth_mode", "disabled", 0},    /* WPA mode (disabled|radius|wpa|psk)
1012                                         */
1013    {"wl_akm", "disabled", 0},
1014    {"wl_wpa_psk", "", 0},      /* WPA pre-shared key */
1015    {"wl_wpa_gtk_rekey", "3600", 0},    /* WPA GTK rekey interval *//* Modify */
1016    {"wl_radius_port", "1812", 0},      /* RADIUS server UDP port */
1017    {"wl_radius_ipaddr", "", 0},        /* RADIUS server IP address */
1018    {"wl_radius_key", "", 0},   /* RADIUS shared secret */
1019#endif
1020
1021#else
1022    {"ath0_auth_mode", "disabled", 0},  /* WPA mode (disabled|radius|wpa|psk)
1023                                         */
1024    {"ath0_akm", "disabled", 0},
1025    {"ath0_wpa_psk", "", 0},    /* WPA pre-shared key */
1026    {"ath0_wpa_gtk_rekey", "3600", 0},  /* WPA GTK rekey interval *//* Modify */
1027    {"ath0_radius_port", "1812", 0},    /* RADIUS server UDP port */
1028    {"ath0_radius_ipaddr", "", 0},      /* RADIUS server IP address */
1029    {"ath0_radius_key", "", 0}, /* RADIUS shared secret */
1030
1031    {"ath1_wpa_gtk_rekey", "3600", 0},  /* WPA GTK rekey interval *//* Modify */
1032    {"ath1_radius_port", "1812", 0},    /* RADIUS server UDP port */
1033    {"ath1_auth_mode", "disabled", 0},  /* WPA mode (disabled|radius|wpa|psk)
1034                                         */
1035    {"ath1_akm", "disabled", 0},
1036    {"ath1_wpa_psk", "", 0},    /* WPA pre-shared key */
1037    {"ath1_radius_ipaddr", "", 0},      /* RADIUS server IP address */
1038    {"ath1_radius_key", "", 0}, /* RADIUS shared secret */
1039
1040    {"ath2_wpa_gtk_rekey", "3600", 0},  /* WPA GTK rekey interval *//* Modify */
1041    {"ath2_radius_port", "1812", 0},    /* RADIUS server UDP port */
1042    {"ath2_auth_mode", "disabled", 0},  /* WPA mode (disabled|radius|wpa|psk)
1043                                         */
1044    {"ath2_akm", "disabled", 0},
1045    {"ath2_wpa_psk", "", 0},    /* WPA pre-shared key */
1046    {"ath2_radius_ipaddr", "", 0},      /* RADIUS server IP address */
1047    {"ath2_radius_key", "", 0}, /* RADIUS shared secret */
1048
1049    {"ath3_wpa_gtk_rekey", "3600", 0},  /* WPA GTK rekey interval *//* Modify */
1050    {"ath3_radius_port", "1812", 0},    /* RADIUS server UDP port */
1051    {"ath3_auth_mode", "disabled", 0},  /* WPA mode (disabled|radius|wpa|psk)
1052                                         */
1053    {"ath3_akm", "disabled", 0},
1054    {"ath3_wpa_psk", "", 0},    /* WPA pre-shared key */
1055    {"ath3_radius_ipaddr", "", 0},      /* RADIUS server IP address */
1056    {"ath3_radius_key", "", 0}, /* RADIUS shared secret */
1057
1058    {"ath4_wpa_gtk_rekey", "3600", 0},  /* WPA GTK rekey interval *//* Modify */
1059    {"ath4_radius_port", "1812", 0},    /* RADIUS server UDP port */
1060    {"ath4_auth_mode", "disabled", 0},  /* WPA mode (disabled|radius|wpa|psk)
1061                                         */
1062    {"ath4_akm", "disabled", 0},
1063    {"ath4_wpa_psk", "", 0},    /* WPA pre-shared key */
1064    {"ath4_radius_ipaddr", "", 0},      /* RADIUS server IP address */
1065    {"ath4_radius_key", "", 0}, /* RADIUS shared secret */
1066    {"ath5_wpa_gtk_rekey", "3600", 0},  /* WPA GTK rekey interval *//* Modify */
1067    {"ath5_radius_port", "1812", 0},    /* RADIUS server UDP port */
1068    {"ath5_auth_mode", "disabled", 0},  /* WPA mode (disabled|radius|wpa|psk)
1069                                         */
1070    {"ath5_akm", "disabled", 0},
1071    {"ath5_wpa_psk", "", 0},    /* WPA pre-shared key */
1072    {"ath5_radius_ipaddr", "", 0},      /* RADIUS server IP address */
1073    {"ath5_radius_key", "", 0}, /* RADIUS shared secret */
1074    {"ath0_8021xtype", "peap", 0},
1075    {"ath1_8021xtype", "peap", 0},
1076    {"ath2_8021xtype", "peap", 0},
1077    {"ath3_8021xtype", "peap", 0},
1078    {"ath4_8021xtype", "peap", 0},
1079    {"ath5_8021xtype", "peap", 0},
1080#endif
1081    {"wl0_radius_override", "1", 0},    // overrides radius if server is
1082    // unavailable
1083    {"wl0_max_unauth_users", "0", 0},   // overrides radius if server is
1084    // unavailable
1085    {"wl0_radmacpassword", "0", 0},     // overrides radius if server is
1086    // unavailable
1087#ifdef HAVE_SKYTEL
1088    {"wl_afterburner", "auto", 0},      /* Afterburner/Speedbooster */
1089#else
1090    {"wl_afterburner", "off", 0},       /* Afterburner/Speedbooster */
1091#endif
1092    {"wl_unit", "0", 0},        /* Last configured interface */
1093
1094    /*
1095     * Restore defaults
1096     */
1097    {"restore_defaults", "0", 0},       /* Set to 0 to not restore defaults
1098                                         * on boot */
1099
1100    // //////////////////////////////////////
1101#ifdef HAVE_WTS
1102    {"router_name", "WTS", 0},  /* Router name string */
1103#elif  HAVE_SKYTEL
1104    {"router_name", "ST54G", 0},
1105#elif  HAVE_CORENET
1106    {"router_name", "core-packet", 0},
1107#elif  HAVE_POWERNOC_WORT54G
1108    {"router_name", "WORT54G", 0},
1109#elif  HAVE_POWERNOC_WOAP54G
1110    {"router_name", "WOAP54G", 0},
1111#elif  HAVE_SKYTRON
1112    {"router_name", "skymax254b", 0},
1113#elif  HAVE_34TELECOM
1114    {"router_name", "MiuraBasic", 0},
1115#elif  HAVE_MAKSAT
1116    {"router_name", "MAKSAT", 0},
1117#elif  HAVE_TRIMAX
1118    {"router_name", "TRIMAX", 0},
1119#elif  HAVE_DDLAN
1120    {"router_name", "WDSL-Modem XXX", 0},
1121#else
1122    {"router_name", MODEL_NAME, 0},     /* Router name string */
1123#endif
1124    {"ntp_mode", "auto", 0},    /* NTP server [manual | auto] */
1125    {"pptp_server_ip", "", 0},  /* as same as WAN gateway */
1126    {"pptp_get_ip", "", 0},     /* IP Address assigned by PPTP server */
1127
1128    /*
1129     * for firewall
1130     */
1131
1132#ifdef HAVE_SKYTRON
1133    {"filter", "off", 0},       /* Firewall Protection [on|off] */
1134    {"block_wan", "0", 0},      /* Block WAN Request [1|0] */
1135    {"block_ident", "0", 0},    /* Block IDENT passthrough [1|0] */
1136    {"block_proxy", "0", 0},    /* Block Proxy [1|0] */
1137    {"block_java", "0", 0},     /* Block Java [1|0] */
1138    {"block_activex", "0", 0},  /* Block ActiveX [1|0] */
1139    {"block_cookie", "0", 0},   /* Block Cookie [1|0] */
1140    {"block_multicast", "1", 0},        /* Multicast Pass Through [1|0] */
1141    {"block_loopback", "0", 0}, /* Block NAT loopback [1|0] */
1142    {"ipsec_pass", "1", 0},     /* IPSec Pass Through [1|0] */
1143    {"pptp_pass", "1", 0},      /* PPTP Pass Through [1|0] */
1144    {"l2tp_pass", "1", 0},      /* L2TP Pass Through [1|0] */
1145    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1146#elif HAVE_SAGAR
1147    {"filter", "off", 0},       /* Firewall Protection [on|off] */
1148    {"block_wan", "0", 0},      /* Block WAN Request [1|0] */
1149    {"block_ident", "0", 0},    /* Block IDENT passthrough [1|0] */
1150    {"block_proxy", "0", 0},    /* Block Proxy [1|0] */
1151    {"block_java", "0", 0},     /* Block Java [1|0] */
1152    {"block_activex", "0", 0},  /* Block ActiveX [1|0] */
1153    {"block_cookie", "0", 0},   /* Block Cookie [1|0] */
1154    {"block_multicast", "1", 0},        /* Multicast Pass Through [1|0] */
1155    {"block_loopback", "0", 0}, /* Block NAT loopback [1|0] */
1156    {"ipsec_pass", "1", 0},     /* IPSec Pass Through [1|0] */
1157    {"pptp_pass", "1", 0},      /* PPTP Pass Through [1|0] */
1158    {"l2tp_pass", "1", 0},      /* L2TP Pass Through [1|0] */
1159    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1160#elif HAVE_DDLAN
1161    {"filter", "off", 0},       /* Firewall Protection [on|off] */
1162    {"block_wan", "0", 0},      /* Block WAN Request [1|0] */
1163    {"block_ident", "0", 0},    /* Block IDENT passthrough [1|0] */
1164    {"block_proxy", "0", 0},    /* Block Proxy [1|0] */
1165    {"block_java", "0", 0},     /* Block Java [1|0] */
1166    {"block_activex", "0", 0},  /* Block ActiveX [1|0] */
1167    {"block_cookie", "0", 0},   /* Block Cookie [1|0] */
1168    {"block_multicast", "1", 0},        /* Multicast Pass Through [1|0] */
1169    {"block_loopback", "0", 0}, /* Block NAT loopback [1|0] */
1170    {"ipsec_pass", "1", 0},     /* IPSec Pass Through [1|0] */
1171    {"pptp_pass", "1", 0},      /* PPTP Pass Through [1|0] */
1172    {"l2tp_pass", "1", 0},      /* L2TP Pass Through [1|0] */
1173    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1174#elif HAVE_MAKSAT
1175    {"filter", "off", 0},       /* Firewall Protection [on|off] */
1176    {"block_wan", "0", 0},      /* Block WAN Request [1|0] */
1177    {"block_ident", "0", 0},    /* Block IDENT passthrough [1|0] */
1178    {"block_proxy", "0", 0},    /* Block Proxy [1|0] */
1179    {"block_java", "0", 0},     /* Block Java [1|0] */
1180    {"block_activex", "0", 0},  /* Block ActiveX [1|0] */
1181    {"block_cookie", "0", 0},   /* Block Cookie [1|0] */
1182    {"block_multicast", "1", 0},        /* Multicast Pass Through [1|0] */
1183    {"block_loopback", "0", 0}, /* Block NAT loopback [1|0] */
1184    {"ipsec_pass", "1", 0},     /* IPSec Pass Through [1|0] */
1185    {"pptp_pass", "1", 0},      /* PPTP Pass Through [1|0] */
1186    {"l2tp_pass", "1", 0},      /* L2TP Pass Through [1|0] */
1187#else
1188    {"filter", "on", 0},        /* Firewall Protection [on|off] */
1189    {"block_wan", "1", 0},      /* Block WAN Request [1|0] */
1190    {"block_ident", "1", 0},    /* Block IDENT passthrough [1|0] */
1191    {"block_proxy", "0", 0},    /* Block Proxy [1|0] */
1192    {"block_java", "0", 0},     /* Block Java [1|0] */
1193    {"block_activex", "0", 0},  /* Block ActiveX [1|0] */
1194    {"block_cookie", "0", 0},   /* Block Cookie [1|0] */
1195    {"block_multicast", "1", 0},        /* Multicast Pass Through [1|0] */
1196    {"block_loopback", "0", 0}, /* Block NAT loopback [1|0] */
1197    {"ipsec_pass", "1", 0},     /* IPSec Pass Through [1|0] */
1198    {"pptp_pass", "1", 0},      /* PPTP Pass Through [1|0] */
1199    {"l2tp_pass", "1", 0},      /* L2TP Pass Through [1|0] */
1200#ifdef HAVE_DDLAN
1201    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1202#elif HAVE_GGEW
1203    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1204#elif HAVE_MAGICBOX
1205    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1206#elif HAVE_XSCALE
1207    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1208#elif HAVE_FONERA
1209    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1210#elif HAVE_LS2
1211    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1212#elif HAVE_LS5
1213    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1214#elif HAVE_WHRAG108
1215    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1216#elif HAVE_TW6600
1217    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1218#elif HAVE_CA8
1219    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1220#elif HAVE_RB500
1221    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1222#elif HAVE_X86
1223    {"remote_management", "1", 0},      /* Remote Management [1|0] */
1224#else
1225    {"remote_management", "0", 0},      /* Remote Management [1|0] */
1226#endif
1227#endif
1228#ifdef HAVE_SAGAR
1229    {"remote_mgt_https", "1", 0},       /* Remote Management use https [1|0] */// add
1230#elif HAVE_HTTPS
1231    {"remote_mgt_https", "0", 0},       /* Remote Management use https [1|0] */// add
1232#endif
1233
1234    {"mtu_enable", "0", 0},     /* WAN MTU [1|0] */
1235    {"wan_mtu", "1500", 0},     /* Negotiate MTU to the smaller of this value
1236                                 * or the peer MRU */
1237
1238    /*
1239     * for forward
1240     */
1241    {"forward_port", "", 0},    /* name:[on|off]:[tcp|udp|both]:wan_port>lan_ipaddr:lan_port0
1242                                 */
1243    {"forward_spec", "", 0},    /* name:[on|off]:[tcp|udp|both]:wan_port>lan_ipaddr:lan_port0
1244                                 */
1245
1246    {"port_trigger", "", 0},    /* name:[on|off]:[tcp|udp|both]:wan_port0-wan_port1>lan_port0-lan_port1
1247                                 */
1248
1249    /*
1250     * for dynamic route
1251     */
1252#ifdef HAVE_DDLAN
1253    {"wk_mode", "zero", 0},     /* Network mode [gateway|router] */
1254#elif HAVE_MAKSAT
1255    {"wk_mode", "router", 0},   /* Network mode [gateway|router] */
1256#else
1257    {"wk_mode", "gateway", 0},  /* Network mode [gateway|router] */
1258#endif
1259    {"dr_setting", "0", 0},     /* [ Disable | WAN | LAN | Both ] */
1260    {"dr_lan_tx", "0", 0},      /* Dynamic-Routing LAN out */
1261    {"dr_lan_rx", "0", 0},      /* Dynamic-Routing LAN in */
1262    {"dr_wan_tx", "0", 0},      /* Dynamic-Routing WAN out */
1263    {"dr_wan_rx", "0", 0},      /* Dynamic-Routing WAN in */
1264
1265    /*
1266     * for mac clone
1267     */
1268    {"mac_clone_enable", "0", 0},       /* User define WAN interface MAC
1269                                         * address */
1270    {"def_hwaddr", "00:00:00:00:00:00", 0},     /* User define WAN interface
1271                                                 * MAC address */
1272
1273    /*
1274     * for mac addresses
1275     */
1276    {"port_swap", "0", 0},      /* used to set mac addresses from et0macaddr
1277                                 * or et1macaddr */
1278
1279    /*
1280     * for DDNS
1281     */
1282    // for dyndns
1283    {"ddns_enable", "0", 0},    /* 0:Disable 1:dyndns 2:afraid 3:zoneedit
1284                                 * 4:no-ip 5:custom 6:3322.org */
1285    {"ddns_username", "", 0},
1286    {"ddns_passwd", "", 0},
1287    {"ddns_hostname", "", 0},
1288    {"ddns_dyndnstype", "", 0},
1289    {"ddns_wildcard", "", 0},
1290    // for afraid.org
1291    {"ddns_username_2", "", 0},
1292    {"ddns_passwd_2", "", 0},
1293    {"ddns_hostname_2", "", 0},
1294    // for zoneedit
1295    {"ddns_username_3", "", 0},
1296    {"ddns_passwd_3", "", 0},
1297    {"ddns_hostname_3", "", 0},
1298    // for no-ip
1299    {"ddns_username_4", "", 0},
1300    {"ddns_passwd_4", "", 0},
1301    {"ddns_hostname_4", "", 0},
1302    // for custom
1303    {"ddns_username_5", "", 0},
1304    {"ddns_passwd_5", "", 0},
1305    {"ddns_hostname_5", "", 0},
1306    {"ddns_custom_5", "", 0},
1307    {"ddns_conf", "", 0},
1308    {"ddns_url", "", 0},
1309    // for 3322.org
1310    {"ddns_username_6", "", 0},
1311    {"ddns_passwd_6", "", 0},
1312    {"ddns_hostname_6", "", 0},
1313    {"ddns_dyndnstype_6", "", 0},
1314    {"ddns_wildcard_6", "", 0},
1315    // for easyDNS.com
1316    {"ddns_username_7", "", 0},
1317    {"ddns_passwd_7", "", 0},
1318    {"ddns_hostname_7", "", 0},
1319    {"ddns_wildcard_7", "", 0},
1320    // for tzo.com
1321    {"ddns_username_8", "", 0},
1322    {"ddns_passwd_8", "", 0},
1323    {"ddns_hostname_8", "", 0},
1324
1325    /*
1326     * for last value
1327     */
1328    {"ddns_enable_buf", "", 0},
1329    {"ddns_username_buf", "", 0},
1330    {"ddns_passwd_buf", "", 0},
1331    {"ddns_hostname_buf", "", 0},
1332    {"ddns_force", "10", 0},
1333    {"ddns_cache", "", 0},      /* DDNS cache */
1334    {"ddns_time", "", 0},       /* DDNS time */
1335
1336    /*
1337     * for AOL
1338     */
1339    {"aol_block_traffic", "0", 0},      /* 0:Disable 1:Enable for global */
1340    {"aol_block_traffic1", "0", 0},     /* 0:Disable 1:Enable for
1341                                         * "ppp_username" */
1342    {"aol_block_traffic2", "0", 0},     /* 0:Disable 1:Enable for "Parental
1343                                         * control" */
1344    {"skip_amd_check", "0", 0}, /* 0:Disable 1:Enable */
1345    {"skip_intel_check", "0", 0},       /* 0:Disable 1:Enable */
1346
1347    {"l2tp_server_ip", "", 0},  /* L2TP auth server (IP Address) */
1348    {"l2tp_get_ip", "", 0},     /* IP Address assigned by L2TP server */
1349    {"wan_gateway_buf", "0.0.0.0", 0},  /* save the default gateway for DHCP */
1350
1351    {"hb_server_ip", "", 0},    /* heartbeat auth server (IP Address) */
1352    {"hb_server_domain", "", 0},        /* heartbeat auth server (domain
1353                                         * name) */
1354    // #ifdef HAVE_SAMBA
1355    {"samba_mount", "0", 0},    // leave this in all versions, or will
1356    // produce error on info or status_router
1357    // pages; Eko
1358#ifdef HAVE_SAMBA
1359    {"samba_share", "//yourserverip/yourshare", 0},
1360    {"samba_user", "username/computer", 0},
1361    {"samba_password", "iwer573495u7340", 0},
1362    {"samba_script", "yourscript", 0},
1363#endif
1364    {"rflow_enable", "0", 0},
1365    {"status_auth", "1", 0},
1366    {"info_passwd", "0", 0},
1367    {"macupd_enable", "0", 0},
1368    {"wl_radauth", "0", 0},
1369    {"rc_startup", "", 0},
1370    {"rc_firewall", "", 0},
1371    {"rc_custom", "", 0},
1372    {"rc_shutdown", "", 0},
1373#ifdef HAVE_MADWIFI
1374    {"ath0_txpwrdbm", "20", 0},
1375    {"ath1_txpwrdbm", "20", 0},
1376    {"ath2_txpwrdbm", "20", 0},
1377    {"ath3_txpwrdbm", "20", 0},
1378    {"ath4_txpwrdbm", "20", 0},
1379    {"ath5_txpwrdbm", "20", 0},
1380#else
1381#ifdef HAVE_POWERNOC
1382    {"wl0_txpwr", "200", 0},
1383#elif HAVE_DDLAN
1384    {"wl0_txpwr", "100", 0},
1385#elif HAVE_SKYTRON
1386    {"wl0_txpwr", "251", 0},
1387#elif HAVE_SAGAR
1388    {"wl0_txpwr", "100", 0},
1389#else
1390    {"wl0_txpwr", "70", 0},
1391#endif
1392
1393#endif
1394#ifdef HAVE_GGEW
1395    {"txant", "0", 0},
1396    {"wl_antdiv", "0", 0},
1397#elif HAVE_BUFFALO
1398    {"wl0_txant", "0", 0},
1399    {"wl0_antdiv", "3", 0},
1400    {"wl1_txant", "0", 0},
1401    {"wl1_antdiv", "3", 0},
1402#elif HAVE_ALLNETWRT
1403    {"wl0_txant", "0", 0},
1404    {"wl0_antdiv", "0", 0},
1405#else
1406    {"wl0_txant", "3", 0},
1407    {"wl0_antdiv", "3", 0},
1408    {"wl1_txant", "3", 0},
1409    {"wl1_antdiv", "3", 0},
1410#endif
1411
1412    {"apwatchdog_enable", "0", 0},
1413    {"apwatchdog_interval", "15", 0},
1414    {"boot_wait", "on", 0},
1415#ifdef HAVE_SKYTEL
1416    {"cron_enable", "0", 0},
1417#elif HAVE_WRK54G
1418    {"cron_enable", "0", 0},
1419#else
1420    {"cron_enable", "1", 0},
1421#endif
1422    {"cron_jobs", "", 0},
1423    {"dhcpd_options", "", 0},
1424    {"dhcpd_usenvram", "0", 0},
1425    {"local_dns", "0", 0},
1426#ifdef HAVE_POWERNOC_WOAP54G
1427    {"dnsmasq_enable", "0", 0},
1428#elif HAVE_FON
1429    {"dnsmasq_enable", "0", 0},
1430#elif HAVE_WRK54G
1431    {"dnsmasq_enable", "0", 0},
1432    // #elif HAVE_ADM5120
1433    // {"dnsmasq_enable", "0", 0},
1434#else
1435    {"dnsmasq_enable", "1", 0},
1436#endif
1437    {"dnsmasq_options", "", 0},
1438#ifdef HAVE_POWERNOC_WOAP54G
1439    {"nas_enable", "0", 0},
1440#else
1441    {"nas_enable", "1", 0},
1442#endif
1443    // #ifdef HAVE_DDLAN
1444    // {"ntp_enable", "0", 0},
1445    // #else
1446    {"ntp_enable", "1", 0},
1447    // #endif
1448    {"pptpd_enable", "0", 0},
1449    {"pptpd_bcrelay", "1", 0},
1450    {"pptpd_lip", "", 0},
1451    {"pptpd_rip", "", 0},
1452    {"pptpd_auth", "", 0},
1453    {"pptpd_radius", "0", 0},
1454    {"pptpd_radserver", "0.0.0.0", 0},
1455    {"pptpd_radport", "1812", 0},
1456    {"pptpd_acctport", "1813", 0},
1457    {"pptpd_radpass", "", 0},
1458#ifdef HAVE_GGEW
1459    {"pptp_encrypt", "1", 0},
1460#else
1461    {"pptp_encrypt", "0", 0},
1462#endif
1463    {"resetbutton_enable", "1", 0},
1464#ifdef HAVE_SKYTRON
1465    {"telnetd_enable", "0", 0},
1466#elif HAVE_GGEW
1467    {"telnetd_enable", "0", 0},
1468#elif HAVE_WRK54G
1469    {"telnetd_enable", "0", 0},
1470#elif HAVE_ADM5120
1471    {"telnetd_enable", "0", 0},
1472#else
1473    {"telnetd_enable", "1", 0},
1474#endif
1475    {"ipv6_enable", "0", 0},
1476    {"radvd_enable", "0", 0},
1477    {"radvd_conf", "", 0},
1478#ifdef HAVE_CHILLI
1479    {"chilli_net", "192.168.182.0/24", 0},
1480    {"chilli_enable", "0", 0},
1481    {"chilli_nowifibridge", "0", 0},
1482    {"chilli_url", "", 0},
1483    {"chilli_radius", "0.0.0.0", 0},
1484    {"chilli_backup", "0.0.0.0", 0},
1485    {"chilli_pass", "", 0},
1486    {"chilli_dns1", "0.0.0.0", 0},
1487    {"chilli_interface", "br0", 0},
1488    {"chilli_radiusnasid", "", 0},
1489    {"chilli_uamsecret", "", 0},
1490    {"chilli_uamanydns", "0", 0},
1491    {"chilli_uamallowed", "", 0},
1492    {"chilli_macauth", "0", 0},
1493    {"chilli_additional", "", 0},
1494#endif
1495#ifdef HAVE_SSHD
1496
1497#ifdef HAVE_SKYTEL
1498    {"sshd_enable", "0", 0},
1499#elif HAVE_GGEW
1500    {"sshd_enable", "1", 0},
1501#elif HAVE_XIOCOM
1502    {"sshd_enable", "1", 0},
1503#elif HAVE_34TELECOM
1504    {"sshd_enable", "1", 0},
1505#elif HAVE_POWERNOC
1506    {"sshd_enable", "1", 0},
1507#elif HAVE_SAGAR
1508    {"sshd_enable", "1", 0},
1509#elif HAVE_SKYTRON
1510    {"sshd_enable", "1", 0},
1511#elif HAVE_MAGICBOX
1512    {"sshd_enable", "1", 0},
1513#elif HAVE_WHRAG108
1514    {"sshd_enable", "1", 0},
1515#elif HAVE_TW6600
1516    {"sshd_enable", "0", 0},
1517#elif HAVE_CA8
1518    {"sshd_enable", "1", 0},
1519#elif HAVE_X86
1520    {"sshd_enable", "1", 0},
1521#elif HAVE_NEWMEDIA
1522    {"sshd_enable", "1", 0},
1523#elif HAVE_MAKSAT
1524    {"sshd_enable", "1", 0},
1525#else
1526    {"sshd_enable", "0", 0},
1527#endif
1528    {"sshd_forwarding", "0", 0},
1529    {"sshd_port", "22", 0},
1530    {"sshd_passwd_auth", "1", 0},
1531    {"sshd_rsa_host_key", "", 0},
1532    {"sshd_dss_host_key", "", 0},
1533    {"sshd_authorized_keys", "", 0},
1534#ifdef HAVE_MAGICBOX
1535    {"remote_mgt_ssh", "1", 0},
1536#elif HAVE_FONERA
1537    {"remote_mgt_ssh", "1", 0},
1538#elif HAVE_LS2
1539    {"remote_mgt_ssh", "1", 0},
1540#elif HAVE_LS5
1541    {"remote_mgt_ssh", "1", 0},
1542#elif HAVE_MAKSAT
1543    {"remote_mgt_ssh", "1", 0},
1544#elif HAVE_WHRAG108
1545    {"remote_mgt_ssh", "1", 0},
1546#elif HAVE_TW6600
1547    {"remote_mgt_ssh", "0", 0},
1548#elif HAVE_CA8
1549    {"remote_mgt_ssh", "1", 0},
1550#elif HAVE_X86
1551    {"remote_mgt_ssh", "1", 0},
1552#else
1553    {"remote_mgt_ssh", "0", 0},
1554#endif
1555    {"sshd_wanport", "22", 0},  /* Botho 03-05-2006 : WAN port to listen on */
1556#else /* micro build - use telnet remote mgmt */
1557    {"remote_mgt_telnet", "0", 0},
1558    {"telnet_wanport", "23", 0},        /* WAN port to listen on */
1559#endif
1560    {"syslogd_enable", "0", 0},
1561    {"syslogd_rem_ip", "", 0},
1562#ifndef HAVE_MADWIFI
1563    {"wl0_wds1_enable", "0", 0},
1564    {"wl0_wds2_enable", "0", 0},
1565    {"wl0_wds3_enable", "0", 0},
1566    {"wl0_wds4_enable", "0", 0},
1567    {"wl0_wds5_enable", "0", 0},
1568    {"wl0_wds6_enable", "0", 0},
1569    {"wl0_wds7_enable", "0", 0},
1570    {"wl0_wds8_enable", "0", 0},
1571    {"wl0_wds9_enable", "0", 0},
1572    {"wl0_wds10_enable", "0", 0},
1573
1574    {"wl0_wds1_hwaddr", "", 0},
1575    {"wl0_wds2_hwaddr", "", 0},
1576    {"wl0_wds3_hwaddr", "", 0},
1577    {"wl0_wds4_hwaddr", "", 0},
1578    {"wl0_wds5_hwaddr", "", 0},
1579    {"wl0_wds6_hwaddr", "", 0},
1580    {"wl0_wds7_hwaddr", "", 0},
1581    {"wl0_wds8_hwaddr", "", 0},
1582    {"wl0_wds9_hwaddr", "", 0},
1583    {"wl0_wds10_hwaddr", "", 0},
1584
1585    {"wl0_wds1_ipaddr", "", 0},
1586    {"wl0_wds2_ipaddr", "", 0},
1587    {"wl0_wds3_ipaddr", "", 0},
1588    {"wl0_wds4_ipaddr", "", 0},
1589    {"wl0_wds5_ipaddr", "", 0},
1590    {"wl0_wds6_ipaddr", "", 0},
1591    {"wl0_wds7_ipaddr", "", 0},
1592    {"wl0_wds8_ipaddr", "", 0},
1593    {"wl0_wds9_ipaddr", "", 0},
1594    {"wl0_wds10_ipaddr", "", 0},
1595
1596    {"wl0_wds1_netmask", "", 0},
1597    {"wl0_wds2_netmask", "", 0},
1598    {"wl0_wds3_netmask", "", 0},
1599    {"wl0_wds4_netmask", "", 0},
1600    {"wl0_wds5_netmask", "", 0},
1601    {"wl0_wds6_netmask", "", 0},
1602    {"wl0_wds7_netmask", "", 0},
1603    {"wl0_wds8_netmask", "", 0},
1604    {"wl0_wds9_netmask", "", 0},
1605    {"wl0_wds10_netmask", "", 0},
1606
1607    {"wl0_wds1_desc", "", 0},
1608    {"wl0_wds2_desc", "", 0},
1609    {"wl0_wds3_desc", "", 0},
1610    {"wl0_wds4_desc", "", 0},
1611    {"wl0_wds5_desc", "", 0},
1612    {"wl0_wds6_desc", "", 0},
1613    {"wl0_wds7_desc", "", 0},
1614    {"wl0_wds8_desc", "", 0},
1615    {"wl0_wds9_desc", "", 0},
1616    {"wl0_wds10_desc", "", 0},
1617
1618    {"wl0_wds1_ospf", "", 0},
1619    {"wl0_wds2_ospf", "", 0},
1620    {"wl0_wds3_ospf", "", 0},
1621    {"wl0_wds4_ospf", "", 0},
1622    {"wl0_wds5_ospf", "", 0},
1623    {"wl0_wds6_ospf", "", 0},
1624    {"wl0_wds7_ospf", "", 0},
1625    {"wl0_wds8_ospf", "", 0},
1626    {"wl0_wds9_ospf", "", 0},
1627    {"wl0_wds10_ospf", "", 0},
1628
1629    {"wl1_wds1_enable", "0", 0},
1630    {"wl1_wds2_enable", "0", 0},
1631    {"wl1_wds3_enable", "0", 0},
1632    {"wl1_wds4_enable", "0", 0},
1633    {"wl1_wds5_enable", "0", 0},
1634    {"wl1_wds6_enable", "0", 0},
1635    {"wl1_wds7_enable", "0", 0},
1636    {"wl1_wds8_enable", "0", 0},
1637    {"wl1_wds9_enable", "0", 0},
1638    {"wl1_wds10_enable", "0", 0},
1639
1640    {"wl1_wds1_hwaddr", "", 0},
1641    {"wl1_wds2_hwaddr", "", 0},
1642    {"wl1_wds3_hwaddr", "", 0},
1643    {"wl1_wds4_hwaddr", "", 0},
1644    {"wl1_wds5_hwaddr", "", 0},
1645    {"wl1_wds6_hwaddr", "", 0},
1646    {"wl1_wds7_hwaddr", "", 0},
1647    {"wl1_wds8_hwaddr", "", 0},
1648    {"wl1_wds9_hwaddr", "", 0},
1649    {"wl1_wds10_hwaddr", "", 0},
1650
1651    {"wl1_wds1_ipaddr", "", 0},
1652    {"wl1_wds2_ipaddr", "", 0},
1653    {"wl1_wds3_ipaddr", "", 0},
1654    {"wl1_wds4_ipaddr", "", 0},
1655    {"wl1_wds5_ipaddr", "", 0},
1656    {"wl1_wds6_ipaddr", "", 0},
1657    {"wl1_wds7_ipaddr", "", 0},
1658    {"wl1_wds8_ipaddr", "", 0},
1659    {"wl1_wds9_ipaddr", "", 0},
1660    {"wl1_wds10_ipaddr", "", 0},
1661
1662    {"wl1_wds1_netmask", "", 0},
1663    {"wl1_wds2_netmask", "", 0},
1664    {"wl1_wds3_netmask", "", 0},
1665    {"wl1_wds4_netmask", "", 0},
1666    {"wl1_wds5_netmask", "", 0},
1667    {"wl1_wds6_netmask", "", 0},
1668    {"wl1_wds7_netmask", "", 0},
1669    {"wl1_wds8_netmask", "", 0},
1670    {"wl1_wds9_netmask", "", 0},
1671    {"wl1_wds10_netmask", "", 0},
1672
1673    {"wl1_wds1_desc", "", 0},
1674    {"wl1_wds2_desc", "", 0},
1675    {"wl1_wds3_desc", "", 0},
1676    {"wl1_wds4_desc", "", 0},
1677    {"wl1_wds5_desc", "", 0},
1678    {"wl1_wds6_desc", "", 0},
1679    {"wl1_wds7_desc", "", 0},
1680    {"wl1_wds8_desc", "", 0},
1681    {"wl1_wds9_desc", "", 0},
1682    {"wl1_wds10_desc", "", 0},
1683
1684    {"wl1_wds1_ospf", "", 0},
1685    {"wl1_wds2_ospf", "", 0},
1686    {"wl1_wds3_ospf", "", 0},
1687    {"wl1_wds4_ospf", "", 0},
1688    {"wl1_wds5_ospf", "", 0},
1689    {"wl1_wds6_ospf", "", 0},
1690    {"wl1_wds7_ospf", "", 0},
1691    {"wl1_wds8_ospf", "", 0},
1692    {"wl1_wds9_ospf", "", 0},
1693    {"wl1_wds10_ospf", "", 0},
1694
1695#
1696
1697#endif
1698
1699    {"wl0_br1_enable", "0", 0},
1700    {"wl0_br1_nat", "0", 0},
1701    {"wl1_br1_enable", "0", 0},
1702    {"wl1_br1_nat", "0", 0},
1703#ifndef HAVE_MADWIFI
1704
1705    {"wl0_wds", "", 0},
1706    {"wl0_wds0", "", 0},
1707    {"wl0_wds1", "", 0},
1708    {"wl0_wds2", "", 0},
1709    {"wl0_wds3", "", 0},
1710    {"wl0_wds4", "", 0},
1711    {"wl0_wds5", "", 0},
1712    {"wl0_wds6", "", 0},
1713    {"wl0_wds7", "", 0},
1714    {"wl0_wds8", "", 0},
1715    {"wl0_wds9", "", 0},
1716    {"wl1_wds", "", 0},
1717    {"wl1_wds0", "", 0},
1718    {"wl1_wds1", "", 0},
1719    {"wl1_wds2", "", 0},
1720    {"wl1_wds3", "", 0},
1721    {"wl1_wds4", "", 0},
1722    {"wl1_wds5", "", 0},
1723    {"wl1_wds6", "", 0},
1724    {"wl1_wds7", "", 0},
1725    {"wl1_wds8", "", 0},
1726    {"wl1_wds9", "", 0},
1727    {"wl0_wds0_if", "", 0},
1728    {"wl0_wds1_if", "", 0},
1729    {"wl0_wds2_if", "", 0},
1730    {"wl0_wds3_if", "", 0},
1731    {"wl0_wds4_if", "", 0},
1732    {"wl0_wds5_if", "", 0},
1733    {"wl0_wds6_if", "", 0},
1734    {"wl0_wds7_if", "", 0},
1735    {"wl0_wds8_if", "", 0},
1736    {"wl0_wds9_if", "", 0},
1737    {"wl0_wds10_if", "", 0},
1738
1739    {"wl1_wds0_if", "", 0},
1740    {"wl1_wds1_if", "", 0},
1741    {"wl1_wds2_if", "", 0},
1742    {"wl1_wds3_if", "", 0},
1743    {"wl1_wds4_if", "", 0},
1744    {"wl1_wds5_if", "", 0},
1745    {"wl1_wds6_if", "", 0},
1746    {"wl1_wds7_if", "", 0},
1747    {"wl1_wds8_if", "", 0},
1748    {"wl1_wds9_if", "", 0},
1749    {"wl1_wds10_if", "", 0},
1750#ifdef HAVE_MSSID
1751
1752    {"wds0.1", "", 0},
1753    {"wds0.2", "", 0},
1754    {"wds0.3", "", 0},
1755    {"wds0.4", "", 0},
1756    {"wds0.5", "", 0},
1757    {"wds0.6", "", 0},
1758    {"wds0.7", "", 0},
1759    {"wds0.8", "", 0},
1760    {"wds0.9", "", 0},
1761    {"wds0.10", "", 0},
1762    {"wds0.11", "", 0},
1763    {"wds0.12", "", 0},
1764    {"wds0.13", "", 0},
1765    {"wds0.14", "", 0},
1766    {"wds0.15", "", 0},
1767    {"wds0.16", "", 0},
1768
1769    {"wds1.1", "", 0},
1770    {"wds1.2", "", 0},
1771    {"wds1.3", "", 0},
1772    {"wds1.4", "", 0},
1773    {"wds1.5", "", 0},
1774    {"wds1.6", "", 0},
1775    {"wds1.7", "", 0},
1776    {"wds1.8", "", 0},
1777    {"wds1.9", "", 0},
1778    {"wds1.10", "", 0},
1779    {"wds1.11", "", 0},
1780    {"wds1.12", "", 0},
1781    {"wds1.13", "", 0},
1782    {"wds1.14", "", 0},
1783    {"wds1.15", "", 0},
1784    {"wds1.16", "", 0},
1785#else
1786
1787    {"wds0.49151", "", 0},
1788    {"wds0.49152", "", 0},
1789    {"wds0.49153", "", 0},
1790    {"wds0.49154", "", 0},
1791    {"wds0.49155", "", 0},
1792    {"wds0.49156", "", 0},
1793    {"wds0.49157", "", 0},
1794    {"wds0.49158", "", 0},
1795    {"wds0.49159", "", 0},
1796    {"wds0.49160", "", 0},
1797    {"wds0.49161", "", 0},
1798    {"wds0.49162", "", 0},
1799    {"wds0.49163", "", 0},
1800    {"wds0.49164", "", 0},
1801    {"wds0.49165", "", 0},
1802    {"wds0.49166", "", 0},
1803#endif
1804#endif
1805    {"bird_ospf",
1806     "Please read the BIRD setup instructions at http://bird.network.cz/bird.html",
1807     0},
1808
1809    {"sh_interfaces", "loc br0\nloc eth0\nloc eth2\nnet wds0.2", 0},
1810    {"sh_masq", "br0 wds0.2", 0},
1811    {"sh_policy", "loc net ACCEPT\nnet all DROP info\nall all REJECT info",
1812     0},
1813    {"sh_routestopped", "br0 -\neth0 -\neth2 -\nwds0.2 -", 0},
1814    {"sh_rules", "", 0},
1815    {"sh_zones",
1816     "net Net Internet\nloc Local Local Networks\ndmz DMZ Dmz Zone",
1817     0},
1818
1819#ifdef HAVE_SKYTRON
1820    {"wshaper_enable", "1", 0},
1821#else
1822    {"wshaper_enable", "0", 0},
1823#endif
1824    {"wshaper_dev", "WAN", 0},
1825#ifdef HAVE_SKYTRON
1826    {"wshaper_downlink", "800", 0},
1827    {"wshaper_uplink", "800", 0},
1828#else
1829    {"wshaper_downlink", "0", 0},
1830    {"wshaper_uplink", "0", 0},
1831#endif
1832    {"wshaper_nopriohostsrc", "", 0},
1833    {"wshaper_nopriohostdst", "", 0},
1834    {"wshaper_noprioportsrc", "", 0},
1835    {"wshaper_noprioportdst", "", 0},
1836    {"zebra_enable", "1", 0},
1837    {"qos_type", "0", 0},
1838    {"svqos_svcs", "", 0},
1839    {"svqos_ips", "", 0},
1840    {"svqos_macs", "", 0},
1841
1842    {"svqos_port1bw", "FULL", 0},
1843    {"svqos_port2bw", "FULL", 0},
1844    {"svqos_port3bw", "FULL", 0},
1845    {"svqos_port4bw", "FULL", 0},
1846
1847    {"svqos_port1prio", "10", 0},
1848    {"svqos_port2prio", "10", 0},
1849    {"svqos_port3prio", "10", 0},
1850    {"svqos_port4prio", "10", 0},
1851#ifdef HAVE_SNMP
1852#ifdef HAVE_SAGAR
1853    {"snmpd_enable", "1", 0},
1854#elif HAVE_DDLAN
1855    {"snmpd_enable", "1", 0},
1856#else
1857    {"snmpd_enable", "0", 0},
1858#endif
1859    {"snmpd_syslocation", "Unknown", 0},
1860    {"snmpd_syscontact", "root", 0},
1861#ifdef CONFIG_BRANDING
1862    {"snmpd_sysname", "anonymous", 0},
1863#elif defined(HAVE_TRIMAX)
1864    {"snmpd_sysname", "trimax", 0},
1865#else
1866    {"snmpd_sysname", "dd-wrt", 0},
1867#endif
1868    {"snmpd_rocommunity", "public", 0},
1869    {"snmpd_rwcommunity", "private", 0},
1870    {"snmpd_conf",
1871     "See http://www.net-snmp.org for expert snmpd.conf options",
1872     0},
1873#endif
1874    {"wol_enable", "0", 0},
1875    {"wol_interval", "86400", 0},
1876    {"wol_hostname", "", 0},
1877    {"wol_macs", "", 0},
1878    {"wol_passwd", "", 0},
1879
1880    {"hs_enable", "", 0},
1881    {"hs_exempt", "", 0},
1882    {"hs_urls", "", 0},
1883    {"hs_redirect", "", 0},
1884    {"hs_html", "", 0},
1885    {"hs_image", "", 0},
1886
1887    {"def_whwaddr", "00:00:00:00:00:00", 0},    /* User define wireless
1888                                                 * interface MAC address */
1889
1890    {"sv_restore_defaults", "0", 0},    // fix for vlan stuff side effects
1891
1892    {"ospfd_conf", "", 0},
1893    {"zebra_conf", "", 0},
1894    {"ospfd_copt", "0", 0},
1895    {"zebra_copt", "0", 0},
1896    {"zebra_log", "0", 0},
1897    {"dyn_default", "0", 0},
1898
1899    {"altdns1", "", 0},
1900    {"altdns2", "", 0},
1901    {"altdns3", "", 0},
1902
1903    {"log_accepted", "0", 0},   /* 0:Disable 1:Eanble */
1904    {"log_dropped", "0", 0},    /* 0:Disable 1:Eanble */
1905    {"log_rejected", "0", 0},   /* 0:Disable 1:Eanble */
1906
1907    /*
1908     * start lonewolf mods
1909     */
1910    {"port0vlans", "1", 0},
1911    {"port1vlans", "0", 0},
1912    {"port2vlans", "0", 0},
1913    {"port3vlans", "0", 0},
1914    {"port4vlans", "0", 0},
1915    {"port5vlans", "0 1 16", 0},
1916    {"vlans", "0", 0},
1917    {"trunking", "0", 0},
1918    /*
1919     * end lonewolf mods
1920     */
1921    // DD-WRT start
1922    {"manual_boot_nv", "0", 0},
1923#ifdef HAVE_WTS
1924    {"status_auth", "0", 0},
1925#else
1926    {"status_auth", "1", 0},
1927#endif
1928    {"ipv6_enable", "0", 0},
1929    {"ipv6_enable0", "0", 0},
1930    {"enable_jffs2", "0", 0},
1931    {"clean_jffs2", "0", 0},
1932    {"sys_enable_jffs2", "0", 0},
1933#ifdef HAVE_KAID
1934    {"kaid_enable", "0", 0},
1935    {"kaid_macs", "", 0},
1936    {"kaid_uibind", "34522", 0},
1937    {"kaid_orbport", "34525", 0},
1938    {"kaid_orbdeepport", "34523", 0},
1939#endif
1940#ifdef HAVE_WTS
1941    {"language", "spanish", 0},
1942#elif HAVE_BUFFALO
1943    {"language", DEFAULT_LANGUAGE, 0},
1944#else
1945    {"language", "english", 0},
1946#endif
1947    {"macupd_ip", "0.0.0.0", 0},
1948    {"macupd_port", "2056", 0},
1949    {"macupd_interval", "10", 0},
1950    {"mmc_enable", "0", 0},
1951    {"mmc_enable0", "0", 0},
1952#ifdef HAVE_MMC
1953    {"mmc_gpio", "0", 0},
1954    {"mmc_di", "0", 0},
1955    {"mmc_do", "0", 0},
1956    {"mmc_clk", "0", 0},
1957    {"mmc_cs", "0", 0},
1958#endif
1959#ifdef HAVE_RB500
1960    {"ip_conntrack_max", "32768", 0},
1961#elif HAVE_WRT300NV2
1962    {"ip_conntrack_max", "4096", 0},
1963#elif HAVE_XSCALE
1964    {"ip_conntrack_max", "32768", 0},
1965#elif HAVE_X86
1966#ifdef HAVE_NOWIFI
1967    {"ip_conntrack_max", "4096", 0},
1968#else
1969    {"ip_conntrack_max", "32768", 0},
1970#endif
1971#elif HAVE_MAGICBOX
1972    {"ip_conntrack_max", "32768", 0},
1973#elif HAVE_MERAKI
1974    {"ip_conntrack_max", "32768", 0},
1975#elif HAVE_FONERA
1976    {"ip_conntrack_max", "4096", 0},
1977#elif HAVE_BUFFALO
1978    {"ip_conntrack_max", "4096", 0},
1979#elif HAVE_LS2
1980    {"ip_conntrack_max", "4096", 0},
1981#elif HAVE_LS5
1982    {"ip_conntrack_max", "4096", 0},
1983#elif HAVE_WHRAG108
1984    {"ip_conntrack_max", "16384", 0},
1985#elif HAVE_TW6600
1986    {"ip_conntrack_max", "4096", 0},
1987#elif HAVE_CA8
1988    {"ip_conntrack_max", "16384", 0},
1989#elif HAVE_MICRO
1990    {"ip_conntrack_max", "512", 0},
1991#else
1992    {"ip_conntrack_max", "4096", 0},
1993#endif
1994    {"ip_conntrack_tcp_timeouts", "3600", 0},
1995    {"ip_conntrack_udp_timeouts", "120", 0},
1996    {"rflow_ip", "0.0.0.0", 0},
1997    {"rflow_port", "2055", 0},
1998    {"rflow_if", "br0", 0},
1999#ifdef HAVE_PPPOERELAY
2000#ifdef HAVE_DDLAN
2001    {"pppoerelay_enable", "1", 0},
2002#else
2003    {"pppoerelay_enable", "0", 0},
2004#endif
2005#endif
2006    {"schedule_enable", "0", 0},
2007    {"schedule_time", "3600", 0},
2008    {"schedule_hour_time", "1", 0},
2009    {"schedule_minutes", "0", 0},
2010    {"schedule_hours", "0", 0},
2011    {"schedule_weekdays", "00", 0},
2012    {"smtp_redirect_enable", "0", 0},
2013    {"smtp_redirect_destination", "0.0.0.0", 0},
2014    {"smtp_source_network", "0.0.0.0", 0},
2015    {"wds_watchdog_enable", "0", 0},
2016    {"wds_watchdog_interval_sec", "1000", 0},
2017    {"wds_watchdog_ips", "", 0},
2018    {"dhcpfwd_enable", "0", 0},
2019    {"dhcpfwd_ip", "0.0.0.0", 0},
2020    {"NC_enable", "0", 0},
2021#ifdef CONFIG_BRANDING
2022    {"NC_GatewayName", "GATEWAY", 0},
2023#else
2024    {"NC_GatewayName", "DD-WRT", 0},
2025#endif
2026#ifdef CONFIG_BRANDING
2027    {"NC_HomePage", "", 0},
2028#else
2029    {"NC_HomePage", "http://www.dd-wrt.com", 0},
2030#endif
2031    {"NC_ExcludePorts", "25", 0},
2032    {"NC_IncludePorts", "", 0},
2033    {"NC_Verbosity", "2", 0},
2034    {"NC_LoginTimeout", "86400", 0},
2035#ifdef CONFIG_BRANDING
2036    {"NC_AllowedWebHosts", "google.com", 0},
2037#else
2038    {"NC_AllowedWebHosts", "", 0},
2039#endif
2040#ifdef HAVE_RAMSKOV
2041    {"NC_RouteOnly", "0", 0},
2042    {"NC_DocumentRoot", "/tmp", 0},
2043#else
2044    {"NC_RouteOnly", "0", 0},
2045    {"NC_DocumentRoot", "/www", 0},
2046#endif
2047    {"NC_SplashURL", "", 0},
2048    {"NC_SplashURLTimeout", "21600", 0},
2049    {"NC_MACWhiteList", "", 0},
2050    {"NC_GatewayPort", "5280", 0},
2051    {"NC_GatewayMode", "Open", 0},
2052    {"NC_ForcedRedirect", "0", 0},
2053    {"NC_IdleTimeout", "0", 0},
2054    {"NC_MaxMissedARP", "5", 0},
2055    {"NC_RenewTimeout", "0", 0},
2056
2057#ifdef HAVE_MSSID
2058    {"wl_wme", "on", 0},        /* WME mode (off|on) */
2059    {"wl1_wme", "on", 0},       /* WME mode (off|on) */
2060#else
2061    {"wl_wme", "off", 0},       /* WME mode (off|on) */
2062#endif
2063    /*
2064     * WME parameters
2065     */
2066    /*
2067     * EDCA parameters for STA
2068     */
2069    {"wl_wme_sta_bk", "15 1023 7 0 0 off", 0},  /* WME STA AC_BK paramters */
2070    {"wl_wme_sta_be", "15 1023 3 0 0 off", 0},  /* WME STA AC_BE paramters */
2071    {"wl_wme_sta_vi", "7 15 2 6016 3008 off", 0},       /* WME STA AC_VI
2072                                                         * paramters */
2073    {"wl_wme_sta_vo", "3 7 2 3264 1504 off", 0},        /* WME STA AC_VO
2074                                                         * paramters */
2075
2076    /*
2077     * EDCA parameters for AP
2078     */
2079    {"wl_wme_ap_bk", "15 1023 7 0 0 off", 0},   /* WME AP AC_BK paramters */
2080    {"wl_wme_ap_be", "15 63 3 0 0 off", 0},     /* WME AP AC_BE paramters */
2081    {"wl_wme_ap_vi", "7 15 1 6016 3008 off", 0},        /* WME AP AC_VI
2082                                                         * paramters */
2083    {"wl_wme_ap_vo", "3 7 1 3264 1504 off", 0}, /* WME AP AC_VO paramters */
2084    {"wl_wme_no_ack", "off", 0},        /* WME No-Acknowledgmen mode */
2085    {"wl_wme_apsd", "on", 0},   /* WME APSD mode */
2086
2087    {"wl1_wme_sta_bk", "15 1023 7 0 0 off", 0}, /* WME STA AC_BK paramters */
2088    {"wl1_wme_sta_be", "15 1023 3 0 0 off", 0}, /* WME STA AC_BE paramters */
2089    {"wl1_wme_sta_vi", "7 15 2 6016 3008 off", 0},      /* WME STA AC_VI
2090                                                         * paramters */
2091    {"wl1_wme_sta_vo", "3 7 2 3264 1504 off", 0},       /* WME STA AC_VO
2092                                                         * paramters */
2093
2094    /*
2095     * EDCA parameters for AP
2096     */
2097    {"wl1_wme_ap_bk", "15 1023 7 0 0 off", 0},  /* WME AP AC_BK paramters */
2098    {"wl1_wme_ap_be", "15 63 3 0 0 off", 0},    /* WME AP AC_BE paramters */
2099    {"wl1_wme_ap_vi", "7 15 1 6016 3008 off", 0},       /* WME AP AC_VI
2100                                                         * paramters */
2101    {"wl1_wme_ap_vo", "3 7 1 3264 1504 off", 0},        /* WME AP AC_VO
2102                                                         * paramters */
2103    {"wl1_wme_no_ack", "off", 0},       /* WME No-Acknowledgmen mode */
2104    {"wl1_wme_apsd", "on", 0},  /* WME APSD mode */
2105
2106    {"wl_maxassoc", "128", 0},  /* Max associations driver could support */
2107    {"wl1_maxassoc", "128", 0}, /* Max associations driver could support */
2108
2109    /* Per AC Tx parameters */
2110    {"wl_wme_txp_be", "7 3 4 2 0", 0},  /* WME AC_BE Tx parameters */
2111    {"wl_wme_txp_bk", "7 3 4 2 0", 0},  /* WME AC_BK Tx parameters */
2112    {"wl_wme_txp_vi", "7 3 4 2 0", 0},  /* WME AC_VI Tx parameters */
2113    {"wl_wme_txp_vo", "7 3 4 2 0", 0},  /* WME AC_VO Tx parameters */
2114
2115    {"wl1_wme_txp_be", "7 3 4 2 0", 0}, /* WME AC_BE Tx parameters */
2116    {"wl1_wme_txp_bk", "7 3 4 2 0", 0}, /* WME AC_BK Tx parameters */
2117    {"wl1_wme_txp_vi", "7 3 4 2 0", 0}, /* WME AC_VI Tx parameters */
2118    {"wl1_wme_txp_vo", "7 3 4 2 0", 0}, /* WME AC_VO Tx parameters */
2119
2120#ifdef HAVE_ZEROIP
2121    {"shat_enable", "0", 0},
2122    {"shat_range", "192.168.1.79+20", 0},
2123    {"shat_shield", "", 0},
2124#endif
2125#ifdef HAVE_SKYTRON
2126    {"dhcp_dnsmasq", "1", 0},
2127    {"enable_game", "1", 0},
2128#elif HAVE_POWERNOC
2129    {"dhcp_dnsmasq", "1", 0},
2130    {"enable_game", "0", 0},
2131#elif HAVE_FON
2132    {"dhcp_dnsmasq", "0", 0},
2133    {"enable_game", "0", 0},
2134#elif HAVE_WTS
2135    {"dhcp_dnsmasq", "1", 0},
2136    {"enable_game", "0", 0},
2137#elif HAVE_WRK54G
2138    {"dhcp_dnsmasq", "0", 0},
2139    // #elif HAVE_ADM5120
2140    // {"dhcp_dnsmasq", "0", 0},
2141#else
2142    {"dhcp_dnsmasq", "1", 0},
2143    {"enable_game", "0", 0},
2144#endif
2145    {"dns_dnsmasq", "1", 0},
2146    {"auth_dnsmasq", "1", 0},
2147#ifdef HAVE_GGEW
2148    {"pptp_use_dhcp", "1", 0},  /* pptp will use dhcp to obtain ip address, netmask and gateway */
2149    {"pptp_server_name", "proxy2.wlan.ggew-net.de", 0},
2150#else
2151    {"pptp_use_dhcp", "0", 0},  /* pptp will use dhcp to obtain ip address, netmask and gateway */
2152    {"pptp_server_name", "", 0},
2153#endif
2154
2155    {"forward_entries", "0", 0},
2156    {"forwardspec_entries", "0", 0},
2157    {"trigger_entries", "0", 0},
2158#ifdef HAVE_SKYTRON
2159    {"sip_port", "5060", 0},
2160    {"sip_domain", "sip.skytron.de", 0},
2161#else
2162    {"sip_port", "5060", 0},    /* MILKFISH SETTING */// this setting is not evaluated/used by the
2163    // milkfish scripts for milkfish-dd 1.0 -
2164    // fs070712
2165    {"sip_domain", "192.168.1.1", 0},   /* MILKFISH SETTING */// set "192.168.1.1" as default - not
2166    //
2167    //
2168    // setting at all disables dbtextctl
2169    // script - fs070712
2170#endif
2171#ifdef HAVE_AQOS
2172    {"default_uplevel", "100000", 0},   // set a useful value to prevent
2173    // deadlock
2174    {"default_downlevel", "100000", 0}, // set a useful value to prevent
2175    // deadlock
2176#endif
2177    {"static_leases", "", 0},
2178    {"static_leasenum", "0", 0},
2179    {"dhcpc_vendorclass", "", 0},       // vendor class id for client
2180    // (optional)
2181    {"dhcpc_requestip", "", 0}, // request ip (optional)
2182#ifdef HAVE_DDLAN
2183    {"maskmac", "0", 0},
2184#else
2185    {"maskmac", "1", 0},
2186#endif
2187    {"fullswitch", "0", 0},
2188#ifdef HAVE_OPENVPN
2189    {"openvpncl_enable", "0", 0},
2190    {"openvpncl_remoteip", "0.0.0.0", 0},
2191    {"openvpncl_remoteport", "1194", 0},
2192    {"openvpncl_ca", "", 0},
2193    {"openvpncl_client", "", 0},
2194    {"openvpncl_key", "", 0},
2195    {"openvpncl_lzo", "0", 0},
2196    {"openvpncl_proto", "udp", 0},
2197    {"openvpncl_mtu", "1500", 0},
2198    {"openvpncl_extramtu", "32", 0},
2199    {"openvpncl_mssfix", "1450", 0},
2200    {"openvpncl_certtype", "0", 0},
2201    {"openvpncl_tuntap", "tun", 0},
2202
2203    {"openvpn_enable", "0", 0},
2204    {"openvpn_remoteip", "0.0.0.0", 0},
2205    {"openvpn_remoteport", "1194", 0},
2206    {"openvpn_ca", "", 0},
2207    {"openvpn_client", "", 0},
2208    {"openvpn_key", "", 0},
2209    {"openvpn_lzo", "0", 0},
2210    {"openvpn_proto", "udp", 0},
2211    {"openvpn_mtu", "1500", 0},
2212    {"openvpn_extramtu", "32", 0},
2213    {"openvpn_mssfix", "1450", 0},
2214    {"openvpn_certtype", "0", 0},
2215    {"openvpn_config", "", 0},
2216    {"openvpn_dh", "", 0},
2217    {"openvpn_tlsauth", "", 0},
2218    {"openvpn_onwan", "0", 0},
2219#ifdef HAVE_KODATA
2220    {"newhttp_username", "bJ/GddyoJuiU2", 0},
2221    {"newhttp_passwd", "bJDLObifZlIRQ", 0},
2222#else
2223    {"newhttp_username", "", 0},
2224    {"newhttp_passwd", "bJxJZz5DYRGxI", 0},
2225#endif
2226#ifdef HAVE_GGEW
2227    {"ral", "217.113.177.185 172.16.0.0/28", 0},
2228#endif
2229#endif
2230#ifdef HAVE_34TELECOM
2231    {"newhttp_passwd", "hdslklas9a", 0},
2232#endif
2233#ifdef HAVE_MADWIFI
2234    /*
2235     * {"ath0_regdomain", "96", 0}, {"ath1_regdomain", "96", 0},
2236     * {"ath2_regdomain", "96", 0}, {"ath3_regdomain", "96", 0},
2237     * {"ath4_regdomain", "96", 0}, {"ath5_regdomain", "96", 0},
2238     */
2239#endif
2240#ifdef HAVE_SPUTNIK_APD
2241
2242#ifdef HAVE_SPUTNIK
2243    {"sputnik_mjid_type", "0", 0},
2244    {"sputnik_mjid", "sputnik@wifi.sputnik.com", 0},
2245#if defined(HAVE_XSCALE) || defined(HAVE_X86)
2246    {"sputnik_mode", "pro", 0},
2247#else
2248    {"sputnik_mode", "standard", 0},
2249#endif
2250    {"sputnik_done", "0", 0},
2251    {"sputnik_rereg", "1", 0},
2252    {"apd_enable", "1", 0},
2253#else
2254    {"sputnik_mjid_type", "0", 0},
2255    {"sputnik_mjid", "", 0},
2256    {"sputnik_mode", "standard", 0},
2257    {"sputnik_done", "0", 0},
2258    {"apd_enable", "0", 0},
2259#endif
2260#endif
2261#ifdef HAVE_FONERA
2262    {"upgrade_delay", "1200", 0},
2263#elif HAVE_MERAKI
2264    {"upgrade_delay", "600", 0},
2265#elif HAVE_LS2
2266    {"upgrade_delay", "600", 0},
2267#else
2268    {"upgrade_delay", "300", 0},
2269#endif
2270#ifdef HAVE_WIFIDOG
2271    {"wd_enable", "0", 0},
2272    {"wd_gwid", "default", 0},
2273    {"wd_url", "", 0},
2274    {"wd_gwport", "2060", 0},
2275    {"wd_httpdname", "WiFiDog", 0},
2276    {"wd_httpdcon", "10", 0},
2277    {"wd_interval", "60", 0},
2278    {"wd_timeout", "5", 0},
2279    {"wd_maclist", "", 0},
2280    {"wd_hostname", "", 0},
2281    {"wd_sslavailable", "0", 0},
2282    {"wd_sslport", "443", 0},
2283    {"wd_httpport", "80", 0},
2284    {"wd_path", "/wifidog", 0},
2285#endif
2286
2287#ifdef HAVE_CHILLILOCAL
2288    {"fon_usernames", "0", 0},
2289    {"fon_userlist", "", 0},
2290#endif
2291    {"fon_enable", "0", 0},
2292    {"pptpd_client_enable", "", 0},
2293    {"pptpd_client_srvip", "", 0},
2294    {"pptpd_client_srvsub", "", 0},
2295    {"pptpd_client_srvsubmsk", "", 0},
2296    {"pptpd_client_srvuser", "", 0},
2297    {"pptpd_client_srvpass", "", 0},
2298    {"pptpd_client_ipparam", "", 0},
2299    {"pptpd_client_mtu", "1450", 0},
2300    {"pptpd_client_mru", "1450", 0},
2301#ifdef HAVE_RADIOOFF
2302    {"radiooff_button", "0", 0},
2303    {"radiooff_boot_off", "0", 0},
2304#endif
2305    {"radio0_on_time", "111111111111111111111111", 0},  /* Radio timer,
2306                                                         * always on */
2307    {"radio0_timer_enable", "0", 0},
2308    {"radio1_on_time", "111111111111111111111111", 0},  /* Radio timer,
2309                                                         * always on */
2310    {"radio1_timer_enable", "0", 0},
2311#ifdef HAVE_CPUTEMP
2312    {"hwmon_temp_max", "60", 0},
2313    {"hwmon_temp_hyst", "50", 0},
2314#endif
2315#ifdef HAVE_RSTATS
2316    {"rstats_enable", "0", 0},
2317    {"rstats_path", "", 0},
2318    {"rstats_stime", "48", 0},
2319    {"rstats_data", "", 0},
2320#endif
2321#ifdef HAVE_NSTX
2322    {"nstxd_enable", "0", 0},
2323    {"nstx_ipenable", "0", 0},
2324    {"nstx_ip", "0.0.0.0", 0},
2325    {"nstx_log", "0", 0},
2326#endif
2327#ifdef HAVE_PORTSETUP
2328    {"eth0_bridged", "1", 0},   /* Service set ID (network name) */
2329    {"eth0_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2330    {"eth0_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2331
2332    {"eth1_bridged", "1", 0},   /* Service set ID (network name) */
2333    {"eth1_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2334    {"eth1_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2335
2336    {"eth2_bridged", "1", 0},   /* Service set ID (network name) */
2337    {"eth2_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2338    {"eth2_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2339
2340    {"eth3_bridged", "1", 0},   /* Service set ID (network name) */
2341    {"eth3_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2342    {"eth3_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2343
2344    {"eth4_bridged", "1", 0},   /* Service set ID (network name) */
2345    {"eth4_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2346    {"eth4_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2347
2348    {"eth5_bridged", "1", 0},   /* Service set ID (network name) */
2349    {"eth5_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2350    {"eth5_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2351
2352    {"eth6_bridged", "1", 0},   /* Service set ID (network name) */
2353    {"eth6_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2354    {"eth6_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2355
2356    {"eth7_bridged", "1", 0},   /* Service set ID (network name) */
2357    {"eth7_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2358    {"eth7_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2359
2360    {"eth8_bridged", "1", 0},   /* Service set ID (network name) */
2361    {"eth8_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2362    {"eth8_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2363
2364    {"eth9_bridged", "1", 0},   /* Service set ID (network name) */
2365    {"eth9_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
2366    {"eth9_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
2367
2368    {"eth10_bridged", "1", 0},  /* Service set ID (network name) */
2369    {"eth10_ipaddr", "0.0.0.0", 0},     /* Service set ID (network name) */
2370    {"eth10_netmask", "0.0.0.0", 0},    /* Service set ID (network name) */
2371#endif
2372#ifdef HAVE_EOP
2373    {"oet1_en", "0", 0},
2374    {"oet1_rem", "192.168.90.1", 0},
2375    {"oet1_ip", "1.2.3.4", 0},
2376    {"oet1_netmask", "255.255.255.0", 0},
2377    {"oet1_id", "1", 0},
2378    {"oet1_comp", "0", 0},
2379    {"oet1_pt", "0", 0},
2380    {"oet1_fragment", "0", 0},
2381    {"oet1_mssfix", "0", 0},
2382    {"oet1_shaper", "0", 0},
2383    {"oet1_bridged", "1", 0},
2384
2385    {"oet2_en", "0", 0},
2386    {"oet2_rem", "192.168.90.1", 0},
2387    {"oet2_ip", "1.2.3.4", 0},
2388    {"oet2_netmask", "255.255.255.0", 0},
2389    {"oet2_id", "1", 0},
2390    {"oet2_comp", "0", 0},
2391    {"oet2_pt", "0", 0},
2392    {"oet2_fragment", "0", 0},
2393    {"oet2_mssfix", "0", 0},
2394    {"oet2_shaper", "0", 0},
2395    {"oet2_bridged", "1", 0},
2396
2397    {"oet3_en", "0", 0},
2398    {"oet3_rem", "192.168.90.1", 0},
2399    {"oet3_ip", "1.2.3.4", 0},
2400    {"oet3_netmask", "255.255.255.0", 0},
2401    {"oet3_id", "1", 0},
2402    {"oet3_comp", "0", 0},
2403    {"oet3_pt", "0", 0},
2404    {"oet3_fragment", "0", 0},
2405    {"oet3_mssfix", "0", 0},
2406    {"oet3_shaper", "0", 0},
2407    {"oet3_bridged", "1", 0},
2408
2409    {"oet4_en", "0", 0},
2410    {"oet4_rem", "192.168.90.1", 0},
2411    {"oet4_ip", "1.2.3.4", 0},
2412    {"oet4_netmask", "255.255.255.0", 0},
2413    {"oet4_id", "1", 0},
2414    {"oet4_comp", "0", 0},
2415    {"oet4_pt", "0", 0},
2416    {"oet4_fragment", "0", 0},
2417    {"oet4_mssfix", "0", 0},
2418    {"oet4_shaper", "0", 0},
2419    {"oet4_bridged", "1", 0},
2420
2421    {"oet5_en", "0", 0},
2422    {"oet5_rem", "192.168.90.1", 0},
2423    {"oet5_ip", "1.2.3.4", 0},
2424    {"oet5_netmask", "255.255.255.0", 0},
2425    {"oet5_id", "1", 0},
2426    {"oet5_comp", "0", 0},
2427    {"oet5_pt", "0", 0},
2428    {"oet5_fragment", "0", 0},
2429    {"oet5_mssfix", "0", 0},
2430    {"oet5_shaper", "0", 0},
2431    {"oet5_bridged", "1", 0},
2432
2433    {"oet6_en", "0", 0},
2434    {"oet6_rem", "192.168.90.1", 0},
2435    {"oet6_ip", "1.2.3.4", 0},
2436    {"oet6_netmask", "255.255.255.0", 0},
2437    {"oet6_id", "1", 0},
2438    {"oet6_comp", "0", 0},
2439    {"oet6_pt", "0", 0},
2440    {"oet6_fragment", "0", 0},
2441    {"oet6_mssfix", "0", 0},
2442    {"oet6_shaper", "0", 0},
2443    {"oet6_bridged", "1", 0},
2444
2445    {"oet7_en", "0", 0},
2446    {"oet7_rem", "192.168.90.1", 0},
2447    {"oet7_ip", "1.2.3.4", 0},
2448    {"oet7_netmask", "255.255.255.0", 0},
2449    {"oet7_id", "1", 0},
2450    {"oet7_comp", "0", 0},
2451    {"oet7_pt", "0", 0},
2452    {"oet7_fragment", "0", 0},
2453    {"oet7_mssfix", "0", 0},
2454    {"oet7_shaper", "0", 0},
2455    {"oet7_bridged", "1", 0},
2456
2457    {"oet8_en", "0", 0},
2458    {"oet8_rem", "192.168.90.1", 0},
2459    {"oet8_ip", "1.2.3.4", 0},
2460    {"oet8_netmask", "255.255.255.0", 0},
2461    {"oet8_id", "1", 0},
2462    {"oet8_comp", "0", 0},
2463    {"oet8_pt", "0", 0},
2464    {"oet8_fragment", "0", 0},
2465    {"oet8_mssfix", "0", 0},
2466    {"oet8_shaper", "0", 0},
2467    {"oet8_bridged", "1", 0},
2468
2469    {"oet9_en", "0", 0},
2470    {"oet9_rem", "192.168.90.1", 0},
2471    {"oet9_ip", "1.2.3.4", 0},
2472    {"oet9_netmask", "255.255.255.0", 0},
2473    {"oet9_id", "1", 0},
2474    {"oet9_comp", "0", 0},
2475    {"oet9_pt", "0", 0},
2476    {"oet9_fragment", "0", 0},
2477    {"oet9_mssfix", "0", 0},
2478    {"oet9_shaper", "0", 0},
2479    {"oet9_bridged", "1", 0},
2480
2481    {"oet10_en", "0", 0},
2482    {"oet10_rem", "192.168.90.1", 0},
2483    {"oet10_ip", "1.2.3.4", 0},
2484    {"oet10_netmask", "255.255.255.0", 0},
2485    {"oet10_id", "1", 0},
2486    {"oet10_comp", "0", 0},
2487    {"oet10_pt", "0", 0},
2488    {"oet10_fragment", "0", 0},
2489    {"oet10_mssfix", "0", 0},
2490    {"oet10_shaper", "0", 0},
2491    {"oet10_bridged", "1", 0},
2492#endif
2493    {"wifi_bonding", "0", 0},
2494#ifdef HAVE_RADLOCAL
2495    {"iradius_enable", "0", 0},
2496#endif
2497#ifdef HAVE_MADWIFI
2498    {"wifi_display", "ath0", 0},
2499#else
2500    {"wifi_display", "wl0", 0},
2501#endif
2502#ifdef HAVE_USB
2503    {"usb_enable", "0", 0},
2504    {"usb_uhci", "0", 0},
2505    {"usb_ohci", "0", 0},
2506    {"usb_usb2", "0", 0},
2507    {"usb_storage", "0", 0},
2508    {"usb_printer", "0", 0},
2509    {"usb_fs_ext3", "0", 0},
2510    {"usb_fs_fat", "0", 0},
2511    {"usb_automnt", "0", 0},
2512    {"usb_mntpoint", "mnt", 0},
2513    {"usb_runonmount", "", 0},
2514#endif
2515    {"ttraff_enable", "1", 0},
2516#ifdef HAVE_PPPOESERVER
2517    {"pppoeserver_enabled", "0", 0},
2518    {"pppoeradius_enabled", "0", 0},
2519    {"pppoeserver_remoteaddr", "10.10.10.1", 0},
2520    {"pppoeserver_remotenet", "10.10.10.0", 0},
2521    {"pppoeserver_remotemask", "255.255.255.0", 0},
2522    {"pppoeserver_bsdcomp", "0", 0},
2523    {"pppoeserver_deflate", "0", 0},
2524    {"pppoeserver_lzs", "0", 0},
2525    {"pppoeserver_mppc", "0", 0},
2526    {"pppoeserver_encryption", "0", 0},
2527    {"pppoeserver_lcpechoint", "60", 0},
2528    {"pppoeserver_lcpechofail", "5", 0},
2529    {"pppoeserver_chaps", "", 0},
2530    {"pppoeserver_chapsnum", "0", 0},
2531    {"pppoeserver_idle", "600", 0},
2532    {"pppoeserver_authserverip", "192.168.1.1", 0},
2533    {"pppoeserver_authserverport", "1812", 0},
2534    {"pppoeserver_acctserverport", "1813", 0},
2535    {"pppoeserver_sharedkey", "", 0},
2536#endif
2537#ifdef HAVE_MILKFISH
2538    {"milkfish_enabled", "0", 0},       /* MILKFISH enable=1|disable=0 */
2539    {"openser_cfg", "/var/openser/milkfish_openser.cfg", 0},    /* MILKFISH
2540                                                                 * SETTING */
2541    {"milkfish_fromdomain", "", 0},     /* MILKFISH SETTING */
2542    {"milkfish_fromswitch", "off", 0},  /* MILKFISH SETTING */
2543    {"milkfish_username", "", 0},       /* MILKFISH SETTING */
2544    {"milkfish_password", "", 0},       /* MILKFISH SETTING */
2545    {"milkfish_routerid", "", 0},       /* MILKFISH SETTING */
2546    {"milkfish_ppptime", "off", 0},     /* MILKFISH SETTING - keep always
2547                                         * "off" on dd-wrt ! */
2548    {"milkfish_audit", "off", 0},       /* MILKFISH SETTING */
2549    {"milkfish_dynsip", "off", 0},      /* MILKFISH SETTING */
2550    {"milkfish_siptrace", "off", 0},    /* MILKFISH SETTING */
2551    {"milkfish_ddsubscribers", "", 0},  /* MILKFISH SETTING */
2552    {"milkfish_ddsubscribersnum", "0", 0},      /* MILKFISH SETTING */
2553    {"milkfish_ddaliases", "", 0},      /* MILKFISH SETTING */
2554    {"milkfish_ddaliasesnum", "0", 0},  /* MILKFISH SETTING */
2555    {"milkfish_ddactive", "", 0},       /* MILKFISH SETTING */
2556    {"milkfish_ddactivenum", "0", 0},   /* MILKFISH SETTING */
2557    {"milkfish_dsusername", "", 0},     /* MILKFISH SETTING */
2558    {"milkfish_dspassword", "", 0},     /* MILKFISH SETTING */
2559#endif
2560#ifdef HAVE_OLSRD
2561    {"olsrd_pollsize", "0.1", 0},
2562    {"olsrd_redundancy", "2", 0},
2563    {"olsrd_coverage", "7", 0},
2564    {"olsrd_lqfisheye", "1", 0},
2565    {"olsrd_lqaging", "0.1", 0},
2566    {"olsrd_lqdijkstramin", "0", 0},
2567    {"olsrd_lqdijkstramax", "5.0", 0},
2568    {"olsrd_lqlevel", "2", 0},
2569    {"olsrd_hysteresis", "0", 0},
2570#endif
2571    {"reconnect_enable", "0", 0},
2572    {"reconnect_hours", "0", 0},
2573    {"reconnect_minutes", "0", 0},
2574    {"af_enable", "0", 0},
2575    {"af_email", "", 0},
2576    {"af_ssid", "0", 0},
2577    {"af_ssid_name", "AnchorFree WiFi", 0},
2578    {"af_address", "", 0},
2579    {"af_address_2", "", 0},
2580    {"af_city", "", 0},
2581    {"af_zip", "", 0},
2582    {"af_state", "", 0},
2583    {"af_country", "", 0},
2584    {"af_category", "0", 0},
2585    {"af_publish", "1", 0},
2586    {"af_agree", "0", 0},
2587#ifdef HAVE_WAVESAT
2588    {"ofdm_mode", "disabled", 0},
2589    {"ofdm_upstream", "3525000", 0},
2590    {"ofdm_downstream", "3450000", 0},
2591    {"ofdm_width", "7", 0},
2592    {"ofdm_duplex", "TDD", 0},
2593#endif
2594#ifdef HAVE_FTP
2595    {"proftpd_enable", "0", 0},
2596    {"proftpd_port", "21", 0},
2597    {"proftpd_dir", "mnt", 0},
2598    {"proftpd_passw", "", 0},
2599    {"proftpd_writeen", "off", 0},
2600    {"proftpd_anon", "0", 0},
2601    {"proftpd_anon_subdir", "", 0},
2602#endif
2603#ifdef HAVE_SAMBA_SRV
2604    {"sambasrv_enable", "0", 0},
2605#endif
2606    {0, 0, 0}
2607};
2608
2609#ifdef HAVE_SKYTEL
2610#undef HAVE_POWERNOC_WORT54G
2611#undef HAVE_POWERNOC
2612#endif
Note: See TracBrowser for help on using the repository browser.