Remote Update Guide – MLT units

Step 1: Install Putty

https://the.earth.li/~sgtatham/putty/latest/w64/putty-64bit-0.78-installer.msi

  • Hostname: mltoffice.gotdns.org
  • Port: 4999
  • SSH -> Tunnels
    • Source Port: 8970

Ensure that you have added the destination localhost:8970

Go back to Session and name your profile and click ‘Save’

Destination: localhost:8970

ssh -L 8970:localhost:81 pi@localhost -p 5id (id of the unit on mltoffice)

Remember to add 5 before the first number as seen below, if its 4 digits long, add 5 to the first number.

After a successful connection you will see the units name in the terminal.

Step 2: Start Update

Enter the following lines into the terminal and press the enter key after you have copied them in.

sudo killall screen

screen -S update

cd mlt_programming/ps10_sci_programmer/

rm *.sci

scp -p -P 4999 mlt@mltoffice.gotdns.org:~/git_repos/ps10/ps10_sci_programmer/acdy_scratch03_vartables_v01_62_00_t053.sci /home/pi/mlt_programming/ps10_sci_programmer/acdy_scratch03_vartables.sci

password: dr1v35

sudo bash /home/pi/scripts/ps10/prog.sh

Step 3: Restart Screens

Enter the following lines into the terminal and press the enter key after you have copied them in.

screen -dmS ps10db sudo /home/pi/scripts/launch_ps10_db.sh

sleep 60

screen -dmS ps10server sudo /home/pi/scripts/launch_ps10_server.sh

screen -dmS ps10bridge sudo bash /home/pi/scripts/launch_ps10_bridge.sh

There will be a one minute pause after you enter the ‘sleep 60’ command into the terminal

After you have entered all these lines into the terminal the update is completed.