Skip to content

Software Startup Checklist

hydrogen602 edited this page Apr 20, 2019 · 10 revisions

Startup

  1. start up server in new terminal window -> python ~/server.py
  2. start up client in new terminal window -> python ~/hydrogenClient_surface.py
  3. ssh into motor pi in new terminal window -> ssh pi@192.168.1.4 password: raspberry
  4. start up client in ssh session -> python ~/hydrogenClient_motor.py
  5. ssh into camera pi in new terminal window -> ssh pi@192.168.1.3 password: raspberry
  6. start up data collection in ssh session -> /var/www/scripts/dataCollection.sh start
  7. open a browser (chromium)
  8. in a new tab go to 192.168.1.3/dataSheet.html
  9. in a new tab go to 192.168.1.3/status.html
  10. if 192.168.1.3/status.html does not display Status: Running, then do step 6 again

Shutdown

  1. ssh into camera pi in new terminal window -> ssh pi@192.168.1.3 password: raspberry
  2. stop data collection in ssh session -> /var/www/scripts/dataCollection.sh stop
  3. close the browser (chromium)
  4. press ^Z (control-Z) in the two hydrogenClient terminal windows
  5. press ^C (control-C) in the server.py window
  6. kill leftover processes -> killZombies

Clone this wiki locally