source: freewrt/package/Config.in.network@ 727dae0d

Last change on this file since 727dae0d was 349f6a3, checked in by Thorsten Glaser <tg@…>, 18 years ago

spelling; mark as broken due to:
15:06⎜«wbx:#freewrt» spaetzle: wep ist tod. ist nicht so wichtig
14:59⎜«spaetzle:#freewrt» wbx: wep ist broken, da ist der code falsch, rest kann ich ohne test nicht sagen,

⎜ ich hab das script von dirk funktional so gelassen wie

git-svn-id: svn://www.freewrt.org/trunk/freewrt@2884 afb5a338-a214-0410-bd46-81f09a774fd1

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