pwd
cd smc-script/
ls -l /opt/hotspot/logs
nohup sudo SetPowerSwitch 2 0 &
sudo cellOff &
cd smc-script/
pwd
ls -l /opt/hotspot
ls -l /opt/hotspot/logs
tail /opt/hotspot/logs/cdmaRSSI.log 
sudo tail /opt/hotspot/logs/cdmaRSSI.log 
ps -eaf | grep python
sudo tail /opt/hotspot/logs/cdmaRSSI.log 
ps -eaf | grep python
sudo kill 15125
nohup sudo python modemtest.py /dev/ttySX1 115200 60 0 > /opt/hotspot/logs/cdmaRSSI.log &
tail /opt/hotspot/logs/cdmaRSSI.log 
sudo tail -f /opt/hotspot/logs/cdmaRSSI.log 
nohup sudo python modemtest.py /dev/ttyLX1 115200 60 0 > /opt/hotspot/logs/cdmaRSSI.log &
sudo tail -f /opt/hotspot/logs/cdmaRSSI.log 
jobs
pwd
sudo tail -f /opt/hotspot/logs/cdmaRSSI.log 
cat /opt/hotspot/logs/cdmaRSSI.log 
suod cat /opt/hotspot/logs/cdmaRSSI.log 
sudo chmod 666 /opt/hotspot/logs/cdmaRSSI.log 
jobs
ps -eaf | grep python
sudo kill 1377
ps -eaf | grep python
ps -eaf | grep python
sudo python modemtest.py /dev/ttyLX1 115200 5 0
sudo rm /opt/hotspot/logs/cdmaRSSI.log 
nohup sudo python modemtest.py /dev/ttyLX1 115200 60 0 &
ls -l /opt/hotspot/logs
ps -eaf | grep python
sudo kill 1674
nohup sudo python modemtest.py /dev/ttyLX1 115200 60 0 > /opt/hotspot/logs/cdmaRSSI.log &
ls -l /opt/hotspot/logs
ls -l /opt/hotspot/logs
ls -l /opt/hotspot/logs
ps -eaf | grep python
sudo kill 1732
sudo python modemtest.py /dev/ttyLX1 115200 60 0 > /opt/hotspot/logs/cdmaRSSI.log &
ls -l /opt/hotspot/logs
ls -l /opt/hotspot/logs
ps -eaf | grep python
sudo kill 1906
sudo python modemtest.py /dev/ttyLX1 115200 60 0 
ls -l /opt/hotspot/logs
ls -l /opt/hotspot/
sudo python -u modemtest.py /dev/ttyLX1 115200 60 0 > /opt/hotspot/logs/cdmaRSSI.log &
ls -l /opt/hotspot/logs/
ps -eaf | grep python
sudo kill 2084
sudo nohup python -u modemtest.py /dev/ttyLX1 115200 60 0 > /opt/hotspot/logs/cdmaRSSI.log &
ls -l /opt/hotspot/logs/
ls -l /opt/hotspot/logs/
sudo cat /opt/hotspot/logs/cdmaRSSI.log 
ps -eaf | grep python
sudo cat /opt/hotspot/logs/cdmaRSSI.log 
sudo cat /opt/hotspot/logs/cdmaRSSI.log 
tail /opt/hotspot/logs/cdmaRSSI.log 
cd /opt/hotspot/logs
ls
cp cdmaRSSI.log cdmaRSSI.log.bak
ps -eaf | grep python
sudo kill 2159
sudo cellOn
tail cdmaRSSI.log
sudo cellOff
cd
cd smc-script/
sudo python -u modemtest.py
head /opt/hotspot/config/modems.cfg 
sudo SetPowerSwitch 2 1
sudo python -u modemtest.py /dev/ttyLX1 115200 5 5
sudo nohup python -u modemtest.py /dev/ttyLX1 115200 60 5 >> /opt/hotspot/logs/cdmaRSSI.log &
tail -f /opt/hotspot/logs/cdmaRSSI.log
tail -f /opt/hotspot/logs/cdmaRSSI.log
ps -eaf | grep python
cd smc-script/
sudo nohup python -u modemtest.py /dev/ttySX4 115200 60 0 >>
ps -eaf | grep python
sudo nohup python -u modemtest.py /dev/ttyLX4 115200 60 0 >> /opt/hotspot/logs/cdmaRSSI.log &
tail -f /opt/hotspot/logs/cdmaRSSI.log
ps -eaf | grep python
ps -eaf | grep python
head /opt/hotspot/config/modems.cfg 
sudo kill 6016
ps -eaf | grep python
ps -eaf | grep python
cp /opt/hotspot/logs/cdmaRSSI.log.bak /opt/hotspot/logs/cdmaRSSI.log
sudo nohup python -u modemtest.py /dev/ttyLX1 115200 60 0 >> /opt/hotspot/logs/cdmaRSSI.log &
tail -f /opt/hotspot/logs/cdmaRSSI.log
tail -f /opt/hotspot/logs/cdmaRSSI.log
ls
ps -eaf | grep python
sudo kill 6282
tail /opt/hotspot/logs/cdmaRSSI.log
sudo cellOn
pwd
clear
ping 192.168.1.1
ifconfig
ifconfig eth0
sudo wifiOff
sudo wifiOn
ifconfig eth0
sudo wifiOn
ping tethys
sudo route del default eth0
pwd
man dhclient-script
cd /etc
ls -l dhclient-*
ls -l dhclient*
cp dhclient-enter-hooks dhclient-enter-hooks.bak
sudo cp dhclient-enter-hooks dhclient-enter-hooks.bak
sudo vi dhclient-enter-hooks
sudo wifiOff
route -n
route
sudo wifiOn
ping tethys
route -n
ping google.com
sudo wifiOn
ServerExec PayloadInterface "hostinvoke uptime.uptime()"
sudo ServerExec PayloadInterface "hostinvoke uptime.uptime()"
sudo wifiOn
bg
ifconfig eth0
ifconfig eth0
route -n
ping makai
cat /opt/hotspot/config/modems.cfg 
sudo SetPowerSwitch 3 1
pwd
cd smc-script/
ls
ls *.py
less tracking.py 
echo $CLASSPATH
echo $CLASSPATH
pwd
ls
ls java
which java
which javac
ls java
ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
man sudo
sudo -u smc ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
ls -a
vi .profile 
sudo -u smc ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
echo $LD_LIBRARY_PATH 
vi .profile 
ls -l /home/smc/lib
echo $LD_LIBRARY_PATH 
sudo -u smc ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
sudo -u smc ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
echo $LD_LIBRARY_PATH 
ls -l /home/smc/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/smc/lib
sudo -u smc ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
echo $*
echo $?
ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.854,-121.989,50)'
echo $?
echo $CLASSPATH
vi .profile 
ls java
ping google.com
vi .profile 
java PolyTest
java --version
java
java -v
java -version
ServerExec PayloadInterface 'SendEvent sender=0x2000 text="Hello world"'
ServerExec PayloadInterface 'SendEvent sender=0x2000 text="Hello again"'
ServerExec
ps -U hotspot 
sudo -U smc ServerExec
man sudo
sudo -u smc ServerExec
sudo -u smc -E ServerExec
env | grep OMNI
export OMNIORB_CONFIG=/home/smc/omniORB.cfg 
ServerExec
ServerExec PayloadInterface 'SendEvent sender=0x2000 text="Hello from user hotspot"'
cd
pwd
vi .profile
ServerExec PayloadInterface 'SendEvent sender=0x2000 text="Hi again from hotspot"'
ServerExec PayloadInterface 'SendAlarmEvent sender=0x2000 text="Danger! Danger!"'
ServerExec PayloadInterface 'SendEvent sender=0x2000 text="just an event message"'
ServerExec PayloadInterface 'SendAlarmEvent sender=0x2000 text="Phony alarm message"'
ServerExec PayloadInterface 'SendAlarmEvent sender=0x2000 text="Phony alarm message"'
cd smc-script/
ls -l *.py
cd smc-script/
python trackerStalker.py 
python trackerStalker.py  
python trackerStalker.py  
python trackerStalker.py  36.80 -121.93 36.70 -122.24 50 CANON-ops.kml True
ServerExec PayloadInterface 'SendEvent sender=0x2000 text="Hello again world"'
ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.70,-122.24,50)'
ServerExec PayloadInterface 'SendEvent sender=0x2000 text="just sent gotoWatch() command"'
python trackerStalker.py  36. -121.93 36.70 -122.24 50 CANON-ops.kml True
python trackerStalker.py  36.80 -121.93 35 -122.24 50 CANON-ops.kml True
cd smc-script/
python trackerStalker.py 6.8 -121.9 33 -120 100 CANON-ops.kml True
python trackerStalker.py 6.8 -121.9 42 -108 100 CANON-ops.kml True
python trackerStalker.py 6.8 -121.9 58 -108 100 CANON-ops.kml True
vi trackerStalker.py 
python trackerStalker.py 6.8 -121.9 38 -108 100 CANON-ops.kml True
more trackerStalker.py 
ServerExec PayloadInterface 'SendAlarmEvent sender=0x2000 notification=302892 reporter=2000 text="Help me"'
ServerExec PayloadInterface 'SendAlarmEvent sender=0x2000 notification=8897140 reporter=2000 text="Help me"'
vi trackerStalker.py 
vi trackerStalker.py 
cd smc-script/
ServerExec PayloadInterface 'SendAlarmEvent sender=0x2000 text="Hey! Testing" notification=1 enum=0x2000 reporter=2000'
cd smc-script/
python trackerStalker.py 36 -110 24 -108 10 CANON-ops.kml True
ServerExec PayloadInterface 'SendAlarmCleared sender=0x2000 text="target OK" reporter=2001 notification=1'
ServerExec PayloadInterface 'SendAlarmSet sender=0x2000 text="appears in alarm list?" reporter=2001 notification=1'
cd smc-script/
ServerExec PayloadInterface 'SendAlarmEvent sender=0x2000 text="Hey! Testing again" notification=1 enum=0x2000 reporter=2001'
ServerExec PayloadInterface 'SendAlarmSet sender=0x2000 text="Hey! Set again" notification=1 enum=0x2000 reporter=2001'
sudo SetPowerPort 3 1 
sudo SetPowerSwitch 3 1 
picocom -b9600 /dev/ttyLX4 
sudo picocom -b9600 /dev/ttyLX4 
sudo SetPowerSwitch 3 0
exit
cd smc-script/
ServerExec PayloadInterface 'SendAlarmSet sender=0x2000 text="Hey! Set again" notification=1 enum=0x2000 reporter=2001'
OK
ServerExec PayloadInterface 'SendAlarmSet sender=0x2000 text="Setting alarm again" notification=1 enum=0x2000 reporter=2001'
python trackerStalker.py 36.806 -122.178 36.907 -121.877 100 CANON-ops.kml True
python trackerStalker.py 36.806 -122.178 36.907 -122.877 100 CANON-ops.kml True
ServerExec PayloadInterface 'SendAlarmEvent sender=0x2000 text="Test alarm event" notification=1 enum=0x2000 reporter=2001'
ServerExec PayloadInterface 'SendAlarmSet sender=0x2000 text="Test alarm set - get it?" notification=1 enum=0x2000 reporter=2001'
ServerExec PayloadInterface 'SendAlarmEvent sender=0x2000 text="Test alarm EVENT - get it?" notification=1 enum=0x2000 reporter=2001'
cd smc-script/
python pymail.py 
python pymail.py hotspot-noreply TEST1 'this from hotspot-noreply' oreilly@mbari.org
python pymail.py hotspot-noreply@mbari.org TEST2 'this from hotspot-noreply@mbari.org' oreilly@mbari.org
python pymail.py waveglider-nav@myzw.com TEST2 'this from hotspot-noreply@myzw.com' oreilly@mbari.org
python pymail.py hotspot-noreply@myzw.com TEST4 'this from hotspot-noreply@myzw.com' oreilly@mbari.org
python trackerStalker.py 36.806 -122.178 36.907 -122.877
python trackerStalker.py 36.806 -122.178 36.907 -122.877 100 CANON-ops.kml True
python trackerStalker.py 36.806 -122.178 36.907 -122.877 100 CANON-ops.kml True
python pymail.py hotspot-noreply@myzw.com TEST4 'this from hotspot-noreply@myzw.com' waveglider-nav@mbari.org
cd smc-script/
sudo SetPowerSwitch 3 1
sudo minicom benthos
sudo minicom benthos
pwd
python trackerStalker.py 36 -121.8 36.8292 -121.8269 100 CANON-ops.kml True
python trackerStalker.py 36 -121.8 36.8293 -121.8330 100 CANON-ops.kml True
python trackerStalker.py 36 -121.8 36.8774 -122.0049 100 CANON-ops.kml True
ls *.py
vi tracking.py 
pwd
python -u tracking.py | tee /opt/hotspot/logs/tracking.out
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out
vi tracking.py 
vi tracking.py 
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out
sudo -u smc python -u tracking.py | tee /opt/hotspot/logs/tracking.out
sudo -u smc python -u tracking.py | tee /opt/hotspot/logs/tracking.out
pwd
man sudo
sudo -E python -u tracking.py | tee /opt/hotspot/logs/tracking.out
sudo -E python -u tracking.py | tee /opt/hotspot/logs/tracking.out
sudo  python -u tracking.py | tee /opt/hotspot/logs/tracking.out
su
python 36.88 -122.00 36.8774 -122.0049 100 CANON-ops.kml True
python trackerStalker.py 36.88 -122.00 36.8774 -122.0049 100 CANON-ops.kml True
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
su
echo $LD_LIBRARY_PATH
pwd
ls ~/.profile 
su
su
head ~/.profile 
su
su
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
su
su
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
echo $LD_LIBRARY_PATH 
su
su
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
ls /etc/skel
cd /etc
ls sudo*
less sudoers
sudo less sudoers
sudo cp sudoers sudoers.bak
sudo vi sudoers
su
sudo vi sudoers
cd
cd smc-script/
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
echo $LD_LIBRARY_PATH 
alias sudo='sudo LD_LIBRARY_PATH=/home/smc/lib:/usr/local/lib'
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
env | grep -i omni
sudo vi /etc/sudoers
sudo LD_LIBRARY_PATH=$LD_LIBRARY_PATH ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
cd smc-script/
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
pw
cd
ls -a
vi .bashrc
echo $LD_LIBRARY_PATH 
vi .bashrc
cd smc-script/
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
alias
alias sudo
chmod a+x .bashrc
cd
chmod a+x .bashrc
cat .bashrc
cd smc-script/
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.8774,-122.0049,100)'
alias
cd
cat .bashrc
ls -l .bashrc
alias
vi .bashrc
. .bashrc
cat .bashrc
. .bashrc
. ~/.bashrc
alias
cat .bashrc
vi ./profile
pwd
ls -a
vi .profile 
sudo setPowerSwitch 1 0 
sudo SetPowerSwitch 1 0 
exit
sudo ReadPowerSwitch
sudo ReadPowerSwitch
exit
alias
cd smc-script/
cat /opt/hotspot/config/modems.cfg 
sudo ServerExec PayloadInterface 'WCS 0 %ffn.gotoWatch(36.814,-121.8294,100)'
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
echo $CLASSPATH 
sudo /etc/sudoer
sudo vi /etc/sudoer
sudo vi /etc/sudoers
sudo vi /etc/sudoers
sudo vi /etc/sudoers
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
vi tracking.py 
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
sudo SetPowerSwitch 3 0
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking.out 
nohup sudo python -u tracking.py > /opt/hotspot/logs/tracking.out &
cd smc-script/
less /opt/hotspot/logs/tracking.out 
nohup sudo python -u tracking.py > /opt/hotspot/logs/tracking-2.out &
tail -f /opt/hotspot/logs/tracking-2.out 
vi nohuptest.py 
vi nohuptest.py 
less nohuptest.py 
ls -l nohup*
rm nohup.out 
python nohuptest.py 
python nohuptest.py 
less /opt/hotspot/logs/tracking-2.out 
sudo python nohuptest.py 
nohup sudo python nohuptest.py 
cat nohup.out 
rm nohup.out 
 sudo nohup python nohuptest.py 
