Networking :: wifi with wpa persistent on boot



Hi, my wireless card works well with wpa_supplicant, on DSL installed on HD.
How I can run my wireless with wpa_supplicant persistent on boot?
Thanks..

Add the commands to /opt/bootlocal.sh
Quote (roberts @ Mar. 03 2007,09:42)
Add the commands to /opt/bootlocal.sh

I've tried more and more but something wrong.
My /opt/bootlocal.sh is the following.

#!/bin/bash
# put other system startup command here
loadkeys it
ndiswrapper -i /home/dsl/Driver_pci/WlanCTG.inf
ndiswrapper -i /home/dsl/Driver_usb/WlanUTG.INF
ndiswrapper -l
modprobe -r ndiswrapper
modprobe ndiswrapper
iwconfig wlan0 essid TANA
wpa_supplicant -B -Dndiswrapper -i wlan0 -c /home/dsl/wpa_supplicant.conf
pump -i wlan0


I load two drivers because I want to make a remaster cd for all my computer with that 2 type of wifi card.
Both the cards work well if I write the commands on shell.
It seems like modprobe ndiswrapper needs more time to work...
How can I put a pause of 10 seconds before iwconfig?
Or is it something wrong else in my bootlocal.sh?

sleep 10
causes a 10 second pause..

Quote (ricciolo @ Mar. 03 2007,04:23)
Hi, my wireless card works well with wpa_supplicant, on DSL installed on HD.
How I can run my wireless with wpa_supplicant persistent on boot?
Thanks..

ricciolo, what card are you using please?? Is it PCMCIA or PCI?
Next Page...
original here.