Re: ath0 driver

2003-08-08 Thread David Lodeiro
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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


ath0 driver

2003-08-06 Thread David Lodeiro
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 doesnt 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?

Thanks

David

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


Failed to make buildkernel with device ath

2003-07-30 Thread David Lodeiro
I've tried to rebuild the kernel a couple of times now with device ath  to 
add support for my 54g card. The system was cvsup to current yesterday ( 
29/07/03) and make buildworld completed succesfully. However rebuilding the 
kernel fails on this :

if_ath.o: In function `ath_attach':
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:198: undefined 
reference to `ath_hal_attach'
if_ath.o: In function `ath_tx_start':
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:1767: 
undefined reference to `ath_hal_computetxtime'
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:1771: 
undefined reference to `ath_hal_computetxtime'
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:1774: 
undefined reference to `ath_hal_computetxtime'
if_ath.o: In function `ath_getchannels':
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:2309: 
undefined reference to `ath_hal_init_channels'
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:2322: 
undefined reference to `ath_hal_mhz2ieee'
if_ath.o: In function `ath_attach':
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:192: undefined 
reference to `sysctl__hw_ath_children'
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:198: undefined 
reference to `sysctl__hw_ath_children'
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:205: undefined 
reference to `sysctl__hw_ath_children'
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:221: undefined 
reference to `sysctl__hw_ath_children'
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:229: undefined 
reference to `sysctl__hw_ath_children'
if_ath.o:/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/ath/if_ath.c:236: 
more undefined references to `sysctl__hw_ath_children' follow
if_ath_pci.o: In function `ath_pci_probe':
/usr/src/sys/i386/compile/DAVESSERVER/../../../dev/pci/pcivar.h:191: undefined 
reference to `ath_hal_probe'
*** Error code 1

Stop in /usr/src/sys/i386/compile/DAVESSERVER.
server#

I cant find anything similar to this in the archives and google gives me 
nothing.

let me know if any additional info is needed

Thanks 

David

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


error during buildworld

2003-06-26 Thread David Lodeiro
Hi all

Last night I CVSupped my system for the first time, It came up with no errors. 
I then went to make buildworld and I got the following error. 

=== usr.sbin/bluetooth/bcmfw
rm -f .depend
mkdep -f .depend -a
-I/usr/src/usr.sbin/bluetooth/bcmfw/../../../sys/netgraph/bluetooth/include  
/usr/src/usr.sbin/bluetooth/bcmfw/bcmfw.c
echo bcmfw: /usr/sbin//usr/lib/libc.a   .depend
=== usr.sbin/bluetooth/hccontrol
rm -f .depend
mkdep -f .depend -a
-I/usr/src/usr.sbin/bluetooth/hccontrol/../../../sys/netgraph/bluetooth/include  
/usr/src/usr.sbin/bluetooth/hccontrol/send_recv.c 
/usr/src/usr.sbin/bluetooth/hccontrol/link_policy.c 
/usr/src/usr.sbin/bluetooth/hccontrol/link_control.c 
/usr/src/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c 
/usr/src/usr.sbin/bluetooth/hccontrol/info.c 
/usr/src/usr.sbin/bluetooth/hccontrol/status.c 
/usr/src/usr.sbin/bluetooth/hccontrol/node.c 
/usr/src/usr.sbin/bluetooth/hccontrol/hccontrol.c 
/usr/src/usr.sbin/bluetooth/hccontrol/util.c
echo hccontrol: /usr/sbin//usr/lib/libc.a   .depend
=== usr.sbin/bluetooth/hcsecd
lex -t  /usr/src/usr.sbin/bluetooth/hcsecd/lexer.l  lexer.c
yacc -d -o parser.c /usr/src/usr.sbin/bluetooth/hcsecd/parser.y
rm -f .depend
mkdep -f .depend -a
-I/usr/src/usr.sbin/bluetooth/hcsecd/../../../sys/netgraph/bluetooth/include  
/usr/src/usr.sbin/bluetooth/hcsecd/hcsecd.c lexer.c parser.c
/usr/src/usr.sbin/bluetooth/hcsecd/parser.y:41:20: hcsecd.h: No such file or 
directory
mkdep: compile failed
*** Error code 1

Stop in /usr/src/usr.sbin/bluetooth/hcsecd.
*** Error code 1

Stop in /usr/src/usr.sbin/bluetooth.
*** Error code 1

Stop in /usr/src/usr.sbin.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


The way I understand this messageis that it cant find hcsecd.h which is in 
there.

Can anyone tell me what to make of this?

Thanks

David

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]