Every time I try to setup the gateway I get an error “failed to start the concentrator”
Jul 21 23:43:34 raspberrypi systemd[1]: lrgateway.service: Scheduled restart job, restart counter is at 5.
Jul 21 23:43:34 raspberrypi systemd[1]: Stopped packet forwarder.
Jul 21 23:43:34 raspberrypi systemd[1]: Starting packet forwarder...
Jul 21 23:43:39 raspberrypi reset_pkt_fwd.sh[2084]: Gateway_ID set to b827ebfffe38e253 in file /home/pi/lora/packet_forwarder/lora_pkt_fwd/local_conf.json
Jul 21 23:43:39 raspberrypi systemd[1]: Started packet forwarder.
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: *** Beacon Packet Forwarder for Lora Gateway ***
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: Version: 4.0.1
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: *** Lora concentrator HAL library version info ***
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: Version: 5.0.1;
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: ***
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Little endian host
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: found global configuration file global_conf.json, parsing it
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: lorawan_public 1, clksrc 1
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: LBT is disabled
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: antenna_gain 0 dBi
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Configuring TX LUT with 16 indexes
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 129000
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0, tx_notch_freq 0
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: gateway MAC address is configured to AA555A0000000000
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: server hostname or IP address is configured to "localhost"
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: upstream port is configured to "1680"
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: downstream port is configured to "1680"
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: downstream keep-alive interval is configured to 10 seconds
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: statistics display interval is configured to 30 seconds
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: upstream PUSH_DATA time-out is configured to 100 ms
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: packets received with a valid CRC will be forwarded
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: packets received with a CRC error will NOT be forwarded
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: packets received with no CRC will NOT be forwarded
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: found local configuration file local_conf.json, parsing it
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: redefined parameters will overwrite global parameters
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: local_conf.json does not contain a JSON object named SX1301_conf
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: gateway MAC address is configured to B827EBFFFE38E253
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: packets received with a valid CRC will be forwarded
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: packets received with a CRC error will NOT be forwarded
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: INFO: packets received with no CRC will NOT be forwarded
Jul 21 23:43:39 raspberrypi lora_pkt_fwd[2110]: ERROR: [main] failed to start the concentrator
Jul 21 23:43:39 raspberrypi systemd[1]: lrgateway.service: Main process exited, code=exited, status=1/FAILURE
Jul 21 23:43:40 raspberrypi systemd[1]: lrgateway.service: Failed with result 'exit-code'.
Here is the history of the setup:
1 sudo raspi-config
2 sudo reboot
3 mkdir lora
4 cd lora
5 sudo apt-get update
6 sudo apt-get install git
7 git clone https://github.com/Lora-net/lora_gateway.git
8 # LoRa Gateway drivers
9 git clone https://github.com/Lora-net/packet_forwarder.git
10 # packet forwarding software
11 git clone https://github.com/HelTecAutomation/lorasdk.git
12 # This package will create a "lrgateway" service in Raspberry Pi
13 cd /home/pi/lora/lora_gateway
14 make clean all
15 cd /home/pi/lora/packet_forwarder
16 make clean all
17 cd /home/pi/lora/lorasdk
18 chmod +x install.sh
19 ./install.sh
20 journalctl -f -n 100 -u lrgateway
21 history
And also the USB will not work because there is an error in the picoGW packet forwarder preventing the install.
Some help would be greatly appreciated.