From owner-freebsd-questions@FreeBSD.ORG Fri Apr 24 15:10:44 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 7E223106566B for ; Fri, 24 Apr 2009 15:10:44 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: from mail-fx0-f162.google.com (mail-fx0-f162.google.com [209.85.220.162]) by mx1.freebsd.org (Postfix) with ESMTP id C72DB8FC22 for ; Fri, 24 Apr 2009 15:10:43 +0000 (UTC) (envelope-from djuatdelta@gmail.com) Received: by fxm6 with SMTP id 6so794894fxm.43 for ; Fri, 24 Apr 2009 08:10:42 -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=GwbTLkvTXBP0V0sWZnfWkOZIKjWCRP33uNiNog24yUo=; b=dkcEVDae35Qh3xnPPd9LoWpi+yRIws577uHzqwVeryJMfZ0VuM1JHIxYuDT30vNcqK YrzcoUnKxekRu9/Q6N15vL9MbYyS6glzpMWvWylNdWLZ9dU8Ht82mcOI2mI0PhzJWwrM NQlrbUD9TsE4CNwsUdxZ0fOwCb0BPJ13No7YU= 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=XFezuOITJTliQGxujQG7aAP7PWZrPibNM0TKXaoLNdaQrb4capzLlFwHyjLl8nRum2 eCEBdllNcv9wvqNtCfeeEMuKlsjKR1YkwIYLwfeesMqXNunKCyBGyj1EfL8xvyTFsq0M WhTkb/vpP3qLuOYa8/eWrEa1sk+IFZGkhHkIY= MIME-Version: 1.0 Received: by 10.239.154.3 with SMTP id b3mr125656hbc.114.1240585842824; Fri, 24 Apr 2009 08:10:42 -0700 (PDT) In-Reply-To: <1bd550a00904240804g5c95c21tdb3cb13841b030a3@mail.gmail.com> References: <20090422225551.1cf1b52f@baby-jane.lamaiziere.net> <20090422234110.254367fa@baby-jane.lamaiziere.net> <1bd550a00904231420m27f0e187kb8267c70056cf900@mail.gmail.com> <1bd550a00904240804g5c95c21tdb3cb13841b030a3@mail.gmail.com> Date: Fri, 24 Apr 2009 11:10:42 -0400 Message-ID: From: Daniel Underwood To: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= 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:10:44 -0000 They should be, yes. I would try loading the modules (kldload) just to be sure. If loading the modules doesn't fix things, then it's safe to assume they were compiled in kernel. (But then again, I'm certainly not an expert in this area.) On Fri, Apr 24, 2009 at 11:04 AM, Fernando Apestegu=EDa wrote: > On Fri, Apr 24, 2009 at 1:55 AM, Daniel Underwood = wrote: >> 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 co= ntrol 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 W= ireless 2200bg >>> >>> device =A0 =A0 =A0 =A0 =A0firmware =A0 =A0 =A0 =A0# firmware assist mod= ule >>> >>> 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:rate1= 1b 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 contai= ns: >>>>> >>>>> 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 th= e >>>>> 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 = to 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. Yo= u >>>>>>> need to obtain iwicontrol(8) =A0from the IWI web page listed below = to >>>>>>> accomplish loading the firmware before ifconfig(8) =A0will work." >>>>>>> >>>>>>> I'm going to look into this. Sounds like this may be the problem. D= o >>>>>>> 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@freebs= d.org" >>>> >>> >> >