From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 4 06:00:09 2005 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E3BA16A41F for ; Tue, 4 Oct 2005 06:00:09 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90AAC43D45 for ; Tue, 4 Oct 2005 06:00:07 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j94605BS009611 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 4 Oct 2005 08:00:06 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.12.10/8.12.10/Submit) with UUCP id j94605uZ009610 for freebsd-mobile@freebsd.org; Tue, 4 Oct 2005 08:00:05 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost [127.0.0.1]) by klemm.apsfilter.org (8.13.4/8.13.4) with ESMTP id j945v1Oj028629 for ; Tue, 4 Oct 2005 07:57:02 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.13.4/8.13.4/Submit) id j945v1ac028628 for freebsd-mobile@freebsd.org; Tue, 4 Oct 2005 07:57:01 +0200 (CEST) (envelope-from andreas) Date: Tue, 4 Oct 2005 07:57:01 +0200 From: Andreas Klemm To: freebsd-mobile@freebsd.org Message-ID: <20051004055701.GA28489@titan.klemm.apsfilter.org> References: <20051003063548.36661.qmail@web32802.mail.mud.yahoo.com> <20051003212440.03A315D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051003212440.03A315D07@ptavv.es.net> X-Operating-System: FreeBSD 5.4-STABLE X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.10i Subject: 6b5-STABLE: ndis0: cannot set ifconfig: SIOCS80211: Invalid argument X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2005 06:00:09 -0000 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 root@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 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/