projects:command_and_control

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
projects:command_and_control [2021/02/16 18:18]
xbr Adding 16x2 LCD text
projects:command_and_control [2021/04/30 09:34] (current)
xbr Added documentation about the current implementation
Line 42: Line 42:
     * MCR-Beta: <code> Hello! ODROID!      * MCR-Beta: <code> Hello! ODROID! 
  - MCR-Beta -   </code>  - MCR-Beta -   </code>
 +
 +== Implementation ==
 +The ODROIDs are now using [[https://www.armbian.com/odroid-c2/|Armbian]]'s [[https://redirect.armbian.com/region/EU/odroidc2/Focal_current_xfce|Focal (Fossa) XFCE release]] with an older version (early 2020 release) of the U-Boot bootloader flashed with the [[https://archlinuxarm.org/platforms/armv8/amlogic/odroid-c2|ArchLinuxARM]] [[https://web.archive.org/web/20210216103531/https://archlinuxarm.org/packages/aarch64/uboot-odroid-c2-mainline/files/sd_fusing.sh|sd_fusing.sh]] tool.
 +
 +This older bootloader version is flashed instead of using the one that is on the Armbian image, because at the time of installation, the version distributed on Armbian's ISO images is a more recent, broken version. (doesn't boot without a serial adapter connected, Ethernet doesn't work.
 +
 +Then:
 +  * an ''odroid'' user and ''autom8'' user are created
 +  * the ''autom8'' user gets the ssh key added
 +  * the ''sudoers'' shutdown commands get added to the '/etc/sudoders' file
 +  * a file to autostart XFCE, with the ''odroid'' user is added (lightdm)
 +  * Add the Barrier SSL key to the Barrier's TrustedServers.txt
 +  * add files to the ''odroid'' user's autostart (XFCE) directory:
 +     * Start Firefox Kiosk mode with the corresponding URL
 +     * Kill the xfce4 panel/menu bar because otherwise it shows up over the firefox fullscreen until the window is clicked on
 +     * Start Barrier in client mode that automatically connects to the server (config) with SSL, or in server mode with SSL (config)
  • projects/command_and_control.txt
  • Last modified: 2021/04/30 09:34
  • by xbr