Subject: problems with wi
To: None <current-users@netbsd.org>
From: Emre Yildirim <ey@ieee.org>
List: current-users
Date: 01/17/2004 14:59:10
Hi,

I'm trying to get wireless working at my house.  At work we have a AirPort that runs
dhcp, and doing dhclient wi0 works like a charm.  I get an IP address and I can
browse the 'net.

But at home things are a bit different.  I use WEP and no dhcp, so I pretty much
have to set the IP manually.  Thus far everything I've tried failed.  First I
thought I was using the wrong channel, so I tried "chan 1, chan 2 etc." None of
those options helped.  Then I thought I might be doing something wrong with the WEP
key, so I changed it to lower case and then uppercase again, didn't help.  I've ran
out of things to try.  The gateway is correct, and the NIC seems to be 'up,' but
there is no activity.  The WAP's green lights blink 3-4 times when I up the wireless
card on the laptop.  After that there is no more activity.  Doing tcpdump -i wi0
doesn't show any traffic either.

Another laptop running XP, using the same network key and gateway is working fine. 
Does anyone know what I could be doing wrong?

Here's some information:


/etc/ifconfig.wi0:
inet 192.168.88.139 netmask 255.255.255.0 nwkey 822FFFB8FF


/etc/mygate:
192.168.88.1


ifconfig -a:

[....]
wi0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
           nwid home001 nwkey 822FFFB8FF
           powersave off
           bssid 00:06:25:55:37:05 chan 6
           address: 00:30:ab:20:8b:1c
           media:  IEEE802.11 autoselect (DS11)
           status: active
           inet 192.168.88.139 netmask 0xffffff00 broadcast 192.168.88.255
           inet6 fe80::230:adff:fe20:8b1c%wi0 prefixlen 64 scopeid 0x9


wiconfig wi0:

NIC serial number:               [ 99SA01000000 ]
Station name:                    [  ]
SSID for IBSS creation:        [  ]
Current netname: (SSID):     [ home001 ]
Desired netname: (SSID):     [  ]
Current BSSID:                   [ 00:06:25:55:37:05 ]
Channel list:                       [ 1 2 3 4 5 6 7 8 9 10 11 ]
IBSS channel:                     [ 3 ]
Current Channel:                 [ 6 ]
Comms quality/signal/noise:   [ 53 103 7 ]
Promiscuous mode:              [ Off ]
Port type:                          [ 1 ]
MAC address:                     [ 00:30:ab:20:8b:1c ]
TX rate (selection):             [ 0 ]
TX rate (actual speed):        [ 8 ]
Beacon Interval (current) [msec]: [ 100 ]
Maximum data length:           [ 2304 ]
RTS/CTS handshake threshold: [ 2347 ]
fragmentation threshold:        [ 2346 ]
RSSI -> dBm adjustment:       [ 100 ]
Create IBSS:                        [ Off ]
Microwave oven robustness:   [ 0 ]
Roaming mode(1:firm,3:disable): [ 1 ]
Access point densitiy:            [ 1 ]
Power Mgmt (1=on, 0=off):     [ 0 ]
Max sleep time (msec):          [ 100 ]
Vendor info:                         [ D-Link ID: 31 version: 1.3 ]
WEP encryption:                   [ On ]
Authentication type
(1=OpenSys, 2=Shared Key):  [ 1 ]
TX encryption key:                [ 1 ]
Encryption keys:                   [ 822FFFB8FF ][  ][  ][  ]


wiconfig wi0 -D:

scanning ......
AP Information
ap[0]:

ScanReason:             [ Inquiry request from host ]
netname (SSID):        [ home001 ]
BSSID:                     [ 00:06:25:55:37:05 ]
Channel:                   [ 6 ]
Quality/Signal/Noise [signal]:  [ 22 / 35 / 13 ]
                             [bDm]:  [ 22 / -114 / -136 ]
BSS Beacon Interval [msec]:  [ 100 ]
Capinfo:                     [ ESS WEP ]
DataRate [Mbps]:        [ 2 ]


(P.S.: I've posted this to the -current list as well, since the system is running on
1.6ZG from Jan 4)