From owner-freebsd-questions@FreeBSD.ORG Tue Sep 26 17:48:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 733E616A519 for ; Tue, 26 Sep 2006 17:48:13 +0000 (UTC) (envelope-from rambiusparkisanius@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id D308943D4C for ; Tue, 26 Sep 2006 17:48:12 +0000 (GMT) (envelope-from rambiusparkisanius@gmail.com) Received: by nz-out-0102.google.com with SMTP id 13so962574nzn for ; Tue, 26 Sep 2006 10:48:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZreuWKdtq3lWWVTobJMC/ZtElNsb6A6r8rNc79eX+CtjeLhY1kUCCUIgYbX1nwXrmbS0S983IB9dAnMF753La5vH515vYgioW2bU90vleolVeLBZxL4wvyoxGheFIJZhTM5FFvTUAxne1j8JL/b1qy3IlwHQGF0T95O1bjrawh0= Received: by 10.64.193.9 with SMTP id q9mr3533156qbf; Tue, 26 Sep 2006 10:48:11 -0700 (PDT) Received: by 10.65.115.2 with HTTP; Tue, 26 Sep 2006 10:48:11 -0700 (PDT) Message-ID: <89ce7f740609261048n120f3fa7x82a6269335674020@mail.gmail.com> Date: Tue, 26 Sep 2006 20:48:11 +0300 From: "Ivan \"Rambius\" Ivanov" To: freebsd-questions@freebsd.org In-Reply-To: <89ce7f740609260436r41dade3dyc60f330fff66b0ee@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <89ce7f740609260436r41dade3dyc60f330fff66b0ee@mail.gmail.com> Subject: Re: How to load iwi firmware at boot time 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, 26 Sep 2006 17:48:13 -0000 Hello, On 9/26/06, Ivan Rambius Ivanov wrote: > Hello, > > I have an Acer TravelMate 4060 laptop with FreeBSD 6.1 running on it. > I have Intel(R) PRO/Wireless 2200BG wireless network card which I use > successfully. I have the following iwi related entries in rc.conf: > > ## Intel Wireless Adapter settings > iwi_enable="YES" > iwi_interfaces="iwi0" > iwi_mode="bss" > ifconfig_iwi0="ssid **** DHCP" > > This used to bring up my iwi0 interface at boot time and I had a > working internet connection after the machine had booted. > > However, this morning I did "make world" (attaching cvsup files for > the kernel and ports for completeness). The iwi firmware was not > loaded at boot time and the following messages are given: > > $ dmesg | grep iwi > iwi0: mem 0xb0101000-0xb0101fff irq 17 > at device 4.0 on pci6 > iwi0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xb0101000 > iwi0: bpf attached > iwi0: Ethernet address: 00:13:ce:0c:45:a1 > iwi0: bpf attached > iwi0: bpf attached > iwi0: [MPSAFE] > iwi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > iwi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps > 24Mbps 36Mbps 48Mbps 54Mbps > iwi0: Please load firmware > > I have to manually load the firmrare invoking the following commands as root: > # iwicontrol -i iwi0 -d /boot/firmware -m bss > # ifconfig iwi0 up > > Could you please advise me how I can load automatically the firmware > during boot time? > > Regards > Ivan > > P.S. Here is the output of uname -a: > FreeBSD ****.**** 6.1-RELEASE-p7 FreeBSD 6.1-RELEASE-p7 #0: Tue Sep 26 > 13:13:00 EEST 2006 root@****.****:/usr/obj/usr/src/sys/GENERIC > i386 I was able to fix it. I created an executable script located at /etc/start_if.iwi0. It contains the following line: iwicontrol -i iwi0 -d /boot/firmware -m bss This script is executed at boot time and it loads the firmware. Thank you for the nice docs althought scattered in the Web. Regards Ivan -- Tangra Mega Rock: http://www.radiotangra.com