From owner-freebsd-mobile@FreeBSD.ORG Wed Aug 24 21:26:56 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org 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 6424016A41F for ; Wed, 24 Aug 2005 21:26:56 +0000 (GMT) (envelope-from danolson@visi.com) Received: from conn.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16AB343D53 for ; Wed, 24 Aug 2005 21:26:55 +0000 (GMT) (envelope-from danolson@visi.com) Received: from [192.168.240.220] (danolson.dsl.visi.com [209.98.225.50]) by conn.mc.mpls.visi.com (Postfix) with ESMTP id 04DB98807; Wed, 24 Aug 2005 16:26:55 -0500 (CDT) Message-ID: <430CE613.2010806@visi.com> Date: Wed, 24 Aug 2005 16:26:43 -0500 From: Dan Olson User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050721) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Olson References: <56287.168.100.249.178.1124853510.squirrel@www.geekisp.com> <430C7680.3060009@visi.com> In-Reply-To: <430C7680.3060009@visi.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Brad Schonhorst , freebsd-mobile@freebsd.org Subject: Re: kismet and atheros X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Aug 2005 21:26:56 -0000 Dan Olson wrote: > > > Brad Schonhorst wrote: > >> I have been using an iBook since OS X came about but recently decided it >> was time to give BSD a try. I picked up a new TINY Fujitsu P7010 and now >> have it running FreeBSD 6 - current circa July >> >> Wireless support was obviously a must for the laptop ( hence running >> CURRENT to get support for my Atheros card. ) As someone new to BSD >> wireless I was wondering if you guys could share with me some of your >> favorite tools for wireless use. I have been somewhat frustrated with >> the >> steps I currently take to discover new wireless access points. >> >> To get wireless access: >> >> 1) Run Kismet, find some SSIDs that are open >> 2) Reboot! I can't seem to get my card out of Promisc mode otherwise >> 3) run ifconfig ath0 ssid = ENTERNAME (other commands as needed) >> 4) run dhclient >> >> Are there any other options, I'd like to avoid rebooting after running >> Kismet. I feel like I must be missing something. ifconfig destroy won't >> work for some reason, I'm guessing its because the entry comes from >> Kismet >> rather than the ifconfig create command. Any other tools to see what >> access points are floating around out there? >> >> I understand the bsd airtools contains dstumbler but it won't work with >> the Atheros chipset. Curious though, do you need to reboot after using >> dstumbler? >> >> I've configured the kernel with ath_rate_onoe, using ATHEROS 5212 >> Super AG >> card. >> >> -brad > > > I had this problem with Kismet. An upgrade solved it. I now run 6 Beta2 > from Aug 17. > > Dan > I guess I spoke to soon. I am experiencing this problem too and it is interfering with my wireless setup. I have a non-standard kernel config and load if_ath as a module. Once loaded 'ifconfig ath0' shows: ath0: flags=8802 mtu 1500 ether 00:05:4e:46:c8:3c media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" authmode OPEN privacy OFF txpowmax 100 Which looks normal. After kismet is run and exited, 'ifconfig ath0' shows: ath0: flags=28943 mtu 1500 inet6 fe80::205:4eff:fe46:c83c%ath0 prefixlen 64 scopeid 0x2 ether 00:05:4e:46:c8:3c media: IEEE 802.11 Wireless Ethernet autoselect status: associated ssid "" channel 52 authmode OPEN privacy OFF txpowmax 34 Please note PROMISC, PPRROMISC, and the monitor. If I run 'ifconfig ath0 -promisc', 'ifconfig ath0' shows: ath0: flags=8943 mtu 1500 inet6 fe80::205:4eff:fe46:c83c%ath0 prefixlen 64 scopeid 0x2 ether 00:05:4e:46:c8:3c media: IEEE 802.11 Wireless Ethernet autoselect status: associated ssid "" channel 52 authmode OPEN privacy OFF txpowmax 34 Note PPROMISC is gone but PROMISC is still in the flags. If I do 'ifconfig ath0 mediaopt -monitor', I get: ifconfig: SIOCSIFMEDIA (media): Device not configured If I do 'ifconfig ath0 -monitor' and then 'ifconfig ath0' I get: ath0: flags=8943 mtu 1500 inet6 fe80::205:4eff:fe46:c83c%ath0 prefixlen 64 scopeid 0x2 ether 00:05:4e:46:c8:3c media: IEEE 802.11 Wireless Ethernet autoselect status: associated ssid "" channel 6 authmode OPEN privacy OFF txpowmax 34 protmode CTS But I can reset ath0 by unloading and reloading the kernel module if_ath and then I can run my wireless setup script and connect. But if i don't reload the module I can't connect. I think the PROMISC flag and the are interfering. How can we remove them? Dan