Re: Best way to load iwi firmware for wpa_supplicant?

Sebastian Schulze Struchtrup <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hi Peter

I took the iwi.sh from /usr/local/etc/rc.d, moved it to /etc/rc.d and
added/modified the special rcng tags:
# REQUIRE: mountcritremote
# BEFORE: netif

This makes sure that the firmware is loaded before wpa/dhcp are started
(via netif)

Sebastian


>I now have a Dell Inspiron 700m w/ a integrated iwi chipset, which is 
>detected just fine, and works w/ WEP keys etc. with the iwi firmware 
>loaded from the local/rc.d script.
>
>dmesg below:
>-=-
>% dmesg | grep iwi
>iwi0: <Intel(R) PRO/Wireless 2200BG> mem 0xe0206000-0xe0206fff irq 10 at 
>device 1.0 on pci2
>iwi0: Ethernet address: 00:12:f0:a2:bf:98
>-=-
>
>However, I need to get the firmware loaded before wpa_supplicant starts 
>for those WPA networks I attach to. (which is why I still have a ath0 
>card sitting around)
>
>Right now, the preferred method seems to be having a 
>local/etc/devd/iwi.conf defined like so:
>
>-=-
>% more /usr/local/etc/devd/iwi.conf
># devd configuration file for the iwi driver.
># This file downloads the firmware on attach and starts up dhclient 
># if configured.
>#
>attach 100 {
>        device-name "iwi0";
>        action "/usr/local/sbin/iwicontrol -i iwi0 
>-d /usr/local/share/iwi-firmware/ -m bss";
>};
>
># Try to start dhclient when the link comes up.  
># Only devices that are configured to support DHCP will actually
># run it.  No link down rule exists because dhclient automatically exits
># when the link goes down.
>#
>notify 100 {
>        match "system"          "IFNET";
>        match "subsystem"       "iwi0";
>        match "type"            "LINK_UP";
>        action "/etc/rc.d/dhclient start iwi0";
>};
>-=-
>
>Yet when the system boots I get a error when wpa_supplicant starts up:
>
>-=-
>iwi0: Please load firmware
>-=-
>
>Is what I have defined in iwi.conf enough, or am I missing a piece here?
>
>Best Wishes - Peter
>  
>

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.