source: freewrt/package/Config.in.network@ 655dec8

Last change on this file since 655dec8 was a0a807f, checked in by Christian Gmeiner <austriancoder@…>, 19 years ago
  • added broadcast +
  • changed name of default wlan interface to wl0

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

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