Register On The Mobile Network - mangOH Red Getting Started Manual

Non-octave
Hide thumbs Also See for Red:
Table of Contents

Advertisement

4: Register on the Mobile Network

Now that your mangOH Red is powered on and running, make sure it can register on your SIM provider's mobile
network, and configure it for use with AirVantage.
Note: The commands that you enter in the rest of this guide are done on your computer (e.g. on a native Linux system or in the
VM) or on the mangOH Red. Development system examples show a '$' command prompt with a brown background, and
mangOH Red examples show a '#' command prompt with a blue background.
1. From your computer's command prompt, test the USB connection:
$ ping 192.168.2.2
You should receive ping responses by 'pinging' the CF3 module (which has a default IP address of
192.168.2.2). Press Ctrl+C to cancel the ping request and return to the command prompt.
$ ping 192.168.2.2
PING 192.168.2.2 (192.168.2.2) 56(84) bytes of data.
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.596 ms
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.518 ms
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.409 ms
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.648 ms
64 bytes from 192.168.2.2: icmp_seq=1 ttl=64 time=0.407 ms
^C
--- 192.168.2.2 ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 2578ms
rtt min/avg/max/mdev = 0.407/0.516/0.648/0.100 ms
2. Connect to the mangOH Red using your terminal emulator:
$ ssh root@192.168.2.2
3. The following message appears if you are using your CF3 module for the first time (modules are shipped
without a password).
It is strongly recommended to setup credentials for remote login.
Please select one of the following options:
1) Setup ssh keys and disable passwords-based authentication via ssh
(the most secure)
2) Setup password (better than nothing)
3) Do nothing
For now, type 3 and press Enter, then type Y and press Enter to be reminded the next time you connect.
(During this tutorial, do this each time you open an SSH connection to the mangOH Red.)
Note: After completing this tutorial, you should select an appropriate login authentication method (ssh keys or password)
from this menu—see
docs.legato.io/latest/basicTarget.html
4. Turn off the CF3 module's radio (it may have been started automatically by other processes):
# cm radio off
5. Set the CF3 module to use IPv4 addressing (this ensures that connections to AirVantage (later in this guide)
will work correctly):
# cm data pdp ipv4
Rev 1 2020-03-01
for details.
14
Replies received,
connection working
Ctrl+C pressed to
cancel ping
41113734
4

Advertisement

Table of Contents
loading

Table of Contents