Jac,
I’ve recreated it on resin.io ; ineed a production image
- The overlay i’ve used is pi3-disable-bt
- And then enable uart
After that the device file /dev/sttyAMA0 is talking NMEA
And the packet forwarder is starting. And uses the GPS!
Thanks!
Jac,
I’ve recreated it on resin.io ; ineed a production image
After that the device file /dev/sttyAMA0 is talking NMEA
And the packet forwarder is starting. And uses the GPS!
Thanks!
Thanks very much
this worked well for me.
just a little problem. i need to do this every time that i reboot my pi.
i tried to modify the rc.local, it didnt work.
is there any way to save these changes?
Hello Everyone.
I have the same problem: “main failed to start the concentrator”.
The message appeared after I power supplied Raspberry with insufficient current, can it be related? In the following the logs. Thank you in advance to anyone who can help me!
May 2 19:51:09 B827EBFFFEEDDFFF ttn-gateway[330]: INFO: Successfully contacted server router.eu.thethings.network
May 2 19:51:09 B827EBFFFEEDDFFF ttn-gateway[330]: INFO: [main] Starting the concentrator
May 2 19:51:09 B827EBFFFEEDDFFF ttn-gateway[330]: ERROR: [main] failed to start the concentrator
May 2 19:51:09 B827EBFFFEEDDFFF systemd[1]: ttn-gateway.service: Main process exited, code=exited, status=1/FAILURE
May 2 19:51:09 B827EBFFFEEDDFFF systemd[1]: ttn-gateway.service: Unit entered failed state.
May 2 19:51:09 B827EBFFFEEDDFFF systemd[1]: ttn-gateway.service: Failed with result ‘exit-code’.
May 2 19:51:15 B827EBFFFEEDDFFF systemd[1]: ttn-gateway.service: Service hold-off time over, scheduling restart.
May 2 19:51:15 B827EBFFFEEDDFFF systemd[1]: Stopped The Things Network Gateway.
May 2 19:51:15 B827EBFFFEEDDFFF systemd[1]: Started The Things Network Gateway.
May 2 19:51:15 B827EBFFFEEDDFFF ttn-gateway[627]: /opt/ttn-gateway/gateway-remote-config /opt/ttn-gateway/bin
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: Already up-to-date.
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: HEAD is now at c7caf0a Merge pull request #1285 from bakoad/patch-3
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: /opt/ttn-gateway/bin
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: [TTN Gateway]: Use Gateway EUI B827EBFFFEEDDFFF based on eth0
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: *** Poly Packet Forwarder for Lora Gateway ***
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: Version: 2.1.0
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: *** Lora concentrator HAL library version info ***
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: Version: 3.1.0; Options: native;
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: ***
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Little endian host
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: found global configuration file global_conf.json, parsing it
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: lorawan_public 1, clksrc 1
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Configuring TX LUT with 16 indexes
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: gateway MAC address is configured to AA555A0000000000
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Found 2 servers in array.
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Server 0 configured to “127.0.0.1”, with port up “1680” and port down “1681”
May 2 19:51:17 B827EBFFFEEDDFFF ttn-gateway[627]: INFO: Server 1 configured to
This is usually caused by a missing reset signal to the RAK831.