From owner-freebsd-stable@FreeBSD.ORG Tue Jan 5 05:26:01 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 177DD106566C for ; Tue, 5 Jan 2010 05:26:01 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from mail-yw0-f197.google.com (mail-yw0-f197.google.com [209.85.211.197]) by mx1.freebsd.org (Postfix) with ESMTP id BCB7C8FC13 for ; Tue, 5 Jan 2010 05:26:00 +0000 (UTC) Received: by mail-yw0-f197.google.com with SMTP id 35so7299024ywh.7 for ; Mon, 04 Jan 2010 21:26:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:received :message-id:in-reply-to:references:date:subject:from:to:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance; bh=3XokFv4dHozCElAY3fsdcScb8gc6lzzT8GHjhSq3Pkw=; b=oZFMgXw5elPE0Phsv1ynbSoASa823vG0DL4jlqrZlWhHVcl/8kG48NC9QJvwi4mBZK in2GrJ74bpL2R9uFHV7y7YbRa3smuGy3m9AvtW4nK2JxuQC1avUm9NvOhr+9Sr6BXhJu Psoz/SDf18/j2V6SJkDUE64CtqMGTxqwyRwTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:in-reply-to:references:date:subject:from:to :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance; b=s7/SmzJrlWZIy3n391ii0lUxNJCGVcieMXnD+bwb59oXboPbdfvt97JS78v38nJHbl cO7T0MxWVQSWKs8ESh+qreMuW6eNLFLy6fFbZEnCh7/rPTNKROBhj/vbIGGU16eahPmX 24YsL7RoRtyAKJWpgq51BWO/pP9N5tKhkt8+A= Received: by 10.101.185.26 with SMTP id m26mr17563073anp.129.1262669160487; Mon, 04 Jan 2010 21:26:00 -0800 (PST) Received: from cygnus.homeunix.com ([189.71.5.16]) by mx.google.com with ESMTPS id 7sm7615381yxg.68.2010.01.04.21.25.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 Jan 2010 21:25:59 -0800 (PST) Sender: Nenhum_de_Nos Received: by cygnus.homeunix.com (Postfix, from userid 80) id 98985B805A; Tue, 5 Jan 2010 02:25:53 -0300 (BRT) Received: from 10.1.1.84 (SquirrelMail authenticated user matheus) by lamneth with HTTP; Tue, 5 Jan 2010 03:25:53 -0200 (BRST) Message-ID: <0c682ad7769fbd678a6835f041d0c791.squirrel@lamneth> In-Reply-To: <0122e9480533dc61e94ec7d00678aeaf.squirrel@lamneth> References: <0122e9480533dc61e94ec7d00678aeaf.squirrel@lamneth> Date: Tue, 5 Jan 2010 03:25:53 -0200 (BRST) From: "Nenhum_de_Nos" To: freebsd-stable@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: ath hostap problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jan 2010 05:26:01 -0000 On Tue, January 5, 2010 00:09, Nenhum_de_Nos wrote: > hail, > > I have a Core 2 Duo 2.66 GHz as a wifi ap: > > Jan 4 22:31:08 xxx kernel: cpu_reset: Stopping other CPUs > Jan 4 22:31:08 xxx kernel: Copyright (c) 1992-2010 The FreeBSD Project. > Jan 4 22:31:08 xxx kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, > 1989, 1991, 1992, 1993, 1994 > Jan 4 22:31:08 xxx kernel: The Regents of the University of California. > All rights reserved. > Jan 4 22:31:08 xxx kernel: FreeBSD is a registered trademark of The > FreeBSD Foundation. > Jan 4 22:31:08 xxx kernel: FreeBSD 8.0-STABLE #0: Sun Jan 3 00:25:30 BRT > 2010 > Jan 4 22:31:08 xxx kernel: root@xxx.xxx:/usr/obj/usr/src/sys/xxx amd64 > Jan 4 22:31:08 xxx kernel: Timecounter "i8254" frequency 1193182 Hz > quality 0 > Jan 4 22:31:08 xxx kernel: CPU: Intel(R) Core(TM)2 Duo CPU E6750 @ > 2.66GHz (2669.34-MHz K8-class CPU) > Jan 4 22:31:08 xxx kernel: Origin = "GenuineIntel" Id = 0x6fb Stepping > = 11 > > xxx# uname -a > FreeBSD xxx.xxx 8.0-STABLE FreeBSD 8.0-STABLE #0: Sun Jan 3 00:25:30 BRT > 2010 root@xxx.xxx:/usr/obj/usr/src/sys/xxx amd64 > > cat /etc/hostapd.conf > interface=wlan0 > #bridge=bridge0 > driver=bsd > logger_syslog=-1 > logger_syslog_level=2 > logger_stdout=-1 > logger_stdout_level=2 > debug=0 > dump_file=/tmp/hostapd.dump > ctrl_interface=/var/run/hostapd > ctrl_interface_group=0 > ssid=apartnet2 > #macaddr_acl=1 > #accept_mac_file=/etc/hostapd/accept > auth_algs=3 > eapol_key_index_workaround=0 > #eap_server=0 > wpa=3 > wpa_psk_file=/etc/hostapd/wpa_psk > wpa_key_mgmt=WPA-PSK > wpa_pairwise=CCMP > #stakey=0 > ieee8021x=0 > hw_mode=g > > and just get these messages in logs: > > Jan 4 22:49:46 xxx kernel: ath0: stuck beacon; resetting (bmiss count 4) > Jan 4 22:49:48 xxx last message repeated 4 times > Jan 4 22:49:48 xxx postfix/local[1293]: fatal: open database > /etc/aliases.db: No such file or directory > Jan 4 22:49:48 xxx kernel: ath0: stuck beacon; resetting (bmiss count 4) > Jan 4 22:50:03 xxx last message repeated 46 times > Jan 4 22:50:03 xxx kernel: > Jan 4 22:50:03 xxx kernel: ath0: stuck beacon; resetting (bmiss count 4) > Jan 4 22:50:19 xxx last message repeated 51 times > Jan 4 22:50:20 xxx kernel: > Jan 4 22:50:20 xxx kernel: ath0: stuck beacon; resetting (bmiss count 4) > Jan 4 22:50:33 xxx last message repeated 41 times > Jan 4 22:50:33 xxx kernel: > Jan 4 22:50:33 xxx kernel: ath0: stuck beacon; resetting (bmiss count 4) > Jan 4 22:50:49 xxx last message repeated 50 times > Jan 4 22:50:49 xxx postfix/local[1296]: fatal: open database > /etc/aliases.db: No such file or directory > Jan 4 22:50:49 xxx kernel: ath0: stuck beacon; resetting (bmiss count 4) > Jan 4 22:51:20 xxx last message repeated 98 times > Jan 4 22:51:50 xxx last message repeated 100 times > Jan 4 22:51:50 xxx postfix/local[1297]: fatal: open database > /etc/aliases.db: No such file or directory > Jan 4 22:51:50 xxx kernel: ath0: stuck beacon; resetting (bmiss count 4) > > I can't even see the network in other computers. > > Some time ago I reported this problem in here, but using slower hardware. > and Sam said that was it. That machine was running Linux before and is now > being converted to FreeBSD 8. when in linux, I had some performance > penalties but it works great for internet access. > > is there anything I can do to solve this ? > > the card is this: > > ath0@pci0:5:0:0: class=0x020000 card=0x3a131186 chip=0x0013168c rev=0x01 > hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = '802.11a/b/g Wireless Adapter (AR5212)' > class = network > subclass = ethernet > > the card doesn't support 802.11a though. > > I'm about to buy a rum based usb wlan, may be Hawking HWUG1 or TP-LINK > TL-WN321G, to make another freebsd based ap for light internet access. is > this supposed to happen as well ? > > thanks, > > matheus Using similar configuration file for hostapd, I did test another atheros based wlan card in same role: ath0@pci0:1:0:0: class=0x020000 card=0x3065168c chip=0x001c168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'HDAUDIOFUNC_01&VEN_1095&DEV_1392&SUBSYS_10280242&REV_1000 (USBVID_147E&PID_20165&B71A446&0&1)' class = network subclass = ethernet this is a pcie part, AFAIK, running on Asus F3T turion based notebook. Runs FreeBSD 8 as well: [matheus@xxx/usr/home/matheus]$ uname -a FreeBSD xxx.xxx 8.0-STABLE FreeBSD 8.0-STABLE #5: Sun Jan 3 16:20:25 BRT 2010 root@xxx.xxx:/usr/obj/usr/src/sys/xxx amd64 but this time I have no message as tha other box, and the AP works fine. matheus -- We will call you cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style