Skip to content

Run in Booted System

Vault2501 edited this page Sep 19, 2022 · 2 revisions

Run Scripts on Booted System

If you already have an image, and want to add the reticulum environment, you can also run the scripts outside the Armbian build system. Please note - the script currently are only working on Debian packager based systems.

Install Requirements and run Scripts

To install reticulum on an existing image, use the following instructions.

  • Install git

    apt-get install -y git
    
  • Clone the Meshed Banana repo

    git clone https://github.com/Vault2501/Meshed-Banana-image.git
    
  • Run the scripts

    • To install reticulum on a Meshed Banana
    sudo BOARD=bananapim2zero ./Meshed-Banana-image/userpatches/overlay/run_scripts.sh
    
    • To install reticulum on a Rapsberry Pi 4
    sudo BOARD=rpi4b ./Meshed-Banana-image/userpatches/overlay/run_scripts.sh
    

Copying the Environment for an Existing User

If you want to add the reticulum environment for an existing user, please run the following comand:

cp -r /opt/reticulum_env/. $HOME

After that, you should be able to directly use the reticulum binaries.

Creating new Users

If you create a new user that should be setup to use reticulum, you need to use the adduser command and NOT useradd, as the latter won't add the user to required groups. So in order to create new users with everything prepared run this command:

adduser USERNAME