D-Link card (ath0) and WPA-PSK
Gregory W. MacPherson
greg at netpublishing.com
Sat Feb 17 08:37:20 UTC 2007
I wanted to access a WPA-PSK network with my laptop. I booted up FreeBSD
6.2. I already had a D-Link WNA2330 card inserted in the slot at boot up.
The ath driver recognized the card:
ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 11 at device 0,0 on cardbus0
ath0: Ethernet address: 00:15:e9:d9:77:13
ath0: mac 7,9 phy 4,5 radio 5,6
I configured /etc/wpa_supplicant and added a line to /etc/rc.conf to
configure the interface to use DHCP. Then I issued /etc/rc.d/netif start.
What I got was a card that was associated and properly configured but
that could not negotiate an address or pass traffic.
After several iterations of ifconfig ath0, I finally removed the card and
reinserted the card. Then and only then did the /etc/rc.d/netif start
result in an associated and DHCP configured NIC.
ath0: ath_chan_set: unable to reset channel 2 (2417 Mhz, flags 0xe0 hal flags 0xc0)
ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 11 at device 0,0 on cardbus0
ath0: Ethernet address: 00:15:e9:d9:77:13
ath0: mac 7,9 phy 4,5 radio 5,6
Has anyone seen this before - where the card is recognized by the driver
and the card can associate with the network but the WPA fails until the
card is removed and reinserted?
Laptop is a Thinkpad T21.
OS is FreeBSD 6.2-STABLE #0
Kernel has the following compiled in:
device wlan
device wlan_wep
device wlan_ccmp
device wlan_tkip
device wi
device ath
device ath_hal
device ath_rate_sample
IPFW is compiled in and was set open.
Thanks,
-- Greg
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Gregory W. MacPherson - Global Network Exploitation Specialist, CISSP
http://www.netpublishing.com/greg/ greg at netpublishing.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the freebsd-questions
mailing list