wifi with wpa persistent on bootForum: Networking Topic: wifi with wpa persistent on boot started by: ricciolo Posted by ricciolo on Mar. 03 2007,09: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.. Posted by roberts on Mar. 03 2007,14:42
Add the commands to /opt/bootlocal.sh
Posted by ricciolo on Mar. 24 2007,05:00
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? Posted by curaga on Mar. 24 2007,10:09
sleep 10causes a 10 second pause.. Posted by theycallmebruce on Mar. 24 2007,17:06
ricciolo, what card are you using please?? Is it PCMCIA or PCI? Posted by ricciolo on Mar. 25 2007,01:55
I use two type of card on 3 different pc two are USB and one is PCI all of them work well with wpa_supplicant on DSL. I want to put two driver on ndiswrapper cause I want to remaster a MyDSL CD with wpa_supplicant for use it on all my computers. ..... Now I try to put a wait time after modprobe. Thanks curaga. Posted by ricciolo on Mar. 25 2007,02:48
Yeah, a 10 seconds pause resolves my problems, all seems to work now... Thanks... I'll try better on all my pcs when I have more time. Now I have to try to make a MyDSL remaster cd. But I have another question. After driver load of ndiswrapper I see a note (or I don't think this is an error) . <4>ndiswrapper (ExAllocatePoolWithTag:1180): Windows driver allocating 781216 bytes in atomic context <4>ndiswrapper (ExAllocatePoolWithTag:1180): Windows driver allocating 201600 bytes in atomic context <4>ndiswrapper (ExAllocatePoolWithTag:1180): Windows driver allocating 593920 bytes in atomic context this is the note that i colud see in my dmesg. Is it only a note that inform me how much is memory allocation? Or is it a kind of advise that say me to allocate less memory? Or something else maybe.... Posted by ricciolo on Mar. 25 2007,03:39
I've tried to Remaster MyDSL cd, but DSL after burn the generated iso doesn't contains my modify to bootlocal.sh and all my other files (like wpa_supplicant and wifi drivers) on /home/dsl directory.How can I burn my modify to bootlocal.sh and wpa_supplicant on remastered cd? |