Raspberry Pi Manager
Raspberry Pi OS (other) -> Raspberry Pi OS Lite
option
-> SSH enable
-> wifi country GB
-> locale Asia/Seoul
curl -k -O https://onioi.com:8443/raw/MEDILOGIS/gwinstall.git/master/gwinstall.sh
#!/bin/bash
export FWD_PORT=10000
if [ ! $1 ]; then
echo -e "USAGE:\nex) gwinstall.sh 10000"
exit 1
else
FWD_PORT=$1
fi
sudo ssh-keygen
sudo ssh-copy-id -p 12222 root@onio.iptime.org
echo "
[Unit]
Description=SSH Tunnel with target server
After=network.target
[Service]
ExecStart=/usr/bin/ssh -NT -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -R 127.0.0.1:$FWD_PORT:localhost:22 -p 12222 root@onio.iptime.org
RestartSec=5
Restart=always
[Install]
WantedBy=multi-user.target
" | sudo tee /etc/systemd/system/tunnel.service > /dev/null
sudo systemctl daemon-reload
sudo systemctl start tunnel
sudo systemctl enable tunnel
sudo systemctl status tunnel
netstat -tulpn
ssh -J root@onio.iptime.org:12222 -p 10000 medi@localhost
sudo apt-get update
sudo apt install -y git nodejs npm bluetooth bluez libbluetooth-dev libudev-dev bluez-hcidump
sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
sudo apt install -y git dkms raspberrypi-kernel-headers build-essential bc
git clone https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au
sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile
sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
sudo make dkms_install
sudo apt install -y fonts-unfonts-core
vcgencmd measure_temp
USB WiFi tplink archer t2 plus ( https://github.com/nlkguy/archer-t2u-plus-linux )