From owner-freebsd-questions@FreeBSD.ORG Fri Apr 24 15:04:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E821065672 for ; Fri, 24 Apr 2009 15:04:45 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id BDD428FC1F for ; Fri, 24 Apr 2009 15:04:44 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by ewy19 with SMTP id 19so1032691ewy.43 for ; Fri, 24 Apr 2009 08:04:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=vjSWEL3VmqrSXKJHfcoHMq1hOhv32meiqosepQifpYs=; b=cqugFVvMKzN4RMFz0ifRnhDYkEzCNDWBCMGy0TOdeFuFw8SafiGWUndMMOyrYHYn1x d6tS5pPxhmLH/fXr9/p95hDhkt2UxuB+KSLChXcqrkXjUf332ybwqT06RyHcDoY6TSsq ObmpEWZYfltOkm2tLiYFvKrkC/eU396Fabh1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=vB+dKiyY1yGF4cJpma156BBSSSbqPx04vUVdWJwilR+CHZfIB29qa08IA2zTjyfY2+ Blw1EX3p+79PKhL3notwZJjbYHKhipm6UAGHzNvnyV0Oyxsfp2HXd1phffkToQNiFXC4 CRW+E8FBv2MaeNghR78Lmp78iIoFxMgMs54p0= MIME-Version: 1.0 Received: by 10.210.36.8 with SMTP id j8mr1436495ebj.25.1240585483604; Fri, 24 Apr 2009 08:04:43 -0700 (PDT) In-Reply-To: References: <20090422225551.1cf1b52f@baby-jane.lamaiziere.net> <20090422234110.254367fa@baby-jane.lamaiziere.net> <1bd550a00904231420m27f0e187kb8267c70056cf900@mail.gmail.com> Date: Fri, 24 Apr 2009 17:04:43 +0200 Message-ID: <1bd550a00904240804g5c95c21tdb3cb13841b030a3@mail.gmail.com> From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Daniel Underwood Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?Patrick_Lamaizi=E8re?= , freebsd-questions@freebsd.org Subject: Re: FreeBSD and Intel PRO/Wireless 2200BG X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Apr 2009 15:04:45 -0000 On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood wr= ote: > Also, when you enter kldstat, do you see these? > > iwi_bss.ko > iwi_ibss.ko > iwi_monitor.ko > if_iwi.ko No. Shouldn't they be in-kerne? I compiled my own kernel with the settings I posted in my previous mail, including device firmware, iwi, wlan, etc. Cheers > > On Thu, Apr 23, 2009 at 5:20 PM, Fernando Apestegu=EDa > wrote: >> 2009/4/23 Daniel Underwood : >>> [SOLVED] >>> >>> Thanks for the help, folks. It works fine now. >> >> I wasn't that lucky :) >> >> I'm using FreeBSD 7.1-RELEASE-p4 #12 >> This is my loader.conf configuration: >> >> legal.intel_iwi.license_ack=3D1 >> iwi_bss_load=3D"YES" >> iwi_ibss_load=3D"YES" >> iwi_monitor_load=3D"YES" >> >> And in my kernel config I have: >> >> device =A0 =A0 =A0 =A0 =A0pci >> >> device =A0 =A0 =A0 =A0 =A0wlan =A0 =A0 =A0 =A0 =A0 =A0# 802.11 support >> device =A0 =A0 =A0 =A0 =A0wlan_wep =A0 =A0 =A0 =A0# 802.11 WEP support >> device =A0 =A0 =A0 =A0 =A0wlan_ccmp =A0 =A0 =A0 # 802.11 CCMP support >> device =A0 =A0 =A0 =A0 =A0wlan_tkip =A0 =A0 =A0 # 802.11 TKIP support >> device =A0 =A0 =A0 =A0 =A0wlan_amrr =A0 =A0 =A0 # AMRR transmit rate con= trol algorithm >> device =A0 =A0 =A0 =A0 =A0wlan_scan_ap =A0 =A0# 802.11 AP mode scanning >> device =A0 =A0 =A0 =A0 =A0wlan_scan_sta =A0 # 802.11 STA mode scanning >> >> device =A0 =A0 =A0 =A0 =A0iwi =A0 =A0 =A0 =A0 =A0 =A0 # For Intel Pro Wi= reless 2200bg >> >> device =A0 =A0 =A0 =A0 =A0firmware =A0 =A0 =A0 =A0# firmware assist modu= le >> >> This is the output of ifconfig: >> >> iwi0: flags=3D8802 metric 0 mtu 1500 >> =A0 =A0 =A0 =A0ether 00:0e:35:fd:aa:0f >> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect >> =A0 =A0 =A0 =A0status: no carrier >> =A0 =A0 =A0 =A0ssid "" channel 1 (2412 Mhz 11b) >> =A0 =A0 =A0 =A0authmode OPEN privacy OFF bmiss 10 scanvalid 60 bgscan >> =A0 =A0 =A0 =A0bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 roam:rate11= b 1 bintval 0 >> >> After seting debug.iwi=3D1 this is what I get when I try to bring the >> interface up: >> >> $ ifconfig iwi0 up >> >> iwi_newstate: INIT -> INIT flags 0x0 >> enter FW state 1 >> firmware_get: failed to load firmware image iwi_bss >> iwi0: could not load firmware >> exit FW state 1 >> iwi_newstate: INIT -> INIT flags 0x0 >> >> Any ideas? >> >> Thanks in advance. >> >>> >>> 2009/4/22 Daniel Underwood : >>>> Thanks Patrick. =A0After updating my /boot/loader.conf, it now contain= s: >>>> >>>> legal.intel_iwi.license_ack=3D1 >>>> iwi_bss_load=3D"YES" >>>> iwi_ibss_load=3D"YES" >>>> iwi_monitor_load=3D"YES" >>>> wlan_scan_ap_load=3D"YES" >>>> wlan_scan_sta_load=3D"YES" >>>> wlan_wep_load=3D"YES" >>>> wlan_tkip_load=3D"YES" >>>> wlan_ccmp_load=3D"YES" >>>> >>>> I no longer receive the error message about failing to load the >>>> firmware. However, when I enter "ifconfig iwi0 up scan", I receive the >>>> following in the xconsole: >>>> >>>> iwi0: firmware stuck in state4, resetting >>>> >>>> Any idea what that means, or what state4 is? =A0(Sorry, I'm very new t= o FreeBSD.) >>>> >>>> Thanks, >>>> Daniel >>>> >>>> 2009/4/22 Patrick Lamaizi=E8re : >>>>> Le Wed, 22 Apr 2009 17:04:41 -0400, >>>>> Daniel Underwood : >>>>> >>>>>> After re-reading man iwi, I noticed that it says: >>>>>> >>>>>> "This driver requires firmware to be loaded before it will work. You >>>>>> need to obtain iwicontrol(8) =A0from the IWI web page listed below t= o >>>>>> accomplish loading the firmware before ifconfig(8) =A0will work." >>>>>> >>>>>> I'm going to look into this. Sounds like this may be the problem. Do >>>>>> you think so? >>>>> >>>>> No, before FreeBSD 7 you needed to download the firmware. >>>>> There is a port in /usr/ports/net/iwi-firmware but it is only for >>>>> FreeBSD < 7 >>>>> >>>>> You don't need anything on FreeBSD 7.x and you it seems you are not >>>>> using the right manual page for 7.1: >>>>> http://www.freebsd.org/cgi/man.cgi?query=3Diwi&manpath=3DFreeBSD+7.1-= RELEASE&format=3Dhtml >>>>> >>>>> Regards. >>>>> >>>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" >>> >> >