From owner-freebsd-mobile@FreeBSD.ORG Fri Aug 8 15:46:14 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39E6D106568D for ; Fri, 8 Aug 2008 15:46:14 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal4.es.net [198.124.252.66]) by mx1.freebsd.org (Postfix) with ESMTP id EE42E8FC14 for ; Fri, 8 Aug 2008 15:46:13 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal3.es.net [198.128.3.207]) by postal4.es.net (Postal Node 4) with ESMTP (SSL) id OXC20113; Fri, 08 Aug 2008 08:46:13 -0700 Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal3.es.net (Postal Node 3) with ESMTP (SSL) id OXC04512; Fri, 08 Aug 2008 08:46:12 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id E5CF245010; Fri, 8 Aug 2008 08:46:11 -0700 (PDT) To: Alberto Rizzi In-Reply-To: Your message of "Fri, 08 Aug 2008 17:12:31 +0200." <489C625F.3020605@fastmail.fm> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1218210371_65714P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Fri, 08 Aug 2008 08:46:11 -0700 From: "Kevin Oberman" Message-Id: <20080808154611.E5CF245010@ptavv.es.net> Cc: freebsd-mobile@freebsd.org Subject: Re: Wpi keep disconnecting X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 15:46:14 -0000 --==_Exmh_1218210371_65714P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Fri, 08 Aug 2008 17:12:31 +0200 > From: Alberto Rizzi > Sender: owner-freebsd-mobile@freebsd.org > > I have a Thinkpad T61 (UZ25FIT) dual boot with Xp and FreeBSD and has an > Intel 3945ABG on board. > > #uname -a > FreeBSD yoda.endor 7.0-STABLE FreeBSD 7.0-STABLE #0: Fri Aug 8 13:51:42 > CEST 2008 root@yoda.endor:/usr/obj/usr/src/sys/YODA i386 > > I can load the wpi driver and configure the interface, then I can > connect to my wifi router (linksys wag54g 1v) with WPA and surf internet > but after a while the wpi disconnects. I think it is volume related and > not time related, maybe a counter overflow or something other. > > If I mount a NFS directory and start copying files from the server to > the notebook, after a minute the wpi disconnects. > In /var/log/messages I can read > wpi0: link state changed to DOWN > > and in wpa_cli I can read > <3>Michael MIC failure detected > <3>Michael MIC failure detected > <3>TKIP countermeasures started > <2>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys > > after a minute I read in /var/log/messages > wpi0: scan timeout > > and in wpa_cli > <2>WPA: TKIP countermeasures stopped > > with netstat -ibh I see I moved 12MBytes > > If I write "reassociate" in wpa_cli, after some seconds in var log > messages I read > wpi0: link state changed to UP > > and in wpa_cli > <2>Trying to associate ..... > <2>Associated with ..... > <2>WPA: Key negotiation completed ..... > <2>CTRL-EVENT-CONNECTED ..... > > If I restart the copying process I can see > <3>Michael MIC failure detected > but wpi doesn't disconnect. > > After a while wpi disconnects and I have the same messages in > /var/log/messages and wpa_cli > > There isn't a fixed amount of bytes I can transfer between two > disconnection, sometime 10MB, sometime 100MB, but the maximum was 140MB > > Please help me, I can give further info. > I have FreeBSD 7 on this PC since its release and I always had problems Try 'ifconfig wpi0 -bgscan'. I continue to see reports and to have problems with association being lost during "background" scans. This only seems to happen when there are multiple APs available and is very annoying. Please drop the list a note it turning off background scanning solves the problem. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1218210371_65714P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFInGpDkn3rs5h7N1ERAr6qAJ4/GaBPz0nMKJv84n1+zZbKmxKtsgCePEWj kTK18ul8X8Fg7MT/DxWAgio= =/qyA -----END PGP SIGNATURE----- --==_Exmh_1218210371_65714P--