background image

 

 

 
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: 17(

57)  

 

9  User management 

Since the U-router NGW is running Linux, as a multi-user operating system, several people may be 

logged in and actively working on a given machine at the same time. Security-wise, it is never a 

good idea to allow users to share the credentials of the same account. In fact, best practices dictate 

the use of as many user accounts as people needing access to the U-router NGW. At the same time, 

it is to be expected that two or more users may need to share access to certain system resources, 

such as directories, files and access to the console ports. User management on the U-router NGW 

allows us to accomplish both objectives. 

 

User management is normally performed through the Web GUI. The default user on the system is: 

rfi

’ with password: ‘

rfi123

’. Factory default settings for this user are: 

 

Username: 

rfi

 

Password: 

rfi123

 

Shell: 

bash

 

 

This user 

cannot

 be deleted from the web GUI. It is advised to change the default password to a 

more secure one during installation of the system. 

 

9.1 

Adding a new user 

You can add a new user by going to the 

Users

 tab and then clicking on the green 

Add user 

button. Choose a username and password for the new user. In the example below the user is 

created to have SSH shell login capability. 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

9.2 

Deleting a user 

You can delete any user, except user rfi, from the Web GUI. Click on the red ‘Delete User’ button 

behind the username to delete the user. There will be a popup asking if you are sure to delete the 

user. Once deleted there is no restore function, other than adding the user back using the Add 

user function described above. 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Содержание U-router NGW

Страница 1: ...e Release 2 2 Quick Install Guide Version RefGuide_U routerNGW_v1 01 docx Date 9 11 2020 Covering Product codes RE 45 HCRG and RE 45 HCPG U router NGW Universal wireless IoT data router supporting LTE...

Страница 2: ...N VIA SSH AND THE ETHERNET PORT CLI 12 6 2 LOGGING OUT CLI 12 6 3 ACCESSING THE U ROUTER NGW WEB GUI 13 7 DASHBOARD 14 7 1 SHOWING MOBILE CONNECTION INFORMATION 15 8 CONNECTING THE U ROUTER NGW TO THE...

Страница 3: ...13 4 STATUS COMMAND OF THE U ROUTER NGW NGW CLIENT 35 13 5 RETRIEVING THE STATUS OF THE U ROUTER NGW NGW CLIENT STATUS 35 13 6 RETRIEVING THE MOBILE INFORMATION OF THE U ROUTER NGW NGW CLIENT MOBILE...

Страница 4: ...other warranty herein all document files and software are provided as is with all faults RFI Engineering B V disclaims all warranties expressed or implied including without limitation those of merchan...

Страница 5: ...r network equipment Personnel no longer need to be deployed to manually reset networking equipment dramatically reducing the number of field visits 2 1 U router NGW Features LTE 2G CELLULAR WAN Radio...

Страница 6: ...powered by a worldwide 110 240VAC power supply with changeable heads for use in EU UK Australia USA and Japan This power supply connects to the micro USB port on the U router NGW The second variant R...

Страница 7: ...4 1 U router NGW front panel Figure 1 U router NGW front view 1 Power Blue Power LED LED on power on 2 Contact Green Contact Relay status LED off contact open LED on contact closed 3 Modem Green LED...

Страница 8: ...7 57 4 3 Ethernet Pin Assignments Figure 3 Ethernet pin assignment for NON PoE variant Figure 4 Ethernet pin assignment for PoE variant Please note the PoE variant RE 45 HCPG and RE 45 HCPV of the U...

Страница 9: ...are compatible with TIA EIA 232 F levels The RS232 receiver has a typical threshold of 1 3 V a typical hysteresis of 0 5 V and can accept 30 V inputs The pinout of the RJ45 connector is such that a s...

Страница 10: ...ower relay contact on the two middle pins pin 3 and 4 of the connector Pins 2 and 5 of the RJ11 connector are used for an RS485 serial interface in accordance with EIA TIA 485 standard This interface...

Страница 11: ...ds it can be susceptible to interference that can reduce range Install the U router NGW in such a way that adequate LTE GSM reception is obtained You can see the LTE GSM signal levels in the configura...

Страница 12: ...Insert the SIM card with the connections facing towards the daughterboard into the SIM card holder Pay attention to the correct position The SIM card has a small cut off corner which is located on the...

Страница 13: ...address In order to log in to the U router NGW you can connect a laptop or desktop computer to the Ethernet port of the unit In case you connect a computer directly to the U router NGW please make su...

