[Solved] IC880A Status not connected

@BoRRoZ

pic4

sudo tcpdump -AUq port 1700 -v
sudo tail -f /var/log/syslog

pic5

pic6

pi@ttn-gateway:~ $ sudo tail -f /var/log/syslog

Jun 4 12:32:08 ttn-gateway ttn-gateway[3789]: INFO: Description configured to "IC880A-SPI + RPI3 B+"

Jun 4 12:32:08 ttn-gateway ttn-gateway[3789]: INFO: Successfully contacted server router.eu.thethings.network

Jun 4 12:32:08 ttn-gateway ttn-gateway[3789]: INFO: [main] Starting the concentrator

Jun 4 12:32:08 ttn-gateway ttn-gateway[3789]: ERROR: [main] failed to start the concentrator

Jun 4 12:32:08 ttn-gateway systemd[1]: ttn-gateway.service: Unit entered failed state.

Jun 4 12:32:08 ttn-gateway systemd[1]: ttn-gateway.service: Failed with result ‘exit-code’.

Jun 4 12:32:13 ttn-gateway systemd[1]: ttn-gateway.service: Service hold-off time over, scheduling restart.

Jun 4 12:32:13 ttn-gateway systemd[1]: Stopped The Things Network Gateway.

Jun 4 12:32:13 ttn-gateway systemd[1]: Started The Things Network Gateway.

Jun 4 12:32:13 ttn-gateway ttn-gateway[3830]: /opt/ttn-gateway/gateway-remote-config /opt/ttn-gateway/bin

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: Already up-to-date.

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: HEAD is now at dc922da Merge pull request #1325 from luctse/master

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: /opt/ttn-gateway/bin

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: [TTN Gateway]: Use Gateway EUI B827EBFFFECF827B based on eth0

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: *** Poly Packet Forwarder for Lora Gateway ***

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: Version: 2.1.0

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: *** Lora concentrator HAL library version info ***

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: Version: 3.1.0; Options: native;

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: ***

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Little endian host

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: found global configuration file global_conf.json, parsing it

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: lorawan_public 1, clksrc 1

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Configuring TX LUT with 16 indexes

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: radio 0 enabled (type SX1257), center frequency 867500000, RSSI offset -166.000000, tx enabled 1

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: radio 1 enabled (type SX1257), center frequency 868500000, RSSI offset -166.000000, tx enabled 0

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Lora multi-SF channel 0> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Lora multi-SF channel 1> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Lora multi-SF channel 2> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Lora multi-SF channel 3> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Lora multi-SF channel 4> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Lora multi-SF channel 5> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Lora multi-SF channel 6> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Lora multi-SF channel 7> radio 0, IF 400000 Hz, 125 kHz bw, SF 7 to 12

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Lora std channel> radio 1, IF -200000 Hz, 250000 Hz bw, SF 7

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: FSK channel> radio 1, IF 300000 Hz, 125000 Hz bw, 50000 bps datarate

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: gateway MAC address is configured to AA555A0000000000

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Found 2 servers in array.

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Server 0 configured to "127.0.0.1", with port up "1680" and port down "1681"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Server 1 configured to "iot.semtech.com", with port up "1680" and port down "1680"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Found 5 system calls in array.

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: System command 0: "df -m"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: System command 1: "free -h"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: System command 2: "uptime"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: System command 3: "who -a"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: System command 4: "uname -a"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: monitor hostname or IP address is configured to "127.0.0.1"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: monitor port is configured to "2008"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: ghost hostname or IP address is configured to "127.0.0.1"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: ghost port is configured to "1918"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: downstream keep-alive interval is configured to 10 seconds

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: statistics display interval is configured to 30 seconds

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: upstream PUSH_DATA time-out is configured to 100 ms

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: packets received with a valid CRC will be forwarded

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: packets received with a CRC error will NOT be forwarded

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: packets received with no CRC will NOT be forwarded

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: GPS serial port path is configured to "/dev/ttyAMA0"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: SSH path is configured to "/usr/bin/ssh"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: SSH port is configured to 22

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: HTTP port is configured to 80

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: NGROK path is configured to "/usr/bin/ngrok"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Reference latitude is configured to 10.000000 deg

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Reference longitude is configured to 20.000000 deg

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Reference altitude is configured to -1 meters

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: GPS is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Using fake GPS coordinates instead of real.

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: antenna_gain 0 dBi

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Upstream data is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Downstream data is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Ghoststream data is disabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Radiostream data is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Statusstream data is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Beacon is disabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Monitor is disabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Platform configured to "IMST + Rpi"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Contact email configured to *

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Description configured to "Update me"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: found local configuration file local_conf.json, parsing it

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: redefined parameters will overwrite global parameters

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: local_conf.json does not contain a JSON object named SX1301_conf

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: gateway MAC address is configured to B827EBFFFECF827B

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Found 1 servers in array.

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Server 0 configured to "router.eu.thethings.network", with port up "1700" and port down "1700"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: packets received with a valid CRC will be forwarded

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: packets received with a CRC error will NOT be forwarded

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: packets received with no CRC will NOT be forwarded

