From owner-freebsd-current@FreeBSD.ORG Fri Aug 8 03:24:57 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 C531037B401 for ; Fri, 8 Aug 2003 03:24:57 -0700 (PDT) Received: from msv02-kent-syd.comindico.com.au (msv02-kent-syd.comindico.com.au [203.194.29.48]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB5D943FAF for ; Fri, 8 Aug 2003 03:24:55 -0700 (PDT) (envelope-from dlodeiro@inspired.net.au) Received: from .dl.com (dsl-82.129.240.220.lns02-wick-bne.dsl.comindico.com.au [220.240.129.82])h78AOr206568 for ; Fri, 8 Aug 2003 20:24:53 +1000 (EST) From: David Lodeiro To: freebsd-current@freebsd.org Date: Fri, 8 Aug 2003 20:24:16 +1000 User-Agent: KMail/1.5.2 References: <200308062049.18324.dlodeiro@inspired.net.au> <1618623677.1060155480@melange.errno.com> In-Reply-To: <1618623677.1060155480@melange.errno.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200308082024.16772.dlodeiro@inspired.net.au> 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: Fri, 08 Aug 2003 10:24:58 -0000 Hi, > > >The version should be 0.9.5.3 or better (can't remember if I committed .4 > > >or .3). > >Shouldn't that be 0.9.5.2? I run the latest current, and > >hw.ath.hal.version is 0.9.5.2. > >You're right; I committed a slightly older version to FreeBSD than to Linux. >The version The version I have is 0.9.5.2. As to the tcpdump, I get er# tcpdump -i ath0 -y IEEE802_11 tcpdump: data link type DLT_IEEE802_11 tcpdump: listening on ath0 00:18:02.152294 10.0.0.1.netbios-dgm > 10.0.0.255.netbios-dgm: NBT UDP PACKET(138) 00:18:02.152502 10.0.0.1.netbios-dgm > 10.0.0.255.netbios-dgm: NBT UDP PACKET(138) and thats all that comes up. Does this driver support being set up as an access point yet? I figured it did because ifconfig ath0 mediaopt hostap didnt return any errors. Please let me know if Im doing something wrong. Im sure ive got my *.conf files set up right as I have used them before, however I could be wrong. Thanks for the help David > > Ive got a Dlink DWL-G520 that Ive installed into a Freebsd system. Ive > > set up the card with the following00:18:02.152294 10.0.0.1.netbios-dgm > 10.0.0.255.netbios-dgm: NBT UDP PACKET(138) 00:18:02.152502 10.0.0.1.netbios-dgm > 10.0.0.255.netbios-dgm: NBT UDP PACKET(138) > > 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