From owner-freebsd-current@FreeBSD.ORG Sat Jan 7 03:01:20 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 7010816A41F for ; Sat, 7 Jan 2006 03:01:20 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from msgmmp-4.gci.net (msgmmp-4.gci.net [209.165.130.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41BCE43D48 for ; Sat, 7 Jan 2006 03:01:19 +0000 (GMT) (envelope-from akbeech@gmail.com) Received: from stargate.akparadise.com ([209.124.141.64]) by msgmmp-4.gci.net (Sun Java System Messaging Server 6.2-3.03 (built Jun 27 2005)) with ESMTPA id <0ISP003E9CE22SA0@msgmmp-4.gci.net> for freebsd-current@freebsd.org; Fri, 06 Jan 2006 18:01:18 -0900 (AKST) Received: by stargate.akparadise.com (Postfix, from userid 0) id 65F073FA8; Fri, 06 Jan 2006 18:01:14 -0900 (AKST) Date: Fri, 06 Jan 2006 18:01:01 -0900 From: Beech Rintoul In-reply-to: <43BE9F0A.5000200@errno.com> To: Sam Leffler Message-id: <200601061801.12841.akbeech@gmail.com> Organization: NorthWind Communications MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart1203715.moLr5JRJVm; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <200601060340.35999.akbeech@gmail.com> <43BE9F0A.5000200@errno.com> User-Agent: KMail/1.8.3 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: Sat, 07 Jan 2006 03:01:20 -0000 --nextPart1203715.moLr5JRJVm Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 06 January 2006 07:47 am, Sam Leffler wrote: > 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 probl= em > > 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=3D0 > > 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 Thanks Sam, that did fix my problem. That was really annoying, especially I= f I=20 wanted to look at dmesg and that was all that was there. Maybe that should= =20 default to "0" with the option to turn it on as I'm sure most users don't=20 want all those messages. just my $.02 Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - System Administrator - akbeech@gmail.com /"\ ASCII Ribbon Campaign | NorthWind Communications \ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://akparadise.byethost33.com =2D------------------------------------------------------------------------= =2D------------- --nextPart1203715.moLr5JRJVm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQBDvy74Vq19LUoGB+MRAkO3AJ9/WZtz4D97k55aWPlO6JvFVmtQjQCeP/o5 n1XElXSueSsLOSX+ULb721Q= =PLqx -----END PGP SIGNATURE----- --nextPart1203715.moLr5JRJVm--