On 2/13/06, Luca Marra <[EMAIL PROTECTED]> wrote: > 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 >
You probably want to bring the interface up before trying this: ifconfig wi0 nwkey <key> up wicontrol -n MyWifiName -e 1 > 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? > Definitely not. > How can i switch between Hardware and Software encryption? Use the -x flag Tell us if you get it working. It may be the hardware isn't actually supported even though it's listed (that's the way it was for the ath(4) manpage until 3.8). -Kousu