6b5-STABLE: ndis0: cannot set ifconfig: SIOCS80211: Invalid argument

Andreas Klemm andreas at freebsd.org
Mon Oct 3 23:00:09 PDT 2005


Hi,

a little help on this would be great.


OS is 6.0 Beta 5 "-STABLE". Updated ~12 hours ago.

root at aklemm[ttyp5]{211} ~ uname -a
FreeBSD aklemm.klemm.apsfilter.org 6.0-BETA5 FreeBSD 6.0-BETA5 #3: Tue Oct  4 06:55:14 CEST 2005     root at aklemm.klemm.apsfilter.org:/.amd_mnt/172.16.2.1/host/data/laptop/usr/obj/usr/src/sys/AKLEMM  i386


since yesterday I cannot get my WLAN (ndis) to work.
I assume its because the weptxkey cannot be set anymore.

1-2 days ago the following command served me well in
/etc/rc.conf:

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

I splitted it up now into this order, like the arguments are
described in the manpage:

+ 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
+ unset -x

console messages so far:
-----------------------
	ndis0: failed to get bssid

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 ???


Kernel is updated.
Additionally I created a new kernel module using ndisgen
and copied it manually to /boot/kernel to be sure, that
all is well.


	Andreas ///

-- 
Andreas Klemm - Powered by FreeBSD 5.4
Need a magic printfilter today ? -> http://www.apsfilter.org/


More information about the freebsd-mobile mailing list