When we want to configure our gateway, we first need to select the packet forwarder what we want to use. 1
We usually don't have a lot of choice because the gateway may not support all packet forwarder. 2
And on the other side, the network server also doesn't support all packet forwarder . 3
Once we've chosen the most appropriate packet forwarder, we need to install it on the gateway. All packet 4
forwarder designers provide information to manage this process. 5
For example, if you've chosen a Loriot packet forwarder, then you need to go on their website to follow 6
the procedure to install the software. 7
On this page, 8
for example, they provide the instructions for Kerlink iFemtocell gateway and we'll have to follow 9
the steps described in this section. 10
And for the same Kerlink iFemtocell gateway, if you want to use or to connect your gateway on 11
Actility network server, then again, you need to go on the network server website and they will 12
provide a way to set up the packet forwarder. 13
In that case, you can download the new gateway firmware to connect Thingpark, which is the Actility's 14
network server. 15
Okay. 16
But for our lecture, we'll often use the most common and probably the easiest packet forwarder to configure. 17
Indeed, it's pretty convenient to make the demonstration with the original Semtech packet forwarder 18
because it's supported by almost all network servers. And most of the time this packet forwarder is also 19
active by default on the gateways. 20
So even if we will show you later in this course a demonstration with other packet forwarder, we just 21
let you know that most of the configuration demonstration will be made with the original Semtech 22
packet forwarder. 23
Okay, so now what are the two important information we need to enter? 24
First, it's the IP address of the network server, 25
then the UDP port. 26
These can be done in several ways, depending on the gateway you have. 27
Some gateways have a small web service and we can connect to our gateway with our computer, thanks 28
to a classic web page. 29
Here is an example of an indoor gateway from Strataggem. 30
I just need to push a small button to enter the web service. 31
Then I can even use the gateway name in the URL to access the website. 32
I just need to change these four characters to specify my own hardware. 33
Or if I wanted, I could have used the gateway IP address if it was more convenient. 34
And anyway, we end up on the configuration web page and in this corresponding section here, there 35
is the LoRaWAN configuration. 36
We have fields where we can enter the IP address of the network server. 37
We can even use the network server URL if the gateway uses a DNS server. 38
And of course, there is also the fields for the port numbers. Right? 39
That was the first kind of gateway configuration. 40
Another method is often to connect to the gateway with an ssh client. 41
Once connected, there will be either a command or a file to modify to change the name of the targeted 42
network server. 43
Let's try an example with an indoor Kerlink iFemtocell gateway. 44
I'm connected with my client and in the prompt here is the command to modify the targeted network server. 45
Finally, a third possibility is to connect to the gateway with a serial link. 46
For that, we need to use a serial terminal and to send the right command. 47
Here. 48
I've got an 1832 nuclear gateway for this hardware. 49
We have to send a specific command provided in the documentation. 50
By default, we can see that the network server configured is Loriot with port number 1780. 51
And with this gateway, if we want to charge the server, I need to use the following command. 52
AT+PKTFWD= the IP address of the network server. 53
Then we enter the port number we want. 54
If we reset the gateway, we can see that it's been saved with the right network server. 55
In this example TTN. I'm done with the gateway configuration so we can carry on with the second step, 56
which is the gateway registration on the network server.