PDA

View Full Version : Need help making a script



tom31366
12-04-2005, 10:41 PM
I have found a way to get my wireless card working, however I need to make a script to do so. Can someone help? Here's what I do from the bash shell right now:

su
iwconfig eth0 essid ########## <---- My WAP ID
pump -i eth0

Thanks

Tom

OErjan
12-05-2005, 05:29 PM
this should work, atleast if you make it executable, simply do
chmod +x ./wireless.sh wireless.sh is the name i used, you may name it whatever you want. you may even have it run during startup if you wish.

#bin/sh
#wireless starter
sudo iwconfig eth0 essid ########&&sudo pump -i eth0

tom31366
12-05-2005, 08:40 PM
Sounds easy enough. Much appreciated.

Tom

tom31366
12-06-2005, 02:11 PM
Worked like a charm! Thanks for the help.

Tom