cat nohup.out 
sudo cat nohup.out 
vi nohuptest.py 
rm nohup.out 
 sudo nohup python nohuptest.py &
cat nohup.out 
sudo cat nohup.out 
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-3.out &
tail -f /opt/hotspot/logs/tracking-2.out 
tail -f /opt/hotspot/logs/tracking-3.out 
ps -eaf | grep python
sudo kill 1678
ps -eaf | grep python
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-3.out &
ps -eaf | grep python
ps -eaf | grep python
sudo python -u tracking.py 
sudo python -u tracking.py 
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-3.out &
tail -f /opt/hotspot/logs/tracking-3.out 
ps -eaf | grep python
sudo python -u tracking.py 
sudo python -u tracking.py 
sudo python -u tracking.py 
sudo python -u tracking.py 
sudo SetPowerSwitch 3 0
sudo python -u tracking.py | tee /opt/hotspot/logs/tracking-3.out 
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-3.out &
tail -f /opt/hotspot/logs/tracking-3.out 
ps -eaf | grep python
tail -f /opt/hotspot/logs/tracking-3.out 
tail -f /opt/hotspot/logs/tracking-4.out 
ps -eaf | grpe python
ps -eaf | grep python
sudo kill 3297
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-5.out &
sudo python -u tracking.py 
pwd
cd smc-script/
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-5.out &
tail -f /opt/hotspot/logs/tracking-5.out 
sudo SetPowerSwitch 3 0
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-5.out &
tail -f /opt/hotspot/logs/tracking-5.out 
ps -eaf | grep python
sudo kill 11191
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-5.out &
tail -f /opt/hotspot/logs/tracking-5.out 
tail -f /opt/hotspot/logs/tracking-5.out 
cd smc-script/
tail -f /opt/hotspot/logs/tracking-3.out 
grep RESULT /opt/hotspot/logs/tracking-3.out 
less /opt/hotspot/logs/tracking-3.out 
jobs
ps -eaf | grep python
sudo kill 2813
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-4.out &
tail -f /opt/hotspot/logs/tracking-4.out 
less /opt/hotspot/logs/tracking-4.out 
tail -f /opt/hotspot/logs/tracking-4.out 
tail -f /opt/hotspot/logs/tracking-4.out 
tail -f /opt/hotspot/logs/tracking-4.out 
ps -eaf | grpe python
ps -eaf | grep python
ls -l /opt/hotspot/logs/tracking-5.out 
tail -f /opt/hotspot/logs/tracking-5.out 
ps -eaf
ps -eaf | grep -i python
sudo halt
exit
cd smc-script/
sudo nohup python -u tracking.py > /opt/hotspot/logs/tracking-04232015-0900.out &
tail -f /opt/hotspot/logs/tracking-04232015-0900.out 
exit
ps -eaf | grep python
ls -l /opt/hotspot/logs
tail -f /opt/hotspot/logs/tracking-04232015-0900.out 
tail -f /opt/hotspot/logs/tracking-04232015-0900.out 
ps -eaf | grep python
ls -l /opt/hotspot/logs/
sudo 
ls -l /opt/hotspot/logs/
ps -eaf | grep python
sudo killall python
ps -eaf | grep python
sudo SetPowerSwitch 3 0
ls
ls /opt/hotspot/logs/
ping catalina.shore.mbari.org
exit
ls -lah /opt/hotspot/logs/
exit
