Re: WPA with ath

From: Sam Leffler <sam_at_errno.com>
Date: Fri, 21 Jan 2005 21:19:42 -0800
Bryan Bunch wrote:
> Hello All,
> 
> I am having a little trouble getting my WiFi card to work properly. 
> 
> --Card - Netgear WGS511T
> -- I am running FreeBSD 6.0-CURRENT #0: Fri Jan 21 16:03:10 CST 2005 .
> -- The latest port of wpa_supplicant.
> 
> My kernel has the following necessary lines:
> # Wireless NIC cards
> device          wlan            # 802.11 support
> device          ath
> device          ath_hal
> device          ath_rate_onoe
> 
> Below is the process I am using:
> -- Boot machine
> -- kldload wlan_tkip
> -- Put card in PCMCIA slot and I get the message saying that it sees the card.
> -- do a ifconfig ath0 up
> -- wpa_supplicant -iath0 -c /usr/local/etc/wpa_supplicant.conf
> 
> Below is some of the output I get:
> =========================
> Trying to associate with 00:0c:41:f3:bd:a2 (SSID='1024' freq=2437 MHz)
> Associated with 00:0c:41:f3:bd:a2
> WPA: Key negotiation completed with 00:0c:41:f3:bd:a2 [PTK=TKIP GTK=TKIP]
> WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
> WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
> WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
> Disconnect event - remove keys
> Associated with 00:0c:41:f3:bd:a2
> WPA: Key negotiation completed with 00:0c:41:f3:bd:a2 [PTK=TKIP GTK=TKIP]
> WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
> WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
> WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
> Disconnect event - remove keys
> Associated with 00:0c:41:f3:bd:a2
> WPA: Key negotiation completed with 00:0c:41:f3:bd:a2 [PTK=TKIP GTK=TKIP]
> WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
> WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
> WPA: Group rekeying completed with 00:0c:41:f3:bd:a2 [GTK=TKIP]
> =============================

"Disconnect event" means the AP sent the station a disconnect message. 
You need to figure out why; there's nothing here to explain what happened.

> 
> I keep getting the same thing over and over. I'm assuming it's working
> since if I go to a terminal window and do a ifconfig, I get:
> 
> ==================
> ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>         inet6 fe80::209:5bff:fec8:2255%ath0 prefixlen 64 scopeid 0x4
>         ether 00:09:5b:c8:22:55
>         media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/36Mbps)
>         status: associated
>         ssid 1024 channel 6 bssid 00:0c:41:f3:bd:a2
>         authmode WPA1+WPA2/802.11i privacy ON deftxkey 1
>         TKIP 1:128-bit <0a718f0eeaef5e32086fcccaca5ba6ba> rsc 3 tsc 1
>         TKIP 3:128-bit <86d5577cc68329ad2fb6f9e7a212fb49> rsc 16 tsc 1
>         txpowmax 43 protmode CTS roaming MANUAL bintval 100
> 
> ==================
> 
> BUT when I try and do a:
> 
> ifconfig ath0 inet 192.168.1.40 netmask 255.255.255.0
> 
> The address appears under the ifconfig, but I cannot go anywhere. I
> can ping the local interface, but nothing outside of it.
> 
> What am I doing wrong?

What's the AP?  Try running wpa_supplicant with a -d option to get more 
debug info (though it's not clear there'll be anything useful to see).

	Sam
Received on Sat Jan 22 2005 - 04:19:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:26 UTC