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

Andreas Klemm <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hi,

a little help on this would be great.


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

root@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     [email protected]:/.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@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/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.