After some rummaging around, I found that I needed to start wpa_supplicant so I tried that using the init script but had no success. After some more poking, I edited
- /etc/wpa_supplicant/wpa_supplicant.conf (to set the passphrase generated by wpa_passphrase)
- /etc/sysconfig/wpa_supplicant (to change the default driver from ndiswrapper to wext
#!/bin/bash
. /etc/init.d/functions
cd /etc/sysconfig/network-scripts
. ./network-functions
. /etc/init.d/functions
cd /etc/sysconfig/network-scripts
. ./network-functions
CONFIG=`echo ${1} | cut -d- -f2`
need_config ${CONFIG}
source_config
if [ "${TYPE}" = "Wireless" ]
then
/etc/init.d/wpa_supplicant restart
fi
Presto! My wireless interface now comes up just like it should!
Now I have to figure how to setup wpa-supplicant for when I am away from my home network..
No comments:
Post a Comment