Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Mar 2005 17:51:49 -0600
From:      max g <obviousthrowawayaddress@gmail.com>
To:        freebsd-stable@freebsd.org
Subject:   ath0 as AP: "station already associated"
Message-ID:  <9b23e7980503091551b2d6641@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi. I have a Netgear WG311T (5212, I believe) that I've been using as
a wireless access point in a linux box using madwifi for a while now.
I moved it to my freebsd box, and I can't seem to get it to work
properly.
I can see its ssid when scanning with my other card (a netgear WG511),
under both linux and windows. However, any attempt to associate seems
to just do nothing.
With ifconfig ath0 debug, I can see that that dmesg contains a lot of
lines like the following:

ath0: received assoc_req from 00:09:5b:ec:c8:1d rssi 63
ath0: sending assoc_resp to 00:09:5b:ec:c8:1d on channel 3
ath0: station already 00:09:5b:ec:c8:1d associated
ath0: received assoc_req from 00:09:5b:ec:c8:1d rssi 63
ath0: sending assoc_resp to 00:09:5b:ec:c8:1d on channel 3
ath0: station already 00:09:5b:ec:c8:1d associated
ath0: received assoc_req from 00:09:5b:ec:c8:1d rssi 62
ath0: sending assoc_resp to 00:09:5b:ec:c8:1d on channel 3
ath0: station already 00:09:5b:ec:c8:1d associated

There is a huge flurry of these every time the client tries to connect.
The rssi varies. the MAC address listed is the client's.

No pings or similar data travels between the two.

# ifconfig ath0
ath0: flags=8847<UP,BROADCAST,DEBUG,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::20f:b5ff:fe5c:7562%ath0 prefixlen 64 scopeid 0x2 
        inet 192.168.5.3 netmask 0xffffff00 broadcast 192.168.5.255
        ether 00:0f:b5:5c:75:62
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11b <hostap>
        status: associated
        ssid my_ap 1:my_ap
        channel 3 authmode OPEN powersavemode OFF powersavesleep 100
        rtsthreshold 2312 protmode CTS
        wepmode OFF weptxkey 1

I've tried a variety of modes. I've copied the lines directly out of
the man page for 'create an 802.11g access point' (ifconfig ath0 inet
192.168.5.3 netmask 0xffffff00 ssid my_ap mode 11g mediaopt hostap)
and 'create a host-based wireless bridge'  (ifconfig ath0 inet up ssid
my_ap media DS/11Mbps mediaopt hostap). Even an ad-hoc setup doesn't
seem to work.
My goal is to use this as a bridge, but obviously this cannot be done
until I can get the card to behave.

# uname -a
FreeBSD cassiopeia 5.4-PRERELEASE FreeBSD 5.4-PRERELEASE #0: Wed Mar 
9 00:35:01 CST 2005    
root@cassiopeia:/usr/obj/usr/src/sys/CASSIOPEIA  i386

I just cvsupped to stable two days ago from a fresh install of
5.3-RELEASE. I built the kernel with "device ath" and "device
ath_hal".

Any suggestions? Have I made a stupid mistake somewhere?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9b23e7980503091551b2d6641>