source: freewrt/package/Config.in.network@ 5dcdc822

Last change on this file since 5dcdc822 was 964dfce1, checked in by Waldemar Brodkorb <wbx@…>, 19 years ago

sorry, but we need help to test the new ifupdown scripts.
THIS WILL BREAK STUFF, PLEASE ONLY USE TRUNK NOW IF YOU KNOW HOW TO USE
SERIAL CONSOLE OR FAILSAFE.

Sometimes test first is not applicable. brcm-2.4 is tested by Christian.

Extra reboot for jffs2 is obsolete, we have adapted the OpenWrt method.

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

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