Страница 14: ...ed via static IP address assignment By default the ETH interface is assigned a static IP address of 192 168 168 1 In order to access this interface you will have to configure your host system with a s...

Страница 15: ...consent of RFI Engineering B V RefGuide_U routerNGW_v1 01 docx Page 14 57 7 Dashboard The Dashboard screen displays a summary of the system information current values of the basic configuration setti...

Страница 16: ...language without prior written consent of RFI Engineering B V RefGuide_U routerNGW_v1 01 docx Page 15 57 7 1 Showing Mobile Connection Information When you scroll down on the Dashboard page you will f...

Страница 17: ...r U router NGW to connect to your mobile operator the only information required is the APN and sometimes a username and password all other fields may be left at their defaults When you purchase your m...

Страница 18: ...m resources such as directories files and access to the console ports User management on the U router NGW allows us to accomplish both objectives User management is normally performed through the Web...

Страница 19: ...ccess to the Console port of the connected Enterprise Router User can have 4 different shell types dependent on their role The four different shell types available Shell Purpose Bash User has Web GUI...

Страница 20: ...network Not all mobile networks support this time feature The internal NTP server will only serve the time to the U router NGW when the correct time is acquired from the mobile network Configuration o...

Страница 21: ...U router NGW to control the power connection of a connected enterprise router or switch Power to the enterprise router can be cycled by operating the Remote Power Switch from the U router NGW There a...

Страница 22: ...nal relay The relay can be operated by clicking on the slider in the Web GUI In the screenshot below the internal relay is set to OFF When the slider is clicked the relay is set to the ON position The...

Страница 23: ...is formed by connecting multiple RPSWs together using the supplied RJ11 RJ11 extension cords The RS485 RPSW is meant to be connected to and operated from RFI Engineering s U router NGW Although the RP...

Страница 24: ...ugged or rebooted For example if you reboot the U router NGW you don t want your RPSW to momentarily be switched off during reboot thereby causing a service disruption Also in case of power loss the R...

Страница 25: ...router NGW In order to make connecting Cisco and Juniper devices easier the U router NGW attempts to map the corresponding device files to dev ttyCisco and dev ttyJuniper respectively You will have t...

Страница 26: ...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 25 57 In...

Страница 27: ...ollowing Connect the Standard A connector of the mini USB cable to the USB B port on the back of the U router NGW Connect the Mini USB Type B 5 pin connector of the mini USB cable to the Mini USB Type...

Страница 28: ...have been set to communicate with a Cisco console port over USB Figure 19 Configuration Settings for the Cisco USB console interface Please note The USB console port of a Cisco device requires the 5V...

Страница 29: ...ut You can access the device through this port in the debugger prompt On some devices only one console port is active at a time and the console input is active only on that port The RJ 45 console port...

Страница 30: ...ide_U routerNGW_v1 01 docx Page 29 57 In the screenshot below the communication settings have been set to communicate with a Juniper console port over USB Figure 21 Configuration Settings for the Juni...

Страница 31: ...that connects straight through to the console port 3 From the command line prompt using ngw term sh command 4 From the command line prompt using minicom command For all of the above scenarios you need...

Страница 32: ...is 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 31 57 The scre...

Страница 33: ...e port of the connected enterprise router For example ivovanling Ivos MacBook Pro 2 ssh rfi 192 168 168 1 rfi 192 168 168 1 s password Linux rfi 000102 5 4 20 3 Wed May 27 17 26 22 CEST 2020 armv5tejl...

Страница 34: ...n 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 rfi 192 168 168 1 rfi 192 168 168 1 s password Linux VZ1 034748 5...

Страница 35: ...e more control over the serial connection to the enterprise router you can use the utility minicom This utility allows finer control of the communication parameters of the serial port such as setting...

Страница 36: ...parameters follow required parameters 13 3 Command Conventions The parameters for a command might include mandatory values optional values or keyword choices angle brackets value Indicates a mandatory...

Страница 37: ...d eth0 mac 40 28 14 00 01 02 state up method static ip 192 168 168 1 mask 255 255 255 0 RELAYS id 0 description U router NGW internal relay relayState OFF rpswState RPSW Connected mains on 13 6 Retrie...

Страница 38: ...ateway 31 138 222 49 metric 25 INTERFACE id tun0 state down ip 0 0 0 0 INTERFACE id ppp0 state down ip 0 0 0 0 13 8 Retrieving the Relay Information of the U router NGW ngw client relay When ngw clien...

