From owner-freebsd-current@FreeBSD.ORG Fri Jan 6 16:45:32 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 42F0316A41F for ; Fri, 6 Jan 2006 16:45:32 +0000 (GMT) (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 EA83743D48 for ; Fri, 6 Jan 2006 16:45:29 +0000 (GMT) (envelope-from sam@errno.com) Received: from [10.0.0.248] (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.6) with ESMTP id k06GjQo7036544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Jan 2006 08:45:26 -0800 (PST) (envelope-from sam@errno.com) Message-ID: <43BE9F0A.5000200@errno.com> Date: Fri, 06 Jan 2006 08:47:06 -0800 From: Sam Leffler User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051227) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Beech Rintoul References: <200601060340.35999.akbeech@gmail.com> In-Reply-To: <200601060340.35999.akbeech@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: /dev/ath log messages 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: Fri, 06 Jan 2006 16:45:32 -0000 Beech Rintoul wrote: > I have noticed that for about the past month or so I've been getting hundreds > of the following every day in /var/log/messages: > > +ath0: link state changed to DOWN > +ath0: link state changed to UP > > It doesn't seem to affect connectivity, but it's really annoying in the > security report. Is there anything I can do to stop this? I'm running > -CURRENT from yesterday. I have built Sam's new drivers, but this problem > started long before that and was not affected by the upgrade. The lease on > the AP I'm connecting to is good for 24 hours so I don't think that's an > issue. I looked at the traffic with ethereal and everything looks normal. I'm > getting sorely tempted to go back to isc-dhclient and see if this goes away, > but I thought I would ask here first. sysctl net.link.log_link_state_change=0 will make the msgs go away. I do this on all my laptops. The issue (which should be in an FAQ) is that your station is reassociating to the ap, typically because you are idle. Each time this happens the link state goes down+up. The dhcp lease is not relevant. You might be able to tweak ap parameters to increase the idle timeout but aside from the link state msgs there's no reason to. Sam