i386/86920: ifconfig: SIOCS80211: Invalid argument

Andreas Klemm andreas at klemm.apsfilter.org
Tue Oct 4 21:30:20 PDT 2005


>Number:         86920
>Category:       i386
>Synopsis:       ifconfig: SIOCS80211: Invalid argument
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 05 04:30:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Klemm
>Release:        FreeBSD 6.0 BETA5 (-STABLE) i386
>Organization:
home
>Environment:

	FreeBSD 6.0 Beta 5, updated with cvsup on "stable" branch.

	FreeBSD aklemm.klemm.apsfilter.org 6.0-BETA5 FreeBSD 6.0-BETA5 #3: Tue Oct  4 06:55:14 CEST 2005

>Description:

Since Oct 3rd I cannot get my WLAN (ndis) to work.
I assume its because the weptxkey cannot be set anymore.

Am getting error message:
+ ifconfig ndis0 wepkey 2:xxxxxxxxxxxxx
ifconfig: SIOCS80211: Invalid argument
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ !!!!!!!!!

The day before I was able to get my WLAN card working in
DELL D610 Laptop with the following statement:

ifconfig ndis0 wepmode on weptxkey 2 wepkey 2:xxxxxxxxxxxxx channel 11 \
        authmode shared ssid xxxxxxxxxxxxxx

>How-To-Repeat:

ifconfig ndis0 down
ifconfig ndis0 up
ifconfig ndis0 authmode shared
ifconfig ndis0 bssid any
ifconfig ndis0 channel any
ifconfig ndis0 wepmode on
ifconfig ndis0 weptxkey 2
ifconfig ndis0 wepkey 2:xxxxxxxxxxxxx
ifconfig: SIOCS80211: Invalid argument
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^ !!!!!!!!!
ifconfig ndis0 ssid xxxxxxxxxxxxxx
ifconfig ndis0 172.16.2.10/24

console messages:
        ndis0: failed to get bssid

ifconfig ndis0:
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet6 fe80::20b:7dff:fe15:605e%ndis0 prefixlen 64 scopeid 0x3
        inet 172.16.2.10 netmask 0xffffff00 broadcast 172.16.2.255
        ether 00:0b:7d:15:60:5e
        media: IEEE 802.11 Wireless Ethernet autoselect (OFDM/54Mbps)
        status: associated
        ssid "" channel 1
        authmode SHARED privacy ON deftxkey 2 powersavemode CAM
        powersavesleep 100 txpowmax 100 protmode CTS

root at aklemm[ttyp5]{207} ~/bin ifconfig ndis0 scan
SSID            BSSID              CHAN RATE  S:N   INT CAPS
xxxxxxxx        00:04:0e:1c:4c:90    1   54M 116:0   200 EP   ??? ??? ??? ???
???
xxxxxxxxxxxxxx  00:11:09:0c:17:e3   11   54M 166:0   100 EP   ??? ??? ??? ???
??? ??? WPA ???

Created ndis driver newly using ndisgen, to be sure, that the
driver is well. No change.

Another strange thing, the day before when wlan was still working:
ifconfig ndis0 still showed channel 1. Although I configured the card 
to use channel 11.

My Access Point is definitively set to channel 11.

>Fix:

no fix
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-i386 mailing list