[TriLUG] having trouble getting wpa setup
Nick Goldwater
trilug at dogstar1.com
Sun Jun 24 20:27:26 EDT 2007
I posted this earlier:
#You may want to try wpa_supplicant and remove all the other network managers. I have also found that 'iwpriv athx bgscan 0' works well with #cisco ap's.
#
#Ex: wpa_supplicant.conf
#
#ap_scan=1
#
#network={
# scan_ssid=1
# ssid="your id"
# proto=WPA RSN
# key_mgmt=WPA-PSK
# pairwise=CCMP TKIP
# group=CCMP TKIP
# priority=your integer here
# psk=your hash here
#}
The reason for the iwpriv is to deal with multiple ap signals with the same ssid.
Here is my /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto ath0
iface ath0 inet dhcp
pre-up wpa_supplicant -Bw -Dnadwifi -iath0 -c/etc/wpa_supplicant.conf
post-down killall -q qpa_supplicant
iface eth0 inet dhcp
auto eth0
laptop:~# lsmod | grep wlan
wlan_wep 7040 1
wlan_scan_sta 13696 1
wlan 203076 5 wlan_wep,wlan_scan_sta,ath_rate_sample,ath_pci
I'm running Linux version 2.6.20-16-386 (root at terranova) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 Thu Jun 7 20:16:13 UTC 2007
Nick
----- Original Message -----
From: "Joseph Mack NA3T" <jmack at wm7d.net>
To: "Triangle Linux Users Group discussion list" <trilug at trilug.org>
Sent: Sunday, June 24, 2007 7:42:07 PM (GMT-0500) America/New_York
Subject: Re: [TriLUG] having trouble getting wpa setup
On Sun, 24 Jun 2007, Kevin J. wrote:
> I run Kubuntu on my laptop and it picks up every wireless
> network/protocol it comes in contact with. Your only
> limitation might be in the driver for your wireless card.
the "might" is the problem :-)
> If you're not running *ubuntu you may want to try a live
> cd of any one of them and give it a try first.
Ah that's one way of finding if my cards work. Presumably I
can watch the logs too.
> If it picks up your card and a WPA(2) network then you're
> probably good to go.
don't have any wpa networks around, which is another
problem.
> I have a a/b/g card built-in so I'm not sure about the "b"
> aspect being an issue, but as a/b/g are layer 1
> technology, I don't think it would make any difference as
> most APs talk to all three.
ahem, my bad, you're correct - the link layer isn't the
problem. It's just that the b cards, being older, don't scan
(or something like that, I remember sending them some
command with maybe iwconfig and I got an error that it
wasn't supported). I notice in the logs lots of things (like
SCAN) that aren't working, and I don't know if it's the card
or I've set it all up wrong.
Will go plug in a live CD (or two)
Thanks
Joe
--
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!
--
TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
More information about the TriLUG
mailing list