Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: [main] failed to start the concentrator #33

Closed
safurniss opened this issue Feb 14, 2018 · 12 comments

Comments

@safurniss
Copy link

commented Feb 14, 2018

I've just received my IC880a gateway module and built it following the guide at https://github.com/ttn-zh/ic880a-gateway/wiki.

I'm running the latest Raspbian Stretch Lite build and the Pi connects by LAN cable.

The Pi is a model B2, power is povided by a 5V 2.5A usb power official power supply.

I have tripple checked all of the jumper connections and they match the pin-out from the article.

However I don't see my gateway as connected in the TTN dashboard.

I've run the following commands to try and troubleshoot the issue:-

ttn@ttn-gateway:~ $ service ttn-gateway status
● ttn-gateway.service - The Things Network Gateway
Loaded: loaded (/lib/systemd/system/ttn-gateway.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-02-14 22:10:27 GMT; 343ms ago
Main PID: 4665 (start.sh)
CGroup: /system.slice/ttn-gateway.service
├─4665 /bin/bash /opt/ttn-gateway/bin/start.sh
└─4676 sleep 0.1

ttn@ttn-gateway:~ $ service ttn-gateway status
● ttn-gateway.service - The Things Network Gateway
Loaded: loaded (/lib/systemd/system/ttn-gateway.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Thu 2018-02-15 09:34:05 GMT; 751ms ago
Process: 5875 ExecStart=/opt/ttn-gateway/bin/start.sh (code=exited, status=1/FAILURE)
Main PID: 5875 (code=exited, status=1/FAILURE)

ttn@ttn-gateway:~ $ sudo tail -f /var/log/syslog
Feb 14 22:12:21 ttn-gateway ttn-gateway[5287]: INFO: Statusstream data is enabled
Feb 14 22:12:21 ttn-gateway ttn-gateway[5287]: INFO: Beacon is disabled
Feb 14 22:12:21 ttn-gateway ttn-gateway[5287]: INFO: Monitor is disabled
Feb 14 22:12:21 ttn-gateway ttn-gateway[5287]: INFO: Contact email configured to "MY_EMAIL_ADDRESS"
Feb 14 22:12:21 ttn-gateway ttn-gateway[5287]: INFO: Description configured to "TTN"
Feb 14 22:12:21 ttn-gateway ttn-gateway[5287]: INFO: Successfully contacted server router.eu.thethings.network
Feb 14 22:12:21 ttn-gateway ttn-gateway[5287]: INFO: [main] Starting the concentrator
Feb 14 22:12:21 ttn-gateway ttn-gateway[5287]: ERROR: [main] failed to start the concentrator
Feb 14 22:12:21 ttn-gateway systemd[1]: ttn-gateway.service: Unit entered failed state.
Feb 14 22:12:21 ttn-gateway systemd[1]: ttn-gateway.service: Failed with result 'exit-code'.
Feb 14 22:12:26 ttn-gateway systemd[1]: ttn-gateway.service: Service hold-off time over, scheduling restart.
Feb 14 22:12:26 ttn-gateway systemd[1]: Stopped The Things Network Gateway.
Feb 14 22:12:26 ttn-gateway systemd[1]: Started The Things Network Gateway.
Feb 14 22:12:27 ttn-gateway ttn-gateway[5333]: /opt/ttn-gateway/gateway-remote-config /opt/ttn-gateway/bin
Feb 14 22:12:28 ttn-gateway ttn-gateway[5333]: Already up-to-date.
Feb 14 22:12:28 ttn-gateway ttn-gateway[5333]: HEAD is now at 8fd2594 Merge pull request #568 from zara-lab/master
Feb 14 22:12:28 ttn-gateway ttn-gateway[5333]: /opt/ttn-gateway/bin
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: [TTN Gateway]: Use Gateway EUI B827EBFFFE7CB189 based on eth0
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: *** Poly Packet Forwarder for Lora Gateway ***
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: Version: 2.1.0
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: *** Lora concentrator HAL library version info ***
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: Version: 3.1.0; Options: native;
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: ***
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Little endian host
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: found global configuration file global_conf.json, parsing it
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: lorawan_public 1, clksrc 1
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Configuring TX LUT with 16 indexes
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: gateway MAC address is configured to AA555A0000000000
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Found 2 servers in array.
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Server 0 configured to "127.0.0.1", with port up "1680" and port down "1681"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Server 1 configured to "iot.semtech.com", with port up "1680" and port down "1680"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Found 5 system calls in array.
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: System command 0: "df -m"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: System command 1: "free -h"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: System command 2: "uptime"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: System command 3: "who -a"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: System command 4: "uname -a"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: monitor hostname or IP address is configured to "127.0.0.1"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: monitor port is configured to "2008"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: ghost hostname or IP address is configured to "127.0.0.1"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: ghost port is configured to "1918"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: downstream keep-alive interval is configured to 10 seconds
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: statistics display interval is configured to 30 seconds
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: upstream PUSH_DATA time-out is configured to 100 ms
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: packets received with a valid CRC will be forwarded
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: packets received with a CRC error will NOT be forwarded
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: packets received with no CRC will NOT be forwarded
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: GPS serial port path is configured to "/dev/ttyAMA0"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: SSH path is configured to "/usr/bin/ssh"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: SSH port is configured to 22
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: HTTP port is configured to 80
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: NGROK path is configured to "/usr/bin/ngrok"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Reference latitude is configured to 10.000000 deg
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Reference longitude is configured to 20.000000 deg
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Reference altitude is configured to -1 meters
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: GPS is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Using fake GPS coordinates instead of real.
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: antenna_gain 0 dBi
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Upstream data is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Downstream data is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Ghoststream data is disabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Radiostream data is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Statusstream data is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Beacon is disabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Monitor is disabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Platform configured to "IMST + Rpi"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Contact email configured to "operator@gateway.tst"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Description configured to "Update me"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: found local configuration file local_conf.json, parsing it
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: redefined parameters will overwrite global parameters
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: local_conf.json does not contain a JSON object named SX1301_conf
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: gateway MAC address is configured to B827EBFFFE7CB189
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Found 1 servers in array.
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Server 0 configured to "router.eu.thethings.network", with port up "1700" and port down "1700"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: packets received with a valid CRC will be forwarded
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: packets received with a CRC error will NOT be forwarded
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: packets received with no CRC will NOT be forwarded
Feb 14 22:12:29 ttn-gateway systemd[1]: ttn-gateway.service: Main process exited, code=exited, status=1/FAILURE
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Reference latitude is configured to 53.566631 deg
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Reference longitude is configured to -1.532979 deg
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Reference altitude is configured to 115 meters
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: GPS is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: antenna_gain 0 dBi
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Upstream data is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Downstream data is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Ghoststream data is disabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Radiostream data is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Statusstream data is enabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Beacon is disabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Monitor is disabled
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Contact email configured to "MY_EMAIL_ADDRESS"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Description configured to "TTN"
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: Successfully contacted server router.eu.thethings.network
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: [main] Starting the concentrator
Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: ERROR: [main] failed to start the concentrator
Feb 14 22:12:29 ttn-gateway systemd[1]: ttn-gateway.service: Unit entered failed state.
Feb 14 22:12:29 ttn-gateway systemd[1]: ttn-gateway.service: Failed with result 'exit-code'.

Do you have any suggestions on what I should check?

Regards

Steve

@gonzalocasas

This comment has been minimized.

Copy link
Member

commented Feb 15, 2018

mmmm... hard to tell, maybe a silly question but, did you check if SPI is enabled?

@safurniss

This comment has been minimized.

Copy link
Author

commented Feb 16, 2018

Hi, yes SPI is enabled....... I have just swapped the Pi2 for a different Pi2 and did a fresh install using the local file not the remote file that was used in the previous install.... all is now working correctly.....

I've submitted a new remote .json file for the new Pi2 and will look at restarting once it has been committed to the repository to see if it was anything to do with that.... also will look at testing the other Pi2 that I couldn't get it working on to see if that was the problem.

@gonzalocasas

This comment has been minimized.

Copy link
Member

commented Feb 16, 2018

@MartinLavicka

This comment has been minimized.

Copy link

commented May 24, 2018

I connected reset (pin13) to pin11 on Raspberry pi 3 (GPIO0).
edit: The wires were badly connected.

@gonzalocasas

This comment has been minimized.

Copy link
Member

commented May 24, 2018

@MartinLavicka why? Unless you want to manually change the installer, the instructions indicate using pin 22 for reset (BCM 25): https://github.com/ttn-zh/ic880a-gateway/wiki

@Outfardine

This comment has been minimized.

Copy link

commented Jul 6, 2018

hi @safurniss, please i'm dealing with the same problem. can you tell me what should i do ?!

@gonzalocasas

This comment has been minimized.

Copy link
Member

commented Jul 6, 2018

This error message only says that the Raspberry Pi cannot connect to the concentrator board, you have to provide additional details to understand what is your concrete problem. Maybe SPI is disabled, maybe your power supply is too weak for the boards, maybe you selected remote config but didn't have the remote config file pushed to the repository....

@Outfardine

This comment has been minimized.

Copy link

commented Jul 7, 2018

@Taher1322

This comment has been minimized.

Copy link

commented Jan 8, 2019

This error message only says that the Raspberry Pi cannot connect to the concentrator board, you have to provide additional details to understand what is your concrete problem. Maybe SPI is disabled, maybe your power supply is too weak for the boards, maybe you selected remote config but didn't have the remote config file pushed to the repository....

I am using 5V,1.6A adapter, my remote config file is pushed to the repository, I have edited the reset code into my start.sh file, my SPI is enabled as well.

#! /bin/bash

Reset iC880a PIN

SX1301_RESET_BOARD_PIN=22
echo "$SX1301_RESET_BOARD_PIN_22" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio$SX1301_RESET_BOARD_PIN_22/direction
echo "0" > /sys/class/gpio/gpio$SX1301_RESET_BOARD_PIN_22/value
sleep 0.1
echo "1" > /sys/class/gpio/gpio$SX1301_RESET_BOARD_PIN_22/value
sleep 0.1
echo "0" > /sys/class/gpio/gpio$SX1301_RESET_BOARD_PIN_22/value
sleep 0.1
echo "$SX1301_RESET_BOARD_PIN_22" > /sys/class/gpio/unexport

Test the connection, wait if needed.

After restating it, and checking the gateway status by running
sudo service ttn-gateway status

I get
● ttn-gateway.service - The Things Network Gateway
Loaded: loaded (/lib/systemd/system/ttn-gateway.service; enabled; vendor pres
Active: active (running) since Tue 2019-01-08 09:40:48 GMT; 1s ago
Main PID: 1610 (start.sh)
CGroup: /system.slice/ttn-gateway.service
├─1610 /bin/bash /opt/ttn-gateway/bin/start.sh
├─1614 git pull
├─1615 git fetch --update-head-ok
└─1616 git-remote-https origin https://github.com/ttn-zh/gateway-remo

Jan 08 09:40:48 ttn-gateway systemd[1]: Started The Things Network Gateway.
Jan 08 09:40:48 ttn-gateway ttn-gateway[1610]: /opt/ttn-gateway/gateway-remote-c
lines 1-12/12 (END)

When i run sudo tail -f /var/log/syslog

I get failed to connect to concentrator.

the status on ttn i still non connected.

Please help me with this issue..

@waynemcl

This comment has been minimized.

Copy link

commented Apr 7, 2019

Is the line "Feb 14 22:12:29 ttn-gateway ttn-gateway[5333]: INFO: local_conf.json does not contain a JSON object named SX1301_conf" an issue for you?

@alexxtasi

This comment has been minimized.

Copy link

commented May 23, 2019

Hi all
same problem with my gateway...

  • having followed the instructions
  • having SPI enabled
  • running sudo ./install.sh spi
  • I don't use a remote setting file so I provide hostname etc, answering script's questions
    the script perform RPi restart and after that, the ttn-gateway.service results in :
● ttn-gateway.service - The Things Network Gateway
   Loaded: loaded (/lib/systemd/system/ttn-gateway.service; enabled; vendor preset: enabled)
   Active: activating (auto-restart) (Result: exit-code) since Thu 2019-05-23 23:26:05 EEST; 3s ago
  Process: 5393 ExecStart=/opt/ttn-gateway/bin/start.sh (code=exited, status=1/FAILURE)
 Main PID: 5393 (code=exited, status=1/FAILURE)

May 23 23:26:05 customHostname ttn-gateway[5393]: INFO: Beacon is disabled
May 23 23:26:05 customHostname ttn-gateway[5393]: INFO: Monitor is disabled
May 23 23:26:05 customHostname ttn-gateway[5393]: INFO: Contact email configured to "my@email"
May 23 23:26:05 customHostname ttn-gateway[5393]: INFO: Description configured to "customHostname"
May 23 23:26:05 customHostname ttn-gateway[5393]: INFO: Successfully contacted server router.eu.thethings.network
May 23 23:26:05 customHostname ttn-gateway[5393]: INFO: [main] Starting the concentrator
May 23 23:26:05 customHostname ttn-gateway[5393]: ERROR: [main] failed to start the concentrator
May 23 23:26:05 customHostname systemd[1]: ttn-gateway.service: Main process exited, code=exited, status=1/FAILURE
May 23 23:26:05 customHostname systemd[1]: ttn-gateway.service: Unit entered failed state.
May 23 23:26:05 customHostname systemd[1]: ttn-gateway.service: Failed with result 'exit-code'.

this comes again and again after restarting the service or even RPi !!!

/var/log/syslog shows :

May 23 23:18:01 customHostname systemd[1]: ttn-gateway.service: Service hold-off time over, scheduling restart.
May 23 23:18:01 customHostname systemd[1]: Stopped The Things Network Gateway.
May 23 23:18:01 customHostname systemd[1]: Started The Things Network Gateway.
May 23 23:18:01 customHostname ttn-gateway[3505]: *** Poly Packet Forwarder for Lora Gateway ***
May 23 23:18:01 customHostname ttn-gateway[3505]: Version: 2.1.0
May 23 23:18:01 customHostname ttn-gateway[3505]: *** Lora concentrator HAL library version info ***
May 23 23:18:01 customHostname ttn-gateway[3505]: Version: 3.1.0; Options: native;
May 23 23:18:01 customHostname ttn-gateway[3505]: ***
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Little endian host
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: found global configuration file global_conf.json, parsing it
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: lorawan_public 1, clksrc 1
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Configuring TX LUT with 16 indexes
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Lora multi-SF channel 0>  radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Lora multi-SF channel 1>  radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Lora multi-SF channel 2>  radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Lora multi-SF channel 3>  radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Lora multi-SF channel 4>  radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Lora multi-SF channel 5>  radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Lora multi-SF channel 6>  radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Lora multi-SF channel 7>  radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: gateway MAC address is configured to AA555A0000000000
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Found 2 servers in array.
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Server 0 configured to "127.0.0.1", with port up "1680" and port down "1681"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Server 1 configured to "iot.semtech.com", with port up "1680" and port down "1680"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Found 5 system calls in array.
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: System command 0: "df -m"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: System command 1: "free -h"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: System command 2: "uptime"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: System command 3: "who -a"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: System command 4: "uname -a"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: monitor hostname or IP address is configured to "127.0.0.1"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: monitor port is configured to "2008"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: ghost hostname or IP address is configured to "127.0.0.1"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: ghost port is configured to "1918"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: downstream keep-alive interval is configured to 10 seconds
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: statistics display interval is configured to 30 seconds
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: upstream PUSH_DATA time-out is configured to 100 ms
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: packets received with a valid CRC will be forwarded
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: packets received with a CRC error will NOT be forwarded
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: packets received with no CRC will NOT be forwarded
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: GPS serial port path is configured to "/dev/ttyAMA0"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: SSH path is configured to "/usr/bin/ssh"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: SSH port is configured to 22
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: HTTP port is configured to 80
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: NGROK path is configured to "/usr/bin/ngrok"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Reference latitude is configured to 10.000000 deg
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Reference longitude is configured to 20.000000 deg
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Reference altitude is configured to -1 meters
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: GPS is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Using fake GPS coordinates instead of real.
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: antenna_gain 0 dBi
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Upstream data is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Downstream data is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Ghoststream data is disabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Radiostream data is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Statusstream data is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Beacon is disabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Monitor is disabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Platform configured to "IMST + Rpi"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Contact email configured to "operator@gateway.tst"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Description configured to "Update me"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: found local configuration file local_conf.json, parsing it
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: redefined parameters will overwrite global parameters
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: local_conf.json does not contain a JSON object named SX1301_conf
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: gateway MAC address is configured to B827EBFFFEEE814F
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Found 1 servers in array.
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Server 0 configured to "router.eu.thethings.network", with port up "1700" and port down "1700"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: packets received with a valid CRC will be forwarded
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: packets received with a CRC error will NOT be forwarded
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: packets received with no CRC will NOT be forwarded
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Reference latitude is configured to 0.000000 deg
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Reference longitude is configured to 0.000000 deg
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Reference altitude is configured to 0 meters
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: GPS is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: antenna_gain 0 dBi
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Upstream data is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Downstream data is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Ghoststream data is disabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Radiostream data is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Statusstream data is enabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Beacon is disabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Monitor is disabled
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Contact email configured to "my@email"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Description configured to "customHostname"
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: Successfully contacted server router.eu.thethings.network
May 23 23:18:01 customHostname ttn-gateway[3505]: INFO: [main] Starting the concentrator
May 23 23:18:01 customHostname ttn-gateway[3505]: ERROR: [main] failed to start the concentrator
May 23 23:18:01 customHostname systemd[1]: ttn-gateway.service: Main process exited, code=exited, status=1/FAILURE
May 23 23:18:01 customHostname systemd[1]: ttn-gateway.service: Unit entered failed state.
May 23 23:18:01 customHostname systemd[1]: ttn-gateway.service: Failed with result 'exit-code'.

any suggestions on what the problem is ??

regards

@gonzalocasas

This comment has been minimized.

Copy link
Member

commented May 23, 2019

The message means the RPi cannot communicate with the iC880a. The root cause can be a lot of things: 1) the wiring might be wrong (if you are using jumper wires, this is very often the case, even if you double checked), 2) the power supply is not sufficient (make sure you have a 2A unit at least, and of a good manufacturer), 3) the hardware might have a defect...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.