From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 20:54:08 2008 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 224C5106566C for ; Tue, 24 Jun 2008 20:54:08 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id AA44D8FC2C for ; Tue, 24 Jun 2008 20:54:07 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so1503064fgb.35 for ; Tue, 24 Jun 2008 13:54:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EmHe7dLKNhSPRCVwWTDSzjoUb6k4qBjnZpSPLvnXw6c=; b=n0szmSqtpm5RlncfohbwMVJq4Ivl3XC88vZ+lg/GIa6s9EpocNTEm97roOmJxynNbG 3Ug9egFBm6Uet5BRyxGalK55B+Oz3aqoazIwMqr4/byLOMIq0jesqWgPNnmRxdTeUFcb /hxirBPDgwTYKWSX6/lzc9+TL2HCaOiRd+T9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=E10fjRC7fu2z95eR3f8wFCtodsaxqQW/PK9AbNSQhvn5niHrWyd9BySzqTtzWRvqiK mOmt3SBedwc5TXYR5kEOrFXBrO4xSy6THaGRbjRjYTIMrSt/k6mnRvO+aeSpgZErjHkr DMKxx3N0rHmawB6QYPrHajnu3qm3JfkjeA+Ds= Received: by 10.86.28.2 with SMTP id b2mr9329938fgb.78.1214340846181; Tue, 24 Jun 2008 13:54:06 -0700 (PDT) Received: by 10.86.98.6 with HTTP; Tue, 24 Jun 2008 13:54:06 -0700 (PDT) Message-ID: <1bd550a00806241354g3ee04465j8e5202cacc961748@mail.gmail.com> Date: Tue, 24 Jun 2008 22:54:06 +0200 From: "=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=" To: "peter harrison" In-Reply-To: <1bd550a00806010942t1185d7e4vee02a55648bb16fa@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1bd550a00805201417n3ed9f7f8p9ac8524051635985@mail.gmail.com> <4833DE5B.5070803@unsane.co.uk> <1bd550a00805211431k1d9d5674v747d49d6c661c232@mail.gmail.com> <4834A036.4020809@unsane.co.uk> <1bd550a00805220011n56344761q753dc18a2e40adaf@mail.gmail.com> <48352B35.5040709@unsane.co.uk> <20080522091426.GA39680@desktop.piggybox> <48356F6E.9080809@unsane.co.uk> <20080522162822.GA955@desktop.piggybox> <1bd550a00806010942t1185d7e4vee02a55648bb16fa@mail.gmail.com> Cc: Vince Hoffman , FreeBSD Mailing List Subject: Re: ipw2200 freebsd 7 firmware problem 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: Tue, 24 Jun 2008 20:54:08 -0000 On Sun, Jun 1, 2008 at 6:42 PM, Fernando Apestegu=EDa wrote: > On Thu, May 22, 2008 at 6:28 PM, peter harrison > wrote: >> Thursday, 22 May 2008 at 14:04:46 +0100, Vince Hoffman said: >>> peter harrison wrote: >>> > Thursday, 22 May 2008 at 9:13:41 +0100, Vince Hoffman said: >>> >> Fernando Apestegu=EDa wrote: >>> >>> On 5/22/08, Vince Hoffman wrote: >>> >>>> Fernando Apestegu=EDa wrote: >>> >>>>> On Wed, May 21, 2008 at 10:33 AM, Vince Hoffman >>> >>>> wrote: >>> >>> >>>>>> Have you read the manpage for iwi? >>> >>>>>> >>> >>>>> No, I tried with iwi-firmware and iwicontrol and none of them exi= sted. >>> >>>>> >>> >>>>> >>> >>>>>> no ports are needed the firmware is now in the base system, Just= add the >>> >>>>>> entries as specified in this snippet from man iwi >>> >>>>>> >>> >>>>> So... shouldn't this port be removed? >>> >>>>> >>> >>>>> >>> >>>> I'm pretty sure that things changed between 6.x and 7.x, I'd imagi= ne the >>> >>>> port is needed for <7.x >>> >>>> >>> >>>>>> Alternatively, to load the driver as a module at boot time, pla= ce the >>> >>>>>> following lines in loader.conf(5): >>> >>>>>> >>> >>>>>> if_iwi_load=3D"YES" >>> >>>>>> wlan_load=3D"YES" >>> >>>>>> firmware_load=3D"YES" >>> >>>>>> >>> >>>>>> In both cases, place the following lines in loader.conf(5) to= load >>> >>>> the >>> >>>>>> firmware modules: >>> >>>>>> >>> >>>>>> iwi_bss_load=3D"YES" >>> >>>>>> iwi_ibss_load=3D"YES" >>> >>>>>> iwi_monitor_load=3D"YES" >>> >>>>>> >>> >>>>>> and >>> >>>>>> >>> >>>>>> This driver requires firmware to be loaded before it will work.= For >>> >>>>>> the loaded firmware to work the license at >>> >>>>>> /usr/share/doc/legal/intel_iwi/LICENSE must be >>> >>>> agreed to and the >>> >>>>>> follow-ing line be added to loader.conf(5): >>> >>>>>> >>> >>>>>> legal.intel_iwi.license_ack=3D1 >>> >>>>>> >>> >>>>>> >>> >>>>> I'll try it. But AFAIK, I have to recompile the kernel cause the >>> >>>>> "device iwi" line is missing. >>> >>>>> >>> >>>>> Am i right? >>> >>>>> >>> >>>>> >>> >>>> I think they should all be loadable as modules if they arent in ge= neric. >>> >>>> >>> >>>> To try without rebooting I believe the commands you want are: >>> >>>> kenv legal.intel_iwi.license_ack=3D1 >>> >>>> kldload if_iwi >>> >>>> kldload wlan >>> >>>> kldload firmware >>> >>>> kldload iwi_bss >>> >>>> kldload iwi_ibss >>> >>>> kldload iwi_monitor >>> >>>> >>> >>>> However, I just had a look in my /boot/kernel for the if_iwi modul= e and its >>> >>>> not there so you may be correct. (I'm a touch supprised as the do = exist on >>> >>>> my i386 box) >>> >>> The same on my machine. The line is not in GENERIC and that modules >>> >>> don't exist. I will recompile my module as soon as I have some spar= e >>> >>> time. >>> >>> Thanks for your help. >>> >>> >>> >> In theory you should be able to just >>> >> cd /usr/src/sys/modules/iwi >>> >> make && make install >>> >> cd /usr/src/sys/modules/iwifw >>> >> make && make install >>> >> >>> >> >>> >> without rebuilding the entire kernel. I'm just puzzled why they dont >>> >> build by default. >>> > >>> > I'm running a stock 7.0-STABLE with GENERIC and a default make.conf a= nd I get the iwi modules no problem. I just followed the instructions in th= e man page and was up and running in 5 minutes. >>> > >>> > >>> Are you running AMD64? the modules are there on my i386 laptop but not >>> my AMD64 server (I dont use iwi on either though.) >> >> I'm running i386, so that may be the difference. I don't have an AMD64 s= ystem to check I'm afraid. > > Hi all again, > > I recompiled my kernel and now, the IPW2200BG card seems to be detected. > This is the output of the ifconfig re0 command: > > iwi0: flags=3D8802 metric 0 mtu 1500 > ether 00:0e:35:fd:aa:0f > media: IEEE 802.11 Wireless Ethernet autoselect > status: no carrier > ssid ApeWireless channel 1 (2412 Mhz 11b) > authmode OPEN privacy ON deftxkey 1 wepkey 1:104-bit bmiss 10 > scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi11b 7 > roam:rate11b 1 bintval 0 > > > However, neither I can connect to my wireless router, nor I can scan > the frequency. My wireless AP, has a hidden SSID, wep key and DHCP. > Scanning of frequencies shows no results (but there are many wireless > networks around). > > Any ideas? Hi all again, After some time without touching the computer I decided to have a look at the wireless problem again. It seems I can't load the firmware: firmware_get: failed to load firmware image iwi_bss Both if_ipw and ipw_bss modules are loaded. This very same computer works fine with linux, including loading the firmwa= re. Any help is appreciated. Thanks in advance. > > Thanks in advance. > > > >> >> >> Peter Harrison. >> >>> >>> vince >>> >>> > Peter Harrison >>> > >>> >> >>> >> Vince >>> >> >>> >> >>> >>> Best Regards >>> >>> >>> >>>> regards, >>> >>>> Vince >>> >>>> >>> >>>> >>> >> _______________________________________________ >>> >> freebsd-questions@freebsd.org mailing list >>> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@free= bsd.org" >>> >>> _______________________________________________ >>> 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" >> >