background image

V4.1.0R

27

RAK

7244

7.Connecting the Gateway to ChirpStack

ChirpStack

is an open source LoRa Server stack. RAKwireless Developer

Gateways have 2 methods for using ChirpStack.

7.1.Built-in ChirpStack

There is a built-in ChirpStack in every RAK Developer Gateway that comes
with the

Official RAKwireless Firmware

.

By default, after burning the firmware and accessing the Gateway for the first
time it is configured to use the Built-in ChirpStack as its LoRa Server. It is set
up to work in the EU863-870 band. Unless you are in aa region that uses this
band, you should change it.

In case you have used TTN and you now want to return to the Built-in
ChirpStack you can go back to Section 5.2, subsection 5.2.2 in order to go
through the steps of configuring ChirpStack again.

There is a Web-based UI that comes with the ChirpStack instance. Simply
open a browser and enter the LAN IP address:8080 of the LoRaWAN
Gateway’s (for the interface you are using to connect it to the network). Make
sure not to forget to use the 8080 port. The default username and password
are “

admin

”.

Everything should be pre-configured: Device profiles have been created, the
Gateway has been registered with the server, etc. If you go to the

Gateways

tab and click on

rak_gateway

, you should see the

Gateway details

page.

Summary of Contents for 7244

Page 1: ...Getting Started Guide for LoRaWANTM Developer Gateway RAK7244 Version V1 0 December 2019 www RAKwireless com Visit our website for more document...

Page 2: ...uency and the LoRa Server 12 5 2 1 Server is TTN 12 5 2 2 Server is ChirpStack 13 5 3 Connect the LoRaWAN Gateway to a router 15 5 3 1 Connect to a Router via Wi Fi 15 5 3 2 Connect to a Router via th...

Page 3: ...d reader and a PC Install a writing software on the PC which can be used to burn firmware onto the SD card for example you can use Etcher which can be download freely from here https www balena io etc...

Page 4: ...on the Wi Fi network list for example You can connect this Wi Fi SSID by using rakwireless as the default password The default IP address of the LoRaWAN Gateway s Wi Fi is 192 168 12 1 and your PC wi...

Page 5: ...e assume you are using Putty and connect with the LoRaWAN Gateway through Wi Fi AP mode which means the IP address is 192 168 230 1 as the following picture shows Note If you connect with the LoRaWAN...

Page 6: ...V4 1 0R 6 RAK7244 If there is a message to let you enter yes or no choose yes OK now you have logged into the LoRaWAN Gateway through SSH successfully...

Page 7: ...of Mac OS Launch the Terminal application which is found in Applications Utilities directory but you can also launch it from Spotlight by hitting Command Spacebar and typing Terminal and then return I...

Page 8: ...a Gateway the default password is raspberry Note If you connect your PC with the LoRa Gateway through Ethernet cable you should enter ssh pi 192 168 10 10 in this step OK you have logged into the LoRa...

Page 9: ...e the Regional Frequency which the Gateway will work on and the LoRa Server which the Gateway will work with Item 3 Open the global_conf json file which includes the detailed configuration parameters...

Page 10: ...teway ID EUI squared in red in the image above is an important parameter that you will need in order to register the device with a LoRa Server You can also get the Gateway EUI by entering the followin...

Page 11: ...s raspberry which is the same for all Raspberry Pi devices so it is considered a good practice to change it So choose 1 Set pi password as in the picture below After pressing Yes you need to enter a n...

Page 12: ...etup RAK Gateway LoRa concentrator You can choose one of two supported LoRa Servers here TTN or ChirpStack 5 2 1 Server is TTN If you choose TTN as the LoRa server you will see the page below where yo...

Page 13: ...Frequency Band Next you need to set an IP address of the ChirpStack which you want your LoRaWAN Gateway to work with The default IP address is 127 0 0 1 which means you will be using the built in LoR...

Page 14: ...V4 1 0R 14 RAK7244 If you have instead selected Option 2 you can enable disable the Adaptive Data Rate ADR functionality...

Page 15: ...e Wi Fi mode which the Gateway works in If you choose Item 1 it means that the Gateway will work in Wi Fi AP Mode after rebooting while the Wi Fi Client Mode will be disabled If you choose Item 2 it m...

Page 16: ...ur router s Wi Fi network credentials Remember that in order to enable Wi Fi Client Mode you have to first disable AP mode first you will otherwise see the notification below One Wi Fi AP Mode has bee...

Page 17: ...terface In the main configuration menu choose 8 Configure LAN This will let you set up a static IP address for the Gateway s Ethernet adapter In the page that follows you need to fill in the IP addres...

Page 18: ...P address This is going to act as the Internet Gateway address for the LoRaWAN Gateway You should get a message as the one below is all went without errors Now just reboot the Gateway and it will conn...

Page 19: ...ule In the following menu you will have 2 options Item 1 enables automatic connection on start up Item 2 disables automatic connection on start up Note By default the first option is active which mean...

Page 20: ...ing mode Next execute the AT command at cops to query all LTE networks in range You might have to wait a couple of seconds When done you can see some information similar to what is shown below Note Th...

Page 21: ...r Mtel for the EU example YYY is the last value of every operator choose the one with the 0 value as this is the currently used network Now let s take the EU example this time Now using the command as...

Page 22: ...s 115200 This finishes the LTE network configuration portion Now let us test the connection Execute the command sudo pppd call gprs There will be a long log most importantly however you should see the...

Page 23: ...Do not forget to re enable the automatic LTE connection on start up On now we are able to connect via one of the 3 interfaces Wi Fi Ethernet Cellular so let us proceed to some example on how to get so...

Page 24: ...s a server follow Section 5 2 subsection 5 2 1 In our example we are going to be using the EU863 870 band 6 2 Registering the Gateway in TTN Open the TTN website https www thethingsnetwork org and log...

Page 25: ...ues as the one shown in the Gateway Configuration Wizard see image below Make sure to select the I m using the legacy packet forwarder Description The is no strict format or uniqueness for this field...

Page 26: ...tional You should end up with something like the configuration in the following image Finalize by clicking on the Register Gateway button If the process was successful you will be redirected to the ov...

Page 27: ...s this band you should change it In case you have used TTN and you now want to return to the Built in ChirpStack you can go back to Section 5 2 subsection 5 2 2 in order to go through the steps of con...

Page 28: ...Stack instance by yourself Cloud service hosted or your own Hardware If you want to use RAK s cloud testing ChirpStack you can contact the RAKwireless team on the forums for support Deploying a remote...

Page 29: ...way firmware is a fully open project It can be downloaded from the GitHub repository Please contact us if you need technical support or want to know more about our products using the links below Suppo...

Page 30: ...About RAKwireless RAKwireless is a pioneer in providing innovative and diverse Cellular and LoRaWAN connectivity solutions for both Edge and Gateway IoT devices We believe that through easy to use an...

Reviews: