From owner-freebsd-current@FreeBSD.ORG Sat Jan 22 05:19:23 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F0C216A4CE for ; Sat, 22 Jan 2005 05:19:23 +0000 (GMT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5337043D5F for ; Sat, 22 Jan 2005 05:19:23 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.92] ([66.127.85.92]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j0M5JMWi089736 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Jan 2005 21:19:22 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <41F1E26E.8030200@errno.com> Date: Fri, 21 Jan 2005 21:19:42 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Bryan Bunch References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: WPA with ath X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2005 05:19:23 -0000 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 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