From owner-freebsd-mobile@FreeBSD.ORG Tue Oct 17 17:16:59 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 EAC8716A403 for ; Tue, 17 Oct 2006 17:16:59 +0000 (UTC) (envelope-from tonnetit@yahoo.it) Received: from web26003.mail.ukl.yahoo.com (web26003.mail.ukl.yahoo.com [217.12.10.214]) by mx1.FreeBSD.org (Postfix) with SMTP id 0E85E43D6A for ; Tue, 17 Oct 2006 17:16:58 +0000 (GMT) (envelope-from tonnetit@yahoo.it) Received: (qmail 86785 invoked by uid 60001); 17 Oct 2006 17:16:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=E7fQLpOcEeQGaB0EYeAFU3I93XQBSzc/+sINhKCbt/Gvwb7f77e9ICrl47kLjED/HXansMAGpZwwjcpsEVRZThQ8V5/nxIGPUubxRTLeJOU4qgiwFSPzJp8VmN8S8jzfoweq7v9C77Kavpc4JWIGNZtvk12t9kYaXfMvIgdIpSk= ; Message-ID: <20061017171654.86783.qmail@web26003.mail.ukl.yahoo.com> Received: from [80.169.134.162] by web26003.mail.ukl.yahoo.com via HTTP; Tue, 17 Oct 2006 19:16:53 CEST Date: Tue, 17 Oct 2006 19:16:53 +0200 (CEST) From: ree yhu To: freebsd-mobile@freebsd.org In-Reply-To: <7cc8007f0610160334w2bb8aafbj5ff846ab6bbe2b9f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Cc: erazorbg@gmail.com Subject: Re: 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: Tue, 17 Oct 2006 17:17:00 -0000 Hi Dimiter, Thank you for your attention, unfortunately the problem seems somewhere else; Here below you see the steps I did and my concerns: ### I monitor var/log/messages... ### I load wlan_web; no entryes (loaded correctly) ### I load nis and I see: ~~~ ~~~ ~~ Oct 17 00:44:45 d-bsd kernel: cbb0: mem 0xc0209500-0xc020a4ff at device 9.0 on pci5 Oct 17 00:44:45 d-bsd kernel: cardbus3: on cbb0 Oct 17 00:44:45 d-bsd kernel: pccard3: <16-bit PCCard bus> on cbb0 Oct 17 00:44:45 d-bsd kernel: cbb: Unable to map IRQ... Oct 17 00:44:45 d-bsd kernel: device_attach: cbb0 attach returned 12 ~~~ ~~~ ~~~ ### Should I be worried of the "Unable to map IRQ... device_attach: cbb0 attach returned 12" I guess so :-( but I amnot good in pciconf. ### Please, any suggestion is welcome! ### Anyway here is the output of kldstat: ~~~ ~~~ ~~~ Id Refs Address Size Name 1 16 0xc0400000 63070c kernel 2 1 0xc2457000 15000 linux.ko 7 1 0xc26f7000 3000 wlan_wep.ko 8 1 0xc270f000 b000 if_ndis.ko 9 1 0xc271e000 13000 ndis.ko ~~~ ~~~ ~~~ ### Just to be absolutelly sure of the module I could need I load also wlan_tkip and then bcmwl5_sys.ko (my driver succesfully converted by ndis) and here are the new entryes from /var/log/messages: ~~~ ~~~ ~~~ Oct 17 00:51:45 d-bsd kernel: ndis0: mem 0xc0204000-0xc0205fff irq 3 at device 2.0 on pci5 Oct 17 00:51:45 d-bsd kernel: ndis0: NDIS API version: 5.1 Oct 17 00:51:46 d-bsd kernel: ndis0: Ethernet address: 00:14:a5:1c:05:3e Oct 17 00:51:46 d-bsd kernel: cbb0: mem 0xc0209500-0xc020a4ff at device 9.0 on pci5 Oct 17 00:51:46 d-bsd kernel: cardbus4: on cbb0 Oct 17 00:51:46 d-bsd kernel: pccard4: <16-bit PCCard bus> on cbb0 Oct 17 00:51:46 d-bsd kernel: cbb: Unable to map IRQ... Oct 17 00:51:46 d-bsd kernel: device_attach: cbb0 attach returned 12 ~~~ ~~~ ~~~ ### Again ...the irq issue :-( ### Then I go on and I run: # ifconfig ndis0 ssid SM-Apt10 authmode shared wepmode on weptxkey 1 wepkey 1122334ac ### and here is the output of ifcongif ndis0: ~~~ ~~~ ~~~ 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 SHARED privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 100 protmode CTS ~~~ ~~~ ~~~ ### Here is the new entry into messages after I run "dhclient ndis0": ~~~ ~~~ ~~~ Oct 17 00:54:43 d-bsd kernel: ndis0: link state changed to UP ~~~ ~~~ ~~~ ### Here is the output of 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 (OFDM/54Mbps) status: associated ssid SM-Apt10 channel 1 bssid 00:04:e2:e9:0c:e8 authmode SHARED privacy ON deftxkey 1 wepkey 1:104-bit txpowmax 100 protmode CTS ### Here is the messages file growing: ~~~ ~~~ ~~~ Oct 17 00:55:42 d-bsd kernel: ndis0: link state changed to DOWN Oct 17 00:55:43 d-bsd kernel: ndis0: link state changed to UP Oct 17 00:56:04 d-bsd kernel: ndis0: link state changed to DOWN Oct 17 00:56:04 d-bsd kernel: ndis0: link state changed to UP Oct 17 00:56:16 d-bsd kernel: ndis0: link state changed to DOWN Oct 17 00:56:16 d-bsd kernel: ndis0: link state changed to UP ~~~ ~~~ ~~~ ### And here the scaring output of "ifconfig ndis0 scan": SSID BSSID CHAN RATE S:N INT CAPS SM-Apt10 00:04:e2:e9:0c:e8 1 54M 159:0 100 EP ??? ??? ??? ??? ??? ??? ### Why I have the question marks?? ### I should see something like WEP :-( ### Please if you have any idea that can help me ... ### Here are the info I collcted using the same wireless nic in linux (ndiswrapper) ########################### ########################### # 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