English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/common-nfo/package/Config.in.network

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3427 - (show annotations) (download)
Wed Aug 8 11:08:41 2007 UTC (6 years, 6 months ago) by tg
File size: 10912 byte(s)
merge in trunk rev. 3426
1 config FWRT_IPV6
2 bool "Enable IPv6 support"
3 default n
4 select FWRT_KPACKAGE_KMOD_IPV6
5 help
6 Enable basic IPv6 support (kmod-ipv6) and
7 make the IPv6 support options in packages visible.
8
9 comment "Target Network Configuration"
10
11 menu "LAN"
12 config FWRT_NETWORK_LAN
13 bool "Activate LAN interface"
14 default y
15
16
17 config FWRT_NETWORK_LAN_INTERFACE
18 string "LAN interface name"
19 default "eth0.0" if FWRT_LINUX_2_4_BRCM_ASUS_WL500G_DELUXE
20 default "eth0.0" if FWRT_LINUX_2_4_BRCM_ASUS_WL500G_PREMIUM
21 default "eth0.0" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G
22 default "eth0.0" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS
23 default "eth0.0" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_4
24 default "eth0.0" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G3G
25 default "eth0.0" if FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U
26 default "eth0"
27 depends on FWRT_NETWORK_LAN
28 help
29 LAN interface name
30
31 config FWRT_NETWORK_LAN_LLADDR
32 string "LAN port link-layer (MAC) address"
33 default ""
34 depends on FWRT_NETWORK_LAN
35 help
36 Change the link-layer (MAC) address for the LAN port here,
37 or set to an empty string to not change it at startup.
38
39 config FWRT_NETWORK_LAN_SWITCH_PORTS
40 string "Switch ports used for LAN"
41 default "0 1 2 3 5*" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_4
42 default "0 1 2 3 5*" if FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U
43 default "1 2 3 4 5*"
44 depends on FWRT_LINUX_2_4_BRCM_ASUS_WL500G_DELUXE || \
45 FWRT_LINUX_2_4_BRCM_ASUS_WL500G_PREMIUM || \
46 FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G || \
47 FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS || \
48 FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_4 || \
49 FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G3G || \
50 FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U
51 depends on FWRT_NETWORK_LAN
52 help
53 Switch ports used for logical LAN.
54 5 is the internal switch port. Exact one asterisk *
55 is needed in one of the switch configurations.
56
57 config FWRT_NETWORK_LANBRIDGE
58 bool "Prepare bridge LAN<->WLAN"
59 default n
60 depends on FWRT_NETWORK_LAN
61 select FWRT_NETWORK_WLAN
62 select FWRT_PACKAGE_BRIDGE_UTILS
63
64 config FWRT_NETWORK_LANBRIDGE_INTERFACE
65 string "Bridge interface name"
66 default "br0"
67 depends on FWRT_NETWORK_LANBRIDGE
68 help
69 Bridge interface name
70
71 choice
72 prompt "IP configuration"
73 depends on FWRT_NETWORK_LAN
74 config FWRT_NETWORK_LAN_PROTO_STATIC
75 bool "Static IP configuration"
76 help
77 Protocol used for the LAN interface
78
79 config FWRT_NETWORK_LAN_PROTO_DHCP
80 bool "DHCP"
81 help
82 Protocol used for the LAN interface
83 endchoice
84
85 config FWRT_NETWORK_LANBRIDGE_IP_ADDRESS
86 string "Bridge IP address"
87 default "192.168.1.1"
88 depends on FWRT_NETWORK_LAN_PROTO_STATIC
89 depends on FWRT_NETWORK_LANBRIDGE
90 help
91 Bridge IP address
92
93 config FWRT_NETWORK_LANBRIDGE_IP_NETMASK
94 string "Bridge IP netmask"
95 default "255.255.255.0"
96 depends on FWRT_NETWORK_LAN_PROTO_STATIC
97 depends on FWRT_NETWORK_LANBRIDGE
98 help
99 Bridge IP netmask
100
101 config FWRT_NETWORK_LAN_IP_ADDRESS
102 string "LAN IP address"
103 default "192.168.1.1"
104 depends on FWRT_NETWORK_LAN_PROTO_STATIC
105 depends on ! FWRT_NETWORK_LANBRIDGE
106 help
107 LAN IP address
108
109 config FWRT_NETWORK_LAN_IP_NETMASK
110 string "LAN IP netmask"
111 default "255.255.255.0"
112 depends on FWRT_NETWORK_LAN_PROTO_STATIC
113 depends on ! FWRT_NETWORK_LANBRIDGE
114 help
115 LAN IP netmask
116 endmenu
117
118 menu "WAN"
119 config FWRT_NETWORK_WAN
120 bool "Activate WAN interface"
121 default y
122
123 config FWRT_NETWORK_WAN_INTERFACE
124 string "WAN interface name"
125 default "eth0.1" if FWRT_LINUX_2_4_BRCM_ASUS_WL500G_DELUXE
126 default "eth0.1" if FWRT_LINUX_2_4_BRCM_ASUS_WL500G_PREMIUM
127 default "eth0.1" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G
128 default "eth0.1" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS
129 default "eth0.1" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_4
130 default "eth0.1" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G3G
131 default "eth0.1" if FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U
132 default "eth1"
133 depends on FWRT_NETWORK_WAN
134 help
135 WAN interface name
136
137 config FWRT_NETWORK_WAN_LLADDR
138 string "WAN port link-layer (MAC) address"
139 default ""
140 depends on FWRT_NETWORK_WAN
141 help
142 Change the link-layer (MAC) address for the WAN port here,
143 or set to an empty string to not change it at startup.
144
145 config FWRT_NETWORK_WAN_SWITCH_PORTS
146 string "Switch ports used for WAN"
147 default "4 5" if FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_4
148 default "4 5" if FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U
149 default "0 5"
150 depends on FWRT_LINUX_2_4_BRCM_ASUS_WL500G_DELUXE || \
151 FWRT_LINUX_2_4_BRCM_ASUS_WL500G_PREMIUM || \
152 FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G || \
153 FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS || \
154 FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54GS_4 || \
155 FWRT_LINUX_2_4_BRCM_LINKSYS_WRT54G3G || \
156 FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U
157 depends on FWRT_NETWORK_WAN
158 help
159 Switch ports used for WAN.
160
161 choice
162 prompt "IP configuration"
163 depends on FWRT_NETWORK_WAN
164 config FWRT_NETWORK_WAN_PROTO_DHCP
165 bool "DHCP"
166 help
167 Automatic interface configuration via DHCP client.
168
169 config FWRT_NETWORK_WAN_PROTO_STATIC
170 bool "static IP configuration"
171 help
172 static interface configuration.
173 endchoice
174
175 config FWRT_NETWORK_WAN_IP_ADDRESS
176 string "WAN IP address"
177 default "10.0.0.23"
178 depends on FWRT_NETWORK_WAN_PROTO_STATIC
179 help
180 IP address
181
182 config FWRT_NETWORK_WAN_IP_NETMASK
183 string "WAN IP netmask"
184 default "255.255.255.0"
185 depends on FWRT_NETWORK_WAN_PROTO_STATIC
186 help
187 IP netmask
188
189 config FWRT_NETWORK_WAN_IP_GATEWAY
190 string "WAN IP gateway"
191 default "10.0.0.1"
192 depends on FWRT_NETWORK_WAN_PROTO_STATIC
193 help
194 IP gateway
195 endmenu
196
197 menu "Wireless LAN"
198 config FWRT_NETWORK_WLAN
199 bool "Activate WLAN interface"
200 default n
201 help
202 Activate Wireless LAN
203
204 config FWRT_NETWORK_WLAN_TYPE
205 string "Wireless card type"
206 default "atheros" if FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U
207 default "broadcom"
208 depends on FWRT_NETWORK_WLAN
209 help
210 Wireless chipset used, needed for correct ifupdown scripts to
211 configure wireless.
212
213 config FWRT_NETWORK_WLAN_INTERFACE
214 string "WLAN interface name"
215 default "ath0" if FWRT_LINUX_2_4_BRCM_NETGEAR_WGT634U
216 default "wl0"
217 depends on FWRT_NETWORK_WLAN
218 help
219 Wireless LAN interface name
220
221 config FWRT_NETWORK_WLAN_LLADDR
222 string "WLAN port link-layer (MAC) address"
223 default ""
224 depends on FWRT_NETWORK_WLAN
225 help
226 Change the link-layer (MAC) address for the WLAN port here,
227 or set to an empty string to not change it at startup.
228
229 config FWRT_NETWORK_WLAN_IP_ADDRESS
230 string "WLAN IP address"
231 default "192.168.2.1"
232 depends on ! FWRT_NETWORK_LANBRIDGE
233 depends on FWRT_NETWORK_WLAN
234 help
235 WLAN IP address
236
237 config FWRT_NETWORK_WLAN_IP_NETMASK
238 string "WLAN IP netmask"
239 default "255.255.255.0"
240 depends on ! FWRT_NETWORK_LANBRIDGE
241 depends on FWRT_NETWORK_WLAN
242 help
243 WLAN IP netmask
244
245 choice
246 prompt "Wireless mode"
247 depends on FWRT_NETWORK_WLAN
248
249 config FWRT_NETWORK_WLAN_MODE_AP
250 bool "Accesspoint Mode (AP)"
251 help
252 Accesspoint mode
253
254 config FWRT_NETWORK_WLAN_MODE_STA
255 bool "Client mode (STA)"
256 help
257 Client mode
258 endchoice
259
260 config FWRT_NETWORK_WLAN_ESSID
261 string "network name (ESSID)"
262 depends on FWRT_NETWORK_WLAN
263 default "FreeWRT"
264 help
265 Wireless network name
266
267 config FWRT_NETWORK_WLAN_CHANNEL
268 string "wireless channel"
269 depends on FWRT_NETWORK_WLAN
270 default "11"
271 help
272 Wireless channel 1-11 (1-13)
273
274 config FWRT_NETWORK_WLAN_COUNTRY
275 string "country for wireless channel"
276 depends on FWRT_NETWORK_WLAN
277 default "DE"
278 help
279 Wireless channel settings are country specific
280
281
282 menu "wireless security settings"
283 depends on FWRT_NETWORK_WLAN
284
285 choice
286 prompt "security"
287 depends on FWRT_NETWORK_WLAN
288 config FWRT_NETWORK_WLAN_SECURITY_NONE
289 bool "No authorisation"
290 help
291 No authorisation
292
293 config FWRT_NETWORK_WLAN_SECURITY_WEP
294 bool "wep"
295 help
296 WEP key
297
298 config FWRT_NETWORK_WLAN_SECURITY_WPA_PSK
299 bool "wpa-psk"
300 help
301 WPA with preshared key
302
303 config FWRT_NETWORK_WLAN_SECURITY_802.1X
304 bool "802.1x"
305 help
306 IEEE 802.1X authentication
307
308 endchoice
309
310 choice
311 prompt "authorisation"
312 depends on !FWRT_NETWORK_WLAN_SECURITY_NONE
313
314 config FWRT_NETWORK_WLAN_AUTORIZATION_OPEN
315 bool "open"
316 depends on FWRT_NETWORK_WLAN_SECURITY_WEP || FWRT_NETWORK_WLAN_SECURITY_802.1X
317 help
318 Only Open System Authentication
319
320 config FWRT_NETWORK_WLAN_AUTORIZATION_SHARED
321 bool "shared"
322 depends on FWRT_NETWORK_WLAN_SECURITY_WEP || FWRT_NETWORK_WLAN_SECURITY_802.1X
323 help
324 Only Shared System Authentication
325
326 config FWRT_NETWORK_WLAN_AUTORIZATION_OPEN_AND_SHARED
327 bool "open+shared"
328 depends on FWRT_NETWORK_WLAN_SECURITY_WEP
329 help
330 Both Open System and Shared Key Authentication
331
332 config FWRT_NETWORK_WLAN_AUTORIZATION_PSK
333 bool "psk"
334 depends on FWRT_NETWORK_WLAN_SECURITY_WPA_PSK
335 help
336 WPA PSK
337
338 config FWRT_NETWORK_WLAN_AUTORIZATION_PSK2
339 bool "psk2"
340 depends on FWRT_NETWORK_WLAN_SECURITY_WPA_PSK
341 help
342 WPA2 PSK
343
344 config FWRT_NETWORK_WLAN_AUTORIZATION_PSK_PSK2
345 bool "psk psk2"
346 depends on FWRT_NETWORK_WLAN_SECURITY_WPA_PSK
347 help
348 WPA PSK and WPA2 PSK
349
350 config FWRT_NETWORK_WLAN_AUTORIZATION_WPA
351 bool "wpa"
352 depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
353 help
354 WPA with RADIUS
355
356 config FWRT_NETWORK_WLAN_AUTORIZATION_WPA2
357 bool "wpa2"
358 depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
359 help
360 WPA2 with RADIUS
361
362 config FWRT_NETWORK_WLAN_AUTORIZATION_WPA_AND_WPA2
363 bool "wpa wpa2"
364 depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
365 help
366 WPA and WPA2
367
368 endchoice
369
370 choice
371 prompt "encryption"
372 depends on FWRT_NETWORK_WLAN_SECURITY_WPA_PSK || FWRT_NETWORK_WLAN_SECURITY_802.1X
373
374 config FWRT_NETWORK_WLAN_ENCRYPTION_TKIP
375 bool "tkip"
376 help
377 RC4 encryption
378
379 config FWRT_NETWORK_WLAN_ENCRYPTION_AES
380 bool "aes"
381 help
382 AES encryption
383
384 config FWRT_NETWORK_WLAN_ENCRYPTION_AES_TKIP
385 bool "aes+tkip"
386 help
387 Support for RC4 and AES encryption
388
389 config FWRT_NETWORK_WLAN_ENCRYPTION_WEP
390 bool "wep"
391 depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
392 help
393 RC4 encryption (static)
394
395 endchoice
396
397
398 choice
399 prompt "eap-type"
400 depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
401
402 config FWRT_NETWORK_WLAN_EAP_TLS
403 bool "tls"
404 help
405 Transport Layer Security
406
407 config FWRT_NETWORK_WLAN_EAP_TTLS
408 bool "ttls"
409 help
410 Tunnelled TLS
411
412 config FWRT_NETWORK_WLA_EAP_PEAP
413 bool "peap"
414 help
415 Protected EAP
416
417 config FWRT_NETWORK_WLAN_EAP_LEAP
418 bool "leap"
419 help
420 Cisco Wireless
421
422 endchoice
423
424 menu "radius settings"
425 depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
426
427 config FWRT_NETWORK_WLAN_RADIUS_IPADDR
428 string "radius ipaddr"
429 default "0.0.0.0"
430 help
431 Transport Layer Security
432
433 config FWRT_NETWORK_WLAN_RADIUS_PORT
434 string "radius port"
435 default "1812"
436 help
437 RADIUS-Port# to connect
438
439 config FWRT_NETWORK_WLAN_RADIUS_KEY
440 string "radius key"
441 help
442 Shared Secret for connection to the Radius server
443
444 endmenu
445
446 config FWRT_NETWORK_WLAN_WEP_KEY
447 string "wep key"
448 depends on FWRT_NETWORK_WLAN_SECURITY_WEP
449 help
450 wep key to use
451
452 config FWRT_NETWORK_WLAN_WPA_KEY
453 string "wpa key"
454 depends on FWRT_NETWORK_WLAN_SECURITY_WPA_PSK
455 help
456 wpa key to use (8 characters or more)
457
458 config FWRT_NETWORK_WLAN_WPA_GTK_REKEY
459 string "Rekeying interval in seconds"
460 depends on FWRT_NETWORK_WLAN_SECURITY_802.1X || FWRT_NETWORK_WLAN_SECURITY_WPA_PSK
461 default "3600"
462 help
463 Rekeying interval in seconds
464
465 endmenu
466
467 endmenu

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20