Laptops :: pcmacia wlan card - how to configure



Hi,

I can automatically configure my wlan pcmcia card when it is inserted at boot time.
However if I forget to insert it and I insert it when the laptop is up, then I must invoce the script by hand. (iwconfig eth0 essid....)
Is there some way to invoce the scrip automatically when I insert the card?

Thanks,
Gatu

startup script run as root: /opt/bootlocal.sh


For autoinsert... you would have to run some daemon in the background to check the interrupts or something...

Alternatively you could just run those commands every so often by a timer, but that would be less efficient.


original here.