Addon zum start der wpa_supplicant tools für WPA und WPA2 Verschlüsselung
git-svn-id: svn://svn.compuextreme.de/Viitor/V962/Viitor_sysvinit@5458 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
35ee2ec5ba
commit
5139084b83
@ -67,6 +67,9 @@ for AP in `iwlist $DEV scan 2>/dev/null|\
|
|||||||
read <&3 OPTION ARG1 ARG2
|
read <&3 OPTION ARG1 ARG2
|
||||||
while [ $OPTION ]; do
|
while [ $OPTION ]; do
|
||||||
case $OPTION in
|
case $OPTION in
|
||||||
|
WPA2|WPA)
|
||||||
|
wpa_supplicant -i wlan0 -D ${ARG1} -c /etc/sysconfig/wpa_supplicant/${AP} -B
|
||||||
|
;;
|
||||||
KEY)
|
KEY)
|
||||||
echo -n "Configuring Wireless Interface KEY"
|
echo -n "Configuring Wireless Interface KEY"
|
||||||
$DEBUG iwconfig $DEV key $ARG1 $ARG2
|
$DEBUG iwconfig $DEV key $ARG1 $ARG2
|
||||||
|
Loading…
Reference in New Issue
Block a user