# Pb running the packet forwarder from Lora-net

**URL:** <https://www.thethingsnetwork.org/forum/t/pb-running-the-packet-forwarder-from-lora-net/13322>\
**Category:** Raspberry Pi Gateways\
**Created:** [April 3, 2018, 2:36pm UTC](https://www.thethingsnetwork.org/forum/t/pb-running-the-packet-forwarder-from-lora-net/13322 "2018-04-03T14:36:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![thomasfuture](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/t/c0e974/32.png) [@thomasfuture](https://www.thethingsnetwork.org/forum/u/thomasfuture)\
**Post date:** [April 3, 2018, 2:36pm UTC](https://www.thethingsnetwork.org/forum/t/pb-running-the-packet-forwarder-from-lora-net/13322/1 "2018-04-03T14:36:16Z")

</div>

Hey,

I just started to work with lora, for the moment I have an endnode who send data to my network server, but now I want to send these data to the iot.semtech.cloud, so I need to install a packet forwarder in my gateway.  
I follow this instruction : [https://github.com/Lora-net/packet\_forwarder/wiki/Use-with-Raspberry-Pi](https://github.com/Lora-net/packet_forwarder/wiki/Use-with-Raspberry-Pi), enable spi driver, Compile SX1301 driver/HAL and packet\_forwarder.  
But when I want run the packet forwarder :

cd ~/packet\_forwarder/lora\_pkt\_fwd

./lora\_pkt\_fwd

I have this :

lora@lora-iot-sk /opt/lora-net/gateway/packet\_forwarder/lora\_pkt\_fwd $ ./lora\_pkt\_fwd  
\*\*\* Beacon Packet Forwarder for Lora Gateway \*\*\*  
Version: 4.0.1  
\*\*\* Lora concentrator HAL library version info \*\*\*  
Version: 5.0.1;

* * *

INFO: Little endian host  
INFO: found local configuration file local\_conf.json, parsing it  
INFO: local\_conf.json does not contain a JSON object named SX1301\_conf

It’s stop here in the lora\_pkt\_fwd.c :

/\* point to the gateway configuration object \*/  
conf\_obj = json\_object\_get\_object(json\_value\_get\_object(root\_val), conf\_obj\_name);  
if (conf\_obj == NULL) {  
MSG(“INFO: %s does not contain a JSON object named %s\n”, conf\_file, conf\_obj\_name);  
return -1;  
} else {  
MSG(“INFO: %s does contain a JSON object named %s, parsing SX1301 parameters\n”, conf\_file, conf\_obj\_name);  
}

- Does anyone know why conf\_obj == NULL ? Maybe I did something wrong with the update of local\_conf and global\_conf…

(Gateway : from the LoRa IoT starter pack (semtech) : SX1301 and my endnode it’s from St B-L072Z)

Than’s in advance,

Thomas.

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [April 4, 2018, 10:48am UTC](https://www.thethingsnetwork.org/forum/t/pb-running-the-packet-forwarder-from-lora-net/13322/2 "2018-04-04T10:48:17Z")

</div>

> [@thomasfuture](#):
>
> I want to send these data to the **iot.semtech.cloud**

you realise that you ask this question on the TTN forum ?

---

<div class="post-metadata">

**Author:** ![thomasfuture](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/t/c0e974/32.png) [@thomasfuture](https://www.thethingsnetwork.org/forum/u/thomasfuture)\
**Post date:** [April 4, 2018, 11:16am UTC](https://www.thethingsnetwork.org/forum/t/pb-running-the-packet-forwarder-from-lora-net/13322/3 "2018-04-04T11:16:29Z")

</div>

Yes, your community is very active (more than semtech), the packet\_forwarder of ttn and semtech are very close. I was just wondering if this had ever happened to anyone on this forum …
