From owner-freebsd-mobile@FreeBSD.ORG Tue Feb 3 10:59:14 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA2C116A4CE for ; Tue, 3 Feb 2004 10:59:14 -0800 (PST) Received: from mx2.compuware.com (mx2.compuware.com [63.115.132.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1A5A43D6B for ; Tue, 3 Feb 2004 10:57:56 -0800 (PST) (envelope-from Kevin.Adams@compuware.com) Received: from bh1.compuware.com (unknown [10.10.1.31]) by mx2.compuware.com (Postfix) with ESMTP id 92FAB41921 for ; Tue, 3 Feb 2004 13:57:55 -0500 (EST) Received: by compuware.com with Internet Mail Service (5.5.2657.72) id ; Tue, 3 Feb 2004 13:57:54 -0500 Message-ID: From: "Adams, Kevin" To: "'freebsd-mobile@freebsd.org'" Date: Tue, 3 Feb 2004 13:57:53 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Atheros Cards Associates in Monitor mode X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Feb 2004 18:59:14 -0000 I am not sure if I am doing something wrong or there is a modification I need to do. First, I have a Dell CPiR 400Mhz laptop with FreeBSD 5.2-Release. I have a Linksys WPC55AG card. All works great except for one thing. When I put the Linksys card in Monitor mode by using ifconfig ath0 monitor up and then being to collect data using pcap 0.8.1 and pcap CVS-Current (I sometimes switch between them at compile time). The card tries to Associate and/or Authenticate to 'some' AP via system (highlighted) messages on the main console. (i.e. ath0: association failed (reason x) for xx:xx:xx:xx:xx:xx. Reason codes have been 1 & 12). It is not all the time. It only seems to be with access points that don't have WEP on. I thought in "Monitor" mode there was not to be anything transmitted from the card. Only received, processed by BPF and then discarded. I use pcap_open_live in promiscuous mode. I then do a pcap_set_datalink(handle, DLT_IEEE802_11_RADIO) to get 802.11 info (and other packets). then use pcap_next_ex() in a loop to process packets. Pretty basic. I also installed and compile the current FreeBSD 5.2 CVS patches for the ATH (1.44) driver along with the other associated patches the ATH driver uses and get the same results. Am I doing anything wrong or forgetting something? Is the ifconfig statement correct? Thanks, Kevin The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it.