ccgx:root_access
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ccgx:root_access [2024-02-09 17:06] – [4.1 Hooks to install/run own code at boot] dfaber | ccgx:root_access [2024-12-03 11:17] (current) – [3.1 Set access level to Superuser] mvader | ||
---|---|---|---|
Line 33: | Line 33: | ||
==== 3.1 Set access level to Superuser ==== | ==== 3.1 Set access level to Superuser ==== | ||
- | To set the root password, first set the access level to Superuser: | + | To set the root password, first set the access level to Superuser. |
- Go to Settings, General | - Go to Settings, General | ||
- Set the Access Level to User and installer, the password is '' | - Set the Access Level to User and installer, the password is '' | ||
- Highlight Access Level (don't open the select page, ie. make sure you are in the General Page, not the Access Level page) | - Highlight Access Level (don't open the select page, ie. make sure you are in the General Page, not the Access Level page) | ||
- | - Press and hold the right button of the center pad until you see the Access Level change to Superuser. Note: when working from the Remote Console, you need to use the right key on your keyboard. Pressing and holding the right button with your mouse won't work. | + | - Press and hold the right button of the center pad until you see the Access Level change to Superuser. Note: when working from the Remote Console |
Now you have access to the super user features. | Now you have access to the super user features. | ||
Line 119: | Line 120: | ||
=== 4.2.2 Read-only rootfs === | === 4.2.2 Read-only rootfs === | ||
- | By default, the rootfs is mounted read only. Also, by default, it only has 5% of free space. | + | By default, the rootfs is mounted read only. Also, by default, it only has 5% of free space, while the partition in which its installed is actually larger. |
- | The solution is to run ''/ | + | The recommended method |
- | Further details in the next section. | + | Here is a short overview of the three ways mount the rootfs as read/ |
+ | |||
+ | * // | ||
+ | * // | ||
+ | * // | ||
=== 4.2.3 Always prevent running out of diskspace === | === 4.2.3 Always prevent running out of diskspace === | ||
Line 158: | Line 163: | ||
For more advanced features please check the manual page of [[https:// | For more advanced features please check the manual page of [[https:// | ||
+ | |||
+ | In this thread, there is an example of how to make a patch file to change a certain setting in the GX, and how to apply that at boot. To make it survive a firmware update: | ||
+ | https:// | ||
==== 4.4 Adding or modifying services ==== | ==== 4.4 Adding or modifying services ==== | ||
Line 168: | Line 176: | ||
''/ | ''/ | ||
- | By default the root filesystem of Venus is read-only. There are three ways to change that: | + | Further details here: https://github.com/victronenergy/venus/wiki/howto-add-a-driver-to-Venus# |
- | + | ||
- | * // | + | |
- | * //semi-permanent//: issue the command ''/ | + | |
- | * // | + | |
===== 5. Hardening a GX device ===== | ===== 5. Hardening a GX device ===== |
ccgx/root_access.1707494771.txt.gz · Last modified: 2024-02-09 17:06 by dfaber