From owner-freebsd-questions@FreeBSD.ORG Fri Aug 18 09:30:49 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 90ECD16A4DA for ; Fri, 18 Aug 2006 09:30:49 +0000 (UTC) (envelope-from regnans@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id A97AA43D45 for ; Fri, 18 Aug 2006 09:30:48 +0000 (GMT) (envelope-from regnans@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so863052uge for ; Fri, 18 Aug 2006 02:30:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:user-agent:mime-version:to:subject:x-enigmail-version:content-type:content-transfer-encoding:from; b=sa3yXIZSuik5nRYiZeyXP6+d/RjMQULUiy5BDw6ZYsXP1kJsKurFzMNvu8o90OoZnrDAexRDxynsfxsTbOTpuZyImGLDPvwJSqkOvIfPD5253IHpClUBQCF7VVuEbGD737iRWOqMHrQTKrf3WP6CLz4GRYt1/Uc5xLQx6w10uM4= Received: by 10.66.221.19 with SMTP id t19mr1584749ugg; Fri, 18 Aug 2006 02:30:46 -0700 (PDT) Received: from ?192.168.3.14? ( [88.134.0.192]) by mx.gmail.com with ESMTP id o1sm2964316uge.2006.08.18.02.30.45; Fri, 18 Aug 2006 02:30:46 -0700 (PDT) Message-ID: <44E588C3.2000605@gmail.com> Date: Fri, 18 Aug 2006 11:30:43 +0200 User-Agent: Thunderbird 1.5.0.5 (X11/20060816) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit From: Helge Preuss Subject: ath0: link state changed to DOWN X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2006 09:30:49 -0000 Hello everybody, after a kernel recompile (completely unrelated to WLAN or network drivers) my Atheros WLAN card acts funny. I have in the meantime reinstalled the previous, working kernel, but it does not work any more. The card goes down and up again every few seconds. dmesg contains only repeated messages of ath0: link state changed to DOWN ath0: link state changed to UP ath0: link state changed to DOWN ath0: link state changed to UP /var/log/messages is a little more verbose: Aug 17 19:00:15 triton kernel: ath0: link state changed to DOWN Aug 17 19:00:17 triton kernel: ath0: link state changed to UP Aug 17 19:00:22 triton dhclient: New IP Address (ath0): 192.168.3.14 Aug 17 19:00:22 triton dhclient: New Subnet Mask (ath0): 255.255.255.0 Aug 17 19:00:22 triton dhclient: New Broadcast Address (ath0): 192.168.3.255 Aug 17 19:00:22 triton dhclient: New Routers (ath0): 192.168.3.66 Aug 17 19:00:23 triton dhclient: New IP Address (ath0): 192.168.3.14 Aug 17 19:00:23 triton dhclient: New Subnet Mask (ath0): 255.255.255.0 Aug 17 19:00:23 triton dhclient: New Broadcast Address (ath0): 192.168.3.255 Aug 17 19:00:23 triton dhclient: New Routers (ath0): 192.168.3.66 Aug 17 19:00:28 triton kernel: ath0: link state changed to DOWN Aug 17 19:00:31 triton kernel: ath0: link state changed to UP Aug 17 19:00:36 triton dhclient: New IP Address (ath0): 192.168.3.14 Aug 17 19:00:36 triton dhclient: New Subnet Mask (ath0): 255.255.255.0 Aug 17 19:00:36 triton dhclient: New Broadcast Address (ath0): 192.168.3.255 Aug 17 19:00:36 triton dhclient: New Routers (ath0): 192.168.3.66 Aug 17 19:00:38 triton dhclient: New IP Address (ath0): 192.168.3.14 Aug 17 19:00:38 triton dhclient: New Subnet Mask (ath0): 255.255.255.0 Aug 17 19:00:38 triton dhclient: New Broadcast Address (ath0): 192.168.3.255 Aug 17 19:00:38 triton dhclient: New Routers (ath0): 192.168.3.66 It seems the link goes down every 13 seconds, with a few aberrations. I am not the first to have this problem, but none of the solutions I found on the web worked for me. In particular, this is independent of where I am in relation to the AP. Again, before I recompiled the kernel WLAN worked for me. It works with Linux on the same laptop as well. Has anyone here encountered and actually solved this problem? Here is the relevant part of my kernel config: device wlan # 802.11 support device ath device ath_hal device ath_rate_onoe device wlan_acl device wlan_tkip device wlan_wep device wlan_xauth device wlan_ccmp The relevant line of /etc/rc.conf: ifconfig_ath0="WPA DHCP" And the output of sysctl net.wlan: net.wlan.debug: 0 net.wlan.0.%parent: ath0 net.wlan.0.debug: 0 net.wlan.0.inact_run: 300 net.wlan.0.inact_probe: 30 net.wlan.0.inact_auth: 180 net.wlan.0.inact_init: 30 net.wlan.0.driver_caps: 126086415 net.wlan.0.bmiss_max: 2 I suppose I could give even more info, but to limit the signal-to-noise-ratio I shall stop here. If you need anything specific, just ask. Thanks, Helge PS: Okay, one more info: FreeBSD 6.1-STABLE