summaryrefslogtreecommitdiff
path: root/target/config/Config.in.runtime
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-10-05 11:05:08 -0500
committerWaldemar Brodkorb <wbx@openadk.org>2014-10-06 12:38:59 -0500
commitd4507e62316fd52811181185212bee952db76804 (patch)
tree6ecaf4891a1f7f0e018e599eb92705bea754fd68 /target/config/Config.in.runtime
parenta32fbb1de4c0bb0a68b3c54240bc711353b0fd17 (diff)
add basic support to preconfigure wpa2
Diffstat (limited to 'target/config/Config.in.runtime')
-rw-r--r--target/config/Config.in.runtime23
1 files changed, 23 insertions, 0 deletions
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index 207bcc0c1..6b7ee495b 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -349,6 +349,29 @@ config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_GW
endmenu
+choice
+prompt "WLAN Security"
+depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_STATIC || ADK_SIMPLE_NETWORK_CONFIG_WLAN0_DHCP
+default ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
+
+config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_NOSEC
+ bool "No security"
+
+config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
+ bool "WPA2"
+
+endchoice
+
+config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_SSID
+ depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
+ string "SSID"
+ default ""
+
+config ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2_PW
+ depends on ADK_SIMPLE_NETWORK_CONFIG_WLAN0_WPA2
+ string "Password"
+ default ""
+
menu "eth1 Configuration"
depends on ADK_SIMPLE_NETWORK_CONFIG && \
ADK_TARGET_SYSTEM_MIKROTIK_RB532