|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
[PLUG] ubuntu and wpa wireless - semi/mostly solved
|
So with much digging, it turns out I need a package called "wpa_supplicant",
to handle the WPA encryption. And it *mostly* works.
"Mostly" means that if I issue the "wpa_supplicant" command manually, and
tell it to go daemon, and then I tell it to go get an IP address using
dhclient, then it works. As witnessed by the fact that I am writing this
email wirelessly ...
sudo wpa_supplicant -B -Dmadwifi -i ath0 -c /etc/wpa_supplicant.conf
sudo dhclient ath0
But how to get it to happen automatically? My searches indicate that ubuntu
starts wpa at startup, so I tried /etc/default/wpasupplicant file:
ENABLED=1
OPTIONS="-w -Dipw -iath0 1 -c /etc/wpa_supplicant.conf"
<http://www.wlug.org.nz/WirelessNetworkSecurityNotes>
Which did diddly for me, as I had to issue it manually. I tried :
iface ath0 inet dhcp
pre-up wpa_supplicant -B -iath0 -Dmadwifi
down skill wpa_supplicant
in /etc/network/interfaces, which did the same (i.e., nothing).
So what am I missing now, to get this to happen automatically?
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|