NetBSD Problem Report #32410

From www@netbsd.org  Thu Dec 29 09:06:18 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id D71DD63B898; Thu, 29 Dec 2005 09:06:18 +0000 (UTC)
Message-Id: <20051229090618.D71DD63B898@narn.netbsd.org>
Date: Thu, 29 Dec 2005 09:06:18 +0000 (UTC)
From: igor@string1.ciencias.uniovi.es
Reply-To: igor@string1.ciencias.uniovi.es
To: gnats-bugs@netbsd.org
Subject: wiconfig(8): "SIOCGWAVELAN: Operation not supported" message
X-Send-Pr-Version: www-1.0

>Number:         32410
>Category:       kern
>Synopsis:       wiconfig(8): "SIOCGWAVELAN: Operation not supported" message
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 29 09:10:00 +0000 2005
>Last-Modified:  Mon Apr 03 10:35:01 +0000 2006
>Originator:     Igor Sobrado
>Release:        NetBSD 3.0
>Organization:
University of Oviedo
>Environment:
NetBSD ws-05 3.0 NetBSD 3.0 (GENERIC_LAPTOP) #0: Mon Dec 19 01:08:52 UTC 2005  builds@works.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/i386/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/i386/compile/GENERIC_LAPTOP i386
>Description:
wiconfig(8) returns a "SIOCGWAVELAN: Operation not supported" message
each time it is executed either as root or normal user:

$ wiconfig wi0
NIC serial number:                      [ 99UT10444368 ]
Station name:                           [  ]
SSID for IBSS creation:                 [ educacion-wlan ]
Current netname (SSID):                 [ educacion-wlan ]
Desired netname (SSID):                 [ educacion-wlan ]
Current BSSID:                          [ 00:c0:49:d9:fa:90 ]
Channel list:                           [ 1 2 3 4 5 6 7 8 9 10 11 12 13 ]
IBSS channel:                           [ 3 ]
Current channel:                        [ 1 ]
Comms quality/signal/noise:             [ 31 89 58 ]
Promiscuous mode:                       [ Off ]
Port type:                              [ 1 ]
MAC address:                            [ 00:60:1d:1e:2b:b2 ]
TX rate (selection):                    [ 0 ]
TX rate (actual speed):                 [ 11 ]
Beacon Interval (current) [msec]:       [ 100 ]
Maximum data length:                    [ 2304 ]
RTS/CTS handshake threshold:            [ 2347 ]
fragmentation threshold:                [ 2346 ]
RSSI -> dBm adjustment:                 [ 149 ]
Create IBSS:                            [ Off ]
Microwave oven robustness:              [ 0 ]
Roaming mode(1:firm,3:disable):         [ 1 ]
Access point density:                   [ 1 ]
Power Mgmt (1=on, 0=off):               [ 1 ]
Max sleep time (msec):                  [ 750 ]
Vendor info:                            [ Lucent ID: 31 version: 8.72 ]
WEP encryption:                         [ On ]
wiconfig: SIOCGWAVELAN: Operation not supported

The wireless adapter on the laptop is a Lucent Technologies WaveLAN card:

wi0 at pcmcia1 function 0: <Lucent Technologies, WaveLAN/IEEE, Version 01.01, >
wi0: 802.11 address 00:60:1d:1e:2b:b2
wi0: using Lucent Technologies, WaveLAN/IEEE
wi0: Lucent Firmware: Station (8.72.1)
wi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps

This is a trace of wiconfig(8).

   815 ktruss   emul(netbsd)
   815 ktruss   execve("/home/sobrado/bin/wiconfig", 0xbfbfe9f8, 0xbfbfea04) Err#2 ENOENT
   815 ktruss   execve("/bin/wiconfig", 0xbfbfe9f8, 0xbfbfea04) Err#2 ENOENT
   815 ktruss   execve("/sbin/wiconfig", 0xbfbfe9f8, 0xbfbfea04) Err#2 ENOENT
   815 ktruss   execve("/usr/bin/wiconfig", 0xbfbfe9f8, 0xbfbfea04) Err#2 ENOENT
   815 wiconfig emul(netbsd)
   815 wiconfig execve("/usr/sbin/wiconfig", 0xbfbfe9f8, 0xbfbfea04) JUSTRETURN
   815 wiconfig mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 0xbdbeb000
   815 wiconfig open("/etc/ld.so.conf", 0, 0)      = 3
   815 wiconfig __fstat13(0x3, 0xbfbfe908)         = 0
   815 wiconfig mmap(0, 0x37, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbdbea000
   815 wiconfig close(0x3)                         = 0
   815 wiconfig munmap(0xbdbea000, 0x37)           = 0
   815 wiconfig open("/usr/lib/libc.so.12", 0, 0)  = 3
   815 wiconfig __fstat13(0x3, 0xbfbfe608)         = 0
   815 wiconfig mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbdbea000
   815 wiconfig munmap(0xbdbea000, 0x1000)         = 0
   815 wiconfig mmap(0, 0xc2000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbdb29000
   815 wiconfig mmap(0xbdbd5000, 0x7000, 0x3, 0x12, 0x3, 0, 0xab000, 0) = 0xbdbd5000
   815 wiconfig mmap(0xbdbdc000, 0xf000, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 0xbdbdc000
   815 wiconfig close(0x3)                         = 0
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig __fstat13(0x1, 0xbfbfe100)         = 0
   815 wiconfig __sysctl(0xbfbfe078, 0x2, 0xbfbfe070, 0xbfbfe074, 0, 0) = 0
   815 wiconfig readlink("/etc/malloc.conf", 0xbfbfe0f0, 0x3f) Err#2 ENOENT
   815 wiconfig mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 0xbdb28000
   815 wiconfig break(0x804beb4)                   = 0
   815 wiconfig break(0x804ceb4)                   = 0
   815 wiconfig break(0x804d000)                   = 0
   815 wiconfig break(0x805d000)                   = 0
   815 wiconfig ioctl(0x1, TIOCGETA, 0xbfbfe140)   = 0
       "\0\^C\0\0\^C\0\0\0\0[\0\0\M-O\^E\0 \^D\M^?\M^?\b\^W\^U\^R\0\^C\^\\^Z"
   815 wiconfig write(0x1, 0x804d000, 0x26)        = 38
       "NIC serial number:\t\t\t[ 99UT10444368 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x16)        = 22
       "Station name:\t\t\t\t[  ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x2d)        = 45
       "SSID for IBSS creation:\t\t\t[ educacion-wlan ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x2d)        = 45
       "Current netname (SSID):\t\t\t[ educacion-wlan ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x2d)        = 45
       "Desired netname (SSID):\t\t\t[ educacion-wlan ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x28)        = 40
       "Current BSSID:\t\t\t\t[ 00:c0:49:d9:fa:90 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x33)        = 51
       "Channel list:\t\t\t\t[ 1 2 3 4 5 6 7 8 9 10 11 12 13 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x17)        = 23
       "IBSS channel:\t\t\t\t[ 3 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x19)        = 25
       "Current channel:\t\t\t[ 1 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x2a)        = 42
       "Comms quality/signal/noise:\t\t[ 32 90 58 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x1c)        = 28
       "Promiscuous mode:\t\t\t[ Off ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x14)        = 20
       "Port type:\t\t\t\t[ 1 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x26)        = 38
       "MAC address:\t\t\t\t[ 00:60:1d:1e:2b:b2 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x1d)        = 29
       "TX rate (selection):\t\t\t[ 0 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x21)        = 33
       "TX rate (actual speed):\t\t\t[ 11 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x2a)        = 42
       "Beacon Interval (current) [msec]:\t[ 100 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x20)        = 32
       "Maximum data length:\t\t\t[ 2304 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x27)        = 39
       "RTS/CTS handshake threshold:\t\t[ 2347 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x23)        = 35
       "fragmentation threshold:\t\t[ 2346 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x22)        = 34
       "RSSI -> dBm adjustment:\t\t\t[ 149 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x18)        = 24
       "Create IBSS:\t\t\t\t[ Off ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x22)        = 34
       "Microwave oven robustness:\t\t[ 0 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x27)        = 39
       "Roaming mode(1:firm,3:disable):\t\t[ 1 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x1e)        = 30
       "Access point density:\t\t\t[ 1 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x21)        = 33
       "Power Mgmt (1=on, 0=off):\t\t[ 1 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x21)        = 33
       "Max sleep time (msec):\t\t\t[ 750 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x30)        = 48
       "Vendor info:\t\t\t\t[ Lucent ID: 31 version: 8.72 ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) = 0
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig close(0x3)                         = 0
   815 wiconfig write(0x1, 0x804d000, 0x1a)        = 26
       "WEP encryption:\t\t\t\t[ On ]\n"
   815 wiconfig socket(0x2, 0x2, 0)                = 3
   815 wiconfig ioctl(0x3, SIOCGIFGENERIC, 0xbfbfe4e0) Err#45 EOPNOTSUPP
       "wi0\0\0\0\0\0\0\0\0\0\0\0\0\0000\M-e\M-?\M-?\0\0\0\0\0\0\0\0\0\0\0\0"
   815 wiconfig write(0x2, 0xbfbfdb70, 0xa)        = 10
       "wiconfig: "
   815 wiconfig write(0x2, 0xbfbfdb90, 0xc)        = 12
       "SIOCGWAVELAN"
   815 wiconfig write(0x2, 0xbdbcc9f2, 0x2)        = 2
       ": "
   815 wiconfig issetugid()                        = 0
   815 wiconfig issetugid()                        = 0
   815 wiconfig break(0x805e000)                   = 0
   815 wiconfig open("/usr/share/nls/nls.alias.db", 0, 0xbfbfd6a4) Err#2 ENOENT
   815 wiconfig open("/usr/share/nls/nls.alias", 0, 0xbfbfdad8) = 4
   815 wiconfig fcntl(0x4, 0x2, 0x1)               = 0
   815 wiconfig __fstat13(0x4, 0xbfbfdab0)         = 0
   815 wiconfig mmap(0, 0x5f0, 0x1, 0x2, 0x4, 0, 0, 0) = 0xbdb27000
   815 wiconfig close(0x4)                         = 0
   815 wiconfig break(0x805f000)                   = 0
   815 wiconfig munmap(0xbdb27000, 0x5f0)          = 0
   815 wiconfig open("/usr/share/nls/C/libc.cat", 0, 0xbfbfdb58) = 4
   815 wiconfig __fstat13(0x4, 0xbfbfdb40)         = 0
   815 wiconfig mmap(0, 0x105b, 0x1, 0x1, 0x4, 0, 0, 0) = 0xbdb26000
   815 wiconfig close(0x4)                         = 0
   815 wiconfig munmap(0xbdb26000, 0x105b)         = 0
   815 wiconfig write(0x2, 0xbfbfdb70, 0x18)       = 24
       "Operation not supported\n"
   815 wiconfig exit(0x1)

>How-To-Repeat:
The message appears each time wiconfig(8) is executed on the WaveLAN
wireless adapter.  I have not tried other adapters supported by wiconfig(8).

This problem did not happen with previous NetBSD releases (at least until NetBSD 2.0.2, I chosed not upgrading the laptop to 2.1).
>Fix:
None, sorry.

>Audit-Trail:
From: Igor Sobrado <igor@string1.ciencias.uniovi.es>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/32410
Date: Tue, 03 Jan 2006 11:18:13 +0100

 I want to add a note to this problem report.  In previous NetBSD
 releases (up to NetBSD 2.0.2 at least, don't know 2.1 as I am using
 this NetBSD release on my PowerEdge server only) I was able to see
 the WEP encryption keys when using wiconfig(8) as root, and I was
 not able to see these keys when invoked as an unprivileged user (but
 the "Operation not supported" message was not shown in both cases).

 Now, I am unable to see the encryption keys even as root.  Hopefully,
 these keys are being used yet.

 Best regards,
 Igor.

From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@NetBSD.org
Cc: kern-bug-people@NetBSD.org, gnats-admin@NetBSD.org,
	igor@string1.ciencias.uniovi.es
Subject: Re: kern/32410
Date: Tue, 3 Jan 2006 15:53:06 +0100

 Am 03.01.2006 um 10:20 Uhr +0000 schrieb Igor Sobrado:
 >  In previous NetBSD
 >  releases (up to NetBSD 2.0.2 at least, [...] I was able to see
 >  the WEP encryption keys when using wiconfig(8) as root, and I was
 >  not able to see these keys when invoked as an unprivileged user (but
 >  the "Operation not supported" message was not shown in both cases).
 >
 >  Now, I am unable to see the encryption keys even as root.

 That functionality has been moved to ifconfig(8) in netbsd-3.

 	hauke

 -- 
 /~\  The ASCII Ribbon Campaign                    Hauke Fath
 \ /    No HTML/RTF in email	        Institut für Nachrichtentechnik
   X     No Word docs in email	                  TU Darmstadt
 / \  Respect for open standards              Ruf +49-6151-16-3281

From: Igor Sobrado <igor@string1.ciencias.uniovi.es>
To: Hauke Fath <hf@spg.tu-darmstadt.de>
Cc: gnats-bugs@NetBSD.org, kern-bug-people@NetBSD.org,
	gnats-admin@NetBSD.org, igor@string1.ciencias.uniovi.es,
	igor@string1.ciencias.uniovi.es
Subject: Re: kern/32410
Date: Tue, 03 Jan 2006 18:02:50 +0100

 In message <f06230905bfe03ff21e8a@[130.83.186.53]>, Hauke Fath writes:
 > Am 03.01.2006 um 10:20 Uhr +0000 schrieb Igor Sobrado:
 > >  In previous NetBSD
 > >  releases (up to NetBSD 2.0.2 at least, [...] I was able to see
 > >  the WEP encryption keys when using wiconfig(8) as root, and I was
 > >  not able to see these keys when invoked as an unprivileged user (but
 > >  the "Operation not supported" message was not shown in both cases).
 > >
 > >  Now, I am unable to see the encryption keys even as root.
 > 
 > That functionality has been moved to ifconfig(8) in netbsd-3.

 Indeed, you are right.  Now keys are shown when displaying information
 about the network interfaces.  Thanks for the advice!  If I am not wrong
 ifconfig(8) shows the WEP keys in netbsd-2 too.  Certainly it is much
 better showing that information in a single place.

 Ok, in this case the "SIOCGWAVELAN: Operation not supported" message is
 not related with keys now being shown in the output of wiconfig(8).
 It was just a guess, I did not know that this functionality was removed
 from the wiconfig(8) command and supposed that the new behaviour of
 this command was related with the message.

 Cheers,
 Igor.

From: Igor Sobrado <igor@string1.ciencias.uniovi.es>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: kern/32410
Date: Mon, 03 Apr 2006 12:30:04 +0200

 I have just observed that the "SIOCGWAVELAN: Operation not supported"
 message is only shown when using hex WEP keys of the maximum length
 (at least for 40/64-bit keys length, don't know about other sizes
 as I am currently using a Lucent Technologies silver card).  It does
 not appear when using ASCII keys.  (few than 40-bit length keys?)

 Perhaps a wrong keys buffer size?  Just a though...

 Best regards,
 Igor.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.