From owner-freebsd-current@FreeBSD.ORG Wed Aug 6 07:38:04 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C66E637B401 for ; Wed, 6 Aug 2003 07:38:04 -0700 (PDT) Received: from ebb.errno.com (ebb.errno.com [66.127.85.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id D9CB743F3F for ; Wed, 6 Aug 2003 07:38:03 -0700 (PDT) (envelope-from sam@errno.com) Received: from melange.errno.com (melange.errno.com [66.127.85.82]) (authenticated bits=0) by ebb.errno.com (8.12.9/8.12.9) with ESMTP id h76Ec07N031465 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 6 Aug 2003 07:38:03 -0700 (PDT) (envelope-from sam@errno.com) Date: Wed, 06 Aug 2003 07:38:00 -0700 From: Sam Leffler To: David Lodeiro , freebsd-current@freebsd.org Message-ID: <1618623677.1060155480@melange.errno.com> In-Reply-To: <200308062049.18324.dlodeiro@inspired.net.au> References: <200308062049.18324.dlodeiro@inspired.net.au> X-Mailer: Mulberry/3.0.3 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: ath0 driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 14:38:05 -0000 > Ive got a Dlink DWL-G520 that Ive installed into a Freebsd system. Ive > set up the card with the following > ifconfig_ath0="inet 10.0.0.1 netmask 255.255.255.0 ssid daves channel 10 > media DS11 mediaopt hostap" > > This system was cvsuped and buildworld about 3 days ago. The card appears > to be working because when I try to connect with my PDA it shows full > Link and quality, and when I ifconfig ath0 down , the link and quality > go down to nothing. > > However it doesn't give out dhcp addresses over this interface. Im sure my > dhcpd.conf is fine because I've used a similar one on a laptop => aka > wireless access point that worked very well. So I tried to use dstumbler > to see if it could detect the PDA, however it gives me the following > error > > error: unable to ioctl device socket: Operation now in progress > > and it stays that way. > > Has anyone had this issue as well or now what it means? > Verify you have the latest HAL using sysctl hw.ath The version should be 0.9.5.3 or better (can't remember if I committed .4 or .3). If you have an old version update. Otherwise you might try tapping 802.11 frames with tcpdump on the AP to see what's going on: tcpdump -i ath0 -y IEEE802_11 As to dstumbler, it is intimately tied to the wi driver at the moment. I have a version that works w/ wi and ath drivers but it's a major rewrite and incomplete. If someone wants to pick it up I'd be happy to pass the (incomplete) work on... Sam