Jun 4 12:32:15 ttn-gateway systemd[1]: ttn-gateway.service: Main process exited, code=exited, status=1/FAILURE

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Reference latitude is configured to 36.779545 deg

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Reference longitude is configured to 10.277054 deg

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Reference altitude is configured to 1 meters

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: GPS is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: antenna_gain 0 dBi

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Upstream data is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Downstream data is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Ghoststream data is disabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Radiostream data is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Statusstream data is enabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Beacon is disabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Monitor is disabled

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Contact email configured to

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Description configured to "IC880A-SPI + RPI3 B+"

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: Successfully contacted server router.eu.thethings.network

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: INFO: [main] Starting the concentrator

Jun 4 12:32:15 ttn-gateway ttn-gateway[3830]: ERROR: [main] failed to start the concentrator

Jun 4 12:32:15 ttn-gateway systemd[1]: ttn-gateway.service: Unit entered failed state.

Jun 4 12:32:15 ttn-gateway systemd[1]: ttn-gateway.service: Failed with result ‘exit-code’.

ok… what you can see it that it takes a few restarts to start the packetforwarder… that’s ’ normal :wink:

but what wrong is the … hmmm no

:joy::joy::joy::joy: okay Sir see you :stuck_out_tongue::stuck_out_tongue::stuck_out_tongue: and thank you for your help :stuck_out_tongue::stuck_out_tongue::stuck_out_tongue:

pic7

pic8

Is this the file ?

I’m still here… difficult to leave, many things going on here.

anyway, yes that’s the file but that one is ok.

this command you must leave running for a while of course… see if any node data can be captured… sudo tcpdump -AUq port 1700 -v

So what’s wrong :cry::cry::cry::cry::sob::sob::sob:

The command sudo tcpdump -AUq port 1700 -v , how much of time let it ? i had let it 10 minutes but no answer :sob::sob::sob::sob::sob::sob:

pic5

  • how do you power your RPI + IMST board, could also be a insufficient current prob ?
  • at what pin did you configure the reset for the imst board
  • can you do a sudo gpioall

Hi @Skmark,

It looks to me like the software is running correctly but can’t find the concentrator (the ic880a).

Have the got the following in /boot/config.txt ?
dtparam=spi=on
This activates the SPI bus on the RPi.

Have you added the reset pin option in the file /lib/systemd/system/ttn-packet-forwarder.service ?
ExecStart=/usr/local/bin/packet-forwarder --reset-pin 25 --config /root/.pktfwd.yml start
This sets the reset pin from the software default to be 25.

If you need to change either of these then please reboot the RPi afterwards.

Yes the SPI is Enabled Screenshot_20190604-162910

@BoRRoZ my Charger Have a 3A current i don’t think is insufficient

pic9

Guys it work Thanks for Help :grin::grin::grin::grin:Gateway

changed the reset pin and / or rebooted a few times ?

i changed all the cable and it work

I Have an other Problem why in my profile i see 0 gateways ? But in console i have 1 ?

pic10

pic11

yes there is a slight delay… let it run a couple of hours (days)

btw… adjust your altitude
do you have a node yourself ? … looks like there are not many around you to test your gateway

Why in ("" Last seen “”) it counts from 2 up to 32 seconds after it comes back to count from 2 is it normal ?

image

its updated every 30 seconds

1 Like