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