Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jan 2005 19:18:47 -0600
From:      Bryan Bunch <bbunch@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   WPA with ath
Message-ID:  <a651cd6f05012117183fead6df@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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]
=============================

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?

Thanks for any help/guidance.


Bryan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a651cd6f05012117183fead6df>