Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2001 00:45:30 -0400
From:      Bob Johnson <bobj@ufl.edu>
To:        mobile@freebsd.org
Cc:        Greg Lehey <grog@freebsd.org>
Subject:   Re: Low cost wireless cards? (D-Link, LinkSys, etc)
Message-ID:  <3B1B126A.29764F57@ufl.edu>
References:  <3B1AB6CC.6A9EAD9A@ufl.edu> <20010604101629.E99950@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Greg Lehey wrote:
> 
> On Sunday,  3 June 2001 at 18:14:36 -0400, Bob Johnson wrote:
> >> Date: Sat, 2 Jun 2001 16:28:10 -0500
> >> From: Jim Couch <root@katana.amberskogg.dns2go.com>
> >> Subject: Re: Low cost wireless cards? (D-Link, LinkSys, etc)
> >>
> >> I had 4.2 on an armada laptop with a dwl-650 in it since the owner wanted to
> >> do a fully wireless network ..... It never stuttered and you can run the card
> >> configuration utility that comes with the linux drivers using linux
> >> compatability.
> >
> > Thanks, I'll give the D-Link a try.
> >
> >> I have yet to find a wireless nic for 802.11b for under 149.00
> >> Jim C.
> >
> > Best Buy has the D-Link DWL-650 for $120, and the Linksys WPC11 for $130.  I
> > bought a D-Link today, and after some frustration it is working in Windows.
> > Next I'll see if it is easier to get working in FreeBSD...

It wasn't easier, but it was less mysterious.  At least it made sense when 
it didn't work... and didn't require 8 reboots.

> 
> You might like to follow up on -mobile whether you get it to work or
> not.
> 

OK:

I'm still using 4.2-STABLE from about Feb 4, so I'm not sure how useful 
this info is, but the short answer is that it mostly works. 

I have it working without encryption, but I can't get WEP to work.

I can get the WEP keys set up, but:  

# wicontrol -i wi0 -T 1 
wicontrol: SIOCSWAVELAN: Input/output error
#      

and it doesn't talk to the AP if the AP is using WEP.

My /etc/pccard.conf entry looks something like:

# D-Link DWL-650 802.11b
card "D" "Link DWL-650 11Mbps WLAN Card"
        config auto "wi" ? 0x10000
        insert wicontrol -i $device -t 3
        insert wicontrol -i $device -s bobj
        insert wicontrol -i $device -n goofus
        insert wicontrol -i $device -p 1
# set up encryption keys.  I copied them from the AP, but 
# these aren't the actual values ;)   The AP is set for 
# 40-bit WEP.  If I turn off WEP at the AP, they talk.  
        insert wicontrol -i $device -k 0xC6C6C6C6C6 -v 1
        insert wicontrol -i $device -k 0x2626262626 -v 2
        insert wicontrol -i $device -k 0x0123456789 -v 3
        insert wicontrol -i $device -k 0xFEDCBA9876 -v 4
        insert wicontrol -i $device -T 1
        insert wicontrol -i $device -e 1
        insert /etc/pccard_ether $device start
        remove /etc/pccard_ether $device stop                              


I've notice a few anomolies in the wicontrol output:

 # wicontrol -i wi0
NIC serial number:                      [ 0114002223   ]
Station name:                           [ bobj ]
SSID for IBSS creation:                 [ FreeBSD IBSS ]
Current netname (SSID):                 [ goofus ]
Desired netname (SSID):                 [ goofus ]
Current BSSID:                          [ 00:50:18:04:c7:7e ]
Channel list:                           [ 2047 ]
IBSS channel:                           [ 11564 ]
Current channel:                        [ 6 ]
Comms quality/signal/noise:             [ 92 188 1 ]
Promiscuous mode:                       [ Off ]
Port type (1=BSS, 3=ad-hoc):            [ 1 ]
MAC address:                            [ 80:a9:c0:c0:00:43 ]
TX rate (selection):                    [ 3 ]
-- if the following is accurate, it is using 2 Mbps.  FWIW it 
-- was using 11 in Windows -- about 5 ft from the AP
TX rate (actual speed):                 [ 2 ]
RTS/CTS handshake threshold:            [ 2347 ]
Create IBSS:                            [ Off ]
Access point density:                   [ 1 ]
Power Mgmt (1=on, 0=off):               [ 0 ]
Max sleep time:                         [ 100 ]
-- WEP encryption is always "On" regardless of what I command.  
-- It is operating without encryption right now:
WEP encryption:                         [ On ]
-- If I manually program them, the keys show up here.  They 
-- don't seem to be set up by commands in pccard.conf.  In 
-- either case, it won't talk to the AP with WEP enabled:
TX encryption key:                      [ ]
Encryption keys:                        [  ][  ][  ][  ]    

As I said, my kernel code is a few months old.  I'll update to 
4.3-RELEASE or -STABLE some time in the next few days and post 
again if the results are different.

- Bob


> Greg
> --
> When replying to this message, please copy the original recipients.
> If you don't, I may ignore the reply.
> For more information, see http://www.lemis.com/questions.html
> See complete headers for address and phone numbers

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B1B126A.29764F57>