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

Last change on this file since 7767 was 7767, checked in by eko, 10 years ago

size reduction

File size: 79.2 KB
Line 
1/*
2 * defaults.c
3 *
4 * Copyright (C) 2007 Sebastian Gottschall <gottschall@dd-wrt.com>
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19 *
20 * $Id:
21 */
22
23
24#include <epivers.h>
25#include <string.h>
26#include <bcmnvram.h>
27#include <typedefs.h>
28#include <wlioctl.h>
29#include <stdio.h>
30#include <ezc.h>
31
32#include <code_pattern.h>
33#include <cy_conf.h>
34
35#define XSTR(s) STR(s)
36#define STR(s) #s
37
38
39#ifdef HAVE_SKYTEL
40#define HAVE_POWERNOC_WORT54G 1
41#define HAVE_POWERNOC 1
42#endif
43
44struct nvram_tuple srouter_defaults[] = {
45  // {"default_init","1",0},
46  {"nvram_ver", "2", 0},
47#ifdef HAVE_FON
48
49#ifdef HAVE_MSSID
50  {"fon_revision", "913", 0},
51#else
52  {"fon_revision", "13", 0},
53#endif
54  {"router_style", "fon", 0},
55#elif HAVE_GGEW
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#ifdef HAVE_MAKSAT_BROADCOM
69  {"router_style", "elegant", 0},
70#else
71  {"router_style", "maksat", 0},
72#endif // HAVE_MAKSAT_BROADCOM
73#else
74  {"router_style", "elegant", 0},
75#endif
76  /* OS parameters */
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  /* Miscellaneous parameters */
83  {"timer_interval", "3600", 0},        /* Timer interval in seconds */
84  {"time_zone", "+01", 0},      /* Time zone (GNU TZ format) */
85  {"daylight_time", "3", 0},    /* Automatically adjust clock for daylight */
86
87#ifdef HAVE_SKYTRON
88  {"ntp_server", "ntp0.fau.de", 0},     /* NTP server *//* Modify */
89#else
90  {"ntp_server", "", 0},        /* NTP server *//* Modify */
91
92
93  {"refresh_time", "3", 0},     /* GUI Auto-Refresh interval */
94
95#endif
96  {"log_level", "0", 0},        /* Bitmask 0:off 1:denied 2:accepted */
97
98
99#ifdef HAVE_UPNP
100#ifdef HAVE_SKYTRON
101  {"upnp_enable", "1", 0},      /* 0:Disable 1:Enable */
102#else
103  {"upnp_enable", "0", 0},      /* 0:Disable 1:Enable */
104#endif
105  {"upnp_ssdp_interval", "60", 0},      /* SSDP interval */
106  {"upnp_max_age", "180", 0},   /* MAX age time */
107  {"upnpmnp", "0", 0},          /* UPnP URL */
108  {"upnpcas", "0", 0},          /* UPnP clear at startup */
109#endif
110
111  {"ezc_enable", "1", 0},       /* Enable EZConfig updates */
112  {"ezc_version", EZC_VERSION_STR, 0},  /* EZConfig version */
113  {"is_default", "1", 0},       /* is it default setting: 1:yes 0:no */
114  {"os_server", "", 0},         /* URL for getting upgrades */
115  {"stats_server", "", 0},      /* URL for posting stats */
116  {"console_loglevel", "1", 0}, /* Kernel panics only */
117
118  /* Big switches */
119//  {"router_disable", "0", 0}, /* lan_proto=static lan_stp=0 wan_proto=disabled */
120  {"fw_disable", "0", 0},       /* Disable firewall (allow new connections from the WAN) */
121
122  /* TCP/IP parameters */
123  {"log_enable", "0", 0},       /* 0:Disable 1:Eanble *//* Add */
124  {"log_ipaddr", "0", 0},       /* syslog recipient */
125
126  /* LAN H/W parameters */
127  {"lan_ifname", "", 0},        /* LAN interface name */
128  {"lan_ifnames", "", 0},       /* Enslaved LAN interfaces */
129  {"lan_hwnames", "", 0},       /* LAN driver names (e.g. et0) */
130  {"lan_hwaddr", "", 0},        /* LAN interface MAC address */
131#ifdef HAVE_MADWIFI
132  {"wl0_ifname", "ath0", 0},    /* LAN interface MAC address */
133#else
134  {"wl0_ifname", "eth1", 0},    /* LAN interface MAC address */
135#endif
136  /* LAN TCP/IP parameters */
137#ifdef HAVE_POWERNOC_WOAP54G
138  {"lan_proto", "static", 0},   /* [static|dhcp] */
139#else
140  {"lan_proto", "dhcp", 0},     /* [static|dhcp] */
141#endif
142#ifdef HAVE_SKYTRON
143  {"lan_ipaddr", "192.168.0.1", 0},     /* LAN IP address */
144#elif HAVE_DDLAN
145  {"lan_ipaddr", "192.168.11.1", 0},    /* LAN IP address */
146#elif HAVE_BUFFALO
147  {"lan_ipaddr", "192.168.11.1", 0},    /* LAN IP address */
148#elif HAVE_GGEW
149  {"lan_ipaddr", "192.168.1.1", 0},     /* LAN IP address */
150#elif HAVE_NEWMEDIA
151  {"lan_ipaddr", "172.31.28.3", 0},     /* LAN IP address */
152#elif HAVE_FON
153  {"lan_ipaddr", "192.168.10.1", 0},    /* LAN IP address */
154#elif HAVE_34TELECOM
155  {"lan_ipaddr", "192.168.1.4", 0},     /* LAN IP address */
156#elif HAVE_SPUTNIK
157  {"lan_ipaddr", "192.168.180.1", 0},   /* LAN IP address */
158#else
159  {"lan_ipaddr", "192.168.1.1", 0},     /* LAN IP address */
160#endif
161  {"lan_netmask", "255.255.255.0", 0},  /* LAN netmask */
162  {"lan_gateway", "0.0.0.0", 0},        /* LAN gateway */
163  {"sv_localdns", "0.0.0.0", 0},        /* Local DNS */
164#ifdef HAVE_SKYTRON
165  {"lan_stp", "0", 0},          /* LAN spanning tree protocol */
166#else
167  {"lan_stp", "1", 0},          /* LAN spanning tree protocol */
168#endif
169  {"lan_wins", "", 0},          /* x.x.x.x x.x.x.x ... */
170#ifdef HAVE_SKYTRON
171  {"lan_domain", "local", 0},   /* LAN domain name */
172#else
173  {"lan_domain", "", 0},        /* LAN domain name */
174#endif
175  {"lan_lease", "86400", 0},    /* LAN lease time in seconds */
176//  {"lan_lease", "1440", 0},   /* LAN lease time in seconds */
177
178  /* WAN H/W parameters */
179
180  {"wan_ifname", "", 0},        /* WAN interface name */
181  {"wan_ifname2", "", 0},       /* WAN interface name (clone) */
182  {"wan_ifnames", "", 0},       /* WAN interface names */
183  {"wan_hwname", "", 0},        /* WAN driver name (e.g. et1) */
184  {"wan_hwaddr", "", 0},        /* WAN interface MAC address */
185
186  /* WAN TCP/IP parameters */
187
188#ifdef HAVE_SKYTRON
189  {"wan_proto", "static", 0},   /* [static|dhcp|pppoe|disabled] */
190  {"wan_ipaddr", "10.254.254.254", 0},  /* WAN IP address */
191  {"wan_netmask", "255.0.0.0", 0},      /* WAN netmask */
192  {"wan_gateway", "10.0.0.1", 0},       /* WAN gateway */
193  {"wan_dns", "213.146.232.2 213.146.230.2", 0},        /* x.x.x.x x.x.x.x ... */
194#elif HAVE_DDLAN
195  {"wan_proto", "disabled", 0}, /* [static|dhcp|pppoe|disabled] */
196
197  {"wan_ipaddr", "0.0.0.0", 0}, /* WAN IP address */
198  {"wan_netmask", "0.0.0.0", 0},        /* WAN netmask */
199  {"wan_gateway", "0.0.0.0", 0},        /* WAN gateway */
200  {"wan_dns", "", 0},           /* x.x.x.x x.x.x.x ... */
201#elif HAVE_X86
202#ifdef HAVE_GW700
203  {"wan_proto", "dhcp", 0},     /* [static|dhcp|pppoe|disabled] */
204#else
205  {"wan_proto", "disabled", 0}, /* [static|dhcp|pppoe|disabled] */
206#endif
207#elif HAVE_MAGICBOX
208  {"wan_proto", "disabled", 0}, /* [static|dhcp|pppoe|disabled] */
209#elif HAVE_TW6600
210  {"wan_proto", "disabled", 0}, /* [static|dhcp|pppoe|disabled] */
211#elif HAVE_XSCALE
212  {"wan_proto", "disabled", 0}, /* [static|dhcp|pppoe|disabled] */
213#elif HAVE_FONERA
214  {"wan_proto", "disabled", 0}, /* [static|dhcp|pppoe|disabled] */
215#elif HAVE_CA8
216  {"wan_proto", "disabled", 0}, /* [static|dhcp|pppoe|disabled] */
217#else
218  {"wan_proto", "dhcp", 0},     /* [static|dhcp|pppoe|disabled] */
219
220#endif
221  {"wan_ipaddr", "0.0.0.0", 0}, /* WAN IP address */
222  {"wan_netmask", "0.0.0.0", 0},        /* WAN netmask */
223  {"wan_gateway", "0.0.0.0", 0},        /* WAN gateway */
224  {"wan_dns", "", 0},           /* x.x.x.x x.x.x.x ... */
225
226  {"wan_wins", "0.0.0.0", 0},   /* x.x.x.x x.x.x.x ... */
227
228#ifdef HAVE_SKYTRON
229  {"wan_hostname", "skymax254b", 0},    /* WAN hostname */
230  {"wan_domain", "local", 0},   /* WAN domain name */
231#else
232  {"wan_hostname", "", 0},      /* WAN hostname */
233  {"wan_domain", "", 0},        /* WAN domain name */
234#endif
235  {"wan_lease", "86400", 0},    /* WAN lease time in seconds */
236  {"static_route", "", 0},      /* Static routes (ipaddr:netmask:gateway:metric:ifname ...) */
237  {"static_route_name", "", 0}, /* Static routes name ($NAME:name) */
238
239  {"ses_enable", "1", 0},       /* enable ses */
240  {"ses_event", "2", 0},        /* initial ses event */
241  {"ses_button", "0", 0},       /* Affect custom actions to SES Button - 0-3: nothing, reboot, enable/disable wireless, custom script */
242  {"ses_script", "", 0},        /* Custom script to launch when pushing SES Button */
243
244  {"wan_primary", "1", 0},      /* Primary wan connection */
245  {"wan_unit", "0", 0},         /* Last configured connection */
246
247  /* Filters */
248  {"filter_maclist", "", 0},    /* xx:xx:xx:xx:xx:xx ... */
249  {"filter_macmode", "deny", 0},        /* "allow" only, "deny" only, or "disabled" (allow all) */
250  {"filter_client0", "", 0},    /* [lan_ipaddr0-lan_ipaddr1|*]:lan_port0-lan_port1,proto,enable,day_start-day_end,sec_start-sec_end,desc */
251
252  {"filter_port", "", 0},       /* [lan_ipaddr|*]:lan_port0-lan_port1 */
253  {"filter_rule1", "", 0},      /* $STAT: $NAME:$$ */
254  {"filter_rule2", "", 0},      /* $STAT: $NAME:$$ */
255  {"filter_rule3", "", 0},      /* $STAT: $NAME:$$ */
256  {"filter_rule4", "", 0},      /* $STAT: $NAME:$$ */
257  {"filter_rule5", "", 0},      /* $STAT: $NAME:$$ */
258  {"filter_rule6", "", 0},      /* $STAT: $NAME:$$ */
259  {"filter_rule7", "", 0},      /* $STAT: $NAME:$$ */
260  {"filter_rule8", "", 0},      /* $STAT: $NAME:$$ */
261  {"filter_rule9", "", 0},      /* $STAT: $NAME:$$ */
262  {"filter_rule10", "", 0},     /* $STAT: $NAME:$$ */
263  {"filter_tod1", "", 0},       /* Filter Time of the day */
264  {"filter_tod2", "", 0},       /* Filter Time of the day */
265  {"filter_tod3", "", 0},       /* Filter Time of the day */
266  {"filter_tod4", "", 0},       /* Filter Time of the day */
267  {"filter_tod5", "", 0},       /* Filter Time of the day */
268  {"filter_tod6", "", 0},       /* Filter Time of the day */
269  {"filter_tod7", "", 0},       /* Filter Time of the day */
270  {"filter_tod8", "", 0},       /* Filter Time of the day */
271  {"filter_tod9", "", 0},       /* Filter Time of the day */
272  {"filter_tod10", "", 0},      /* Filter Time of the day */
273  {"filter_tod_buf1", "", 0},   /* Filter Time of the day */
274  {"filter_tod_buf2", "", 0},   /* Filter Time of the day */
275  {"filter_tod_buf3", "", 0},   /* Filter Time of the day */
276  {"filter_tod_buf4", "", 0},   /* Filter Time of the day */
277  {"filter_tod_buf5", "", 0},   /* Filter Time of the day */
278  {"filter_tod_buf6", "", 0},   /* Filter Time of the day */
279  {"filter_tod_buf7", "", 0},   /* Filter Time of the day */
280  {"filter_tod_buf8", "", 0},   /* Filter Time of the day */
281  {"filter_tod_buf9", "", 0},   /* Filter Time of the day */
282  {"filter_tod_buf10", "", 0},  /* Filter Time of the day */
283  {"filter_ip_grp1", "", 0},    /* Filter IP group 1 */
284  {"filter_ip_grp2", "", 0},    /* Filter IP group 1 */
285  {"filter_ip_grp3", "", 0},    /* Filter IP group 1 */
286  {"filter_ip_grp4", "", 0},    /* Filter IP group 1 */
287  {"filter_ip_grp5", "", 0},    /* Filter IP group 1 */
288  {"filter_ip_grp6", "", 0},    /* Filter IP group 1 */
289  {"filter_ip_grp7", "", 0},    /* Filter IP group 1 */
290  {"filter_ip_grp8", "", 0},    /* Filter IP group 1 */
291  {"filter_ip_grp9", "", 0},    /* Filter IP group 1 */
292  {"filter_ip_grp10", "", 0},   /* Filter IP group 1 */
293  {"filter_mac_grp1", "", 0},   /* Filter MAC group 1 */
294  {"filter_mac_grp2", "", 0},   /* Filter MAC group 1 */
295  {"filter_mac_grp3", "", 0},   /* Filter MAC group 1 */
296  {"filter_mac_grp4", "", 0},   /* Filter MAC group 1 */
297  {"filter_mac_grp5", "", 0},   /* Filter MAC group 1 */
298  {"filter_mac_grp6", "", 0},   /* Filter MAC group 1 */
299  {"filter_mac_grp7", "", 0},   /* Filter MAC group 1 */
300  {"filter_mac_grp8", "", 0},   /* Filter MAC group 1 */
301  {"filter_mac_grp9", "", 0},   /* Filter MAC group 1 */
302  {"filter_mac_grp10", "", 0},  /* Filter MAC group 1 */
303  {"filter_web_host1", "", 0},  /* Website Blocking by URL Address */
304  {"filter_web_host2", "", 0},  /* Website Blocking by URL Address */
305  {"filter_web_host3", "", 0},  /* Website Blocking by URL Address */
306  {"filter_web_host4", "", 0},  /* Website Blocking by URL Address */
307  {"filter_web_host5", "", 0},  /* Website Blocking by URL Address */
308  {"filter_web_host6", "", 0},  /* Website Blocking by URL Address */
309  {"filter_web_host7", "", 0},  /* Website Blocking by URL Address */
310  {"filter_web_host8", "", 0},  /* Website Blocking by URL Address */
311  {"filter_web_host9", "", 0},  /* Website Blocking by URL Address */
312  {"filter_web_host10", "", 0}, /* Website Blocking by URL Address */
313  {"filter_web_url1", "", 0},   /* Website Blocking by keyword */
314  {"filter_web_url2", "", 0},   /* Website Blocking by keyword */
315  {"filter_web_url3", "", 0},   /* Website Blocking by keyword */
316  {"filter_web_url4", "", 0},   /* Website Blocking by keyword */
317  {"filter_web_url5", "", 0},   /* Website Blocking by keyword */
318  {"filter_web_url6", "", 0},   /* Website Blocking by keyword */
319  {"filter_web_url7", "", 0},   /* Website Blocking by keyword */
320  {"filter_web_url8", "", 0},   /* Website Blocking by keyword */
321  {"filter_web_url9", "", 0},   /* Website Blocking by keyword */
322  {"filter_web_url10", "", 0},  /* Website Blocking by keyword */
323  {"filter_port_grp1", "", 0},  /* Blocked Services */
324  {"filter_port_grp2", "", 0},  /* Blocked Services */
325  {"filter_port_grp3", "", 0},  /* Blocked Services */
326  {"filter_port_grp4", "", 0},  /* Blocked Services */
327  {"filter_port_grp5", "", 0},  /* Blocked Services */
328  {"filter_port_grp6", "", 0},  /* Blocked Services */
329  {"filter_port_grp7", "", 0},  /* Blocked Services */
330  {"filter_port_grp8", "", 0},  /* Blocked Services */
331  {"filter_port_grp9", "", 0},  /* Blocked Services */
332  {"filter_port_grp10", "", 0}, /* Blocked Services */
333  {"filter_dport_grp1", "", 0}, /* Blocked Services */
334  {"filter_dport_grp2", "", 0}, /* Blocked Services */
335  {"filter_dport_grp3", "", 0}, /* Blocked Services */
336  {"filter_dport_grp4", "", 0}, /* Blocked Services */
337  {"filter_dport_grp5", "", 0}, /* Blocked Services */
338  {"filter_dport_grp6", "", 0}, /* Blocked Services */
339  {"filter_dport_grp7", "", 0}, /* Blocked Services */
340  {"filter_dport_grp8", "", 0}, /* Blocked Services */
341  {"filter_dport_grp9", "", 0}, /* Blocked Services */
342  {"filter_dport_grp10", "", 0},        /* Blocked Services */
343
344  /* Services List */
345  {"filter_services", "", 0},
346  {"filter_services0",
347   "$NAME:006:100bao$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:aim$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:013:aimwebcontent$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:010:applejuice$PROT:003:p2p$PORT:003:0:0<&nbsp;>$NAME:004:ares$PROT:003:p2p$PORT:003:0:0<&nbsp;>$NAME:011:audiogalaxy$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:015:battlefield1942$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:012:battlefield2$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:bgp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:biff$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:010:bittorrent$PROT:003:p2p$PORT:003:0:0<&nbsp;>$NAME:006:chikka$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:cimd$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:ciscovpn$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:citrix$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:code_red$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:020:counterstrike-source$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:cvs$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:018:dayofdefeat-source$PROT:002:l7$PORT:003:0:0<&nbsp;>",
348   0},
349  {"filter_services1",
350   "$NAME:004:dhcp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:013:directconnect$PROT:003:p2p$PORT:003:0:0<&nbsp;>$NAME:003:dns$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:doom3$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:007:edonkey$PROT:003:p2p$PORT:003:0:0<&nbsp;>$NAME:003:exe$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:009:fasttrack$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:finger$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:flash$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:007:freenet$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:ftp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:gif$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:007:gkrellm$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:011:gnucleuslan$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:gnutella$PROT:003:p2p$PORT:003:0:0<&nbsp;>$NAME:007:goboogy$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:gopher$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:h323$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:020:halflife2-deathmatch$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:007:hddtemp$PROT:002:l7$PORT:003:0:0<&nbsp;>",
351   0},
352  {"filter_services2",
353   "$NAME:007:hotline$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:html$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:http$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:http-dap$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:010:http-fresh$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:011:http-itunes$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:009:http-rtsp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:009:httpaudio$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:012:httpcachehit$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:013:httpcachemiss$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:009:httpvideo$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:ident$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:imap$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:imesh$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:ipp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:irc$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:jabber$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:jpeg$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:kugoo$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:007:live365$PROT:002:l7$PORT:003:0:0<&nbsp;>",
354   0},
355  {"filter_services3",
356   "$NAME:003:lpd$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:mohaa$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:012:msnmessenger$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:016:msn-filetransfer$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:mute$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:007:napster$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:nbns$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:ncp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:007:netbios$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:nimda$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:nntp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:ntp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:ogg$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:openft$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:010:pcanywhere$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:pdf$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:perl$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:poco$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:pop3$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:010:postscript$PROT:002:l7$PORT:003:0:0<&nbsp;>",
357   0},
358  {"filter_services4",
359   "$NAME:009:pressplay$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:002:qq$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:014:quake-halflife$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:quake1$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:009:quicktime$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:radmin$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:rar$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:rdp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:012:replaytv-ivs$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:rlogin$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:rpm$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:rtf$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:rtsp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:009:shoutcast$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:sip$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:skypeout$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:012:skypetoskype$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:smb$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:smtp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:snmp$PROT:002:l7$PORT:003:0:0<&nbsp;>",
360   0},
361  {"filter_services5",
362   "$NAME:008:snmp-mon$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:009:snmp-trap$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:socks$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:soribada$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:soulseek$PROT:003:p2p$PORT:003:0:0<&nbsp;>$NAME:004:ssdp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:ssh$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:ssl$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:stun$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:subspace$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:010:subversion$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:tar$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:009:teamspeak$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:telnet$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:tesla$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:tftp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:009:thecircle$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:tls$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:tor$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:tsp$PROT:002:l7$PORT:003:0:0<&nbsp;>",
363   0},
364  {"filter_services6",
365   "$NAME:007:unknown$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:004:uucp$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:012:validcertssl$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:ventrilo$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:vnc$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:winmx$PROT:003:p2p$PORT:003:0:0<&nbsp;>$NAME:005:whois$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:015:worldofwarcraft$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:x11$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:008:xboxlive$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:006:xunlei$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:yahoo$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:003:zip$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:005:zmaap$PROT:002:l7$PORT:003:0:0<&nbsp;>$NAME:010:armagetron$PROT:002:l7$PORT:003:0:0<&nbsp;>",
366   0},
367  {"filter_services7",
368   "",
369   0},
370
371
372  /* Port forwards */
373  {"dmz_enable", "0", 0},       /* Enable (1) or Disable (0) */
374  {"dmz_ipaddr", "0", 0},       /* x.x.x.x (equivalent to 0-60999>dmz_ipaddr:0-60999) */
375  {"autofw_port0", "", 0},      /* out_proto:out_port,in_proto:in_port0-in_port1>to_port0-to_port1,enable,desc */
376
377  /* DHCP server parameters */
378  {"dhcp_start", "100", 0},     /* First assignable DHCP address */
379  //{ "dhcp_end", "150", 0 },             /* Last assignable DHCP address */      /* Remove */
380  {"dhcp_num", "50", 0},        /* Number of DHCP Users *//* Add */
381
382#ifdef HAVE_SKYTRON
383  {"dhcp_lease", "10", 0},      /* LAN lease time in minutes */
384#else
385  {"dhcp_lease", "1440", 0},    /* LAN lease time in minutes */
386#endif
387  {"dhcp_domain", "wan", 0},    /* Use WAN domain name first if available (wan|lan) */
388  {"dhcp_wins", "wan", 0},      /* Use WAN WINS first if available (wan|lan) */
389  {"wan_get_dns", "", 0},       /* DNS IP address which get by dhcpc *//* Add */
390
391
392  /* Web server parameters */
393#ifdef HAVE_DDLAN
394  {"http2_username", "bJQHeWqy4l/Ng", 0},       /* Username */
395  {"http2_passwd", "bJQHeWqy4l/Ng", 0}, /* Username */
396#endif
397#ifdef HAVE_POWERNOC
398  {"http_username", "bJz7PcC1rCRJQ", 0},        /* Username */
399#else
400  {"http_username", "bJ/GddyoJuiU2", 0},        /* Username */
401#endif
402
403#ifdef HAVE_SKYTRON
404  {"skyhttp_username", "bJkMQXH.mZhZo", 0},     /* Username */
405  {"skyhttp_passwd", "bJkMQXH.mZhZo", 0},       /* Password */
406  {"http_passwd", "bJe0C3lwF.z0c", 0},  /* Password */
407#elif HAVE_NEWMEDIA
408#ifdef HAVE_GGEW
409  {"http_passwd", "bJz7PcC1rCRJQ", 0},  /* Password */
410#elif HAVE_KODATA
411  {"http_passwd", "bJDLObifZlIRQ", 0},  /* Password */
412#else
413  {"http_passwd", "bJxJZz5DYRGxI", 0},  /* Password */
414#endif
415#else
416  {"http_passwd", "bJz7PcC1rCRJQ", 0},  /* Password */
417#endif
418
419  {"http_wanport", "8080", 0},  /* WAN port to listen on */
420  {"http_lanport", "80", 0},    /* LAN port to listen on */
421  {"http_enable", "1", 0},      /* HTTP server enable/disable */
422#ifdef HAVE_HTTPS
423  {"https_enable", "0", 0},     /* HTTPS server enable/disable */
424#endif
425  {"http_method", "post", 0},   /* HTTP method */
426#ifdef HAVE_SAGAR
427  {"web_wl_filter", "1", 0},    /* Allow/Deny Wireless Access Web */
428#else
429  {"web_wl_filter", "0", 0},    /* Allow/Deny Wireless Access Web */
430#endif
431  /* PPPoE parameters */
432  {"pppoe_ifname", "", 0},      /* PPPoE enslaved interface */
433  {"ppp_username", "", 0},      /* PPP username */
434  {"ppp_passwd", "", 0},        /* PPP password */
435  {"ppp_idletime", "5", 0},     /* Dial on demand max idle time (mins) */
436  {"ppp_keepalive", "0", 0},    /* Restore link automatically */
437  {"ppp_demand", "0", 0},       /* Dial on demand */
438  {"ppp_redialperiod", "30", 0},        /* Redial Period  (seconds) */
439  {"ppp_mru", "1500", 0},       /* Negotiate MRU to this value */
440  {"ppp_mtu", "1500", 0},       /* Negotiate MTU to the smaller of this value or the peer MRU */
441  {"ppp_service", "", 0},       /* PPPoE service name */
442  {"ppp_ac", "", 0},            /* PPPoE access concentrator name */
443  {"ppp_static", "0", 0},       /* Enable / Disable Static IP  */
444  {"ppp_static_ip", "", 0},     /* PPPoE Static IP */
445  {"ppp_get_ac", "", 0},        /* PPPoE Server ac name */
446  {"ppp_get_srv", "", 0},       /* PPPoE Server service name */
447  {"ppp_compression", "0", 0},          /* PPPoE compr. */
448  {"ppp_mppe", "", 0},          /* PPPoE mppe parameters */
449
450  /* Wireless parameters */
451
452#ifdef HAVE_MSSID
453  {"wl0_nbw", "40", 0},         /* N-BW */
454  {"wl0_nctrlsb", "lower", 0},  /* N-CTRL SB */
455  {"wl0_nband", "2", 0},        /* N-BAND */
456  {"wl0_nmcsidx", "-1", 0},     /* N-MCS Index - rate */
457  {"wl0_nmode", "-1", 0},       /* N-mode */
458  {"wl0_nreqd", "0", 0},        /* Require 802.11n support */
459  {"wl0_vlan_prio_mode", "off", 0},     /* VLAN Priority support */
460  {"wl0_leddc", "0x640000", 0}, /* 100% duty cycle for LED on router */
461  {"wl0_sta_retry_time", "5", 0},       /* 100% duty cycle for LED on router */
462#endif
463#ifdef HAVE_DDLAN
464  {"wl_distance", "2000", 0},   /* ack timing, distance in meters */
465#else
466  {"wl_distance", "2000", 0},   /* ack timing, distance in meters */
467#endif
468  {"wl_ifname", "", 0},         /* Interface name */
469  {"wl_hwaddr", "", 0},         /* MAC address */
470  {"wl_phytype", "g", 0},       /* Current wireless band ("a" (5 GHz), "b" (2.4 GHz), or "g" (2.4 GHz)) *//* Modify */
471  {"wl_corerev", "", 0},        /* Current core revision */
472  {"wl_phytypes", "", 0},       /* List of supported wireless bands (e.g. "ga") */
473  {"wl_radioids", "", 0},       /* List of radio IDs */
474  {"wl_shortslot", "auto", 0},
475#ifdef HAVE_WTS
476  {"wl_ssid", "www.wts.com.ve", 0},     /* Service set ID (network name) */
477#elif HAVE_DDLAN
478  {"wl_ssid", "www.ddlan.de", 0},       /* Service set ID (network name) */
479#elif HAVE_SKYTEL
480  {"wl_ssid", "skytel", 0},     /* Service set ID (network name) */
481#elif HAVE_POWERNOC
482  {"wl_ssid", "powernoc", 0},   /* Service set ID (network name) */
483#elif HAVE_SKYTRON
484  {"wl_ssid", "SKYTRON Network", 0},    /* Service set ID (network name) */
485#elif HAVE_SAGAR
486  {"wl_ssid", "hotspot-internet", 0},   /* Service set ID (network name) */
487#elif HAVE_GGEW
488  {"wl_ssid", "GGEWnet-WLAN", 0},       /* Service set ID (network name) */
489#elif HAVE_NEWMEDIA
490  {"wl_ssid", "changeme", 0},   /* Service set ID (network name) */
491#elif HAVE_MAKSAT
492  {"wl_ssid", "maksat", 0},     /* Service set ID (network name) */
493#elif HAVE_34TELECOM
494  {"wl_ssid", "Lobo", 0},       /* Service set ID (network name) */
495#elif HAVE_FON
496#ifdef HAVE_MSSID
497  {"wl_ssid", "FON_INIT", 0},   /* Service set ID (network name) */
498#else
499  {"wl_ssid", "FON_HotSpot", 0},        /* Service set ID (network name) */
500#endif
501#else
502#ifdef HAVE_MSSID
503
504#ifdef HAVE_MADWIFI
505#ifdef HAVE_MAKSAT
506  {"show_hidden", "1", 0},
507  {"ath_regulatory", "0", 0},
508  {"wl0_ssid", "maksat", 0},    /* Service set ID (network name) */
509  {"ath0_ssid", "maksat", 0},   /* Service set ID (network name) */
510#else
511  {"ath_regulatory", "1", 0},
512#ifdef HAVE_BUFFALO
513  {"wl0_ssid", "BUFFALO", 0},   /* Service set ID (network name) */
514  {"ath0_ssid", "BUFFALO", 0},  /* Service set ID (network name) */
515#else
516  {"wl0_ssid", "dd-wrt", 0},    /* Service set ID (network name) */
517  {"ath0_ssid", "dd-wrt", 0},   /* Service set ID (network name) */
518#endif
519
520#endif
521  {"ath0.1_ssid", "", 0},       /* Service set ID (network name) */
522  {"ath0.2_ssid", "", 0},       /* Service set ID (network name) */
523  {"ath0.3_ssid", "", 0},       /* Service set ID (network name) */
524  {"ath0_bridged", "1", 0},     /* Service set ID (network name) */
525  {"ath0.1_bridged", "1", 0},   /* Service set ID (network name) */
526  {"ath0.2_bridged", "1", 0},   /* Service set ID (network name) */
527  {"ath0.3_bridged", "1", 0},   /* Service set ID (network name) */
528  {"ath0_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
529  {"ath0.1_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
530  {"ath0.2_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
531  {"ath0.3_ipaddr", "0.0.0.0", 0},      /* Service set ID (network name) */
532  {"ath0_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
533  {"ath0.1_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
534  {"ath0.2_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
535  {"ath0.3_netmask", "0.0.0.0", 0},     /* Service set ID (network name) */
536#else
537#ifdef HAVE_BUFFALO
538  {"wl_ssid", "BUFFALO", 0},    /* Service set ID (network name) */
539  {"wl0_ssid", "BUFFALO", 0},   /* Service set ID (network name) */
540#else
541  {"wl_ssid", "dd-wrt", 0},     /* Service set ID (network name) */
542  {"wl0_ssid", "dd-wrt", 0},    /* Service set ID (network name) */
543#endif
544  {"wl0.1_ssid", "", 0},        /* Service set ID (network name) */
545  {"wl0.2_ssid", "", 0},        /* Service set ID (network name) */
546  {"wl0.3_ssid", "", 0},        /* Service set ID (network name) */
547  {"wl0_bridged", "1", 0},      /* Service set ID (network name) */
548  {"wl0.1_bridged", "1", 0},    /* Service set ID (network name) */
549  {"wl0.2_bridged", "1", 0},    /* Service set ID (network name) */
550  {"wl0.3_bridged", "1", 0},    /* Service set ID (network name) */
551  {"wl0_ipaddr", "0.0.0.0", 0}, /* Service set ID (network name) */
552  {"wl0.1_ipaddr", "0.0.0.0", 0},       /* Service set ID (network name) */
553  {"wl0.2_ipaddr", "0.0.0.0", 0},       /* Service set ID (network name) */
554  {"wl0.3_ipaddr", "0.0.0.0", 0},       /* Service set ID (network name) */
555  {"wl0_netmask", "0.0.0.0", 0},        /* Service set ID (network name) */
556  {"wl0.1_netmask", "0.0.0.0", 0},      /* Service set ID (network name) */
557  {"wl0.2_netmask", "0.0.0.0", 0},      /* Service set ID (network name) */
558  {"wl0.3_netmask", "0.0.0.0", 0},      /* Service set ID (network name) */
559#endif
560#else
561#ifdef HAVE_BUFFALO
562  {"wl_ssid", "BUFFALO", 0},    /* Service set ID (network name) */
563#else
564  {"wl_ssid", "dd-wrt", 0},     /* Service set ID (network name) */
565#endif
566#endif
567
568
569#endif
570#ifdef HAVE_MSSID
571  {"wl_country", "Japan", 0},   /* Country (default obtained from driver) */
572#endif
573#ifdef HAVE_NEWMEDIA
574  {"wl_radio", "1", 0},         /* Enable (1) or disable (0) radio */
575  {"wl_closed", "1", 0},        /* Closed (hidden) network */
576#else
577#ifdef HAVE_MADWIFI
578  {"ath0_radio", "1", 0},       /* Enable (1) or disable (0) radio */
579  {"ath0_closed", "0", 0},      /* Closed (hidden) network */
580  {"ath1_radio", "1", 0},       /* Enable (1) or disable (0) radio */
581  {"ath1_closed", "0", 0},      /* Closed (hidden) network */
582  {"ath2_radio", "1", 0},       /* Enable (1) or disable (0) radio */
583  {"ath2_closed", "0", 0},      /* Closed (hidden) network */
584  {"ath3_radio", "1", 0},       /* Enable (1) or disable (0) radio */
585  {"ath3_closed", "0", 0},      /* Closed (hidden) network */
586  {"ath4_radio", "1", 0},       /* Enable (1) or disable (0) radio */
587  {"ath4_closed", "0", 0},      /* Closed (hidden) network */
588  {"ath5_radio", "1", 0},       /* Enable (1) or disable (0) radio */
589  {"ath5_closed", "0", 0},      /* Closed (hidden) network */
590#else
591  {"wl_radio", "1", 0},         /* Enable (1) or disable (0) radio */
592  {"wl_closed", "0", 0},        /* Closed (hidden) network */
593#ifdef HAVE_MSSID
594  {"wl0_radio", "1", 0},        /* Enable (1) or disable (0) radio */
595  {"wl0_closed", "0", 0},       /* Closed (hidden) network */
596  {"wl0.1_closed", "0", 0},     /* Closed (hidden) network */
597  {"wl0.2_closed", "0", 0},     /* Closed (hidden) network */
598  {"wl0.3_closed", "0", 0},     /* Closed (hidden) network */
599#endif
600
601#endif
602
603#endif
604
605
606#ifdef HAVE_SAGAR
607  {"wl_ap_isolate", "1", 0},    /* AP isolate mode */
608#elif HAVE_FON
609  {"wl_ap_isolate", "1", 0},    /* AP isolate mode */
610#else
611  {"wl_ap_isolate", "0", 0},    /* AP isolate mode */
612#endif
613#ifdef HAVE_POWERNOC_WORT54G
614  {"wl_mode", "sta", 0},        /* AP mode (ap|sta|wet|infra) */
615  {"wl0_mode", "sta", 0},       /* AP mode (ap|sta|wds) */
616#elif HAVE_SKYTRON
617  {"wl_mode", "sta", 0},
618  {"wl0_mode", "sta", 0},
619#elif HAVE_DDLAN
620  {"wl_mode", "sta", 0},
621  {"wl0_mode", "sta", 0},
622#elif HAVE_GGEW
623  {"wl_mode", "sta", 0},
624  {"wl0_mode", "sta", 0},
625#else
626
627
628
629#ifdef HAVE_MSSID
630#ifdef HAVE_FON
631  {"wl_mode", "apsta", 0},
632  {"wl0_mode", "apsta", 0},
633  {"wl_vifs", "wl0.1", 0},
634  {"wl0_vifs", "wl0.1", 0},
635  {"wl0.1_ssid", "FON", 0},
636#else
637#ifndef HAVE_MADWIFI
638  {"wl_mode", "ap", 0},         /* AP mode (ap|sta|wet|infra) */
639  {"wl0_mode", "ap", 0},        /* AP mode (ap|sta|wet|infra) */
640#else
641  {"wl_mode", "ap", 0},         /* AP mode (ap|sta|wet|infra) */
642  {"ath0_channelbw", "20", 0},  /* AP mode (ap|sta|wds) */
643  {"ath1_channelbw", "20", 0},  /* AP mode (ap|sta|wds) */
644  {"ath2_channelbw", "20", 0},  /* AP mode (ap|sta|wds) */
645  {"ath3_channelbw", "20", 0},  /* AP mode (ap|sta|wds) */
646  {"ath4_channelbw", "20", 0},  /* AP mode (ap|sta|wds) */
647  {"ath5_channelbw", "20", 0},  /* AP mode (ap|sta|wds) */
648
649  {"ath0_mode", "ap", 0},       /* AP mode (ap|sta|wds) */
650  {"ath1_mode", "ap", 0},       /* AP mode (ap|sta|wds) */
651  {"ath2_mode", "ap", 0},       /* AP mode (ap|sta|wds) */
652  {"ath3_mode", "ap", 0},       /* AP mode (ap|sta|wds) */
653  {"ath4_mode", "ap", 0},       /* AP mode (ap|sta|wds) */
654  {"ath5_mode", "ap", 0},       /* AP mode (ap|sta|wds) */
655
656  {"ath0_xr", "0", 0},          /* AP mode (ap|sta|wds) */
657  {"ath1_xr", "0", 0},          /* AP mode (ap|sta|wds) */
658  {"ath2_xr", "0", 0},          /* AP mode (ap|sta|wds) */
659  {"ath3_xr", "0", 0},          /* AP mode (ap|sta|wds) */
660  {"ath4_xr", "0", 0},          /* AP mode (ap|sta|wds) */
661  {"ath5_xr", "0", 0},          /* AP mode (ap|sta|wds) */
662#endif
663#endif
664#else
665  {"wl_mode", "ap", 0},         /* AP mode (ap|sta|wet|infra) */
666#endif
667#endif
668#ifdef HAVE_MADWIFI
669  {"ath0_lazywds", "0", 0},     /* Enable "lazy" WDS mode (0|1) */
670  {"ath1_lazywds", "0", 0},     /* Enable "lazy" WDS mode (0|1) */
671  {"ath2_lazywds", "0", 0},     /* Enable "lazy" WDS mode (0|1) */
672  {"ath3_lazywds", "0", 0},     /* Enable "lazy" WDS mode (0|1) */
673#else
674  {"wl_lazywds", "0", 0},       /* Enable "lazy" WDS mode (0|1) */
675#endif
676  {"wl_wds", "", 0},            /* xx:xx:xx:xx:xx:xx ... */
677  {"wl_wep", "disabled", 0},    /* Data encryption (off|wep|tkip|aes) */
678#ifndef HAVE_MADWIFI
679#ifdef HAVE_MSSID
680  {"wl_crypto", "off", 0},      /* Data encryption (off|wep|tkip|aes) */
681  {"wl_auth", "0", 0},          /* Shared key authentication optional (0) or required (1) */
682  {"wl0_crypto", "off", 0},     /* Data encryption (off|wep|tkip|aes) */
683  {"wl0_auth", "0", 0},         /* Shared key authentication optional (0) or required (1) */
684  {"wl0_key", "1", 0},          /* Current WEP key */
685  {"wl0_key1", "", 0},          /* 5/13 char ASCII or 10/26 char hex */
686  {"wl0_key2", "", 0},          /* 5/13 char ASCII or 10/26 char hex */
687  {"wl0_key3", "", 0},          /* 5/13 char ASCII or 10/26 char hex */
688  {"wl0_key4", "", 0},          /* 5/13 char ASCII or 10/26 char hex */
689
690  {"wl0.1_crypto", "off", 0},   /* Data encryption (off|wep|tkip|aes) */
691  {"wl0.1_auth", "0", 0},       /* Shared key authentication optional (0) or required (1) */
692  {"wl0.1_key", "1", 0},        /* Current WEP key */
693  {"wl0.1_key1", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
694  {"wl0.1_key2", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
695  {"wl0.1_key3", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
696  {"wl0.1_key4", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
697
698  {"wl0.2_crypto", "off", 0},   /* Data encryption (off|wep|tkip|aes) */
699  {"wl0.2_auth", "0", 0},       /* Shared key authentication optional (0) or required (1) */
700  {"wl0.2_key", "1", 0},        /* Current WEP key */
701  {"wl0.2_key1", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
702  {"wl0.2_key2", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
703  {"wl0.2_key3", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
704  {"wl0.2_key4", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
705
706  {"wl0.3_crypto", "off", 0},   /* Data encryption (off|wep|tkip|aes) */
707  {"wl0.3_auth", "0", 0},       /* Shared key authentication optional (0) or required (1) */
708  {"wl0.3_key", "1", 0},        /* Current WEP key */
709  {"wl0.3_key1", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
710  {"wl0.3_key2", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
711  {"wl0.3_key3", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
712  {"wl0.3_key4", "", 0},        /* 5/13 char ASCII or 10/26 char hex */
713#else
714  {"wl_crypto", "off", 0},      /* Data encryption (off|wep|tkip|aes) */
715  {"wl_auth", "0", 0},          /* Shared key authentication optional (0) or required (1) */
716  {"wl_key", "1", 0},           /* Current WEP key */
717  {"wl_key1", "", 0},           /* 5/13 char ASCII or 10/26 char hex */
718  {"wl_key2", "", 0},           /* 5/13 char ASCII or 10/26 char hex */
719  {"wl_key3", "", 0},           /* 5/13 char ASCII or 10/26 char hex */
720  {"wl_key4", "", 0},           /* 5/13 char ASCII or 10/26 char hex */
721#endif
722#endif
723  {"wl_maclist", "", 0},        /* xx:xx:xx:xx:xx:xx ... */
724  {"wl_macmode", "disabled", 0},        /* "allow" only, "deny" only, or "disabled" (allow all) */
725  {"wl_macmode1", "disabled", 0},       /* "disabled" or "other" for WEBB *//* Add */
726#ifdef HAVE_MADWIFI
727  {"ath0_channel", "0", 0},     /* Channel number */
728  {"ath1_channel", "0", 0},     /* Channel number */
729#else
730
731#ifdef HAVE_MSSID
732  {"wl0_channel", "6", 0},      /* Channel number */
733#else
734  {"wl_channel", "6", 0},       /* Channel number */
735#endif
736
737#endif
738  {"wl_reg_mode", "off", 0},    /* Regulatory: 802.11H(h)/802.11D(d)/off(off) */
739  {"wl_dfs_preism", "60", 0},   /* 802.11H pre network CAC time */
740  {"wl_dfs_postism", "60", 0},  /* 802.11H In Service Monitoring CAC time */
741  {"wl_rate", "0", 0},          /* Rate (bps, 0 for auto) */
742  {"wl_mrate", "0", 0},         /* Mcast Rate (bps, 0 for auto) */
743  {"wl_rateset", "default", 0}, /* "default" or "all" or "12" */
744  {"wl_frag", "2346", 0},       /* Fragmentation threshold */
745#ifdef HAVE_POWERNOC_WORT54G
746  {"wl_rts", "65", 0},          /* RTS threshold */
747#else
748  {"wl_rts", "2347", 0},        /* RTS threshold */
749#endif
750  {"wl_dtim", "1", 0},          /* DTIM period (3.11.5) *//* It is best value for WiFi test */
751  {"wl_bcn", "100", 0},         /* Beacon interval */
752  {"wl_plcphdr", "long", 0},    /* 802.11b PLCP preamble type */
753
754#ifndef HAVE_MSSID
755#ifdef HAVE_GGEW
756  {"wl_net_mode", "b-only", 0}, /* Wireless mode (mixed|g-only|b-only|disable) */
757#elif  HAVE_NEWMEDIA
758  {"wl_net_mode", "disabled", 0},       /* Wireless mode (mixed|g-only|b-only|disable) */
759#else
760  {"wl_net_mode", "mixed", 0},  /* Wireless mode (mixed|g-only|b-only|disable) */
761#endif
762#else
763#ifdef HAVE_GGEW
764  {"wl0_net_mode", "b-only", 0},        /* Wireless mode (mixed|g-only|b-only|disable) */
765#elif  HAVE_NEWMEDIA
766  {"wl0_net_mode", "disabled", 0},      /* Wireless mode (mixed|g-only|b-only|disable) */
767#else
768  {"wl0_net_mode", "mixed", 0}, /* Wireless mode (mixed|g-only|b-only|disable) */
769#endif
770#endif
771
772
773#ifndef HAVE_MSSID
774#ifdef HAVE_SAGAR
775  {"wl_gmode", XSTR (GMODE_LEGACY_B), 0},       /* 54g mode */
776#elif HAVE_GGEW
777  {"wl_gmode", "0", 0},         /* 54g mode */
778#elif HAVE_NEWMEDIA
779  {"wl_gmode", "-1", 0},        /* 54g mode */
780#else
781  {"wl_gmode", XSTR (GMODE_AUTO), 0},   /* 54g mode */
782#endif
783#else
784#ifdef HAVE_SAGAR
785  {"wl0_gmode", XSTR (GMODE_LEGACY_B), 0},      /* 54g mode */
786#elif HAVE_GGEW
787  {"wl0_gmode", "0", 0},        /* 54g mode */
788#elif HAVE_NEWMEDIA
789  {"wl0_gmode", "-1", 0},       /* 54g mode */
790#else
791  {"wl0_gmode", XSTR (GMODE_AUTO), 0},  /* 54g mode */
792#endif
793#endif
794
795
796#ifdef HAVE_MSSID
797  {"wl_gmode_protection", "auto", 0},   /* 802.11g RTS/CTS protection (off|auto) */
798  {"wl_nmode_protection", "auto", 0},   /* 802.11g RTS/CTS protection (off|auto) */
799#else
800  {"wl_gmode_protection", "off", 0},    /* 802.11g RTS/CTS protection (off|auto) */
801#endif
802#ifdef HAVE_SKYTEL
803  {"wl_frameburst", "on", 0},   /* BRCM Frambursting mode (off|on) */
804#elif HAVE_GGEW
805  {"wl_frameburst", "on", 0},   /* BRCM Frambursting mode (off|on) */
806#else
807  {"wl_frameburst", "off", 0},  /* BRCM Frambursting mode (off|on) */
808#endif
809
810  {"wl_infra", "1", 0},         /* Network Type (BSS/IBSS) */
811
812  {"wl_passphrase", "", 0},     /* Passphrase *//* Add */
813  {"wl_wep_bit", "64", 0},      /* WEP encryption [64 | 128] *//* Add */
814  {"wl_wep_buf", "", 0},        /* save all settings for web *//* Add */
815  {"wl_wep_gen", "", 0},        /* save all settings for generate button *//* Add */
816  {"wl_wep_last", "", 0},       /* Save last wl_wep mode *//* Add */
817  {"wl_active_mac", "", 0},     /* xx:xx:xx:xx:xx:xx ... *//* Add */
818  {"wl_mac_list", "", 0},       /* filter MAC *//* Add */
819  {"wl_mac_deny", "", 0},       /* filter MAC *//* Add */
820
821
822  /* WPA parameters */
823  {"security_mode", "disabled", 0},     /* WPA mode (disabled|radius|wpa|psk|wep) for WEB *//* Add */
824  {"security_mode_last", "", 0},        /* Save last WPA mode *//* Add */
825#ifndef HAVE_MADWIFI
826#ifdef HAVE_MSSID
827  {"wl0_auth_mode", "disabled", 0},     /* WPA mode (disabled|radius|wpa|psk) */
828  {"wl0_akm", "disabled", 0},
829  {"wl0_wpa_psk", "", 0},       /* WPA pre-shared key */
830  {"wl0_wpa_gtk_rekey", "3600", 0},     /* WPA GTK rekey interval *//* Modify */
831  {"wl0_radius_port", "1812", 0},       /* RADIUS server UDP port */
832  {"wl0_radius_ipaddr", "", 0}, /* RADIUS server IP address */
833  {"wl0_radius_key", "", 0},    /* RADIUS shared secret */
834
835  {"wl0.1_auth_mode", "disabled", 0},   /* WPA mode (disabled|radius|wpa|psk) */
836  {"wl0.1_akm", "disabled", 0},
837  {"wl0.1_wpa_psk", "", 0},     /* WPA pre-shared key */
838  {"wl0.1_wpa_gtk_rekey", "3600", 0},   /* WPA GTK rekey interval *//* Modify */
839  {"wl0.1_radius_port", "1812", 0},     /* RADIUS server UDP port */
840  {"wl0.1_radius_ipaddr", "", 0},       /* RADIUS server IP address */
841  {"wl0.1_radius_key", "", 0},  /* RADIUS shared secret */
842
843  {"wl0.2_auth_mode", "disabled", 0},   /* WPA mode (disabled|radius|wpa|psk) */
844  {"wl0.2_akm", "disabled", 0},
845  {"wl0.2_wpa_psk", "", 0},     /* WPA pre-shared key */
846  {"wl0.2_wpa_gtk_rekey", "3600", 0},   /* WPA GTK rekey interval *//* Modify */
847  {"wl0.2_radius_port", "1812", 0},     /* RADIUS server UDP port */
848  {"wl0.2_radius_ipaddr", "", 0},       /* RADIUS server IP address */
849  {"wl0.2_radius_key", "", 0},  /* RADIUS shared secret */
850
851  {"wl0.3_auth_mode", "disabled", 0},   /* WPA mode (disabled|radius|wpa|psk) */
852  {"wl0.3_akm", "disabled", 0},
853  {"wl0.3_wpa_psk", "", 0},     /* WPA pre-shared key */
854  {"wl0.3_wpa_gtk_rekey", "3600", 0},   /* WPA GTK rekey interval *//* Modify */
855  {"wl0.3_radius_port", "1812", 0},     /* RADIUS server UDP port */
856  {"wl0.3_radius_ipaddr", "", 0},       /* RADIUS server IP address */
857  {"wl0.3_radius_key", "", 0},  /* RADIUS shared secret */
858#else
859  {"wl_auth_mode", "disabled", 0},      /* WPA mode (disabled|radius|wpa|psk) */
860  {"wl_akm", "disabled", 0},
861  {"wl_wpa_psk", "", 0},        /* WPA pre-shared key */
862  {"wl_wpa_gtk_rekey", "3600", 0},      /* WPA GTK rekey interval *//* Modify */
863  {"wl_radius_port", "1812", 0},        /* RADIUS server UDP port */
864  {"wl_radius_ipaddr", "", 0},  /* RADIUS server IP address */
865  {"wl_radius_key", "", 0},     /* RADIUS shared secret */
866#endif
867
868
869#else
870  {"ath0_auth_mode", "disabled", 0},    /* WPA mode (disabled|radius|wpa|psk) */
871  {"ath0_akm", "disabled", 0},
872  {"ath0_wpa_psk", "", 0},      /* WPA pre-shared key */
873  {"ath0_wpa_gtk_rekey", "3600", 0},    /* WPA GTK rekey interval *//* Modify */
874  {"ath0_radius_port", "1812", 0},      /* RADIUS server UDP port */
875  {"ath0_radius_ipaddr", "", 0},        /* RADIUS server IP address */
876  {"ath0_radius_key", "", 0},   /* RADIUS shared secret */
877
878  {"ath1_wpa_gtk_rekey", "3600", 0},    /* WPA GTK rekey interval *//* Modify */
879  {"ath1_radius_port", "1812", 0},      /* RADIUS server UDP port */
880  {"ath1_auth_mode", "disabled", 0},    /* WPA mode (disabled|radius|wpa|psk) */
881  {"ath1_akm", "disabled", 0},
882  {"ath1_wpa_psk", "", 0},      /* WPA pre-shared key */
883  {"ath1_radius_ipaddr", "", 0},        /* RADIUS server IP address */
884  {"ath1_radius_key", "", 0},   /* RADIUS shared secret */
885
886  {"ath2_wpa_gtk_rekey", "3600", 0},    /* WPA GTK rekey interval *//* Modify */
887  {"ath2_radius_port", "1812", 0},      /* RADIUS server UDP port */
888  {"ath2_auth_mode", "disabled", 0},    /* WPA mode (disabled|radius|wpa|psk) */
889  {"ath2_akm", "disabled", 0},
890  {"ath2_wpa_psk", "", 0},      /* WPA pre-shared key */
891  {"ath2_radius_ipaddr", "", 0},        /* RADIUS server IP address */
892  {"ath2_radius_key", "", 0},   /* RADIUS shared secret */
893
894  {"ath3_wpa_gtk_rekey", "3600", 0},    /* WPA GTK rekey interval *//* Modify */
895  {"ath3_radius_port", "1812", 0},      /* RADIUS server UDP port */
896  {"ath3_auth_mode", "disabled", 0},    /* WPA mode (disabled|radius|wpa|psk) */
897  {"ath3_akm", "disabled", 0},
898  {"ath3_wpa_psk", "", 0},      /* WPA pre-shared key */
899  {"ath3_radius_ipaddr", "", 0},        /* RADIUS server IP address */
900  {"ath3_radius_key", "", 0},   /* RADIUS shared secret */
901
902  {"ath4_wpa_gtk_rekey", "3600", 0},    /* WPA GTK rekey interval *//* Modify */
903  {"ath4_radius_port", "1812", 0},      /* RADIUS server UDP port */
904  {"ath4_auth_mode", "disabled", 0},    /* WPA mode (disabled|radius|wpa|psk) */
905  {"ath4_akm", "disabled", 0},
906  {"ath4_wpa_psk", "", 0},      /* WPA pre-shared key */
907  {"ath4_radius_ipaddr", "", 0},        /* RADIUS server IP address */
908  {"ath4_radius_key", "", 0},   /* RADIUS shared secret */
909  {"ath5_wpa_gtk_rekey", "3600", 0},    /* WPA GTK rekey interval *//* Modify */
910  {"ath5_radius_port", "1812", 0},      /* RADIUS server UDP port */
911  {"ath5_auth_mode", "disabled", 0},    /* WPA mode (disabled|radius|wpa|psk) */
912  {"ath5_akm", "disabled", 0},
913  {"ath5_wpa_psk", "", 0},      /* WPA pre-shared key */
914  {"ath5_radius_ipaddr", "", 0},        /* RADIUS server IP address */
915  {"ath5_radius_key", "", 0},   /* RADIUS shared secret */
916  {"ath0_8021xtype", "peap", 0},
917  {"ath1_8021xtype", "peap", 0},
918  {"ath2_8021xtype", "peap", 0},
919  {"ath3_8021xtype", "peap", 0},
920  {"ath4_8021xtype", "peap", 0},
921  {"ath5_8021xtype", "peap", 0},
922#endif
923  {"radius_override", "1", 0},  //overrides radius if server is unavailable
924#ifdef HAVE_SKYTEL
925  {"wl_afterburner", "auto", 0},        /* Afterburner/Speedbooster */
926#else
927  {"wl_afterburner", "off", 0}, /* Afterburner/Speedbooster */
928#endif
929  {"wl_unit", "0", 0},          /* Last configured interface */
930
931  /* Restore defaults */
932  {"restore_defaults", "0", 0}, /* Set to 0 to not restore defaults on boot */
933
934  ////////////////////////////////////////
935#ifdef HAVE_WTS
936  {"router_name", "WTS", 0},    /* Router name string */
937#elif  HAVE_SKYTEL
938  {"router_name", "ST54G", 0},
939#elif  HAVE_POWERNOC_WORT54G
940  {"router_name", "WORT54G", 0},
941#elif  HAVE_POWERNOC_WOAP54G
942  {"router_name", "WOAP54G", 0},
943#elif  HAVE_SKYTRON
944  {"router_name", "skymax254b", 0},
945#elif  HAVE_34TELECOM
946  {"router_name", "MiuraBasic", 0},
947#elif  HAVE_MAKSAT
948  {"router_name", "MAKSAT", 0},
949#else
950  {"router_name", MODEL_NAME, 0},       /* Router name string */
951#endif
952  {"ntp_mode", "auto", 0},      /* NTP server [manual | auto] */
953  {"pptp_server_ip", "", 0},    /* as same as WAN gateway */
954  {"pptp_get_ip", "", 0},       /* IP Address assigned by PPTP server */
955
956  /* for firewall */
957
958#ifdef HAVE_SKYTRON
959  {"filter", "off", 0},         /* Firewall Protection [on|off] */
960  {"block_wan", "0", 0},        /* Block WAN Request [1|0] */
961  {"block_ident", "0", 0},      /*Block IDENT passthrough [1|0] */
962  {"block_proxy", "0", 0},      /* Block Proxy [1|0] */
963  {"block_java", "0", 0},       /* Block Java [1|0] */
964  {"block_activex", "0", 0},    /* Block ActiveX [1|0] */
965  {"block_cookie", "0", 0},     /* Block Cookie [1|0] */
966  {"block_multicast", "0", 0},  /* Multicast Pass Through [1|0] */
967  {"block_loopback", "0", 0},   /* Block NAT loopback [1|0] */
968  {"ipsec_pass", "1", 0},       /* IPSec Pass Through [1|0] */
969  {"pptp_pass", "1", 0},        /* PPTP Pass Through [1|0] */
970  {"l2tp_pass", "1", 0},        /* L2TP Pass Through [1|0] */
971  {"remote_management", "1", 0},        /* Remote Management [1|0] */
972#elif HAVE_SAGAR
973  {"filter", "off", 0},         /* Firewall Protection [on|off] */
974  {"block_wan", "0", 0},        /* Block WAN Request [1|0] */
975  {"block_ident", "0", 0},      /* Block IDENT passthrough [1|0] */
976  {"block_proxy", "0", 0},      /* Block Proxy [1|0] */
977  {"block_java", "0", 0},       /* Block Java [1|0] */
978  {"block_activex", "0", 0},    /* Block ActiveX [1|0] */
979  {"block_cookie", "0", 0},     /* Block Cookie [1|0] */
980  {"block_multicast", "0", 0},  /* Multicast Pass Through [1|0] */
981  {"block_loopback", "0", 0},   /* Block NAT loopback [1|0] */
982  {"ipsec_pass", "1", 0},       /* IPSec Pass Through [1|0] */
983  {"pptp_pass", "1", 0},        /* PPTP Pass Through [1|0] */
984  {"l2tp_pass", "1", 0},        /* L2TP Pass Through [1|0] */
985  {"remote_management", "1", 0},        /* Remote Management [1|0] */
986#elif HAVE_MAKSAT
987  {"filter", "off", 0},         /* Firewall Protection [on|off] */
988  {"block_wan", "0", 0},        /* Block WAN Request [1|0] */
989  {"block_ident", "0", 0},      /* Block IDENT passthrough [1|0] */
990  {"block_proxy", "0", 0},      /* Block Proxy [1|0] */
991  {"block_java", "0", 0},       /* Block Java [1|0] */
992  {"block_activex", "0", 0},    /* Block ActiveX [1|0] */
993  {"block_cookie", "0", 0},     /* Block Cookie [1|0] */
994  {"block_multicast", "0", 0},  /* Multicast Pass Through [1|0] */
995  {"block_loopback", "0", 0},   /* Block NAT loopback [1|0] */
996  {"ipsec_pass", "1", 0},       /* IPSec Pass Through [1|0] */
997  {"pptp_pass", "1", 0},        /* PPTP Pass Through [1|0] */
998  {"l2tp_pass", "1", 0},        /* L2TP Pass Through [1|0] */
999#else
1000  {"filter", "on", 0},          /* Firewall Protection [on|off] */
1001  {"block_wan", "1", 0},        /* Block WAN Request [1|0] */
1002  {"block_ident", "1", 0},      /* Block IDENT passthrough [1|0] */
1003  {"block_proxy", "0", 0},      /* Block Proxy [1|0] */
1004  {"block_java", "0", 0},       /* Block Java [1|0] */
1005  {"block_activex", "0", 0},    /* Block ActiveX [1|0] */
1006  {"block_cookie", "0", 0},     /* Block Cookie [1|0] */
1007  {"block_multicast", "0", 0},  /* Multicast Pass Through [1|0] */
1008  {"block_loopback", "0", 0},   /* Block NAT loopback [1|0] */
1009  {"ipsec_pass", "1", 0},       /* IPSec Pass Through [1|0] */
1010  {"pptp_pass", "1", 0},        /* PPTP Pass Through [1|0] */
1011  {"l2tp_pass", "1", 0},        /* L2TP Pass Through [1|0] */
1012#ifdef HAVE_DDLAN
1013  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1014#elif HAVE_MAGICBOX
1015  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1016#elif HAVE_XSCALE
1017  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1018#elif HAVE_FONERA
1019  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1020#elif HAVE_LS2
1021  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1022#elif HAVE_WHRAG108
1023  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1024#elif HAVE_TW6600
1025  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1026#elif HAVE_CA8
1027  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1028#elif HAVE_RB500
1029  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1030#elif HAVE_X86
1031  {"remote_management", "1", 0},        /* Remote Management [1|0] */
1032#else
1033  {"remote_management", "0", 0},        /* Remote Management [1|0] */
1034#endif
1035#endif
1036#ifdef HAVE_SAGAR
1037  {"remote_mgt_https", "1", 0}, /* Remote Management use https [1|0] */// add
1038#elif HAVE_HTTPS
1039  {"remote_mgt_https", "0", 0}, /* Remote Management use https [1|0] */// add
1040#endif
1041
1042  {"mtu_enable", "0", 0},       /* WAN MTU [1|0] */
1043  {"wan_mtu", "1500", 0},       /* Negotiate MTU to the smaller of this value or the peer MRU */
1044
1045  /* for forward */
1046  {"forward_port", "", 0},      /* name:[on|off]:[tcp|udp|both]:wan_port>lan_ipaddr:lan_port0 */
1047  {"forward_spec", "", 0},      /* name:[on|off]:[tcp|udp|both]:wan_port>lan_ipaddr:lan_port0 */
1048
1049  {"port_trigger", "", 0},      /* name:[on|off]:[tcp|udp|both]:wan_port0-wan_port1>lan_port0-lan_port1 */
1050
1051  /* for dynamic route */
1052#ifdef HAVE_DDLAN
1053  {"wk_mode", "zero", 0},       /* Network mode [gateway|router] */
1054#elif HAVE_MAKSAT
1055  {"wk_mode", "router", 0},     /* Network mode [gateway|router] */
1056#else
1057  {"wk_mode", "gateway", 0},    /* Network mode [gateway|router] */
1058#endif
1059  {"dr_setting", "0", 0},       /* [ Disable | WAN | LAN | Both ] */
1060  {"dr_lan_tx", "0", 0},        /* Dynamic-Routing LAN out */
1061  {"dr_lan_rx", "0", 0},        /* Dynamic-Routing LAN in  */
1062  {"dr_wan_tx", "0", 0},        /* Dynamic-Routing WAN out */
1063  {"dr_wan_rx", "0", 0},        /* Dynamic-Routing WAN in  */
1064
1065  /* for mac clone */
1066  {"mac_clone_enable", "0", 0}, /* User define WAN interface MAC address */
1067  {"def_hwaddr", "00:00:00:00:00:00", 0},       /* User define WAN interface MAC address */
1068
1069  /* for mac addresses */
1070  {"port_swap", "0", 0},        /* used to set mac addresses from et0macaddr or et1macaddr */
1071
1072  /* for DDNS */
1073  // for dyndns
1074  {"ddns_enable", "0", 0},      /* 0:Disable 1:dyndns 2:afraid 3:zoneedit 4:no-ip 5:custom 6:3322.org */
1075  {"ddns_username", "", 0},
1076  {"ddns_passwd", "", 0},
1077  {"ddns_hostname", "", 0},
1078  {"ddns_dyndnstype", "", 0},
1079  {"ddns_wildcard", "", 0},
1080  // for afraid.org
1081  {"ddns_username_2", "", 0},
1082  {"ddns_passwd_2", "", 0},
1083  {"ddns_hostname_2", "", 0},
1084  // for zoneedit
1085  {"ddns_username_3", "", 0},
1086  {"ddns_passwd_3", "", 0},
1087  {"ddns_hostname_3", "", 0},
1088  // for no-ip
1089  {"ddns_username_4", "", 0},
1090  {"ddns_passwd_4", "", 0},
1091  {"ddns_hostname_4", "", 0},
1092  // for custom
1093  {"ddns_username_5", "", 0},
1094  {"ddns_passwd_5", "", 0},
1095  {"ddns_hostname_5", "", 0},
1096  {"ddns_custom_5", "", 0},
1097  {"ddns_conf", "", 0},
1098  {"ddns_url", "", 0},
1099  // for 3322.org
1100  {"ddns_username_6", "", 0},
1101  {"ddns_passwd_6", "", 0},
1102  {"ddns_hostname_6", "", 0},
1103  {"ddns_dyndnstype_6", "", 0},
1104  {"ddns_wildcard_6", "", 0},
1105  // for easyDNS.com
1106  {"ddns_username_7", "", 0},
1107  {"ddns_passwd_7", "", 0},
1108  {"ddns_hostname_7", "", 0},
1109  {"ddns_wildcard_7", "", 0},
1110  // for tzo.com
1111  {"ddns_username_8", "", 0},
1112  {"ddns_passwd_8", "", 0},
1113  {"ddns_hostname_8", "", 0},
1114
1115  /* for last value */
1116  {"ddns_enable_buf", "", 0},
1117  {"ddns_username_buf", "", 0},
1118  {"ddns_passwd_buf", "", 0},
1119  {"ddns_hostname_buf", "", 0},
1120  {"ddns_force", "10", 0},
1121  {"ddns_cache", "", 0},        /* DDNS cache */
1122  {"ddns_time", "", 0},         /* DDNS time */
1123
1124
1125  /* for AOL */
1126  {"aol_block_traffic", "0", 0},        /* 0:Disable 1:Enable for global */
1127  {"aol_block_traffic1", "0", 0},       /* 0:Disable 1:Enable for "ppp_username" */
1128  {"aol_block_traffic2", "0", 0},       /* 0:Disable 1:Enable for "Parental control" */
1129  {"skip_amd_check", "0", 0},   /* 0:Disable 1:Enable */
1130  {"skip_intel_check", "0", 0}, /* 0:Disable 1:Enable */
1131
1132  {"l2tp_server_ip", "", 0},    /* L2TP auth server (IP Address) */
1133  {"l2tp_get_ip", "", 0},       /* IP Address assigned by L2TP server */
1134  {"wan_gateway_buf", "0.0.0.0", 0},    /* save the default gateway for DHCP */
1135
1136
1137  {"hb_server_ip", "", 0},      /* heartbeat auth server (IP Address) */
1138  {"hb_server_domain", "", 0},  /* heartbeat auth server (domain name) */
1139//#ifdef HAVE_SAMBA
1140  {"samba_mount", "0", 0},      //leave this in all versions, or will produce error on info or status_router pages; Eko
1141#ifdef HAVE_SAMBA
1142  {"samba_share", "//yourserverip/yourshare", 0},
1143  {"samba_user", "username/computer", 0},
1144  {"samba_password", "iwer573495u7340", 0},
1145  {"samba_script", "yourscript", 0},
1146#endif
1147  {"rflow_enable", "0", 0},
1148  {"status_auth", "1", 0},
1149  {"info_passwd", "0", 0},
1150  {"macupd_enable", "0", 0},
1151  {"wl_radauth", "0", 0},
1152  {"rc_startup", "", 0},
1153  {"rc_firewall", "", 0},
1154  {"rc_custom", "", 0},
1155  {"rc_shutdown", "", 0},
1156#ifdef HAVE_MADWIFI
1157  {"ath0_txpwrdbm", "16", 0},
1158  {"ath1_txpwrdbm", "16", 0},
1159  {"ath2_txpwrdbm", "16", 0},
1160  {"ath3_txpwrdbm", "16", 0},
1161  {"ath4_txpwrdbm", "16", 0},
1162  {"ath5_txpwrdbm", "16", 0},
1163#else
1164#ifdef HAVE_POWERNOC
1165  {"txpwr", "200", 0},
1166#elif HAVE_DDLAN
1167  {"txpwr", "100", 0},
1168#elif HAVE_SKYTRON
1169  {"txpwr", "251", 0},
1170#elif HAVE_SAGAR
1171  {"txpwr", "100", 0},
1172#else
1173  {"txpwr", "28", 0},
1174#endif
1175
1176#endif
1177#ifdef HAVE_GGEW
1178  {"txant", "0", 0},
1179  {"wl_antdiv", "0", 0},
1180#elif HAVE_BUFFALO
1181  {"txant", "0", 0},
1182  {"wl_antdiv", "3", 0},
1183#else
1184  {"txant", "3", 0},
1185  {"wl_antdiv", "3", 0},
1186#endif
1187
1188  {"apwatchdog_enable", "0", 0},
1189  {"apwatchdog_interval", "15", 0},
1190  {"boot_wait", "on", 0},
1191#ifdef HAVE_SKYTEL
1192  {"cron_enable", "0", 0},
1193#else
1194  {"cron_enable", "1", 0},
1195#endif
1196  {"cron_jobs", "", 0},
1197  {"dhcpd_options", "", 0},
1198  {"dhcpd_usenvram", "0", 0},
1199  {"local_dns", "0", 0},
1200#ifdef HAVE_POWERNOC_WOAP54G
1201  {"dnsmasq_enable", "0", 0},
1202#elif HAVE_FON
1203  {"dnsmasq_enable", "0", 0},
1204#else
1205  {"dnsmasq_enable", "1", 0},
1206#endif
1207  {"dnsmasq_options", "", 0},
1208  {"httpd_enable", "1", 0},
1209#ifdef HAVE_HTTPS
1210  {"httpsd_enable", "1", 0},
1211#endif
1212#ifdef HAVE_POWERNOC_WOAP54G
1213  {"loopback_enable", "0", 0},
1214#else
1215  {"loopback_enable", "1", 0},
1216#endif
1217#ifdef HAVE_POWERNOC_WOAP54G
1218  {"nas_enable", "0", 0},
1219#else
1220  {"nas_enable", "1", 0},
1221#endif
1222#ifdef HAVE_DDLAN
1223  {"ntp_enable", "0", 0},
1224#else
1225  {"ntp_enable", "1", 0},
1226#endif
1227  {"pptpd_enable", "0", 0},
1228  {"pptpd_lip", "", 0},
1229  {"pptpd_rip", "", 0},
1230  {"pptpd_auth", "", 0},
1231  {"pptp_encrypt", "0", 0},
1232  {"resetbutton_enable", "1", 0},
1233#ifdef HAVE_SKYTRON
1234  {"telnetd_enable", "0", 0},
1235#elif HAVE_GGEW
1236  {"telnetd_enable", "0", 0},
1237#else
1238  {"telnetd_enable", "1", 0},
1239#endif
1240  {"ipv6_enable", "0", 0},
1241  {"radvd_enable", "0", 0},
1242  {"radvd_conf", "", 0},
1243#ifdef HAVE_CHILLI
1244#ifdef HAVE_FONBETA
1245  {"chilli_enable", "1", 0},
1246  {"chilli_nowifibridge", "1", 0},
1247  {"chilli_url", "https://beta.fon.com/test2/index.php", 0},
1248  {"chilli_radius", "beta.fon.com", 0},
1249  {"chilli_backup", "beta.fon.com", 0},
1250  {"chilli_pass", "garrafon", 0},
1251  {"chilli_dns1", "0.0.0.0", 0},
1252  {"chilli_interface", "wlan", 0},
1253  {"chilli_radiusnasid", "", 0},
1254  {"chilli_uamsecret", "garrafon", 0},
1255  {"chilli_uamanydns", "1", 0},
1256  {"chilli_uamallowed",
1257   "www.fon.com,acceso.fon.com,en.fon.com,es.fon.com,www.paypal.com,www.paypalobjects.com",
1258   0},
1259  {"chilli_macauth", "0", 0},
1260  {"chilli_additional", "", 0},
1261#elif HAVE_FON
1262  {"chilli_enable", "1", 0},
1263  {"chilli_nowifibridge", "1", 0},
1264  {"chilli_url", "https://login.fon.com/cp/index.php", 0},
1265  {"chilli_radius", "emilio.fon.com", 0},
1266  {"chilli_backup", "emilio.fon.com", 0},
1267  {"chilli_pass", "garrafon", 0},
1268  {"chilli_dns1", "0.0.0.0", 0},
1269  {"chilli_interface", "wlan", 0},
1270  {"chilli_radiusnasid", "", 0},
1271  {"chilli_uamsecret", "garrafon", 0},
1272  {"chilli_uamanydns", "1", 0},
1273  {"chilli_uamallowed",
1274   "www.fon.com,acceso.fon.com,en.fon.com,es.fon.com,www.paypal.com,www.paypalobjects.com",
1275   0},
1276  {"chilli_macauth", "0", 0},
1277  {"chilli_additional", "", 0},
1278#else
1279  {"chilli_net", "192.168.182.0/24", 0},
1280  {"chilli_enable", "0", 0},
1281  {"chilli_nowifibridge", "0", 0},
1282  {"chilli_url", "", 0},
1283  {"chilli_radius", "0.0.0.0", 0},
1284  {"chilli_backup", "0.0.0.0", 0},
1285  {"chilli_pass", "", 0},
1286  {"chilli_dns1", "0.0.0.0", 0},
1287  {"chilli_interface", "wan", 0},
1288  {"chilli_radiusnasid", "", 0},
1289  {"chilli_uamsecret", "", 0},
1290  {"chilli_uamanydns", "0", 0},
1291  {"chilli_uamallowed", "", 0},
1292  {"chilli_macauth", "0", 0},
1293  {"chilli_additional", "", 0},
1294#endif
1295#endif
1296#ifdef HAVE_SSHD
1297
1298#ifdef HAVE_SKYTEL
1299  {"sshd_enable", "0", 0},
1300#elif HAVE_GGEW
1301  {"sshd_enable", "1", 0},
1302#elif HAVE_34TELECOM
1303  {"sshd_enable", "1", 0},
1304#elif HAVE_POWERNOC
1305  {"sshd_enable", "1", 0},
1306#elif HAVE_SAGAR
1307  {"sshd_enable", "1", 0},
1308#elif HAVE_SKYTRON
1309  {"sshd_enable", "1", 0},
1310#elif HAVE_MAGICBOX
1311  {"sshd_enable", "1", 0},
1312#elif HAVE_WHRAG108
1313  {"sshd_enable", "1", 0},
1314#elif HAVE_TW6600
1315  {"sshd_enable", "0", 0},
1316#elif HAVE_CA8
1317  {"sshd_enable", "1", 0},
1318#elif HAVE_X86
1319  {"sshd_enable", "1", 0},
1320#elif HAVE_NEWMEDIA
1321  {"sshd_enable", "1", 0},
1322#elif HAVE_MAKSAT
1323  {"sshd_enable", "1", 0},
1324#else
1325  {"sshd_enable", "0", 0},
1326#endif
1327  {"sshd_port", "22", 0},
1328  {"sshd_passwd_auth", "1", 0},
1329  {"sshd_rsa_host_key", "", 0},
1330  {"sshd_dss_host_key", "", 0},
1331  {"sshd_authorized_keys", "", 0},
1332#ifdef HAVE_MAGICBOX
1333  {"remote_mgt_ssh", "1", 0},
1334#elif HAVE_FONERA
1335  {"remote_mgt_ssh", "1", 0},
1336#elif HAVE_LS2
1337  {"remote_mgt_ssh", "1", 0},
1338#elif HAVE_MAKSAT
1339  {"remote_mgt_ssh", "1", 0},
1340#elif HAVE_WHRAG108
1341  {"remote_mgt_ssh", "1", 0},
1342#elif HAVE_TW6600
1343  {"remote_mgt_ssh", "0", 0},
1344#elif HAVE_CA8
1345  {"remote_mgt_ssh", "1", 0},
1346#elif HAVE_X86
1347  {"remote_mgt_ssh", "1", 0},
1348#else
1349  {"remote_mgt_ssh", "0", 0},
1350#endif
1351  {"sshd_wanport", "22", 0},    /* Botho 03-05-2006 : WAN port to listen on */
1352#endif
1353  {"syslogd_enable", "0", 0},
1354  {"syslogd_rem_ip", "", 0},
1355#ifndef HAVE_MADWIFI
1356  {"wl_wds1_enable", "0", 0},
1357  {"wl_wds2_enable", "0", 0},
1358  {"wl_wds3_enable", "0", 0},
1359  {"wl_wds4_enable", "0", 0},
1360  {"wl_wds5_enable", "0", 0},
1361  {"wl_wds6_enable", "0", 0},
1362  {"wl_wds7_enable", "0", 0},
1363  {"wl_wds8_enable", "0", 0},
1364  {"wl_wds9_enable", "0", 0},
1365  {"wl_wds10_enable", "0", 0},
1366
1367  {"wl_wds1_hwaddr", "", 0},
1368  {"wl_wds2_hwaddr", "", 0},
1369  {"wl_wds3_hwaddr", "", 0},
1370  {"wl_wds4_hwaddr", "", 0},
1371  {"wl_wds5_hwaddr", "", 0},
1372  {"wl_wds6_hwaddr", "", 0},
1373  {"wl_wds7_hwaddr", "", 0},
1374  {"wl_wds8_hwaddr", "", 0},
1375  {"wl_wds9_hwaddr", "", 0},
1376  {"wl_wds10_hwaddr", "", 0},
1377
1378  {"wl_wds1_ipaddr", "", 0},
1379  {"wl_wds2_ipaddr", "", 0},
1380  {"wl_wds3_ipaddr", "", 0},
1381  {"wl_wds4_ipaddr", "", 0},
1382  {"wl_wds5_ipaddr", "", 0},
1383  {"wl_wds6_ipaddr", "", 0},
1384  {"wl_wds7_ipaddr", "", 0},
1385  {"wl_wds8_ipaddr", "", 0},
1386  {"wl_wds9_ipaddr", "", 0},
1387  {"wl_wds10_ipaddr", "", 0},
1388
1389  {"wl_wds1_netmask", "", 0},
1390  {"wl_wds2_netmask", "", 0},
1391  {"wl_wds3_netmask", "", 0},
1392  {"wl_wds4_netmask", "", 0},
1393  {"wl_wds5_netmask", "", 0},
1394  {"wl_wds6_netmask", "", 0},
1395  {"wl_wds7_netmask", "", 0},
1396  {"wl_wds8_netmask", "", 0},
1397  {"wl_wds9_netmask", "", 0},
1398  {"wl_wds10_netmask", "", 0},
1399
1400  {"wl_wds1_desc", "", 0},
1401  {"wl_wds2_desc", "", 0},
1402  {"wl_wds3_desc", "", 0},
1403  {"wl_wds4_desc", "", 0},
1404  {"wl_wds5_desc", "", 0},
1405  {"wl_wds6_desc", "", 0},
1406  {"wl_wds7_desc", "", 0},
1407  {"wl_wds8_desc", "", 0},
1408  {"wl_wds9_desc", "", 0},
1409  {"wl_wds10_desc", "", 0},
1410
1411  {"wl_wds1_ospf", "", 0},
1412  {"wl_wds2_ospf", "", 0},
1413  {"wl_wds3_ospf", "", 0},
1414  {"wl_wds4_ospf", "", 0},
1415  {"wl_wds5_ospf", "", 0},
1416  {"wl_wds6_ospf", "", 0},
1417  {"wl_wds7_ospf", "", 0},
1418  {"wl_wds8_ospf", "", 0},
1419  {"wl_wds9_ospf", "", 0},
1420  {"wl_wds10_ospf", "", 0},
1421#endif
1422
1423  {"wl_br1_enable", "0", 0},
1424  {"wl_br1_nat", "0", 0},
1425#ifndef HAVE_MADWIFI
1426
1427  {"wl0_wds", "", 0},
1428  {"wl0_wds0", "", 0},
1429  {"wl0_wds1", "", 0},
1430  {"wl0_wds2", "", 0},
1431  {"wl0_wds3", "", 0},
1432  {"wl0_wds4", "", 0},
1433  {"wl0_wds5", "", 0},
1434  {"wl0_wds6", "", 0},
1435  {"wl0_wds7", "", 0},
1436  {"wl0_wds8", "", 0},
1437  {"wl0_wds9", "", 0},
1438  {"wl_wds0_if", "", 0},
1439  {"wl_wds1_if", "", 0},
1440  {"wl_wds2_if", "", 0},
1441  {"wl_wds3_if", "", 0},
1442  {"wl_wds4_if", "", 0},
1443  {"wl_wds5_if", "", 0},
1444  {"wl_wds6_if", "", 0},
1445  {"wl_wds7_if", "", 0},
1446  {"wl_wds8_if", "", 0},
1447  {"wl_wds9_if", "", 0},
1448  {"wl_wds10_if", "", 0},
1449#ifdef HAVE_MSSID
1450
1451  {"wds0.1", "", 0},
1452  {"wds0.2", "", 0},
1453  {"wds0.3", "", 0},
1454  {"wds0.4", "", 0},
1455  {"wds0.5", "", 0},
1456  {"wds0.6", "", 0},
1457  {"wds0.7", "", 0},
1458  {"wds0.8", "", 0},
1459  {"wds0.9", "", 0},
1460  {"wds0.10", "", 0},
1461  {"wds0.11", "", 0},
1462  {"wds0.12", "", 0},
1463  {"wds0.13", "", 0},
1464  {"wds0.14", "", 0},
1465  {"wds0.15", "", 0},
1466  {"wds0.16", "", 0},
1467#else
1468
1469  {"wds0.49151", "", 0},
1470  {"wds0.49152", "", 0},
1471  {"wds0.49153", "", 0},
1472  {"wds0.49154", "", 0},
1473  {"wds0.49155", "", 0},
1474  {"wds0.49156", "", 0},
1475  {"wds0.49157", "", 0},
1476  {"wds0.49158", "", 0},
1477  {"wds0.49159", "", 0},
1478  {"wds0.49160", "", 0},
1479  {"wds0.49161", "", 0},
1480  {"wds0.49162", "", 0},
1481  {"wds0.49163", "", 0},
1482  {"wds0.49164", "", 0},
1483  {"wds0.49165", "", 0},
1484  {"wds0.49166", "", 0},
1485#endif
1486#endif
1487  {"bird_ospf",
1488   "Please read the BIRD setup instructions at http://bird.network.cz/bird.html",
1489   0},
1490
1491  {"sh_interfaces", "loc br0\nloc eth0\nloc eth2\nnet wds0.2", 0},
1492  {"sh_masq", "br0 wds0.2", 0},
1493  {"sh_policy", "loc net ACCEPT\nnet all DROP info\nall all REJECT info", 0},
1494  {"sh_routestopped", "br0 -\neth0 -\neth2 -\nwds0.2 -", 0},
1495  {"sh_rules", "", 0},
1496  {"sh_zones", "net Net Internet\nloc Local Local Networks\ndmz DMZ Dmz Zone",
1497   0},
1498
1499#ifdef HAVE_SKYTRON
1500  {"wshaper_enable", "1", 0},
1501#else
1502  {"wshaper_enable", "0", 0},
1503#endif
1504  {"wshaper_dev", "WAN", 0},
1505#ifdef HAVE_SKYTRON
1506  {"wshaper_downlink", "800", 0},
1507  {"wshaper_uplink", "800", 0},
1508#else
1509  {"wshaper_downlink", "0", 0},
1510  {"wshaper_uplink", "0", 0},
1511#endif
1512  {"wshaper_nopriohostsrc", "", 0},
1513  {"wshaper_nopriohostdst", "", 0},
1514  {"wshaper_noprioportsrc", "", 0},
1515  {"wshaper_noprioportdst", "", 0},
1516  {"zebra_enable", "1", 0},
1517  {"qos_type", "0", 0},
1518  {"svqos_svcs", "", 0},
1519  {"svqos_ips", "", 0},
1520  {"svqos_macs", "", 0},
1521
1522  {"svqos_port1bw", "FULL", 0},
1523  {"svqos_port2bw", "FULL", 0},
1524  {"svqos_port3bw", "FULL", 0},
1525  {"svqos_port4bw", "FULL", 0},
1526
1527  {"svqos_port1prio", "10", 0},
1528  {"svqos_port2prio", "10", 0},
1529  {"svqos_port3prio", "10", 0},
1530  {"svqos_port4prio", "10", 0},
1531#ifdef HAVE_SNMP
1532#ifdef HAVE_SAGAR
1533  {"snmpd_enable", "1", 0},
1534#elif HAVE_GGEW
1535  {"snmpd_enable", "1", 0},
1536#else
1537  {"snmpd_enable", "0", 0},
1538#endif
1539  {"snmpd_syslocation", "Unknown", 0},
1540  {"snmpd_syscontact", "root", 0},
1541#ifdef CONFIG_BRANDING
1542  {"snmpd_sysname", "anonymous", 0},
1543#else
1544  {"snmpd_sysname", "dd-wrt", 0},
1545#endif
1546  {"snmpd_rocommunity", "public", 0},
1547  {"snmpd_rwcommunity", "private", 0},
1548  {"snmpd_conf", "See http://www.net-snmp.org for expert snmpd.conf options",
1549   0},
1550#endif
1551  {"wol_enable", "0", 0},
1552  {"wol_interval", "86400", 0},
1553  {"wol_hostname", "", 0},
1554  {"wol_macs", "", 0},
1555  {"wol_passwd", "", 0},
1556
1557  {"hs_enable", "", 0},
1558  {"hs_exempt", "", 0},
1559  {"hs_urls", "", 0},
1560  {"hs_redirect", "", 0},
1561  {"hs_html", "", 0},
1562  {"hs_image", "", 0},
1563
1564  {"def_whwaddr", "00:00:00:00:00:00", 0},      /* User define wireless interface MAC address */
1565
1566  {"sv_restore_defaults", "0", 0},      // fix for vlan stuff side effects
1567
1568  {"ospfd_conf", "", 0},
1569  {"zebra_conf", "", 0},
1570  {"ospfd_copt", "0", 0},
1571  {"zebra_copt", "0", 0},
1572  {"zebra_log", "0", 0},
1573  {"dyn_default", "0", 0},
1574
1575  {"altdns1", "", 0},
1576  {"altdns2", "", 0},
1577  {"altdns3", "", 0},
1578
1579  {"log_accepted", "0", 0},     /* 0:Disable 1:Eanble */
1580  {"log_dropped", "0", 0},      /* 0:Disable 1:Eanble */
1581  {"log_rejected", "0", 0},     /* 0:Disable 1:Eanble */
1582
1583  /* start lonewolf mods */
1584  {"port0vlans", "1", 0},
1585  {"port1vlans", "0", 0},
1586  {"port2vlans", "0", 0},
1587  {"port3vlans", "0", 0},
1588  {"port4vlans", "0", 0},
1589  {"port5vlans", "0 1 16", 0},
1590  {"vlans", "0", 0},
1591  {"trunking", "0", 0},
1592  /* end lonewolf mods */
1593  //DD-WRT start
1594  {"manual_boot_nv", "0", 0},
1595#ifdef HAVE_WTS
1596  {"status_auth", "0", 0},
1597#else
1598  {"status_auth", "1", 0},
1599#endif
1600  {"ipv6_enable", "0", 0},
1601  {"ipv6_enable0", "0", 0},
1602  {"enable_jffs2", "0", 0},
1603  {"clean_jffs2", "0", 0},
1604  {"sys_enable_jffs2", "0", 0},
1605#ifdef HAVE_KAID
1606  {"kaid_enable", "0", 0},
1607  {"kaid_macs", "", 0},
1608  {"kaid_uibind", "34522", 0},
1609  {"kaid_orbport", "34525", 0},
1610  {"kaid_orbdeepport", "34523", 0},
1611#endif
1612#ifdef HAVE_WTS
1613  {"language", "spanish", 0},
1614#elif HAVE_BUFFALO
1615  {"language",DEFAULT_LANGUAGE,0},
1616#else
1617  {"language", "english", 0},
1618#endif
1619  {"macupd_ip", "0.0.0.0", 0},
1620  {"macupd_port", "2056", 0},
1621  {"macupd_interval", "10", 0},
1622  {"mmc_enable", "0", 0},
1623  {"mmc_enable0", "0", 0},
1624#ifdef HAVE_MMC
1625  {"mmc_gpio", "0", 0},
1626  {"mmc_di", "0", 0},
1627  {"mmc_do", "0", 0},
1628  {"mmc_clk", "0", 0},
1629  {"mmc_cs", "0", 0},   
1630#endif
1631#ifdef HAVE_RB500
1632  {"ip_conntrack_max", "32768", 0},
1633#elif HAVE_XSCALE
1634  {"ip_conntrack_max", "32768", 0},
1635#elif HAVE_X86
1636  {"ip_conntrack_max", "32768", 0},
1637#elif HAVE_MAGICBOX
1638  {"ip_conntrack_max", "32768", 0},
1639#elif HAVE_MERAKI
1640  {"ip_conntrack_max", "32768", 0},
1641#elif HAVE_FONERA
1642  {"ip_conntrack_max", "4096", 0},
1643#elif HAVE_BUFFALO
1644  {"ip_conntrack_max", "4096", 0},
1645#elif HAVE_LS2
1646  {"ip_conntrack_max", "4096", 0},
1647#elif HAVE_WHRAG108
1648  {"ip_conntrack_max", "16384", 0},
1649#elif HAVE_TW6600
1650  {"ip_conntrack_max", "4096", 0},
1651#elif HAVE_CA8
1652  {"ip_conntrack_max", "16384", 0},
1653#else
1654  {"ip_conntrack_max", "512", 0},
1655#endif
1656  {"ip_conntrack_tcp_timeouts", "3600", 0},
1657  {"ip_conntrack_udp_timeouts", "120", 0},
1658  {"rflow_ip", "0.0.0.0", 0},
1659  {"rflow_port", "2055", 0},
1660  {"rflow_if", "br0", 0},
1661#ifdef HAVE_PPPOERELAY
1662#ifdef HAVE_DDLAN
1663  {"pppoerelay_enable", "1", 0},
1664#else
1665  {"pppoerelay_enable", "0", 0},
1666#endif
1667#endif
1668  {"schedule_enable", "0", 0},
1669  {"schedule_time", "3600", 0},
1670  {"schedule_hour_time", "1", 0},
1671  {"schedule_minutes", "0", 0},
1672  {"schedule_hours", "0", 0},
1673  {"schedule_weekdays", "00", 0},
1674  {"smtp_redirect_enable", "0", 0},
1675  {"smtp_redirect_destination", "0.0.0.0", 0},
1676  {"smtp_source_network", "0.0.0.0", 0},
1677  {"wds_watchdog_enable", "0", 0},
1678  {"wds_watchdog_interval_sec", "1000", 0},
1679  {"wds_watchdog_ips", "", 0},
1680  {"dhcpfwd_enable", "0", 0},
1681  {"dhcpfwd_ip", "0.0.0.0", 0},
1682  {"watchdog", "60000", 0},
1683  {"NC_enable", "0", 0},
1684#ifdef CONFIG_BRANDING
1685  {"NC_GatewayName", "GATEWAY", 0},
1686#else
1687  {"NC_GatewayName", "DD-WRT", 0},
1688#endif
1689#ifdef CONFIG_BRANDING
1690  {"NC_HomePage", "", 0},
1691#else
1692  {"NC_HomePage", "http://www.dd-wrt.com", 0},
1693#endif
1694  {"NC_ExcludePorts", "25", 0},
1695  {"NC_IncludePorts", "", 0},
1696  {"NC_Verbosity", "2", 0},
1697  {"NC_LoginTimeout", "86400", 0},
1698#ifdef CONFIG_BRANDING
1699  {"NC_AllowedWebHosts", "google.com", 0},
1700#else
1701  {"NC_AllowedWebHosts", "", 0},
1702#endif
1703#ifdef HAVE_RAMSKOV
1704  {"NC_RouteOnly", "0", 0},
1705  {"NC_DocumentRoot", "/tmp", 0},
1706#else
1707  {"NC_RouteOnly", "0", 0},
1708  {"NC_DocumentRoot", "/www", 0},
1709#endif
1710  {"NC_SplashURL", "", 0},
1711  {"NC_SplashURLTimeout", "21600", 0},
1712  {"NC_MACWhiteList", "", 0},
1713  {"NC_GatewayPort", "5280", 0},
1714  {"NC_GatewayMode", "Open", 0},
1715  {"NC_ForcedRedirect", "0", 0},
1716  {"NC_IdleTimeout", "0", 0},
1717  {"NC_MaxMissedARP", "5", 0},
1718  {"NC_RenewTimeout", "0", 0},
1719
1720#ifdef HAVE_MSSID
1721  {"wl_wme", "on", 0},          /* WME mode (off|on) */
1722#else
1723  {"wl_wme", "off", 0},         /* WME mode (off|on) */
1724#endif
1725  /* WME parameters */
1726  /* EDCA parameters for STA */
1727  {"wl_wme_sta_bk", "15 1023 7 0 0 off off", 0},        /* WME STA AC_BK paramters */
1728  {"wl_wme_sta_be", "15 1023 3 0 0 off off", 0},        /* WME STA AC_BE paramters */
1729  {"wl_wme_sta_vi", "7 15 2 6016 3008 off off", 0},     /* WME STA AC_VI paramters */
1730  {"wl_wme_sta_vo", "3 7 2 3264 1504 off off", 0},      /* WME STA AC_VO paramters */
1731
1732  /* EDCA parameters for AP */
1733  {"wl_wme_ap_bk", "15 1023 7 0 0 off off", 0}, /* WME AP AC_BK paramters */
1734  {"wl_wme_ap_be", "15 63 3 0 0 off off", 0},   /* WME AP AC_BE paramters */
1735  {"wl_wme_ap_vi", "7 15 1 6016 3008 off off", 0},      /* WME AP AC_VI paramters */
1736  {"wl_wme_ap_vo", "3 7 1 3264 1504 off off", 0},       /* WME AP AC_VO paramters */
1737  {"wl_wme_no_ack", "off", 0},  /* WME No-Acknowledgmen mode */
1738  {"wl_wme_apsd", "on", 0},     /* WME APSD mode */
1739
1740  {"wl_maxassoc", "128", 0},    /* Max associations driver could support */
1741#ifdef HAVE_ZEROIP
1742  {"shat_enable", "0", 0},
1743  {"shat_range", "192.168.2.96/27", 0},
1744  {"shat_shield", "NO", 0},
1745#endif
1746#ifdef HAVE_SKYTRON
1747  {"dhcp_dnsmasq", "1", 0},
1748  {"enable_game", "1", 0},
1749#elif HAVE_POWERNOC
1750  {"dhcp_dnsmasq", "1", 0},
1751  {"enable_game", "0", 0},
1752#elif HAVE_FON
1753  {"dhcp_dnsmasq", "0", 0},
1754  {"enable_game", "0", 0},
1755#elif HAVE_WTS
1756  {"dhcp_dnsmasq", "1", 0},
1757  {"enable_game", "0", 0},
1758#else
1759  {"dhcp_dnsmasq", "1", 0},
1760  {"enable_game", "0", 0},
1761#endif
1762  {"dns_dnsmasq", "1", 0},
1763  {"auth_dnsmasq", "1", 0},
1764
1765  {"pptp_use_dhcp", "0", 0},    /* pptp will use dhcp to obtain ip address, netmask and gateway */
1766  {"forward_entries", "0", 0},
1767  {"forwardspec_entries", "0", 0},
1768  {"trigger_entries", "0", 0},
1769#ifdef HAVE_SKYTRON
1770  {"sip_port", "5060", 0},
1771  {"sip_domain", "sip.skytron.de", 0},
1772#else
1773  {"sip_port", "5060", 0},          /* MILKFISH SETTING */ //this setting is not evaluated/used by the milkfish scripts for milkfish-dd 1.0 - fs070712
1774  {"sip_domain", "192.168.1.1", 0}, /* MILKFISH SETTING */ //set "192.168.1.1" as default - not setting at all disables dbtextctl script - fs070712
1775#endif
1776#ifdef HAVE_AQOS
1777  {"default_uplevel", "1000", 0},       //set a useful value to prevent deadlock
1778  {"default_downlevel", "16000", 0},    //set a useful value to prevent deadlock
1779#endif
1780  {"static_leases", "", 0},
1781  {"static_leasenum", "0", 0},
1782  {"dhcpc_vendorclass", "", 0}, //vendor class id for client (optional)
1783  {"dhcpc_requestip", "", 0},   //request ip (optional)
1784  {"maskmac", "1", 0},
1785  {"fullswitch", "0", 0},
1786#ifdef HAVE_OPENVPN
1787  {"openvpn_enable", "0", 0},
1788  {"openvpn_remoteip", "0.0.0.0", 0},
1789  {"openvpn_remoteport", "1194", 0},
1790  {"openvpn_ca", "", 0},
1791  {"openvpn_client", "", 0},
1792  {"openvpn_key", "", 0},
1793  {"openvpn_lzo", "0", 0},
1794  {"openvpn_proto", "udp", 0},
1795  {"openvpn_mtu", "1500", 0},
1796  {"openvpn_extramtu", "32", 0},
1797  {"openvpn_mssfix", "1450", 0},
1798  {"openvpn_certtype", "0", 0},
1799#endif
1800#ifdef HAVE_NEWMEDIA
1801  {"openvpn_config", "", 0},
1802  {"openvpn_dh", "", 0},
1803  {"openvpn_tlsauth", "", 0},
1804  {"openvpn_onwan", "0", 0},
1805#ifdef HAVE_KODATA
1806  {"newhttp_username", "bJ/GddyoJuiU2", 0},
1807  {"newhttp_passwd", "bJDLObifZlIRQ", 0},
1808#else
1809  {"newhttp_username", "", 0},
1810  {"newhttp_passwd", "bJxJZz5DYRGxI", 0},
1811#endif
1812#ifdef HAVE_GGEW
1813  {"ral", "212.65.2.116 194.231.229.20 172.16.0.0/28", 0},
1814#else
1815  {"ral", "212.65.2.116 194.231.229.20", 0},
1816#endif
1817#endif
1818#ifdef HAVE_34TELECOM
1819  {"newhttp_passwd", "hdslklas9a", 0},
1820#endif
1821#ifdef HAVE_MADWIFI
1822  {"ath0_turbo", "0", 0},
1823  {"ath1_turbo", "0", 0},
1824  {"ath2_turbo", "0", 0},
1825  {"ath3_turbo", "0", 0},
1826  {"ath4_turbo", "0", 0},
1827  {"ath5_turbo", "0", 0},
1828
1829/*  {"ath0_regdomain", "96", 0},
1830  {"ath1_regdomain", "96", 0},
1831  {"ath2_regdomain", "96", 0},
1832  {"ath3_regdomain", "96", 0},
1833  {"ath4_regdomain", "96", 0},
1834  {"ath5_regdomain", "96", 0},
1835*/
1836#endif
1837#ifdef HAVE_SPUTNIK_APD
1838 
1839#ifdef HAVE_SPUTNIK
1840  {"sputnik_mjid_type", "0", 0},
1841  {"sputnik_mjid", "sputnik@wifi.sputnik.com", 0},
1842  {"sputnik_mode", "standard", 0},
1843  {"sputnik_done", "0", 0},
1844  {"sputnik_rereg", "1", 0},
1845  {"apd_enable", "1", 0},
1846#else
1847  {"sputnik_mjid_type", "0", 0},
1848  {"sputnik_mjid", "", 0},
1849  {"sputnik_mode", "standard", 0},
1850  {"sputnik_done", "0", 0},
1851  {"apd_enable", "0", 0},
1852#endif
1853#endif
1854#ifdef HAVE_FONERA
1855  {"upgrade_delay", "1200", 0},
1856#elif HAVE_MERAKI
1857  {"upgrade_delay", "600", 0},
1858#elif HAVE_LS2
1859  {"upgrade_delay", "600", 0},
1860#else
1861  {"upgrade_delay", "300", 0},
1862#endif
1863#ifdef HAVE_WIFIDOG
1864  {"wd_enable", "0", 0},
1865  {"wd_gwid", "default", 0},
1866  {"wd_url", "", 0},
1867  {"wd_gwport", "2060", 0},
1868  {"wd_httpdname", "WiFiDog", 0},
1869  {"wd_httpdcon", "10", 0},
1870  {"wd_interval", "60", 0},
1871  {"wd_timeout", "5", 0},
1872  {"wd_maclist", "", 0},
1873  {"wd_hostname", "", 0},
1874  {"wd_sslavailable", "0", 0},
1875  {"wd_sslport", "443", 0},
1876  {"wd_httpport", "80", 0},
1877  {"wd_path", "/wifidog", 0},
1878#endif
1879
1880#ifdef HAVE_CHILLILOCAL
1881  {"fon_usernames", "0", 0},
1882  {"fon_userlist", "", 0},
1883#endif
1884  {"fon_enable", "0", 0},
1885  {"pptpd_client_enable", "", 0},
1886  {"pptpd_client_srvip", "", 0},
1887  {"pptpd_client_srvsub", "", 0},
1888  {"pptpd_client_srvsubmsk", "", 0},
1889  {"pptpd_client_srvuser", "", 0},
1890  {"pptpd_client_srvpass", "", 0},
1891  {"pptpd_client_ipparam", "", 0},
1892  {"pptpd_client_mtu", "1450", 0},
1893  {"pptpd_client_mru", "1450", 0},
1894#ifdef HAVE_RADIOOFF
1895  {"radiooff_button", "0", 0},
1896  {"radiooff_boot_off", "0", 0},
1897#endif
1898  {"radio0_on_time", "111111111111111111111111", 0},    /* Radio timer, always on */
1899  {"radio_timer_enable", "0", 0},
1900#ifdef HAVE_CPUTEMP
1901  {"hwmon_temp_max", "60", 0},
1902  {"hwmon_temp_hyst", "50", 0},
1903#endif
1904#ifdef HAVE_RSTATS
1905  {"rstats_enable", "0", 0},
1906  {"rstats_path", "", 0},
1907  {"rstats_stime", "48", 0},
1908  {"rstats_data", "", 0},
1909#endif
1910#ifdef HAVE_NSTX
1911  {"nstxd_enable", "0", 0},
1912  {"nstx_ipenable", "0", 0},
1913  {"nstx_ip", "0.0.0.0", 0},
1914  {"nstx_log", "0", 0},
1915#endif
1916#ifdef HAVE_PORTSETUP
1917  {"eth0_bridged", "1", 0},     /* Service set ID (network name) */
1918  {"eth0_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1919  {"eth0_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1920
1921  {"eth1_bridged", "1", 0},     /* Service set ID (network name) */
1922  {"eth1_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1923  {"eth1_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1924
1925  {"eth2_bridged", "1", 0},     /* Service set ID (network name) */
1926  {"eth2_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1927  {"eth2_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1928
1929  {"eth3_bridged", "1", 0},     /* Service set ID (network name) */
1930  {"eth3_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1931  {"eth3_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1932
1933  {"eth4_bridged", "1", 0},     /* Service set ID (network name) */
1934  {"eth4_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1935  {"eth4_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1936
1937  {"eth5_bridged", "1", 0},     /* Service set ID (network name) */
1938  {"eth5_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1939  {"eth5_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1940
1941  {"eth6_bridged", "1", 0},     /* Service set ID (network name) */
1942  {"eth6_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1943  {"eth6_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1944
1945  {"eth7_bridged", "1", 0},     /* Service set ID (network name) */
1946  {"eth7_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1947  {"eth7_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1948
1949  {"eth8_bridged", "1", 0},     /* Service set ID (network name) */
1950  {"eth8_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1951  {"eth8_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1952
1953  {"eth9_bridged", "1", 0},     /* Service set ID (network name) */
1954  {"eth9_ipaddr", "0.0.0.0", 0},        /* Service set ID (network name) */
1955  {"eth9_netmask", "0.0.0.0", 0},       /* Service set ID (network name) */
1956
1957  {"eth10_bridged", "1", 0},    /* Service set ID (network name) */
1958  {"eth10_ipaddr", "0.0.0.0", 0},       /* Service set ID (network name) */
1959  {"eth10_netmask", "0.0.0.0", 0},      /* Service set ID (network name) */
1960#endif
1961#ifdef HAVE_EOP
1962  {"oet1_en", "0", 0},
1963  {"oet1_rem", "192.168.90.1", 0},
1964  {"oet1_ip", "1.2.3.4", 0},
1965  {"oet1_netmask", "255.255.255.0", 0},
1966  {"oet1_id", "1", 0},
1967  {"oet1_comp", "0", 0},
1968  {"oet1_pt", "0", 0},
1969  {"oet1_fragment", "0", 0},
1970  {"oet1_mssfix", "0", 0},
1971  {"oet1_shaper", "0", 0},
1972  {"oet1_bridged", "1", 0},
1973
1974  {"oet2_en", "0", 0},
1975  {"oet2_rem", "192.168.90.1", 0},
1976  {"oet2_ip", "1.2.3.4", 0},
1977  {"oet2_netmask", "255.255.255.0", 0},
1978  {"oet2_id", "1", 0},
1979  {"oet2_comp", "0", 0},
1980  {"oet2_pt", "0", 0},
1981  {"oet2_fragment", "0", 0},
1982  {"oet2_mssfix", "0", 0},
1983  {"oet2_shaper", "0", 0},
1984  {"oet2_bridged", "1", 0},
1985
1986  {"oet3_en", "0", 0},
1987  {"oet3_rem", "192.168.90.1", 0},
1988  {"oet3_ip", "1.2.3.4", 0},
1989  {"oet3_netmask", "255.255.255.0", 0},
1990  {"oet3_id", "1", 0},
1991  {"oet3_comp", "0", 0},
1992  {"oet3_pt", "0", 0},
1993  {"oet3_fragment", "0", 0},
1994  {"oet3_mssfix", "0", 0},
1995  {"oet3_shaper", "0", 0},
1996  {"oet3_bridged", "1", 0},
1997
1998  {"oet4_en", "0", 0},
1999  {"oet4_rem", "192.168.90.1", 0},
2000  {"oet4_ip", "1.2.3.4", 0},
2001  {"oet4_netmask", "255.255.255.0", 0},
2002  {"oet4_id", "1", 0},
2003  {"oet4_comp", "0", 0},
2004  {"oet4_pt", "0", 0},
2005  {"oet4_fragment", "0", 0},
2006  {"oet4_mssfix", "0", 0},
2007  {"oet4_shaper", "0", 0},
2008  {"oet4_bridged", "1", 0},
2009
2010  {"oet5_en", "0", 0},
2011  {"oet5_rem", "192.168.90.1", 0},
2012  {"oet5_ip", "1.2.3.4", 0},
2013  {"oet5_netmask", "255.255.255.0", 0},
2014  {"oet5_id", "1", 0},
2015  {"oet5_comp", "0", 0},
2016  {"oet5_pt", "0", 0},
2017  {"oet5_fragment", "0", 0},
2018  {"oet5_mssfix", "0", 0},
2019  {"oet5_shaper", "0", 0},
2020  {"oet5_bridged", "1", 0},
2021
2022  {"oet6_en", "0", 0},
2023  {"oet6_rem", "192.168.90.1", 0},
2024  {"oet6_ip", "1.2.3.4", 0},
2025  {"oet6_netmask", "255.255.255.0", 0},
2026  {"oet6_id", "1", 0},
2027  {"oet6_comp", "0", 0},
2028  {"oet6_pt", "0", 0},
2029  {"oet6_fragment", "0", 0},
2030  {"oet6_mssfix", "0", 0},
2031  {"oet6_shaper", "0", 0},
2032  {"oet6_bridged", "1", 0},
2033
2034  {"oet7_en", "0", 0},
2035  {"oet7_rem", "192.168.90.1", 0},
2036  {"oet7_ip", "1.2.3.4", 0},
2037  {"oet7_netmask", "255.255.255.0", 0},
2038  {"oet7_id", "1", 0},
2039  {"oet7_comp", "0", 0},
2040  {"oet7_pt", "0", 0},
2041  {"oet7_fragment", "0", 0},
2042  {"oet7_mssfix", "0", 0},
2043  {"oet7_shaper", "0", 0},
2044  {"oet7_bridged", "1", 0},
2045
2046  {"oet8_en", "0", 0},
2047  {"oet8_rem", "192.168.90.1", 0},
2048  {"oet8_ip", "1.2.3.4", 0},
2049  {"oet8_netmask", "255.255.255.0", 0},
2050  {"oet8_id", "1", 0},
2051  {"oet8_comp", "0", 0},
2052  {"oet8_pt", "0", 0},
2053  {"oet8_fragment", "0", 0},
2054  {"oet8_mssfix", "0", 0},
2055  {"oet8_shaper", "0", 0},
2056  {"oet8_bridged", "1", 0},
2057
2058  {"oet9_en", "0", 0},
2059  {"oet9_rem", "192.168.90.1", 0},
2060  {"oet9_ip", "1.2.3.4", 0},
2061  {"oet9_netmask", "255.255.255.0", 0},
2062  {"oet9_id", "1", 0},
2063  {"oet9_comp", "0", 0},
2064  {"oet9_pt", "0", 0},
2065  {"oet9_fragment", "0", 0},
2066  {"oet9_mssfix", "0", 0},
2067  {"oet9_shaper", "0", 0},
2068  {"oet9_bridged", "1", 0},
2069
2070  {"oet10_en", "0", 0},
2071  {"oet10_rem", "192.168.90.1", 0},
2072  {"oet10_ip", "1.2.3.4", 0},
2073  {"oet10_netmask", "255.255.255.0", 0},
2074  {"oet10_id", "1", 0},
2075  {"oet10_comp", "0", 0},
2076  {"oet10_pt", "0", 0},
2077  {"oet10_fragment", "0", 0},
2078  {"oet10_mssfix", "0", 0},
2079  {"oet10_shaper", "0", 0},
2080  {"oet10_bridged", "1", 0},
2081#endif
2082  {"wifi_bonding", "0", 0},
2083#ifdef HAVE_RADLOCAL
2084  {"iradius_enable", "0", 0},
2085#endif
2086#ifdef HAVE_MADWIFI
2087  {"wifi_display", "ath0", 0},
2088#else
2089  {"wifi_display", "wl0", 0},
2090#endif
2091#ifdef HAVE_PPPOESERVER
2092  {"pppoeserver_enabled", "0", 0},
2093  {"pppoeradius_enabled", "0", 0},
2094  {"pppoeserver_remoteaddr", "10.10.10.1", 0},
2095  {"pppoeserver_remotenet", "10.10.10.0", 0},
2096  {"pppoeserver_remotemask", "255.255.255.0", 0},
2097  {"pppoeserver_bsdcomp", "0", 0},
2098  {"pppoeserver_deflate", "0", 0},
2099  {"pppoeserver_lzs", "0", 0},
2100  {"pppoeserver_mppc", "0", 0},
2101  {"pppoeserver_encryption", "0", 0},
2102  {"pppoeserver_lcpechoint", "60", 0},
2103  {"pppoeserver_lcpechofail", "5", 0},
2104  {"pppoeserver_chaps", "", 0},
2105  {"pppoeserver_chapsnum", "0", 0},
2106  {"pppoeserver_idle", "600", 0},
2107  {"pppoeserver_authserverip", "192.168.1.1", 0},
2108  {"pppoeserver_authserverport", "1812", 0},
2109  {"pppoeserver_acctserverport", "1813", 0},
2110  {"pppoeserver_sharedkey", "", 0},
2111#endif
2112#ifdef HAVE_MILKFISH
2113  {"milkfish_enabled", "0", 0}, /* MILKFISH enable=1|disable=0 */
2114  {"openser_cfg", "/var/openser/milkfish_openser.cfg", 0},      /* MILKFISH SETTING */
2115  {"milkfish_fromdomain", "", 0},       /* MILKFISH SETTING */
2116  {"milkfish_fromswitch", "off", 0},    /* MILKFISH SETTING */
2117  {"milkfish_username", "", 0}, /* MILKFISH SETTING */
2118  {"milkfish_password", "", 0}, /* MILKFISH SETTING */
2119  {"milkfish_routerid", "", 0}, /* MILKFISH SETTING */
2120  {"milkfish_ppptime", "off", 0},       /* MILKFISH SETTING - keep always "off" on dd-wrt !*/
2121  {"milkfish_audit", "off", 0}, /* MILKFISH SETTING */
2122  {"milkfish_dynsip", "off", 0},        /* MILKFISH SETTING */
2123  {"milkfish_siptrace", "off", 0},      /* MILKFISH SETTING */
2124#endif
2125#ifdef HAVE_OLSRD
2126  {"olsrd_pollsize", "0.1", 0},
2127  {"olsrd_redundancy", "2", 0},
2128  {"olsrd_coverage", "7", 0},
2129  {"olsrd_lqfisheye", "1", 0},
2130  {"olsrd_lqwinsize", "100", 0},
2131  {"olsrd_lqdijkstramin", "0", 0},
2132  {"olsrd_lqdijkstramax", "5.0", 0},
2133  {"olsrd_lqlevel", "2", 0},
2134  {"olsrd_hysteresis", "0", 0},
2135#endif
2136  {"reconnect_enable","0",0},
2137  {"reconnect_hours","0",0},
2138  {"reconnect_minutes","0",0},
2139
2140  {0, 0, 0}
2141};
2142
2143#ifdef HAVE_SKYTEL
2144#undef HAVE_POWERNOC_WORT54G
2145#undef HAVE_POWERNOC
2146#endif
Note: See TracBrowser for help on using the repository browser.