Gateway Services

The gateway image is based on Linux for ARM development boards called Armbian.

What is Armbian?

  • Lightweight Debian or Ubuntu based distribution specialized for ARM developing boards.
  • Compiled from scratch.
  • It has powerful build and software development tools.
  • A vibrant community.

Knowing basics about the gateway’s content and its configuration.

Default coordinator setting

  • DPA SPI coordinator plugin
  • LP networks enabled
  • Tx power 7
  • Rx filter 7 (Advised for ANY IQRF Linux gateway)

Default services setting

IQRF Gateway daemon

  • MQTT client connected to port 1883
  • WebSocket server port 1338, 1438
  • UDP ports 55000 and 55300
  • Tip: Explore more about its configuration via web interface.
  • Tip: Explore more about daemon API.
sudo systemctl status iqrf-gateway-daemon

IQRF Gateway webapp

  • HTTP server is running port 80.
  • Action: Create your own user once logging for the first time, there is a guide.
  • Tip: Explore IQRF Gateway daemon’s posibilities using web interface.
sudo systemctl status nginx

IQRF Gateway controller

Controls gateway’s led and button.

  • 10s button press restores default IQRF Gateway daemon’s and IP configuration and restarts the daemons.
sudo systemctl status iqrf-gateway-controller

Mosquitto MQTT broker

MQTT broker is running on port 1883.

  • Tip: IQRF Gateway daemon is already configured and connected to it.
  • Tip: Check simple examples for bash.
sudo systemctl status mosquitto

Websocket client

Test IQRF Gateway daemon API from bash directly.

Pixla remote management client

Having all gateways at one place with monitoring and management capabilities?

  • Login at https://www.pixla.online
  • Action: Register your gateway’s token as printed on the label to your user account.
  • Tip: You can also scan printed QR code to get the token.
sudo systemctl status gwman

SSH server

SSH server is running on port 22.

  • Default credentials: root/1234
  • Action: Create your own user once login for the first time, there is a guide.
  • Tip: Use e.g. Putty client to login to the gateway.
sudo systemctl status ssh

Auto updates

Unattending updates for system and IQRF packages are configured and enabled by default. The updates can be disabled/enabled using Webapp interface.

sudo systemctl status unattended-upgrades.service

Zeroconf Avahi daemon

Do not know your IP address from DHCP server within your network?

  • Action: Zeroconf for Win
  • Tip: Ping your device using: ping your-gw-hostname.local
sudo systemctl status avahi-daemon

Network manager

GW ETH is configured for DHCP IP by default. It is possible to switch to static IP using Webapp interface.

GW WiFi is disabled by default. WiFi can be enabled and configured by the customer via Network manager configuration.

sudo systemctl status NetworkManager

NTP client

Keep gateway time in sync.

  • Tip: Configure your local timezone.

    sudo dpkg-reconfigure tzdata
    
sudo systemctl status ntp