Re: How to load iwi firmware at boot time

2006-09-26 Thread Ivan \Rambius\ Ivanov

Hello,

On 9/26/06, Ivan Rambius Ivanov [EMAIL PROTECTED] 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 [EMAIL PROTECTED]:/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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to load iwi firmware at boot time

2006-09-26 Thread Norberto Meijome
On Tue, 26 Sep 2006 14:36:06 +0300
Ivan \Rambius\ Ivanov [EMAIL PROTECTED] wrote:

 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?

loads automatically everything just fine here:

running 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #7: Tue Sep 26 09:55:41 EST 2006
here

I have iwi and firmware built into the kernel. I also installed  the port
iwi-firmware-kmod-3.0_1 Intel PRO/Wireless 2200 Firmware Kernel Module

simply doing 
ifconfig iwi0 up

loads everything needed. Works too if adding it to the rc.conf (I prefer not to
have it on startup, that's all).


_
{Beto|Norberto|Numard} Meijome

I'm not afraid of dying, I just don't want to be there when it happens.
  Woody Allen

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]