splittik
03-20-2005, 10:48 PM
hey, i've decided to load up my ndiswrapper driver a different way using this .sh script
#!/bin/sh
sudo ndiswrapper -e net8180
sudo ndiswrapper -i /home/splittik/wirelessdrive/net8180.inf
sudo modprobe ndiswrapper
sudo ndiswrapper -m
sudo iwconfig wlan0 mode Managed
sudo iwconfig wlan0 essid default
sudo ifconfig wlan0 up
sudo pump -i wlan0
when i open the konsole and run the file from there, it runs the script and everything works out fine, but when i simply click on the file or put it in my Autostart folder it doesn't run it at all(or it doesn't work?). Why?
#!/bin/sh
sudo ndiswrapper -e net8180
sudo ndiswrapper -i /home/splittik/wirelessdrive/net8180.inf
sudo modprobe ndiswrapper
sudo ndiswrapper -m
sudo iwconfig wlan0 mode Managed
sudo iwconfig wlan0 essid default
sudo ifconfig wlan0 up
sudo pump -i wlan0
when i open the konsole and run the file from there, it runs the script and everything works out fine, but when i simply click on the file or put it in my Autostart folder it doesn't run it at all(or it doesn't work?). Why?