"When I see a bird that walks like a duck and swims like a duck and quacks like a duck, I call that bird a duck."
-- Alex Martelli
Showing posts with label wpa_supplicant. Show all posts
Showing posts with label wpa_supplicant. Show all posts
Tuesday, December 2, 2008
My First Defect (for the OLPC)
I noticed that turning the radio off and then back on from the OLPC control panel resulted in being endlessly prompted for my WEP password.. so I investigated a little more and then raised this defect .. now I will have to see if there is something similar in Fedora.
Sunday, December 9, 2007
Starting a wireless interface properly
I added WPA-PSK to my router recently (the wireless connection has been open up to now) and that immediately caused problems because my Linux laptop (running FC6) didn't want to play nice. My shiny new MacBook had no problems (no surprise there).
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
#!/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..
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..
Subscribe to:
Posts (Atom)