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

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

make vpn device selectable (tun/tap)

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