background image

V4.1.0R

5

RAK

7244

4.Logging into the Gateway through SSH

There are 3 possible cases depending on the OS you are using:

4.1.Windows

Open the SSH tool on your PC (in this document, we 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 Gateway through an Ethernet cable,
the IP address of should be 192.168.10.10.

Next enter the username and password:

The default username is “pi”, and the default password is “raspberry”.

Содержание 7244

Страница 1: ...Getting Started Guide for LoRaWANTM Developer Gateway RAK7244 Version V1 0 December 2019 www RAKwireless com Visit our website for more document...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 14: ...V4 1 0R 14 RAK7244 If you have instead selected Option 2 you can enable disable the Adaptive Data Rate ADR functionality...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: