From dc89fcfdf012cf33b87f66d5c77a953da9409562 Mon Sep 17 00:00:00 2001
From: sspark <sspark@onioi.com>
Date: Thu, 15 Sep 2022 11:05:27 +0000
Subject: [PATCH] fix sshd reconnect issue

---
 README.md |   32 ++++++++++++++++++++++++++++++--
 1 files changed, 30 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index bb30530..30a6c21 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@
 
 option
 -> SSH enable
--> wifi country GB
+-> wifi country KR
 -> locale Asia/Seoul
 
 ### get gw install script from git server ##
@@ -55,6 +55,21 @@
 
 ```
 
+### Change sshd_config ###
+
+```
+sudo vi /etc/ssh/sshd_config
+
+```
+
+```
+AllowTcpForwarding yes
+GatewayPorts yes
+```
+
+```
+sudo service ssh restart
+```
 
 ### Check server side RPi4 SSH tunnel port ###
 
@@ -90,12 +105,25 @@
 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 ###
 
 ```

--
Gitblit v1.9.3