Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Sep 2006 20:48:11 +0300
From:      "Ivan \"Rambius\" Ivanov" <rambiusparkisanius@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to load iwi firmware at boot time
Message-ID:  <89ce7f740609261048n120f3fa7x82a6269335674020@mail.gmail.com>
In-Reply-To: <89ce7f740609260436r41dade3dyc60f330fff66b0ee@mail.gmail.com>
References:  <89ce7f740609260436r41dade3dyc60f330fff66b0ee@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

On 9/26/06, Ivan Rambius Ivanov <rambiusparkisanius@gmail.com> 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: <Intel(R) PRO/Wireless 2200BG> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?89ce7f740609261048n120f3fa7x82a6269335674020>