Date: Thu, 5 Aug 2010 22:36:43 +0200 From: Kurt Jaeger <pi@opsec.eu> To: Troye Johnson <drsweetlips@gmail.com> Cc: freebsd-stable@freebsd.org Subject: Re: 8.1 stable ar9285 ath0 problem Message-ID: <20100805203643.GF51934@home.opsec.eu> In-Reply-To: <AANLkTim=FrNkQvCtqqzfqfuraMMDD_6Gkb7yRxuGb7g=@mail.gmail.com> References: <AANLkTimej3WfJW6WwHz=5Csima4BSi2La-456aj3eLMW@mail.gmail.com> <20100729092535.GB90401@home.opsec.eu> <AANLkTimAUjxykT9W%2Bnb98DWGRRu%2BwhPs8Ysf6UYTWXOx@mail.gmail.com> <20100804082820.GC90401@home.opsec.eu> <AANLkTim=FrNkQvCtqqzfqfuraMMDD_6Gkb7yRxuGb7g=@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi!
> Can you show me your config files: rc.conf, /boot/loader.conf,
> wpa_supplicant.conf. I just want to see just to make sure I'm not doing it
> wrong.
I use the stuff in a different way (mostly manually).
For example:
Step 1)
ifconfig wlan0 up
Wait a little and check:
ifconfig wlan0 list scan
If there's no SSID listed, wait until one comes up.
Step 2)
wpa_supplicant -d -d -i wlan0 -c /etc/wpa-psk.conf
with /etc/wpa-psk.conf:
-----------
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
# home network; allow all valid ciphers
network={
ssid="correct-ssid"
key_mgmt=WPA-PSK
psk="correct-psk"
}
-----------
Step 3)
dhclient wlan0
Now one should be able to connect to the wlan.
> I'm using my card on a network that uses WPA-PSK. My card can scan
> for APs and associate with the chosen AP, but 'dhclient wlan0' will not get
> an IP address! How is that possible.
First wpa_supp*, then dhclient. wpa* provides the crypto so that
dhclient gets the DHCP packets.
> And when I do 'ifconfig' it shows that
> the card is associated but the ip address part reads 'inet: 0.0.0.0'.
Well, that's a start.
--
pi@opsec.eu +49 171 3101372 10 years to go !
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100805203643.GF51934>
