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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:command_and_control [2021/02/16 16:23]
xbr Change status to updating
projects:command_and_control [2021/04/30 09:34]
xbr Added documentation about the current implementation
Line 32: Line 32:
        * The following line is in the sudoers file: <code>autom8 ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff, /sbin/shutdown now</code>        * The following line is in the sudoers file: <code>autom8 ALL=NOPASSWD: /sbin/halt, /sbin/reboot, /sbin/poweroff, /sbin/shutdown now</code>
     * The ''autom8'' user connects via SSH, so the following key is authorized:     * The ''autom8'' user connects via SSH, so the following key is authorized:
-       * <code>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZOMpHb1kVe+4dhj5QTh6wB69RSbkqxA6CA9Olwq+SSIe/CObbOafaEGyTUmZ1HDIgyTGzH2PgYDz17gxcld11GBKrW4lViIvkblnbMyzjjzxqqJY4CwGjpEBtnwnw3q4GZqQO2Jk7ZK1aJ3s5nJylDMmaLong5BUqDwohBNykuC2OMt+Xg/o0px3uVvz//THjIy4SSRGKwDnoh8d8CIOvi3RA1g6wov8q/Xcm4w6eZhOTgInovO9sKukng3LgTnnY5FXHuCRBZuvi9sy6Bye8If3rG4uPMQ3fLnd/Y7ekDev7oZLViFm7Ldmgmbpu99ezdus+OOdo0YeHegccxAux autom8@dash</code> +       * <code>ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDZOMpHb1kVe+4dhj5QTh6wB69RSbkqxA6CA9Olwq+SSIe/CObbOafaEGyTUmZ1HDIgyTGzH2PgYDz17gxcld11GBKrW4lViIvkblnbMyzjjzxqqJY4CwGjpEBtnwnw3q4GZqQO2Jk7ZK1aJ3s5nJylDMmaLong5BUqDwohBNykuC2OMt+Xg/o0px3uVvz//THjIy4SSRGKwDnoh8d8CIOvi3RA1g6wov8q/Xcm4w6eZhOTgInovO9sKukng3LgTnnY5FXHuCRBZuvi9sy6Bye8If3rG4uPMQ3fLnd/Y7ekDev7oZLViFm7Ldmgmbpu99ezdus+OOdo0YeHegccxAux autom8@dash</code> 
 +  * 16x2 LCD text, currently dependent on the host: 
 +    * MCR-Alpha: <code> Hello! ODROID!  
 + - MCR-Alpha - </code> 
 +    * MCR-Gamma: <code> Hello! ODROID!  
 + - MCR-Gamma - </code> 
 +    * MCR-Delta: <code> Hello! ODROID!  
 + - MCR-Delta - </code> 
 +    * MCR-Beta: <code> Hello! ODROID!  
 + - MCR-Beta -   </code> 
 +== Implementation == 
 +The ODROIDs are now using [[|Armbian]]'s [[|Focal (Fossa) XFCE release]] with an older version (early 2020 release) of the U-Boot bootloader flashed with the [[|ArchLinuxARM]] [[|]] 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. 
 +  * 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