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

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

radius fix

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