Subject: Re: wi0 encryption (with PRISM 2)
To: John Hawkinson <jhawk@mit.edu>
From: Peter Seebach <seebs@plethora.net>
List: current-users
Date: 12/25/2000 01:55:39
In message <200012250655.BAA05707@multics.mit.edu>, John Hawkinson writes:
>| >It would be good to describe the status of your card's LEDs
>| >when you enable and disable encryption, AS WELL AS GIVING THE OUTPUT
>                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>| >OF 'wiconfig'. Statements like 'stops working' are sufficiently
>   ^^^^^^^^^^^^^^^

>Emphasis mine.

Oops.  I have to start reading more slowly.

Without encryption on:
NIC serial number:			[ 0041000083   ]
Station name:				[ NetBSD WaveLAN/IEEE node ]
SSID for IBSS creation:			[ NetBSD IBSS ]
Current netname (SSID):			[ plethora ]
Desired netname (SSID):			[ plethora ]
Current BSSID:				[ 00:40:05:de:5c:8c ]
Channel list:				[ 2047 ]
IBSS channel:				[ 6 ]
Current channel:			[ 6 ]
Comms quality/signal/noise:		[ 23 70 0 ]
Promiscuous mode:			[ Off ]
Port type (1=BSS, 3=ad-hoc):		[ 1 ]
MAC address:				[ 00:40:05:de:49:f4 ]
TX rate (selection):			[ 3 ]
TX rate (actual speed):			[ 11 ]
Maximum data length:			[ 2304 ]
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:				[ Off ]
TX encryption key:			[ 1 ]
Encryption keys:			[  ][  ][  ][  ]

With encryption:

NIC serial number:			[ 0041000083   ]
Station name:				[ NetBSD WaveLAN/IEEE node ]
SSID for IBSS creation:			[ NetBSD IBSS ]
Current netname (SSID):			[ plethora ]
Desired netname (SSID):			[ plethora ]
Current BSSID:				[ 00:40:05:de:5c:8c ]
Channel list:				[ 2047 ]
IBSS channel:				[ 6 ]
Current channel:			[ 6 ]
Comms quality/signal/noise:		[ 48 95 0 ]
Promiscuous mode:			[ Off ]
Port type (1=BSS, 3=ad-hoc):		[ 1 ]
MAC address:				[ 00:40:05:de:49:f4 ]
TX rate (selection):			[ 3 ]
TX rate (actual speed):			[ 11 ]
Maximum data length:			[ 2304 ]
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:				[ On ]
TX encryption key:			[ 1 ]
Encryption keys:			[ 0x0123456789 ][  ][  ][  ]

When I've got encryption turned on, the Mac can't talk to the access point
unless I enter the password "$0123456789".

>Neither send nor receive?

No send, no receive.

>What does wiconfig -o show [before and after
>the change, please].

Transmitted unicast frames:		317
Transmitted multicast frames:		0
Transmitted fragments:			455
Transmitted unicast octets:		36390
Transmitted multicast octets:		0
Single transmit retries:		3
Multiple transmit retries:		0
Transmit retry limit exceeded:		0
Transmit discards:			0
Transmit discards due to wrong SA:	0
Received unicast frames:		292
Received multicast frames:		9498
Received fragments:			9790
Received unicast octets:		34720
Received multicast octets:		622410
Receive FCS errors:			56
Receive discards due to no buffer:	0
Can't decrypt WEP frame:		7
Received message fragments:		0
Received message bad fragments:		0

I was going to say "it doesn't change when you ping it", but of course, we
have the one minute delay between stat updates.  I hit it with about seven
pings, give or take...

-s