Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This article shows how to configure the network on the Nexcom NISE50 running Azeti SP 4300 running SiteController and Ubuntu 16.04. 

Connect to the device

To connect to the azeti SP 4300 a console and/or ssh client is needed. For windows machines the recommended one is putty (it can be downloaded here https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html)

There are two options to connect: via serial with a console cable or IP with SSH.

Connecting via serial

  1. Connect the serial cable (RJ45 end) to the console port of the azeti SP 4300
  2. Connect the serial cable to the computer that is going to be used to 

Setting a static IP

To set up an static IP follow this steps

  1. Edit the /etc/network/interfaces file

    Code Block
    languagebash
    azeti@Nexcomroot@azeti-Master4300:~$ sudo vinano /etc/network/interfaces


  2. Set the IP , for each interface. If necessary add a gateway and DNS for each interface (enp2s0 for Ethernet 1 and enp3s0 for Ethernet 2)

    Code Block
    languagebash
    #configuration for Ethernet 1
    allow-hotplug enp3s0enp2s0
    iface enp3s0enp2s0 inet static
         
      address 10.0240.01.124/24
            netmask 255.255.255.0
    		gateway 10.0.0.100
    		gateway 10.240.1.254
      dns-nameservers 810.831.81.8130 810.844.4.4

    Start the connection

    Code Block
    languagebash
    root@Nexcom-Master:~#sudo ifdown enp3s0 ;sudo ifup enp3s0

Creating a 3G Connection

To create a mobile connection, execute this commands with the proper information

...

The exact command to create a new connection depends on the 3G card model used and the sim card provider. Different cards will use different interfaces (ifname) and different sim providers will use different apn, user an password.

To check the port to be used execute the command 'sudo mmcli -m 0' and check the System / Primary Port

Code Block
languagebash
root@Nexcom-Master:~# mmcli -m 0

/org/freedesktop/ModemManager1/Modem/0 (device id '09bb10c02c0912032e41d6402c4178eac5ee9594')
  -------------------------
  Hardware |   manufacturer: 'QUALCOMM INCORPORATED'
           |          model: '0'
           |       revision: 'UC20GQBR03A07E1G  1  [2014/05/05 9:00:00]'
           |      supported: 'gsm-umts'
           |        current: 'gsm-umts'
           |   equipment id: '861075021729728'
  -------------------------
  System   |         device: '/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2'
           |        drivers: 'qmi_wwan, option1'
           |         plugin: 'Generic'
           |   primary port: 'cdc-wdm0'
           |          ports: 'wwp0s29u1u2i4 (net), ttyUSB0 (qcdm), ttyUSB2 (at), ttyUSB3 (at), cdc-wdm0 (qmi)'
  1. Create a new connection

    Sierra Wireless MC8090

    Code Block
    languagebash
    root@Nexcom-Master:~# nmcli con add type gsm ifname ttyUSB3 con-name TELEKOM_GSMDEMO apn internet.t-mobile user t-mobile password tm
    Connection 'TELEKOM_GSMDEMO' (e2321f56-3d77-46c0-8e52-a7dcda87b0d8) successfully added.

    Quectel UC20GB

    Code Block
    languagebash
    root@Nexcom-Master:~# nmcli con add type gsm ifname cdc-wdm0 con-name TELEKOM_QUACTEL apn internet.t-mobile user t-mobile password tm
    Connection 'TELEKOM_QUACTEL' (2f98d139-2442-4f51-b554-b13da3216a3c) successfully added.
    Quectel UC20GBActivate
    1.130
    
    #configuration for ethernet 2
    allow-hotplug enp3s0
    iface enp3s0 inet static
      address 192.168.0.100/23

    Interface list:

    InteracePort
    enp2s0Ethernet 1
    enp3s0Ethernet 2
    enp4s0Ethernet 3
    enp5s0Ethernet 4
    enp6s0

    Ethernet 5

    enp7s0Ethernet 6


  2. Save the configuration file (press Ctrl+x, write "y" so save the changes, and enter)
  3. Start the connection

    Code Block
    languagebash
    admin@localhostroot@azeti-4300:~$~#sudo nmcliifdown conenp2s0 up TELEKOM_GSMDEMO
    Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6);sudo ifup enp2s0


Troubleshooting


  • To check the assigned IP used "ifconfig"
  • To list the created connections use "network-manager.nmcli con"
    Code Block
    languagebash
    root@Nexcom-Master:~$ nmcli con
    NAME                UUID                                  TYPE            DEVICE
    TELEKOM_GSMDEMO     d472ed41-113a-4a37-972c-6517e335f3cf  gsm             ttyACM3
  • To check the configuration of each connection use the command "nmcli con show connection-name"

...

  • check the route table use "route -n"


Filter by label (Content by label)
showLabelsfalse
max5
spacesSC13
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("ubuntu","dell5000") and type = "page" and space = "SC13"
labelsdell5000 ubuntu

...