From owner-freebsd-net@FreeBSD.ORG Sat Mar 19 10:50:07 2011 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC037106566C for ; Sat, 19 Mar 2011 10:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ADECF8FC14 for ; Sat, 19 Mar 2011 10:50:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2JAo7BD072562 for ; Sat, 19 Mar 2011 10:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2JAo7J8072561; Sat, 19 Mar 2011 10:50:07 GMT (envelope-from gnats) Date: Sat, 19 Mar 2011 10:50:07 GMT Message-Id: <201103191050.p2JAo7J8072561@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Henry Hu Cc: Subject: Re: kern/149643: [rum] device not sending proper beacon frames in ap mode X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Henry Hu List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Mar 2011 10:50:07 -0000 The following reply was made to PR kern/149643; it has been noted by GNATS. From: Henry Hu To: bug-followup@freebsd.org, nox@jelal.kn-bremen.de Cc: Subject: Re: kern/149643: [rum] device not sending proper beacon frames in ap mode Date: Sat, 19 Mar 2011 18:17:24 +0800 I have similar issue. My card: rum0: on usbus6 rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 I also see my clients disconnect quickly. However, mine one do not send out any beacons. I'm also using hostapd, and as I capture the packets in the IEEE802_11_RADIO layer from an internal intel 3945 card, I cannot see any beacons sent by the card. I can see beacons of other access points, and if I plug the Ralink card into a WinXP laptop with official driver and software installed, I can see beacons from the card. So I think that the hardware is capable of sending beacons. It's just a problem of the driver. I found that though there is no beacons, a windows laptop connects fairly stable to the network. Maybe it ignores the beacons. However, my phone always disconnects from the network. It is an android phone, which uses wpa_supplicant to manage wireless connection. I create my wlan device with this: # sudo ifconfig wlan0 create wlandev rum0 wlanmode hostap My hostapd.conf: interface=wlan0 ctrl_interface=/var/run/hostapd wpa=1 wpa_passphrase=xxxxxxxxxx ssid=henryhu By the way, I found that the beacon_int and channel in hostapd.conf is useless, is it true? -- Cheers, Henry