The information contained in this document is subject to change. This document contains proprietary information, which is protected by copyright
laws. All rights are reserved. No part of this document may be photocopied, reproduced or translated to another language or program language
without prior written consent of RFI Engineering B.V.
RefGuide_U-routerNGW_v1.01.docx
Page: 33(
57)
12.4.3
Console Access from Command Line:
ngw-term.sh
Users on the U-router NGW that have shell access can still access the console port of the attached
enterprise router by executing a shell command. This shell command is:
ngw-term.sh
To configure users to have shell access, go to the Users tab and configure a user to have ‘
Bash
’ as
login option. In the example below, the user ‘
rfi
’ has ‘
Bash
’ as login option:
Now, when you login as user: ‘
rfi
’ you will get a shell prompt. For example; login to the U-router
NGW using SSH:
ivovanling@Ivos-MacBook-Pro-2 ~ % ssh [email protected]
[email protected]'s password:
Linux VZ1-034748 5.4.20 #4 Tue Jul 7 16:02:25 CEST 2020 armv5tejl
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Aug 6 03:10:55 2020 from 192.168.168.253
rfi@VZ1-034748
:
~
$
Once you are logged in, indicated by the
rfi@VZ1-034748
:
~
$ p
rompt, issue the command ‘
ngw-
term.sh
’:
rfi@VZ1-034748
:
~
$ ngw-term.sh
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Connected to /dev/ttyS2 at 9600 bps
Escape usage: <ESC> character is <CTRL>\ or 0x1c
<ESC>. -> Disconnect
<ESC>~ -> Send tilde
<ESC>b -> Send break
<ESC>h -> Show help
<ESC>v -> Show version information
<ESC>t -> Toggle internal relay (ID #0)
Switch>