From 5139084b838040bc0ee383a8a29adebf5355cd9d Mon Sep 17 00:00:00 2001 From: kueller Date: Tue, 16 Mar 2010 10:51:09 +0000 Subject: [PATCH] =?UTF-8?q?Addon=20zum=20start=20der=20wpa=5Fsupplicant=20?= =?UTF-8?q?tools=20f=C3=BCr=20WPA=20und=20WPA2=20Verschl=C3=BCsselung?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_sysvinit@5458 504e572c-2e33-0410-9681-be2bf7408885 --- sbin/wlan_setup | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sbin/wlan_setup b/sbin/wlan_setup index 14e6367..f1db5fd 100755 --- a/sbin/wlan_setup +++ b/sbin/wlan_setup @@ -67,6 +67,9 @@ for AP in `iwlist $DEV scan 2>/dev/null|\ read <&3 OPTION ARG1 ARG2 while [ $OPTION ]; do case $OPTION in + WPA2|WPA) + wpa_supplicant -i wlan0 -D ${ARG1} -c /etc/sysconfig/wpa_supplicant/${AP} -B + ;; KEY) echo -n "Configuring Wireless Interface KEY" $DEBUG iwconfig $DEV key $ARG1 $ARG2