QuickSF
From REM
quickSF is a bash shell script for quickly launching a Serial Forwarder by fetching the COM port and mote platform type using motelist, grep, and awk programs. This ends the hassle of typing the long java command.
Download this bash script into $TOSROOT/tools/java by typing the following command lines:
cd $TOSROOT/tools/java wget http://dr.berkeley.edu/REM/download/quickSF.sh
Be sure to set the permissions by typing the following command line.
chmod +x quickSF.sh
To run, plug your mote into the USB port and type the following command (hint: pressing tab after a few characters will auto-complete)
./quickSF.sh
If you get the following error, you were not in the correct directory. You must be in $TOSROOT/tools/java.
bash: ./quickSF.sh: No such file or directory
