From owner-freebsd-mobile@FreeBSD.ORG Sat Oct 14 18:46:29 2006 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 EA31C16A416 for ; Sat, 14 Oct 2006 18:46:29 +0000 (UTC) (envelope-from tonnetit@yahoo.it) Received: from web26012.mail.ukl.yahoo.com (web26012.mail.ukl.yahoo.com [217.146.177.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 2D13343D90 for ; Sat, 14 Oct 2006 18:46:24 +0000 (GMT) (envelope-from tonnetit@yahoo.it) Received: (qmail 69815 invoked by uid 60001); 14 Oct 2006 18:46:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=h4Jnpsd6Nn2WbhzWleL9kq2vib6Wq6ZnYsp4zORNuuk3hM7XD+o1mCsXE6tVgX/NDdAadaSihVbMHeEBa/GgLZpYq6aC9XucS3l39xeG+y/s0rpIZ+mvd03MMwa1TtaDCgZeqAGKevvPjS5V/mpIVSk5tdsFRt5oiToMPLEUd4w= ; Message-ID: <20061014184622.69813.qmail@web26012.mail.ukl.yahoo.com> Received: from [217.75.5.3] by web26012.mail.ukl.yahoo.com via HTTP; Sat, 14 Oct 2006 20:46:22 CEST Date: Sat, 14 Oct 2006 20:46:22 +0200 (CEST) From: ree yhu To: freebsd-mobile@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: Unable to set the encryption key for my wireless nic 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: Sat, 14 Oct 2006 18:46:30 -0000 Hi All, Please read here: I have a bcmwl5 properly configured in linux but I am unable to work with it in FreeBSD: here is the typescript of my settings and attempts: ########################### ########################### Script started on Sun Oct 15 03:05:39 2006 bash-2.05b# kldload ndis bash-2.05b# kldload ./bcmwl5_sys.ko bash-2.05b# bash-2.05b# kldstat Id Refs Address Size Name 1 13 0xc0400000 63070c kernel 2 1 0xc2459000 15000 linux.ko 5 2 0xc26cf000 b000 if_ndis.ko 6 2 0xc26de000 13000 ndis.ko 7 1 0xc4e82000 88000 bcmwl5_sys.ko bash-2.05b# ifconfig -a rl0: flags=8843 mtu 1500 options=8 inet6 fe80::2c0:9fff:fee2:b3d6%rl0 prefixlen 64 scopeid 0x1 ether 00:c0:9f:e2:b3:d6 media: Ethernet autoselect (none) status: no carrier fwe0: flags=108802 mtu 1500 options=8 ether 02:c0:9f:73:36:a4 ch 1 dma -1 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 ndis0: flags=8802 mtu 1500 ether 00:14:a5:1c:05:3e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 authmode OPEN privacy OFF txpowmax 100 protmode CTS bash-2.05b# ifconfig ndis0 wepmode on wepkey d1122334ac bash-2.05b# ifconfig ndis0 scan SSID BSSID CHAN RATE S:N INT CAPS SM-Apt10 00:04:e2:e9:0c:e8 1 54M 160:0 100 EP ??? ??? ??? ??? ??? bash-2.05b# dhclient ndis0M DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 11 bash-2.05b# ifconfig ndis0 wepmode on wepkey d1122334ac ifconfig: SIOCS80211: Invalid argument bash-2.05b# ifconfig ndis0 wepmode on wepkey 0xd1122334ac bash-2.05b# dhclient ndis0 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 14 bash-2.05b# ifconfig ndis0 ndis0: flags=8843 mtu 1500 inet6 fe80::214:a5ff:fe1c:53e%ndis0 prefixlen 64 scopeid 0x4 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:14:a5:1c:05:3e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS bash-2.05b# ifconfig ndis0 ssid SM-Apt10 wepmode on deftxkey d1122334ac bash-2.05b# ifconfig ndis0 ndis0: flags=8843 mtu 1500 inet6 fe80::214:a5ff:fe1c:53e%ndis0 prefixlen 64 scopeid 0x4 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:14:a5:1c:05:3e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid "" channel 1 authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS bash-2.05b# dhclient ndis0 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 12 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 18 bash-2.05b# ifconfig -km ndis0 ndis0: flags=8843 mtu 1500 inet6 fe80::214:a5ff:fe1c:53e%ndis0 prefixlen 64 scopeid 0x4 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 ether 00:14:a5:1c:05:3e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier supported media: media OFDM/54Mbps mode autoselect mediaopt adhoc media OFDM/54Mbps mode autoselect media OFDM/48Mbps mode autoselect mediaopt adhoc media OFDM/48Mbps mode autoselect media OFDM/36Mbps mode autoselect mediaopt adhoc media OFDM/36Mbps mode autoselect media OFDM/18Mbps mode autoselect mediaopt adhoc media OFDM/18Mbps mode autoselect media OFDM/12Mbps mode autoselect mediaopt adhoc media OFDM/12Mbps mode autoselect media OFDM/9Mbps mode autoselect mediaopt adhoc media OFDM/9Mbps mode autoselect media OFDM/6Mbps mode autoselect mediaopt adhoc media OFDM/6Mbps mode autoselect media DS/11Mbps mode autoselect mediaopt adhoc media DS/11Mbps mode autoselect media DS/5.5Mbps mode autoselect mediaopt adhoc media DS/5.5Mbps mode autoselect media DS/2Mbps mode autoselect mediaopt adhoc media DS/2Mbps mode autoselect media DS/1Mbps mode autoselect mediaopt adhoc media DS/1Mbps mode autoselect media OFDM/54Mbps mode 11g mediaopt adhoc media OFDM/54Mbps mode 11g media OFDM/48Mbps mode 11g mediaopt adhoc media OFDM/48Mbps mode 11g media OFDM/36Mbps mode 11g mediaopt adhoc media OFDM/36Mbps mode 11g media OFDM/18Mbps mode 11g mediaopt adhoc media OFDM/18Mbps mode 11g media OFDM/12Mbps mode 11g mediaopt adhoc media OFDM/12Mbps mode 11g media OFDM/9Mbps mode 11g mediaopt adhoc media OFDM/9Mbps mode 11g media OFDM/6Mbps mode 11g mediaopt adhoc media OFDM/6Mbps mode 11g media autoselect mode 11g mediaopt adhoc media autoselect mode 11g media DS/11Mbps mode 11b mediaopt adhoc media DS/11Mbps mode 11b media DS/5.5Mbps mode 11b mediaopt adhoc media DS/5.5Mbps mode 11b media DS/2Mbps mode 11b mediaopt adhoc media DS/2Mbps mode 11b media DS/1Mbps mode 11b mediaopt adhoc media DS/1Mbps mode 11b media autoselect mode 11b mediaopt adhoc media autoselect mode 11b media autoselect mode autoselect mediaopt adhoc media autoselect mode autoselect ssid "" channel 1 authmode OPEN privacy ON deftxkey UNDEF txpowmax 100 protmode CTS bash-2.05b# ifconfig ndis0 ssid SM-Apt10 wepmode on deftxkey "d1122334ac" bash-2.05b# dhclient ndis0 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on ndis0 to 255.255.255.255 port 67 interval 16 Script done on Sun Oct 15 03:19:56 2006 ########################### ########################### and here you see the settings in linux: ########################### ########################### # ifconfig wlan0 wlan0 Link encap:Ethernet HWaddr 00:14:A5:1C:05:3E inet addr:192.168.110.100 Bcast:192.168.110.255 Mask:255.255.255.0 inet6 addr: fe80::214:a5ff:fe1c:53e/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:234 errors:0 dropped:0 overruns:0 frame:0 TX packets:281 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:86709 (84.6 Kb) TX bytes:32434 (31.6 Kb) Interrupt:153 Memory:c0204000-c0206000 # iwconfig wlan0 wlan0 IEEE 802.11g ESSID:"SM-Apt10" Mode:Managed Frequency:2.412 GHz Access Point: 00:04:E2:E9:0C:E8 Bit Rate:48 Mb/s Tx-Power:25 dBm RTS thr:2347 B Fragment thr:2346 B Encryption key:D112-2334-AC Security mode:restricted Power Management:off Link Quality:100/100 Signal level:-57 dBm Noise level:-256 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 # iwlist wlan0 key wlan0 2 key sizes : 40, 104bits 4 keys available : [1]: D112-2334-AC (40 bits) [2]: off [3]: off [4]: off Current Transmit Key: [1] Security mode:restricted Authentication capabilities : WPA WPA2 CIPHER TKIP CIPHER CCMP Current key_mgmt:0x0 Current cipher_pairwise:0x0 Current cipher_group:0x0 # iwlist wlan0 scanning wlan0 Scan completed : Cell 01 - Address: 00:04:E2:E9:0C:E8 ESSID:"SM-Apt10" Protocol:IEEE 802.11g Mode:Managed Frequency:2.412 GHz (Channel 1) Quality:0/100 Signal level:-57 dBm Noise level:-256 dBm Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Extra:bcn_int=100 Extra:atim=0 ################################# ################################# __________________________________________________ Do You Yahoo!? Poco spazio e tanto spam? Yahoo! Mail ti protegge dallo spam e ti da tanto spazio gratuito per i tuoi file e i messaggi http://mail.yahoo.it