I'm trying to set up my wireless adapter in openbsd/macppc, it's a DWL-122 USB
adapter and "man wi" says it's supported:

The following cards are among those supported by the wi driver:
[...]
D-Link DWL-122                       Prism-3      USB
[...]

when i connect the adapter e get the following messages:
wi0 at uhub3 port 1
wi0: D-Link DWL-122, rev 1.10/1.32, addr 2
wi0: PRISM3 (USB) (0x8026), Firmware 1.1.3 (primary), 1.7.1 (station), address
00:11:95:89:2b:9e

then i use wicontrol to configure my wlan:

set infrastructure mode
# wicontrol -p 1
wicontrol: SIOCSWAVELAN: Numerical argument out of domain

set my SSID
# wicontrol -n MyWifiName
wicontrol: SIOCSWAVELAN: Numerical argument out of domain

Desired netname (SSID):                 [  ]
changes to:
Desired netname (SSID):                 [ MyWifiName ]

enable encryption
# wicontrol -e 1
wicontrol: SIOCSWAVELAN: Numerical argument out of domain

Encryption:                             [ Off ]
changes to:
Encryption:                             [ On ]

set my 40bit WEP key
# wiconrtol -k 0xMYKEYINHEX
wicontrol: SIOCSWAVELAN: Numerical argument out of domain

Nothing changes (even with -v 1):

TX encryption key:                      [ 1 ]
Encryption keys:                        [  ][  ][  ][  ]


Is the "wicontrol: SIOCSWAVELAN: Numerical argument out of domain"
error a normal thing?


"man wi" says:
wi supports both software and hardware WEP.  Wired Equivalent Privacy
(WEP) is the de facto encryption standard for wireless networks.  It can
be typically configured in one of three modes: no encryption; 40-bit en-
cryption; or 104-bit encryption.

So the encryption should be supported...

How can i switch between Hardware and Software encryption?
At the moment wicontrol states:
Encryption algorithm:                   [ Firmware WEP ]


Thank you,
Luca

Reply via email to