Changes for page Remote Access Gateway
Last modified by Kilight Cao on 2022/07/25 10:47
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -11,13 +11,12 @@ 11 11 12 12 (% style="color:red" %)**Important Notice:** 13 13 14 - *(% style="color:red" %)**Remote.it access will give full control of your device to remote support.**15 -* (% style="color:red" %)**The Remote.it allow Dragino Support to remote access to the device, If user want to access himself, it need to sign up for an remote.it account.**14 +(% style="color:red" %)* **Remote.it access will give full control of your device to remote support.** 15 +~* **The Remote.it allow Dragino Support to remote access to the device, If user want to access himself, it need to sign up for an remote.it account.** 16 16 17 17 For how to use remoteit, please see : [[Remoteit user instruction for Dragino Gateway>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=Dragino-Remoteit_User_Manual.pdf]]. 18 18 19 19 20 - 21 21 = **2. RSSH Introduction** = 22 22 23 23 ... ... @@ -25,8 +25,8 @@ 25 25 26 26 (% style="color:red" %)**Important Notice:** 27 27 28 - *(% style="color:red" %)**RSSH access will give full control of your device to remote support. Please remove sensitivity info before perform this**29 -* (% style="color:red" %)**This RSSH allow Dragino Support to remote access to the device, If user want to access himself, he need to set up the RSSH server himself.**27 +(% style="color:red" %)* **RSSH access will give full control of your device to remote support. Please remove sensitivity info before perform this** 28 +~* **This RSSH allow Dragino Support to remote access to the device, If user want to access himself, he need to set up the RSSH server himself.** 30 30 31 31 Below gateway support reverse SSH access: 32 32 ... ... @@ -39,8 +39,6 @@ 39 39 * MS14 series if installed with the same firmware. 40 40 41 41 42 - 43 - 44 44 == **2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355** == 45 45 46 46 ... ... @@ -178,26 +178,26 @@ 178 178 179 179 (% class="box" %) 180 180 ((( 181 - (% style="color:#037691" %)**Step1:**(%%)Download the SQLit3 installation package178 +**Step1:** Download the SQLit3 installation package 182 182 sudo wget [[https:~~/~~/www.sqlite.org/2021/sqlite-autoconf-3350400.tar.gz>>url:https://www.sqlite.org/2021/sqlite-autoconf-3350400.tar.gz]] 183 183 184 - (% style="color:#037691" %)**Step2:**(%%)tar the SQLit3 installation package181 +**Step2:** tar the SQLit3 installation package 185 185 sudo tar -zxvf sqlite-autoconf-3350300.tar.gz 186 186 187 - (% style="color:#037691" %)**Step3:**(%%)Generate the makefile184 +**Step3:** Generate the makefile 188 188 cd sqlite-autoconf-3350300/;./configure 189 189 190 - (% style="color:#037691" %)**Step4:**(%%)Compile makefile187 +**Step4:** Compile makefile 191 191 sudo make 192 192 193 - (% style="color:#037691" %)**Step5: **(%%)Install makefile190 +**Step5: **Install makefile 194 194 sudo make install 195 195 196 - (% style="color:#037691" %)**Check:**(%%)197 - cd /usr/local/bin;ls -al 198 - cd sqlite-autoconf-3350300/;./sqlite3 test.db ~-~-> 193 +**Check:** 194 + cd /usr/local/bin;ls -al ~-~-> Check to see if there is a file for sqlite3 195 + cd sqlite-autoconf-3350300/;./sqlite3 test.db ~-~-> Test whether the sqlite3 was installed successfully 199 199 200 - (% style="color:#037691" %)**debug:**(%%)197 +**debug:** 201 201 If you get the imformation that is SQLite header and source version mismatch, when you execute./sqlite3 test.db. 202 202 Please execute the command /sbin/ldconfig. 203 203 After that execute the command ./sqlite3 test.db again. ... ... @@ -214,9 +214,9 @@ 214 214 215 215 (% class="box" %) 216 216 ((( 217 - **~$ ./create_sqlite3_db.sh214 + $ ./create_sqlite3_db.sh 218 218 $ ./rssh_serv -p 3721 2>&1 & 219 - $ ps -ef | grep rssh_serv check 3721 port **216 + $ ps -ef | grep rssh_serv check 3721 port 220 220 ))) 221 221 222 222 [[image:image-20220527110436-6.png]] ... ... @@ -228,8 +228,8 @@ 228 228 229 229 (% class="box" %) 230 230 ((( 231 - **Check /var/rsshdb.sqlite3**232 - **Check ls /var/rsshdb.sqlite3 ~-~->**228 +Check /var/rsshdb.sqlite3 ~-~->(% style="color:#4f81bd" %)** ls /var/rsshdb.sqlite3**(%%) 229 +Check ls /var/rsshdb.sqlite3 ~-~-> (% style="color:#4f81bd" %)**sudo chmod 777 rssh_serv** 233 233 ))) 234 234 235 235 (% class="box" %) ... ... @@ -249,7 +249,7 @@ 249 249 250 250 **3):** (% style="color:#4f81bd" %)**cp /bin/bash /bin/rbash** 251 251 252 -**4):** (% style="color:#4f81bd" %)**sudo nano /etc/passwd**(%%) 249 +**4):** (% style="color:#4f81bd" %)**sudo nano /etc/passwd**(%%) ~-~-> Change /bin/bash to /bin/rbash 253 253 254 254 **5):** (% style="color:#4f81bd" %)**sudo nano /home/xxxxx/.bashrc**(%%) **empty it,and input export PATH=$HOME/bin** 255 255