From owner-freebsd-questions@FreeBSD.ORG Tue Sep 22 06:22:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E4FC106566B for ; Tue, 22 Sep 2009 06:22:45 +0000 (UTC) (envelope-from michaelgrunewald@yahoo.fr) Received: from mx2.mpim-bonn.mpg.de (mx2.mpim-bonn.mpg.de [195.37.209.170]) by mx1.freebsd.org (Postfix) with ESMTP id EB1658FC12 for ; Tue, 22 Sep 2009 06:22:44 +0000 (UTC) X-IronPort-AV: E=McAfee;i="5300,2777,5748"; a="309606" X-IronPort-AV: E=Sophos;i="4.44,429,1249250400"; d="scan'208";a="309606" Received: from mailout.mpim-bonn.mpg.de (HELO ismene.mpim-bonn.mpg.de) ([192.168.42.38]) by mx2.mpim-bonn.mpg.de with ESMTP; 22 Sep 2009 08:22:42 +0200 Received: from [192.68.254.7] (aeria.mpim-bonn.mpg.de [192.68.254.7]) by ismene.mpim-bonn.mpg.de (8.13.8/8.13.8) with ESMTP id n8M6MfbW023680 for ; Tue, 22 Sep 2009 08:22:41 +0200 (CEST) Message-ID: <4AB86D30.50408@yahoo.fr> Date: Tue, 22 Sep 2009 08:22:40 +0200 From: =?ISO-8859-1?Q?Micha=EBl_Gr=FCnewald?= User-Agent: Thunderbird 2.0.0.21 (X11/20090311) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Troubleshooting ral0 device timeouts 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: Tue, 22 Sep 2009 06:22:45 -0000 I have set up a FreeBSD access point, it is equipped with a ralink based card and works most of the time. I would appreciate some help for troubleshooting ``the rest of the time''. Thanks! First there is nothing fancy about my wirelesse setup, I merely use the ralink card as an ethernet switch to create a LAN. I therefore configured my ralink R2600 ral0 interface, an ethernet card and bridged them together as described in if_bridge(4) or ifconfig(8). Note that only the bridge has got an IP address. Also, hostapd is up and running, managing the ral0 interface. This setup somehow works: I can succefully connect stations to the AP. However, from times to times, the ral(4) driver emits a `device timeout' message and the interface is hen stuck. All connections to the AP are lost and no station would notice the AP anymore. I could not successfully reset the interface with the sequence: # /etc/rc.d/netif stop ral0 # /etc/rc.d/hostapd stop # /etc/rc.d/netif start ral0 # /etc/rc.d/hostapd start Although it does not emit any error message, the AP remains undetectable. Rebooting the machine brings back the AP to a working state, but that is annoying! I am running amd64/7.2, the ralink chip is reported to be 2600 or 2610 by the kernel. -- Best regards, Michaël