From owner-freebsd-current@FreeBSD.ORG Sun Nov 12 20:48:30 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 7340716A403 for ; Sun, 12 Nov 2006 20:48:30 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE87843DB3 for ; Sun, 12 Nov 2006 20:48:10 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.80] ([10.0.0.80]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id kACKm7dJ030021 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 12 Nov 2006 12:48:08 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <45578887.6010602@errno.com> Date: Sun, 12 Nov 2006 12:48:07 -0800 From: Sam Leffler Organization: Errno Consulting User-Agent: Thunderbird 1.5.0.8 (Macintosh/20061025) MIME-Version: 1.0 To: Bruno Damour References: <4556F224.3050501@free.fr> In-Reply-To: <4556F224.3050501@free.fr> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: wpa-psk help with output of ifconfig ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 12 Nov 2006 20:48:30 -0000 Bruno Damour wrote: > Hello, > > I'm trying to debug some problems using WPA-PSK with ral driver. > Connection is often hanging after a while, network down. > netstat -r takes a very long time, ping doesnt respond, etc... > it works if I reset everything with netif restart. > > I saw a difference in the output of ifconfig that seems to be connected : > working state : > > ral0: flags=8843 mtu 1500 > inet6 fe80::216:b6ff:fe5d:93f9%ral0 prefixlen 64 scopeid 0x2 > inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255 > ether 00:16:b6:5d:93:f9 > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) > status: associated > ssid ruomad channel 9 bssid 00:11:95:f0:8f:21 > authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit txpowmax 100 > bmiss 7 protmode CTS roaming MANUAL bintval 100 > > not working : > ral0: flags=8843 mtu 1500 > inet6 fe80::216:b6ff:fe5d:93f9%ral0 prefixlen 64 scopeid 0x2 > inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255 > ether 00:16:b6:5d:93:f9 > media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps) > status: associated > ssid ruomad channel 9 bssid 00:11:95:f0:8f:21 > authmode WPA privacy ON deftxkey UNDEF TKIP 2:128-bit TKIP 3:128-bit > txpowmax 100 bmiss 7 protmode CTS roaming MANUAL bintval 100 > > The issue seems to be the TKIP 2:128-bit TKIP 3:128-bit (two items) when > prevously there was only one... > > Does anyone know what this output means ? The key change is just the WPA group key being re-issued by the AP. This happens periodically and/or when a new station joins the bss. If your network connection stalls then you need to identify what's going on. It's likely you lost connectivity to the ap. You can typically see this happen by monitoring debug output from wpa_supplicant (e.g. by supplying the -d option on the command line). Assuming you've just lost your association and are re-scanning you need to figure out why. There are tools and techniques for doing this (e.g. wlandebug can be used to enable debug msgs from the net80211 layer). Unfortunately the ral driver has no maintainer so resolving this may be difficult. Sam