[Solved] IC880A Status not connected

Hello guys I have RPi 3 + ic880a gateway. On console it shows it is not connected. I did all the steps and my EUI code is registered in the Gateway Remote Config repository what’s the problem guys can you give me some command line to verify the connexion status and thank you for your helpScreenshot_20190604-091335 Screenshot_20190604-091358

is your SPI interface enabled ?

sudo raspi-config

Yes i Enabled

the device has a working internet connection and you’ve runned the install script

I didn’t understand what’s the install script ? but the device is connected to working internet

what steps did you take and from which tutorial ?

Those steps from GitHub Sir :

this step is important

  $ git clone -b spi https://github.com/ttn-zh/ic880a-gateway.git ~/ic880a-gateway
  $ cd ~/ic880a-gateway
  $ sudo ./install.sh spi

Yes i did it and i did all those steps but the same problem

TTN doesn’t know your gateway ID at this moment , something in the installation steps went wrong and your GW is not forwarding data .

( WARNING : never power up without the antenna! :wink:)

No i didn’t connect any Node Because the status of the gateway ( not connected )

Hi @Skmark, I use the following CLI/bash command on the RPI to check that the packet forwarder software is running correctly:

$ sudo systemctl status ttn-gateway.service

You should get output that looks something like:

? ttn-gateway.service - The Things Network Gateway
Loaded: loaded (/lib/systemd/system/ttn-gateway.service; enabled)
Active: active (running) since Fri 2017-06-09 13:14:22 UTC; 2h 31min ago
Main PID: 433 (start.sh)
CGroup: /system.slice/ttn-gateway.service
±433 /bin/bash /opt/ttn-gateway/bin/start.sh
±815 ./poly_pkt_fwd

If it is not running then you should be able to try to start the forwarder with a command like:

$ sudo systemctl start ttn-gateway.service

If these do not work then there is something wrong with the hardware or software and you can try to manually start the forwarder and look at the console output.

1 Like

@cultsdotelecomatgmai the command line it worked see :
pic

pic1
pic2

what’s the next step please ?

see if anything is received/forwarded

sudo tcpdump -AUq port 1700

@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