From owner-freebsd-current@FreeBSD.ORG Wed Jul 20 04:42:43 2005 Return-Path: X-Original-To: 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 2C20216A41F; Wed, 20 Jul 2005 04:42:43 +0000 (GMT) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id C72EF43D46; Wed, 20 Jul 2005 04:42:42 +0000 (GMT) (envelope-from sam@errno.com) Received: from [66.127.85.94] ([66.127.85.94]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id j6K4ggms027120 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jul 2005 21:42:42 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <42DDD662.6050501@errno.com> Date: Tue, 19 Jul 2005 21:43:14 -0700 From: Sam Leffler Organization: Errno Consulting User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Robert Watson References: <20050719094905.F15510@fledge.watson.org> In-Reply-To: <20050719094905.F15510@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org Subject: Re: Recent fragility with if_wi, 802.11 adhoc/wep, and Tiger 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: Wed, 20 Jul 2005 04:42:43 -0000 Robert Watson wrote: > > I fairly regularly use 802.11 adhoc with WEP to communicate between my > 6.x/7.x FreeBSD notebook using if_wi, and my Apple PowerBook running Mac > OS X Tiger. A few days ago, when I updated from a June to a July HEAD > revision, this became quite "fragile". Specifically, I often find that > the Mac can't send to the FreeBSD box (ARP fails, etc), and that > sometimes it will give an error when I ask it to re-connect to the ad > hoc network. I find that if I ifconfig down/up if_wi, and likewise turn > off and on the wireless on the PowerBook, it seems to recover. I've not > had a chance to really try and diagnose this at all -- i.e., does > tcpdump show packets on either end, 802.11 state machine, etc. I was > wondering if anyone else has seen this problem, though. You didn't provide any config info. I recently noticed the wi driver isn't hooked up properly to the net80211 layer causing link state events to not be done properly (it appears disassoc events were being generated but not assoc/reassoc events). If you're using dhclient+adhoc mode then this might be related. Sam