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

Last change on this file since 10413 was 10413, checked in by BrainSlayer, 5 years ago

different default settings

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