| | |
| | |
|
| | | option
|
| | | -> SSH enable
|
| | | -> wifi country GB
|
| | | -> wifi country KR
|
| | | -> locale Asia/Seoul
|
| | |
|
| | | ### login ssh ##
|
| | | ### get gw install script from git server ##
|
| | |
|
| | | ```
|
| | | wget https://.../gateway/gwinstall.sh
|
| | | curl -k -O https://onioi.com:8443/raw/MEDILOGIS/gwinstall.git/master/gwinstall.sh
|
| | |
|
| | | ```
|
| | |
|
| | | ### install ssh tunnel service ###
|
| | | ### install SSH tunnel service on RPi4 ###
|
| | |
|
| | | ```
|
| | | #!/bin/bash
|
| | |
| | |
|
| | | ```
|
| | |
|
| | | ### Change sshd_config ###
|
| | |
|
| | | ### Connect to RPi 4 via SSH tunnel ###
|
| | | ```
|
| | | sudo vi /etc/ssh/sshd_config
|
| | |
|
| | | ```
|
| | |
|
| | | ```
|
| | | AllowTcpForwarding yes
|
| | | GatewayPorts yes
|
| | | ```
|
| | |
|
| | | ```
|
| | | sudo service ssh restart
|
| | | ```
|
| | |
|
| | | ### Check server side RPi4 SSH tunnel port ###
|
| | |
|
| | | ```
|
| | | netstat -tulpn
|
| | |
|
| | | ```
|
| | |
|
| | |
|
| | | ### Connect to RPi4 via SSH tunnel ###
|
| | |
|
| | | ```
|
| | |
|
| | |
| | | ```
|
| | |
|
| | |
|
| | | ### install package ###
|
| | | ### install packages ###
|
| | |
|
| | | ```
|
| | | sudo apt-get update
|
| | |
| | | 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_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile
|
| | | sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
|
| | |
|
| | | sudo make dkms_install
|
| | |
|
| | | ```
|
| | |
|
| | | ### RPi4 internal WiFi disable & USB WiFi enable wlan0 ###
|
| | |
|
| | | /boot/config.txt
|
| | |
|
| | | append |
| | |
|
| | | ```
|
| | | dtoverlay=disable-wifi
|
| | | ```
|
| | |
|
| | | and reboot |
| | |
|
| | |
|
| | | ### RPi 4 Korean font install ###
|
| | |
|
| | | ```
|