Subject: Re: iwi WiFi interface firmware load on boot
To: None <current-users@NetBSD.org>
From: Steven J. Dovich <firstname.lastname@example.org>
Date: 12/05/2005 08:55:48
> On Sun, Dec 04, 2005 at 10:10:51PM -0500, Steven M. Bellovin wrote:
> > In message <Pine.NEB.email@example.com>, Curt Samp
> > writes:
> > >
> > >Ok, I see. So the basic value of an rc.d script would just be that it
> > >would make setup a little more obvious to newbies. Is this worthwhile,
> > >do you think? Or would it be better just to drop the idea and let users
> > >who don't know how to do this learn about ifconfig.iwi0 some other way?
> > >
> > Is there any way to do such initialization in a dhclient.conf file?
> > That's how I set nwid and nwkey for my wireless cards. It also has the
> > advantage of loading firmware even for PCMCIA cards that might need
> > such treatment.
> Hmm, it should be possible to do that in /etc/dhclient-enter-hooks.
> See the manpage for dhclient-script(8).
I include the following in /etc/dhclient-enter-hooks to accomplish
the firmware load:
case $reason in
case $interface in
echo "Loading $interface firmware"
iwictl $interface -k
iwictl $interface -d /usr/pkg/libdata/if_iwi
Hope this is helpful...