FreeBSD box as an Acess Point, again

"Mike Avery" <[email protected]> Wed, 27 Nov 2002 15:00:23 -0700
Newsgroups gmane.network.wireless.bsd.general
Message-ID <3DE4DE07.21637.2B2722@localhost>
Fourteen faq's later... as well as a few questions here, I'm still not getting it.  
Maybe I'm just going out of my way to make this hard for myself...

I have two wi driver cards, a D-Link DWL 650 and a Cabletron Roamabout that 
I use in a desktop machine with the PCI/PCMCIA adapter that came with the 
DWL-650.  I'm getting the same results with both NICs.

My 4.7 FreeBSD system recognizes the cards, and I can use them to associate 
with a nearby AP.  This suggests the basic hardware issues are covered.

When I try to turn the cards into AP's, strange things happen.

Here's the file I use to start the card...
wicontrol -i wi0 -n wave
wicontrol -i wi0 -s "peak2"
wicontrol -i wi0 -k 0xabcdefghij -v 1
wicontrol -i wi0 -f 1
wicontrol -i wi0 -p 1
#wicontrol -i wi0 -c 1
 
# enable wep security
wicontrol -i wi0 -e 1
 
# select the active wep key - note - it's case sensitive!
wicontrol -i wi0 -T 1
 
# set the IP address and netmask of the wireless device
# (key changed to protect the innocent)
ifconfig wi0 inet 192.168.3.1 netmask 255.255.255.0 ssid peak22 wepkey 
0xbcdefghijk mediaopt hostap

The result I get is:
ifconfig: SIOCSIFMEDIA: Device not configured

When I run ifconfig, it tells me:
wi0: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        ether 00:40:05:de:d2:01
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
        status: no carrier
        ssid peak22 1:peak22
        stationname peak2
        channel 6 authmode OPEN powersavemode OFF powersavesleep 100
        wepmode MIXED weptxkey 1
        wepkey 1:64-bit

It seems odd it's on channel 6 when I'd asked for 1, that it's at 2mbps when 
I'd wanted faster, and that there's no carrier.

Stumbling around with netstumbler turns up other AP's, but not the FBSD 
box.

I started with the setup suggested in Steven Fettig's howto, 
http://www.stevenfettig.com/article.php?sid=29 and went on from there 
based on comments in bsd-wireless.

Thanks for any advice you can give,
Mike
-- 
Mike Avery                            
[email protected]
ICQ: 16241692                      AOL IM:MAvery81230
Phone: 970-642-0282
* Spam is for lusers who can't get business any other 
way *

A Randomly Selected Thought For The Day:
    I used to have a psychic girlfriend but she dumped me before we met.



--
*bsd wireless list, a bawug thing <http://www.bawug.org/>
[un]subscribe: http://lists.bawug.org/mailman/listinfo/bsd-wireless/