documentation

Find the Gateway ID

The instructions for finding the Gateway ID vary depending on whether the gateway you are using is running ChirpStack Gateway OS, ChirpStack Gateway Bridge, or LoRa Basics Station. Follow the instructions below for your implementation.

Find the Gateway ID on a Gateway Running LoRa Basics Station

There are two methods for finding your gateway ID in LoRa Basics Station:

  • Check your gateway documentation, which will tell you where to find the gateway ID. It may be referred to as the Station EUI or the routerid. We refer to this later as GATEWAY_ID.
  • If you can use SSH to access the gateway, issue the command to run the Basic Station software, and the Station EUI will be logged out to your console as highlighted:

SSH Output of Gateway ID

Figure 1: SSH Output of Gateway ID (Station ID)

The Station EUI has colons (‘:’ symbols). In the example above, the Station EUI is b827:ebff:fee2:34c6. Copy the Station EUI without the colons. For example:

b827:ebff:fee2:34c6

becomes:

b827ebfffee234c6

We refer to this later as GATEWAY_ID.

Find the Gateway ID on a Gateway Running Semtech UDP Packet Forwarder

If you are using the Semtech UDP packet forwarder, the Gateway ID can be found in the global_conf.json file and/or the local_conf.json file, under the gateway_ID configuration key. (If the gateway comes with a packet forwarder implementation that is compatible with the Semtech UDP packet forwarder, refer to the documentation provided by the gateway vendor.)

Find the Gateway ID on a Gateway Running ChirpStack Gateway OS

The Gateway ID is easy to find on ChirpStack Gateway OS. Just follow these instructions:

  1. Find the IP address of the device running ChirpStack Gateway OS using a tool such as AngryIP or Fing.
  1. Log into the device running ChirpStack Gateway OS via SSH or PuTTY, for example:

ssh [email protected]_ADDRESS_FOUND

  1. Enter the following command:

$ sudo gateway-config

  1. Enter the admin password at the prompt:

admin

  1. The Configuration menu displays, along with the Gateway ID, as shown:

ChirpStack Gateway OS Configuration Menu

Figure 2: ChirpStack Gateway OS Configuration Menu