running prism2_srec at boot time

Michael Milligan milli
Tue Mar 25 20:43:17 PST 2003


Mike Bohan wrote:
> Hey there,
> 
> 	I finally found a working firmware image, which loads correctly using
> prism2_srec -r after the machine is booted. However, I'm trying to find
> a way on my Debian system to load it at boot time, which currently fails
> for some reason. I put the equal command line in /etc/pcmcia/wireless,
> right at the beginning of the "start" section.

That's the wrong place in Debian.  You want to work in the file called 
/etc/network/interfaces.  E.g., here's what I have and works flawlessly:

---
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
auto lo
iface lo inet loopback

# D-Link card
iface wlan0 inet dhcp
         pre-up /sbin/iwconfig wlan0 mode Managed essid MyAirwaves
         pre-up /sbin/iwconfig wlan0 key XXXX-XXXX-XX
         up /sbin/prism2_srec -r wlan0 /etc/network/RF010506.HEX
----

Regards,
Mike

PS: Key XX'd out for privacy, sorry.

PSS:  Yes, I know there are newer wireless commands I could use, but 
these work, so I haven't been in a hurry to change...

-- 
Michael Milligan  --  Free Agent  --  milli at acmeps.com





More information about the Hostap mailing list