Страница 39: ...04 description Reboot customer modem relayState ON id fa0002 rpswState RS485 Remote Power Switch Single Port 0 04 description Power to Ethernet Switch 02 relayState OFF You can operate each relay inde...

Страница 40: ...system systemd timesyncd service d disable with time daemon conf Active active running since Mon 2020 11 02 10 08 37 UTC 5 days ago Docs man systemd timesyncd service 8 Main PID 220 systemd timesyn S...

Страница 41: ...me value and your password as the auth password value All API requests can be made over HTTPS HTTP access has been disabled calls made over plain HTTP will fail and will redirect to HTTPS API requests...

Страница 42: ...relay GET Retrieve the information about the state of the relay s POST Operate the internal and external relays interface GET Retrieve the information about all the interfaces on the system such as t...

Страница 43: ...status For example curl https 192 168 168 1 api status u rfi rfi123 Returns system magic 801f1254298e softwareVersion ngw daemon 1 74 Jul 19 2020 18 38 45 hardwareVersion 2 2 osSysname Linux osReleas...

Страница 44: ...20 11 07 19 40 33 upTime 5 days 9 33 39 upTimeSeconds 466419 totalRam 118 4 MB freeRam 3 0 MB processCount 69 daemonUpTime 0 days 0 44 25 daemonUpTimeSeconds 2665 measurements logTime 2020 11 07 18 56...

Страница 45: ...07 18 56 22 startTimeSeconds 1604775382 endTimeSeconds 1604778032 registrationStatus registered signalDbm 79 signalQuality Fair mcc 204 mnc 04 lac 217 cellid 48232 durationSeconds 2651 regStatesSumma...

Страница 46: ...not used relayState OFF rpswState RPSW Disconnected id fa0002 rpswState RS485 Remote Power Switch Single Port 0 04 description Power to Ethernet Switch 02 relayState ON id fa0003 rpswState RS485 Remot...

Страница 47: ...fi rfi123 Returns interfaces id eth0 mac 40 28 14 fe dd b7 state up method static ip 192 168 168 1 mask 255 255 255 0 metric 125 defaultGateway 192 168 168 253 nameServer1 192 168 168 42 nameServer2 6...

Страница 48: ...erver to which the U router NGW sends a query for name resolutions nameServer2 Nameserver1 is the secondary DNS server to which the U router NGW sends a query for name resolutions For example to chang...

Страница 49: ...status of the mobile connection For example curl https 192 168 168 1 api mobile u rfi rfi123 Returns mobile imei 354679091577638 simStatus SIM READY registrationStatus registered networkName 204 04 V...

Страница 50: ...ogram language without prior written consent of RFI Engineering B V RefGuide_U routerNGW_v1 01 docx Page 49 57 As an example to change the APN settings on the mobile connection curl X POST https 192 1...

Страница 51: ...bash username user2 password canBeDeleted true shell usr local bin ngw term sh username user3 password canBeDeleted true shell bin bash status OK All passwords are returned as since they are not expo...

Страница 52: ...add username user123 password password shell bin bash Returns status OK As an example to change the password of a user on the system curl X POST https 192 168 168 1 api user u rfi rfi123 d action chan...

Страница 53: ...rface dev ttyS2 term_speed 9600 status OK You can use the POST api settings to change the settings the system The possible POST parameters are console_mode Used to determine what type of cable is used...

Страница 54: ...interface operates It will take any decimal value between 300 and 256000 For example term_speed 9600 reboot When reboot 1 the U router NGW will reboot immediately flush_consolelog When flush_consolelo...

Страница 55: ...the U router NGW On the API you can post the complete config in one go Some OpenVPN capable routers allow for the export of an OpenVPN configuration for use on client systems The U router NGW allows...

Страница 56: ...CERTIFICATE nMIIEcTCCA1mgAwIBAgIBADANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UEBhMCTkwx nEjAQBgNVBAgTCUZsZXZvbGFuZDEPMA0 GA1UEBxMGQWxtZXJlMRgwFgYDVQQKFA92 nCSpBhKymW41aV6bSxl10muuhyAtAZkAzCdyTMqC xYECMgdTuWt bL...

Страница 57: ...can change settings by editing this file n Defaults can be restored by simply deleting this file n n See timesyncd conf 5 for details n n Time nNTP 127 0 0 1 213 251 52 43 91 236 251 11 n FallbackNTP...

Страница 58: ...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 writ...

Отзывы: