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,12 +11,13 @@ 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 - ~* **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 +* (% 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.** 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 + 20 20 = **2. RSSH Introduction** = 21 21 22 22 ... ... @@ -37,7 +37,6 @@ 37 37 * LIG16 38 38 * MS14 series if installed with the same firmware. 39 39 40 - 41 41 == **2.1 For Firmware Version lower than lgw~-~-build-v5.4.1616478814-20210323-1355** == 42 42 43 43 ... ... @@ -175,26 +175,26 @@ 175 175 176 176 (% class="box" %) 177 177 ((( 178 -**Step1:** Download the SQLit3 installation package 178 +(% style="color:#037691" %)**Step1:**(%%) Download the SQLit3 installation package 179 179 sudo wget [[https:~~/~~/www.sqlite.org/2021/sqlite-autoconf-3350400.tar.gz>>url:https://www.sqlite.org/2021/sqlite-autoconf-3350400.tar.gz]] 180 180 181 -**Step2:** tar the SQLit3 installation package 181 +(% style="color:#037691" %)**Step2:**(%%) tar the SQLit3 installation package 182 182 sudo tar -zxvf sqlite-autoconf-3350300.tar.gz 183 183 184 -**Step3:** Generate the makefile 184 +(% style="color:#037691" %)**Step3:**(%%) Generate the makefile 185 185 cd sqlite-autoconf-3350300/;./configure 186 186 187 -**Step4:** Compile makefile 187 +(% style="color:#037691" %)**Step4:**(%%) Compile makefile 188 188 sudo make 189 189 190 -**Step5: **Install makefile 190 +(% style="color:#037691" %)**Step5: **(%%)Install makefile 191 191 sudo make install 192 192 193 -**Check:** 194 - cd /usr/local/bin;ls -al 195 - cd sqlite-autoconf-3350300/;./sqlite3 test.db ~-~-> 193 +(% style="color:#037691" %)**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 196 196 197 -**debug:** 197 +(% style="color:#037691" %)**debug:**(%%) 198 198 If you get the imformation that is SQLite header and source version mismatch, when you execute./sqlite3 test.db. 199 199 Please execute the command /sbin/ldconfig. 200 200 After that execute the command ./sqlite3 test.db again. ... ... @@ -211,9 +211,9 @@ 211 211 212 212 (% class="box" %) 213 213 ((( 214 - $ ./create_sqlite3_db.sh 214 +**~ $ ./create_sqlite3_db.sh 215 215 $ ./rssh_serv -p 3721 2>&1 & 216 - $ ps -ef | grep rssh_serv check 3721 port 216 + $ ps -ef | grep rssh_serv check 3721 port** 217 217 ))) 218 218 219 219 [[image:image-20220527110436-6.png]] ... ... @@ -225,8 +225,8 @@ 225 225 226 226 (% class="box" %) 227 227 ((( 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** 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** 230 230 ))) 231 231 232 232 (% class="box" %) ... ... @@ -246,7 +246,7 @@ 246 246 247 247 **3):** (% style="color:#4f81bd" %)**cp /bin/bash /bin/rbash** 248 248 249 -**4):** (% style="color:#4f81bd" %)**sudo nano /etc/passwd**(%%) ~-~-> Change /bin/bash to /bin/rbash 249 +**4):** (% style="color:#4f81bd" %)**sudo nano /etc/passwd**(%%) ~-~-> Change /bin/bash to /bin/rbash 250 250 251 251 **5):** (% style="color:#4f81bd" %)**sudo nano /home/xxxxx/.bashrc**(%%) **empty it,and input export PATH=$HOME/bin** 252 252