This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -xe | |
TAP_A=eth0 | |
TAP_B=eth1 | |
# Remove any IP addresses that may be set on the interfaces | |
ip address flush dev "$TAP_A" | |
ip address flush dev "$TAP_B" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
import os | |
import gzip | |
import io | |
from zipfile import BadZipFile, ZipFile | |
import xxtea | |
import jsbeautifier | |
# You can change these keys as needed: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Download Debian BullsEye CLI for Rock 5A from here: | |
https://www.okdo.com/software-hub/ | |
Burn that into SD Card and boot the Rock 5A / Rock 5A Pink | |
Log into the CLI from the console itself, using mouse and keyboard, or SSH into the Debian | |
then run these two commands: | |
apt install ssh ntp | |
sudo ln -s /lib/systemd/system/ssh.service /etc/systemd/system/sshd.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo dpkg --add-architecture armhf | |
sudo add-apt-repository ppa:liujianfeng1994/panfork-mesa | |
sudo add-apt-repository ppa:liujianfeng1994/rockchip-multimedia | |
sudo apt update | |
sudo apt install build-essential git cmake gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libappindicator1 libnm0 libtcmalloc-minimal4 binfmt-support liblttng-ust-dev libcairo2:armhf libgmp10:armhf libvulkan1:armhf libudev-dev:armhf python3-pip python3-apt python3-debian pandoc -y | |
cd ~ | |
git clone https://gitlab.com/volian/nala.git | |
cd nala | |
sudo make install |