Milesight LoRaWAN Gateways

Avatar

sdg.neels
2026-08-27 09:34
Last Edited 2026-08-27 09:57

Milesight UG56/UG67 LoRaWAN Gateway - Basic Setup Guide (EU868)

This guide walks through the minimum configuration needed to get a Milesight UG56 gateway online and forwarding packets in the EU868 frequency plan, using the gateway's built-in web UI.


1. Log In to the Web UI

  1. Open a browser and navigate to the gateway's default address: http://192.168.1.1/login.html
  2. Select your preferred Language in the top-right corner (default: English).
  3. Enter the credentials:
    • Username: admin
    • Password: the default password printed on the device label (or previously configured)
  4. Click Login.

Security tip: After logging in, you'll see a banner prompting you to 'change the default password.' Do this before deploying the gateway in production.


2. Configure the Network Interface

Before setting up packet forwarding, make sure the gateway has network connectivity.

  1. Go to Network → Interface → Port.
  2. Under Port_1, configure:
    • Port: eth 0
    • Connection Type: DHCP Client (recommended for most networks - the gateway will pull an IP automatically)
    • MTU: 1500 (default)
    • Use Peer DNS: leave unchecked if you want to set DNS manually
    • Primary DNS Server: 8.8.8.8
    • Secondary DNS Server: 223.5.5.5
    • Enable NAT: checked (default)
  3. Click Save & Apply.

Once applied, confirm the gateway has picked up a valid IP address and can reach the internet (check under Status if available).

Note on WLAN: The UG56 also has a built-in WLAN tab (Network → Interface → WLAN) which runs in AP mode by default, broadcasting its own SSID (e.g. Gateway_007DE3) at a static IP of 192.168.1.1. This is handy for initial access if you don't have Ethernet available yet, but isn't required once the gateway is connected via eth 0.


3. Set the Radio Frequency Plan to EU868

  1. Go to Packet Forwarder → Radios.

  2. Under Radio Channel Setting, set Supported Freq to EU868.

  3. The two radio center frequencies will populate with the EU868 defaults:

    • Radio 0: 867.5 MHz
    • Radio 1: 868.5 MHz
  4. Under Multi Channels Setting, the 8 standard EU868 channels should be enabled by default:

    Index Radio Frequency (MHz)
    0 Radio 1 868.1
    1 Radio 1 868.3
    2 Radio 1 868.5
    3 Radio 0 867.1
    4 Radio 0 867.3
    5 Radio 0 867.5
    6 Radio 0 867.7
    7 Radio 0 867.9
  5. Leave all 8 channels enabled for a standard EU868 setup - this matches the LoRaWAN Regional Parameters default channel plan and ensures compatibility with standard end devices.

  6. Scroll down to review the LoRa Channel Setting (used for additional single-SF channels, e.g. RX2) - the defaults are generally fine for a basic setup.

  7. Click Save & Apply at the bottom of the page.


4. Configure the Packet Forwarder Destination

This tells the gateway where to send received LoRaWAN packets (your network server).

  1. Go to Packet Forwarder → General.
  2. Note your Gateway EUI (auto-generated, e.g. C0BA1FFFFE007DE2) - you'll need this when registering the gateway with your network server (e.g. ChirpStack, The Things Stack).
  3. Gateway ID defaults to match the Gateway EUI - leave as-is unless your network server requires something different.
  4. Leave Frequency-Sync as Disabled and Data Retransmission unchecked for a basic single-gateway setup.
  5. Under Multi-Destination, click the edit (pencil) icon on an existing entry, or the + icon to add a new one. In the popup:
    • Enable: checked
    • Type: Semtech (standard UDP packet forwarder protocol used by most network servers)
    • Server Address: enter your network server's hostname or IP (e.g. sem.pnpscada.com)
    • Port Up: 1700
    • Port Down: 1700
  6. Click Save, then Save & Apply on the General page.
  7. Confirm the entry shows Enabled and check the Connect Status column - it should change from Disconnected to Connected once the gateway successfully reaches your server.

You can leave the built-in Embedded NS destination (ID 0) disabled unless you specifically want to use the gateway's onboard network server instead of an external one.


5. Packet Filters (Optional)

Still on Packet Forwarder → General, the Packet Filters section lets you restrict which packets get forwarded upstream by NetID, JoinEUI, or DevEUI, using White List / Black List modes. For a basic setup, these can be left empty (no filtering).


6. Verify Everything Is Working

  1. Return to Status in the left-hand menu to confirm:
    • Network interface has a valid IP
    • Packet forwarder shows the destination as Connected
  2. Register the gateway on your network server using the Gateway EUI noted in Step 4, matching the frequency plan to EU868.
  3. Power on a test end device and confirm uplinks are received by your network server.

Quick Reference Summary

Setting Value
Default Web UI http://192.168.1.1/login.html
Frequency Plan EU868
Radio 0 / Radio 1 867.5 MHz / 868.5 MHz
Channels 8 standard EU868 channels (867.1-868.5 MHz)
Forwarder Type Semtech (UDP)
Port Up / Port Down 1700 / 1700
Network Connection DHCP Client on eth0
Save Changes Save & Apply button at the bottom of each page

This covers the bare minimum to get a Milesight UG56 gateway on the network, broadcasting on EU868, and forwarding packets to a network server. Advanced tuning (custom channel plans, VLANs, cellular backhaul, VPN, firewall rules) can be layered on afterward as needed.


Tags: eu868gatewaylierdalnslorawanmilesight
Please log in to post a comment