This shows you the differences between two versions of the page.
— |
tinypilot_ssh [2019/07/25 14:02] (current) seandepagnier created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | tinypilot ssh by default uses: | ||
+ | |||
+ | user: tc | ||
+ | pw: pypilot | ||
+ | |||
+ | |||
+ | tinypilot uses runit for services. You can see the available services: | ||
+ | |||
+ | $ ls /services | ||
+ | |||
+ | to stop a service: | ||
+ | |||
+ | $ sudo sv down pypilot | ||
+ | |||
+ | This stops the autopilot service allowing you to manually edit the config without it being overwritten: | ||
+ | |||
+ | $ nano ~/.pypilot/pypilot.conf | ||
+ | |||
+ | Start pypilot service again | ||
+ | |||
+ | $ sudo sv up pypilot | ||
+ | |||
+ | |||
+ | The logs for each service are located in /var/log, eg: | ||
+ | |||
+ | $ cat /var/log/pypilot/current | ||
+ | |||
+ | |||
+ | The bootscripts are located in /opt | ||
+ | |||
+ | pypilot uses tinycore linux, so any modifications to files in /opt require before reboot: | ||
+ | |||
+ | $ nano /etc/bootlocal.sh | ||
+ | $ filetool.sh -b | ||