From owner-freebsd-net@FreeBSD.ORG Fri May 20 19:35:30 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 150E716A4CE for ; Fri, 20 May 2005 19:35:30 +0000 (GMT) Received: from postfix3-2.free.fr (postfix3-2.free.fr [213.228.0.169]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0269543D95 for ; Fri, 20 May 2005 19:35:29 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix3-2.free.fr (Postfix) with ESMTP id A05A7C099 for ; Fri, 20 May 2005 21:35:27 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 7823F405B; Fri, 20 May 2005 21:35:28 +0200 (CEST) Date: Fri, 20 May 2005 21:35:28 +0200 From: Jeremie Le Hen To: freebsd-net@FreeBSD.org Message-ID: <20050520193528.GY818@obiwan.tataz.chchile.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.9i Subject: iwi(4) not working X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 May 2005 19:35:30 -0000 Hi, I tried to use my integrated wireless network card. I get the iwicontrol(8) utility on Damien Bergamini's website [1], as well as the firmware tarball. I use CURRENT's iwi(4) driver, I guess it's the lastest revision as the driver of the website last changed during January 2005. iwi0@pci6:3:0: class=0x028000 card=0x27018086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/Wireless 2200BG Network Connection' class = network %%% jarjarbinks:root# sysctl net.wlan.debug=-1 net.wlan.debug: -1 -> -1 jarjarbinks:root# sysctl net.wlan.0.debug=-1 net.wlan.0.debug: -1 -> -1 jarjarbinks:root# kldload if_iwi iwi0: mem 0xc8218000-0xc8218fff irq 17 at device 3.0 on pci6 iwi0: Ethernet address: 00:12:f0:2c:f3:6e ieee80211_setup_node 0xc2288800<00:12:f0:2c:f3:6e> in scan table iwi0: [GIANT-LOCKED] jarjarbinks:root# iwicontrol -i iwi0 -d iwi-firmware-1.3/libdata/if_iwi/ jarjarbinks:root# ifconfig iwi0 ssid cyb wepmode off jarjarbinks:root# ifconfig iwi0 up begin active scan in auto mode, scangen 2 ieee80211_reset_scan: scan set: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 st art chan 255 ieee80211_free_allnodes_locked: free all nodes in scan table node_reclaim: remove 0xc243d800<00:12:f0:2c:f3:6e> from scan table, refcnt 1 ieee80211_next_scan: chan 255->1 iwi0: received beacon from 00:0e:9b:46:da:82 rssi -77 [00:0e:9b:46:da:82] new beacon on chan 1 (bss chan 1) "N9UF_TEL9COM" [00:0e:9b:46:da:82] caps 0x1 bintval 100 erp 0x0 ieee80211_setup_node 0xc2445400<00:0e:9b:46:da:82> in scan table iwi0: received probe_resp from 00:0f:b5:25:5f:04 rssi -76 [00:0f:b5:25:5f:04] new probe_resp on chan 3 (bss chan 3) "cyb" [00:0f:b5:25:5f:04] caps 0x21 bintval 100 erp 0x0 ieee80211_setup_node 0xc2442000<00:0f:b5:25:5f:04> in scan table iwi0: received beacon from 00:0f:b5:25:5f:04 rssi -76 jarjarbinks:sys# ifconfig iwi0 iwi0: flags=8802 mtu 1500 ether 00:12:f0:2c:f3:6e media: IEEE 802.11 Wireless Ethernet autoselect status: no carrier ssid cyb authmode OPEN privacy OFF txpowmax 100 %%% I friend with an iBook can easily connect to this access-point. I don't understand why I can't get the associated status. Note that the shown MAC address is the correct one, thus the card seems to receive some beacon frames, it's not a ``link'' error. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >