User Tools

Site Tools


ccgx:root_access

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
ccgx:root_access [2019-05-24 09:44] – [Hooks to install/run own code at boot] mvaderccgx:root_access [2019-12-23 16:30] – [Hooks to install/run own code at boot] mvader
Line 1: Line 1:
 ====== Venus OS: Root Access ====== ====== Venus OS: Root Access ======
  
-It is possible to access the CCGX via SSH, or straight on the Serial Console, with the root user.+This document explains how to access a GX device via SSH, or straight on the Serial Console, with the root user.
  
-Do you have improvements? Please let us know via the [[https://groups.google.com/forum/m/#!forum/victron-dev-venus|dev-venus mailing list]]More developers information [[https://github.com/victronenergy/venus/wiki|here]].+This document is part of the Venus OS developer documentationThe main document is [[https://github.com/victronenergy/venus/wiki|the Venus OS wiki on github]].
 ==== Warning about modifying the rootfs ==== ==== Warning about modifying the rootfs ====
 Note that additions made to the rootfs are not safe during an update, as the complete rootfs is replaced during an update. Note that additions made to the rootfs are not safe during an update, as the complete rootfs is replaced during an update.
Line 10: Line 10:
  
 ==== Hooks to install/run own code at boot ==== ==== Hooks to install/run own code at boot ====
 +
 +Everything, except for information on /data, will be wiped after an update.
 +
 +Therefor, the trick to make changes & modifications survive an update, is to put files you need on /data, make them be (re-)installed automatically on startup. This section describes how to do that.
  
 If the files /data/rcS.local or /data/rc.local exists, they will be called early (rcS) and late (rc) during startup. These scripts will survive upgrades and can be used by customers to start their own custom software. Implementation details in [[https://github.com/victronenergy/meta-victronenergy/commit/2dbd16c560ff7cdf70b1d676c0616013169c7484|this commit]]. If the files /data/rcS.local or /data/rc.local exists, they will be called early (rcS) and late (rc) during startup. These scripts will survive upgrades and can be used by customers to start their own custom software. Implementation details in [[https://github.com/victronenergy/meta-victronenergy/commit/2dbd16c560ff7cdf70b1d676c0616013169c7484|this commit]].
ccgx/root_access.txt · Last modified: 2024-02-09 17:06 by dfaber

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki