| 1 | comment "Target Network Configuration"
|
|---|
| 2 |
|
|---|
| 3 | menu "LAN"
|
|---|
| 4 | config FWRT_NETWORK_LAN
|
|---|
| 5 | bool "Activate LAN interface"
|
|---|
| 6 | default y
|
|---|
| 7 |
|
|---|
| 8 | config 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 |
|
|---|
| 22 | config 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 |
|
|---|
| 40 | choice
|
|---|
| 41 | prompt "IP configuration"
|
|---|
| 42 | depends on FWRT_NETWORK_LAN
|
|---|
| 43 | config FWRT_NETWORK_LAN_PROTO_STATIC
|
|---|
| 44 | bool "Static IP configuration"
|
|---|
| 45 | help
|
|---|
| 46 | Protocol used for the LAN interface
|
|---|
| 47 |
|
|---|
| 48 | config FWRT_NETWORK_LAN_PROTO_DHCP
|
|---|
| 49 | bool "DHCP"
|
|---|
| 50 | help
|
|---|
| 51 | Protocol used for the LAN interface
|
|---|
| 52 | endchoice
|
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 | config 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 |
|
|---|
| 62 | config 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
|
|---|
| 68 | endmenu
|
|---|
| 69 |
|
|---|
| 70 | menu "WAN"
|
|---|
| 71 | config FWRT_NETWORK_WAN
|
|---|
| 72 | bool "Activate WAN interface"
|
|---|
| 73 | default y
|
|---|
| 74 |
|
|---|
| 75 | config 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 |
|
|---|
| 89 | config 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 |
|
|---|
| 105 | choice
|
|---|
| 106 | prompt "IP configuration"
|
|---|
| 107 | depends on FWRT_NETWORK_WAN
|
|---|
| 108 | config FWRT_NETWORK_WAN_PROTO_DHCP
|
|---|
| 109 | bool "DHCP"
|
|---|
| 110 | help
|
|---|
| 111 | Automatic interface configuration via DHCP client.
|
|---|
| 112 |
|
|---|
| 113 | config FWRT_NETWORK_WAN_PROTO_STATIC
|
|---|
| 114 | bool "static IP configuration"
|
|---|
| 115 | help
|
|---|
| 116 | static interface configuration.
|
|---|
| 117 | endchoice
|
|---|
| 118 |
|
|---|
| 119 | config 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 |
|
|---|
| 126 | config 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 |
|
|---|
| 133 | config 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
|
|---|
| 139 | endmenu
|
|---|
| 140 |
|
|---|
| 141 | menu "Wireless LAN"
|
|---|
| 142 | config FWRT_NETWORK_WLAN
|
|---|
| 143 | bool "Activate WLAN interface"
|
|---|
| 144 | default n
|
|---|
| 145 | help
|
|---|
| 146 | Activate Wireless LAN
|
|---|
| 147 |
|
|---|
| 148 | config 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 |
|
|---|
| 157 | config 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 |
|
|---|
| 165 | config 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 |
|
|---|
| 172 | config 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 |
|
|---|
| 179 | choice
|
|---|
| 180 | prompt "Wireless mode"
|
|---|
| 181 | depends on FWRT_NETWORK_WLAN
|
|---|
| 182 |
|
|---|
| 183 | config FWRT_NETWORK_WLAN_MODE_AP
|
|---|
| 184 | bool "Accesspoint Mode (AP)"
|
|---|
| 185 | help
|
|---|
| 186 | Accesspoint mode
|
|---|
| 187 |
|
|---|
| 188 | config FWRT_NETWORK_WLAN_MODE_STA
|
|---|
| 189 | bool "Client mode (STA)"
|
|---|
| 190 | help
|
|---|
| 191 | Client mode
|
|---|
| 192 | endchoice
|
|---|
| 193 |
|
|---|
| 194 | config 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 |
|
|---|
| 201 | config 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 |
|
|---|
| 208 | config 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 |
|
|---|
| 216 | menu "wireless security settings"
|
|---|
| 217 | depends on FWRT_NETWORK_WLAN
|
|---|
| 218 |
|
|---|
| 219 | choice
|
|---|
| 220 | prompt "security"
|
|---|
| 221 | depends on FWRT_NETWORK_WLAN
|
|---|
| 222 | config FWRT_NETWORK_WLAN_SECURITY_NONE
|
|---|
| 223 | bool "No authorization"
|
|---|
| 224 | help
|
|---|
| 225 | No authorization
|
|---|
| 226 |
|
|---|
| 227 | config FWRT_NETWORK_WLAN_SECURITY_WEP
|
|---|
| 228 | bool "wep"
|
|---|
| 229 | help
|
|---|
| 230 | WEP key
|
|---|
| 231 |
|
|---|
| 232 | config FWRT_NETWORK_WLAN_SECURITY_WPA_PSK
|
|---|
| 233 | bool "wpa-psk"
|
|---|
| 234 | help
|
|---|
| 235 | WPA with preshared key
|
|---|
| 236 |
|
|---|
| 237 | config FWRT_NETWORK_WLAN_SECURITY_802.1X
|
|---|
| 238 | bool "802.1x"
|
|---|
| 239 | help
|
|---|
| 240 | IEEE 802.1X authentication
|
|---|
| 241 |
|
|---|
| 242 | endchoice
|
|---|
| 243 |
|
|---|
| 244 | choice
|
|---|
| 245 | prompt "authorization"
|
|---|
| 246 | depends on !FWRT_NETWORK_WLAN_SECURITY_NONE
|
|---|
| 247 |
|
|---|
| 248 | config 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 |
|
|---|
| 254 | config 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 |
|
|---|
| 260 | config 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 |
|
|---|
| 266 | config FWRT_NETWORK_WLAN_AUTORIZATION_PSK
|
|---|
| 267 | bool "psk"
|
|---|
| 268 | depends on FWRT_NETWORK_WLAN_SECURITY_WPA_PSK
|
|---|
| 269 | help
|
|---|
| 270 | WPA PSK
|
|---|
| 271 |
|
|---|
| 272 | config FWRT_NETWORK_WLAN_AUTORIZATION_PSK2
|
|---|
| 273 | bool "psk2"
|
|---|
| 274 | depends on FWRT_NETWORK_WLAN_SECURITY_WPA_PSK
|
|---|
| 275 | help
|
|---|
| 276 | WPA2 PSK
|
|---|
| 277 |
|
|---|
| 278 | config 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 |
|
|---|
| 284 | config FWRT_NETWORK_WLAN_AUTORIZATION_WPA
|
|---|
| 285 | bool "wpa"
|
|---|
| 286 | depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
|
|---|
| 287 | help
|
|---|
| 288 | WPA with RADIUS
|
|---|
| 289 |
|
|---|
| 290 | config FWRT_NETWORK_WLAN_AUTORIZATION_WPA2
|
|---|
| 291 | bool "wpa2"
|
|---|
| 292 | depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
|
|---|
| 293 | help
|
|---|
| 294 | WPA2 with RADIUS
|
|---|
| 295 |
|
|---|
| 296 | config 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 |
|
|---|
| 302 | endchoice
|
|---|
| 303 |
|
|---|
| 304 | choice
|
|---|
| 305 | prompt "encryption"
|
|---|
| 306 | depends on FWRT_NETWORK_WLAN_SECURITY_WPA_PSK || FWRT_NETWORK_WLAN_SECURITY_802.1X
|
|---|
| 307 |
|
|---|
| 308 | config FWRT_NETWORK_WLAN_ENCRYPTION_TKIP
|
|---|
| 309 | bool "tkip"
|
|---|
| 310 | help
|
|---|
| 311 | RC4 encryption
|
|---|
| 312 |
|
|---|
| 313 | config FWRT_NETWORK_WLAN_ENCRYPTION_AES
|
|---|
| 314 | bool "aes"
|
|---|
| 315 | help
|
|---|
| 316 | AES encryption
|
|---|
| 317 |
|
|---|
| 318 | config FWRT_NETWORK_WLAN_ENCRYPTION_AES_TKIP
|
|---|
| 319 | bool "aes+tkip"
|
|---|
| 320 | help
|
|---|
| 321 | Support for RC4 and AES encryption
|
|---|
| 322 |
|
|---|
| 323 | config FWRT_NETWORK_WLAN_ENCRYPTION_WEP
|
|---|
| 324 | bool "wep"
|
|---|
| 325 | depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
|
|---|
| 326 | help
|
|---|
| 327 | RC4 encryption (static)
|
|---|
| 328 |
|
|---|
| 329 | endchoice
|
|---|
| 330 |
|
|---|
| 331 |
|
|---|
| 332 | choice
|
|---|
| 333 | prompt "eap-type"
|
|---|
| 334 | depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
|
|---|
| 335 |
|
|---|
| 336 | config FWRT_NETWORK_WLAN_EAP_TLS
|
|---|
| 337 | bool "tls"
|
|---|
| 338 | help
|
|---|
| 339 | Transport Layer Security
|
|---|
| 340 |
|
|---|
| 341 | config FWRT_NETWORK_WLAN_EAP_TTLS
|
|---|
| 342 | bool "ttls"
|
|---|
| 343 | help
|
|---|
| 344 | Tunnelled TLS
|
|---|
| 345 |
|
|---|
| 346 | config FWRT_NETWORK_WLA_EAP_PEAP
|
|---|
| 347 | bool "peap"
|
|---|
| 348 | help
|
|---|
| 349 | Protected EAP
|
|---|
| 350 |
|
|---|
| 351 | config FWRT_NETWORK_WLAN_EAP_LEAP
|
|---|
| 352 | bool "leap"
|
|---|
| 353 | help
|
|---|
| 354 | Cisco Wireless
|
|---|
| 355 |
|
|---|
| 356 | endchoice
|
|---|
| 357 |
|
|---|
| 358 | menu "radius settings"
|
|---|
| 359 | depends on FWRT_NETWORK_WLAN_SECURITY_802.1X
|
|---|
| 360 |
|
|---|
| 361 | config FWRT_NETWORK_WLAN_RADIUS_IPADDR
|
|---|
| 362 | string "radius ipaddr"
|
|---|
| 363 | default "0.0.0.0"
|
|---|
| 364 | help
|
|---|
| 365 | Transport Layer Security
|
|---|
| 366 |
|
|---|
| 367 | config FWRT_NETWORK_WLAN_RADIUS_PORT
|
|---|
| 368 | string "radius port"
|
|---|
| 369 | default "1812"
|
|---|
| 370 | help
|
|---|
| 371 | RADIUS-Port# to connect
|
|---|
| 372 |
|
|---|
| 373 | config FWRT_NETWORK_WLAN_RADIUS_KEY
|
|---|
| 374 | string "radius key"
|
|---|
| 375 | help
|
|---|
| 376 | Shared Secret for connection to the Radius server
|
|---|
| 377 |
|
|---|
| 378 | endmenu
|
|---|
| 379 |
|
|---|
| 380 | config 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 |
|
|---|
| 386 | config 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 |
|
|---|
| 392 | config 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 |
|
|---|
| 399 | endmenu
|
|---|
| 400 |
|
|---|
| 401 | endmenu
|
|---|