If establishing a mobile connection using a SIM, perform a connection test for the mobile line in advance to make sure that the connection can be made successfully.
Target devices
- AG series
- AR series
- AC series
Table of contents
- Reasons why a connection test is required
- Flow of performing a connection test
- Connection test procedure
▌ Reasons why a connection test is required
- The AG/AR/AC series have a failsafe function as a mechanism for performing a continuous operation for 24 hours a day by restarting the device in case a device failure or malfunction occurs.
- If configuring the automatic connection settings without checking whether a mobile connection can be established in advance, you may fail to establish a connection, and the device may be restarted by the failsafe function.
- To prevent unexpected reboots from occurring, it is strongly recommended to configure the automatic connection settings after performing a connection test manually.
▌Flow of performing a connection test
If configuring the mobile connection settings, configure the automatic connection settings after confirming that a connection can be properly established by performing a connection test manually following the flow below.
Follow the procedure described later to perform a connection test.
Mobile connection test procedure seen in the video
<AG10/AR10>
<AC10>
▌Connection test procedure
Checking the SIM
First, confirm that the SIM has been inserted into the device.
-
Remove the AC adaptor from the device, turn off the power supply to it, and check whether the SIM has been inserted into it. If a wrong SIM has been inserted into the device, insert the correct one into it.
- Connect the AC adopter to the device.
The power supply to the compact router will be turned on, and the state will change to stand-by sate for mobile connection.
Updating the SIM information
Update the SIM information.
-
Log in to the device.
The login prompt differs depending on the series and settings of your device.
For AG/ARUbuntu 18.04.5 LTS amnimo ttyMV0
For AC
amnimo login: admin ←Enter the login name, "admin", and press the Enter key
Password: ←Enter the password you set, and press the Enter key
Last login: Mon Oct 12 15:58:31 UTC 2020 on ttyMV0
Welcome to Ubuntu 18.04.5 LTS (GNU/Linux 4.19.145-00773-gd341a7f2d77d aarch64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
..JggggJ..
?TMMMMMMMMNNgggggggggg&...
.JJ.. _TMMMMMMMMMMMMMMMMMMMMNm..
.MMMMMN, ?MMMMMMMMM#Y"7???7TMMMMNg,
dMMMMMMN{ (MMMMMMMN. ...... 7MMMNe.
MMMMMMMMr .MMMMMMMMMMMMMMMNm. _MMMMm-
_?7TY: (MMMMMMMMMMMMMMMMMN. (MMMMN.
.gNNNmgJ... .MMMMMMMMMMMMMMMMMMMP MMMMMy
jMMMMMMMMM#~ dMMMMMMMMMB"7!` MMMMM#.
.HMMMMMMMM#% (MMMMMMMMB! ..JJggggx MMMMM#~
(MMMMMMMM= .dMMMMMMMD` (MMMMMMMMP MMMMM#~
_7"""! jMMMMMMMM\ .MMMMMMMMM$ MMMMM#
.MMMMMMMMMr .WMMMMMMM9 MMMMMC
.MMMMMMMMMN& ?T"Y9=` . MMMMD
_HMMMMMMMMMmJ.. ...JgR...MMMY`
7MMMMMMMMMMMNNNNMMMMMMMMM#=
.TMMMMMMMMMMMMMMMMMMMM#"
?TMMMMMMMMMMMMMMBY!
?7TT""9Y"!``
admin@amnimo:~$ amsh ←Transit to amsh mode
amnimo C series AC10 version 0.0.0 build 00000
amnimo login: admin ←Enter the login name, "admin", and press the Enter key
Password: ←rEnter the password you set, and press the Enter key
Last login: Wed Jan 1 00:01:24 +0000 2020 on /dev/ttyGS0.
amnimo$ - Enter the command, and transit to configuration mode.
amnimo$ enable ←Transit to administrator mode
password: ←Enter the administrator mode password, and press the Enter key
amnimo# configure ←Transit to configuration mode
password: ←Enter the configuration mode password, and press the Enter key
amnimo(cfg)# - Update the SIM information.
amnimo(cfg)# device mobile information module 0
Line tests
- Prepare for conducting a line test.
❶Transit to mobile detailed configuration mode.amnimo(cfg)# mobile peer amnimo-mobile
❷In order to avoid rebooting the device when the test fails, disable failsafe once.amnimo(cfg-mp-amnimo-mobile)# no failsafe
❸Transit to session detailed configuration mode.amnimo(cfg-mp-amnimo-mobile)# session amnimo-session
❹Switch the connection method to manual connection in order to prevent automatic reconnection from occurring.amnimo(cfg-mps-amnimo-session)# connect manual
- Set up the mobile line.
amnimo(cfg-mps-amnimo-session)# apn amnimo.net ←Set the APN name
amnimo(cfg-mps-amnimo-session)# username user ←Set the user name
amnimo(cfg-mps-amnimo-session)# password ←Set the password
Enter new password: ←Enter the password, and press the Enter key
Retype new password: ←Enter the password again, and press the Enter key
amnimo(cfg-mps-amnimo-session)# enable ←Enable the session - Set the interface (rmnet_data0) for mobile lines.
amnimo(cfg-mps-amnimo-session)# exit ←End session detailed configuration mode
amnimo(cfg-mp-amnimo-mobile)# exit ←End mobile detailed configuration mode
amnimo(cfg)# interface rmnet_data0 ←Transit to interface detailed configuration mode
amnimo(cfg-interface-rmnet_data0)# mobile amnimo-mobile ←Specify the mobile setting
amnimo(cfg-interface-rmnet_data0)# enable ←Enable the interface
amnimo(cfg-interface-rmnet_data0)# exit ←End interface detailed configuration mode
amnimo(cfg)# - To test if the settings are correct, connect to the mobile line in configuration mode.
amnimo(cfg)# mobile connect rmnet_data0 ←Connect to the mobile line manually
- Confirm that the connection has been established.
-
amnimo(cfg)# show mobile rmnet_data0
# ---- mobile rmnet_data0 ----
number 0
module ME3630-J2A
peer amnimo-mobile
session amnimo-session
sim 0
apn amnimo
state connected ←Confirm that the state has been changed to connected
rat E-UTRAN
earfcn 1850
band 3
mcc 440
mnc 10
tac 4633
cellid 49507893
pci 404
rssi -68.0
rsrp -95.0
rsrq -7.1
sinr 186.0
ecio 0.0Specifically, confirm that the state has been changed to the following:
❶ Confirm that the state has been changed to state connected.
❷ It is recommended to confirm that the radio wave state is as follows:
For a 4G line, the RSRP is at the normal level (-105dBm or lower).
For a 3G line, the RSCP is t the normal level (-90dBm or higher). - Disconnect the mobile line. If disconnecting the mobile line is successfully performed, proceed to Step 8.
amnimo(cfg)# no mobile connect rmnet_data0
- If you fail to disconnect the mobile line due to a problem related the settings, transit to session detailed configuration mode, and return to Step 2 in "Line tests". If the failure is due to a problem related to the SIM, return to "Checking the SIM".
- Return the settings to the original ones.
❶Transit to mobile detailed configuration mode, and enable failsafe.
amnimo(cfg)# mobile peer amnimo-mobile ←Transit to mobile detailed configuration mode
amnimo(cfg-mp-amnimo-mobile)# failsafe retry 3 reboot 3 ←Enable failsafe
Configuring the operational setting and saving the configuration file
- Switch the setting to operational state.
Transit to session detailed configuration mode, and switch the connection method to automatic connection.
amnimo(cfg-mp-amnimo-mobile)# session amnimo-session ←Transit to session detailed configuration mode
amnimo(cfg-mps-amnimo-session)# connect always ←Switch to automatic connection - Transit to configuration mode, and save the settings to the configuration file.
amnimo(cfg-mps-amnimo-session)# exit ←End session detailed configuration mode
amnimo(cfg-mp-amnimo-mobile)# exit ←End mobile detailed configuration mode
amnimo(cfg)# config file save ←Overwrite the configuration file the configuration file
Comments
0 comments
Please sign in to leave a comment.