From owner-freebsd-mobile@FreeBSD.ORG Tue Mar 2 09:01:15 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 C6CB716A4CE for ; Tue, 2 Mar 2004 09:01:15 -0800 (PST) Received: from localhost.my.domain (unknown [12.171.226.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5982A43D39 for ; Tue, 2 Mar 2004 09:01:15 -0800 (PST) (envelope-from wright.546@osu.edu) Received: from 9F9SM31 (hwnmv11.gswa.tld [10.12.4.64] (may be forged)) by localhost.my.domain (8.12.10/8.12.10) with SMTP id i22H4Hg4011195 for ; Tue, 2 Mar 2004 12:04:17 -0500 (EST) (envelope-from wright.546@osu.edu) Message-ID: <027701c40077$f8ab9880$40040c0a@gswa.tld> From: "A. Wright" To: References: <200402201446.19436.sam@errno.com> <089401c3fbd5$83f4a500$41040c0a@gswa.tld> <20040229.141849.130861188.imp@bsdimp.com> Date: Tue, 2 Mar 2004 11:59:41 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Re: 802.11 "monitor mode" issues 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, 02 Mar 2004 17:01:15 -0000 I just installed 5.2-Release to be sure it wasn't something I didn't understand in -current. I insert the card and then run these commands. Here's what I got. # uname -a FreeBSD LAPTOP.domain.com 5.2-RELEASE FreeBSD 5.2-RELEASE #0: Sun Jan 11 04:21:45 GMT 2004 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 # ifconfig wi0 wi0: flags=8802 mtu 1500 ether 00:04:e2:1e:0c:de media: IEEE 802.11 Wireless Ethernet autoselect (none) ssid "" stationname "FreeBSD WaveLAN/IEEE node" channel -1 authmode OPEN powersavemode OFF powersavesleep 100 wepmode OFF weptxkey 1 # ifconfig wi0 media DS/11Mbps mediaopt monitor ifconfig: SIOCSIFMEDIA (mediaopt): Device not configured # ifconfig wi0 inet 192.168.0.10 netmask 0xffffff00 ssid my_ap media DS/11Mbps mediaopt hostap ifconfig: SIOCSIFMEDIA (mediaopt): Device not configured That last command is directly from the man page for wi(4) for 5.2-Release. Do I have to add anything to the kernel? I certainly don't rule out that it's something that I'm doing wrong. So if anyone can point out to me how to fix this, I'd appreciate it. Thanks for your time. Aaron ----- Original Message ----- From: "M. Warner Losh" To: Cc: Sent: Sunday, February 29, 2004 4:18 PM Subject: Re: 802.11 "monitor mode" issues > In message: <089401c3fbd5$83f4a500$41040c0a@gswa.tld> > "A. Wright" writes: > : I'm running -current dated 2-23-04. When I try this with my SMC2632 card, I > : get the following: > : > : >sudo ifconfig wi0 mediaopt monitor > : ifconfig: SIOCGIFMEDIA: Operation not supported by device > : > : In fact, I get the same error when I try a lot of the different options for > : 'mediaopt', even the ones I find listed from 'ifconfig -m wi0' > : Ideas? > > specify media. > > Warner