IC880A with RPi3 status not connected

Hello,
I’m trying to generate the ic880a with RPi3.

I’ve done all the steps according to this instructions: https://github.com/ttn-zh/ic880a-gateway/wiki
except this part.

! Beware this allows a connected console with the ttn user to issue any commands on your system.

without any password control, This step is completely optional and remains your decision.

  • Logout and login as ttn and remove the default pi user

  • Configure the wifi credentials (check here for additional details)

==============================================================================
Is it necessary?

On console, it shows not connected.
gateway%20status

Could you help me to solve this problem? Thank you.

You should post the logs of your RPi to get the best help.

Is the packet forwarder actually running, or did it fail on or shortly after startup?

Do you have any nodes sending packets which the gateway is receiving and trying to report to TTN?

  1. when i type [$ sudo systemctl status ttn-gateway.service]
    image
  2. [$ sudo tcpdump -AUq port 1700],
    image

3.[$ sudo tail -f/var/log/syslog]
image

When I look at you message I see a lot of far too small text In a picture where you could just have copied-and-pasted the text in stead of posting screen captures.
I am not going to attempt to read this…

Please post text content as text, not screen captures.

Oh, sorry. i expected you could see the log.

  1. pi@ttn-gateway:~ $ sudo systemctl status ttn-gateway service
    Unit service.service could not be found.
    ● ttn-gateway.service - The Things Network Gateway
    Loaded: loaded (/lib/systemd/system/ttn-gateway.service; enabled; vendor pres
    Active: active (running) since Wed 2020-01-15 08:57:03 EAT; 6h ago
    Main PID: 337 (start.sh)
    Tasks: 5 (limit: 2200)
    Memory: 11.8M
    CGroup: /system.slice/ttn-gateway.service
    ├─337 /bin/bash /opt/ttn-gateway/bin/start.sh
    └─900 ./poly_pkt_fwd

Jan 15 08:57:03 ttn-gateway systemd[1]: Started The Things Network Gateway.
Jan 15 08:57:03 ttn-gateway ttn-gateway[337]: [TTN Gateway]: Waiting for interne
Jan 15 15:46:31 ttn-gateway ttn-gateway[337]: /opt/ttn-gateway/gateway-remote-co
Jan 15 15:46:40 ttn-gateway ttn-gateway[337]: Already up to date.
Jan 15 15:46:40 ttn-gateway ttn-gateway[337]: HEAD is now at 90bdbcb Merge pull
Jan 15 15:46:40 ttn-gateway ttn-gateway[337]: /opt/ttn-gateway/bin
Jan 15 15:46:40 ttn-gateway ttn-gateway[337]: [TTN Gateway]: Use Gateway EUI B82
Jan 15 15:46:40 ttn-gateway ttn-gateway[337]: ln: failed to create symbolic link
lines 1-19/19 (END)

  1. pi@ttn-gateway:~ $ sudo tcpdump -AUp port 1700
    sudo: tcpdump: command not found

  2. pi@ttn-gateway:~ $ sudo tail -f/var/log/syslog
    tail: invalid option – ‘/’
    Try ‘tail --help’ for more information.

Try 3 again with a space between f and /.

Thank you sir, i got this message.

pi@ttn-gateway:~ $ sudo tail -f /var/log/syslog
Jan 16 16:11:02 ttn-gateway ttn-gateway[314]: ### [UPSTREAM] ###
Jan 16 16:11:02 ttn-gateway ttn-gateway[314]: # RF packets received by concentrator: 0
Jan 16 16:11:02 ttn-gateway ttn-gateway[314]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 16 16:11:02 ttn-gateway ttn-gateway[314]: # RF packets forwarded: 0 (0 bytes)
Jan 16 16:11:02 ttn-gateway ttn-gateway[314]: # PUSH_DATA datagrams sent: 0 (0 bytes)
Jan 16 16:11:02 ttn-gateway ttn-gateway[314]: # PUSH_DATA acknowledged: 0.00%
Jan 16 16:11:02 ttn-gateway ttn-gateway[314]: ### [DOWNSTREAM] ###
Jan 16 16:11:02 ttn-gateway ttn-gateway[314]: # PULL_DATA sent: 6 (0.00% acknowledged)
Jan 16 16:11:58 ttn-gateway kernel: [ 131.272705] Under-voltage detected! (0x00050005)
Jan 16 16:12:02 ttn-gateway kernel: [ 135.432711] Voltage normalised (0x00000000)

That power warning is worrisome, you may need a better power supply.

Mostly I’d suggest you continue to watch the syslog tail for five minutes or even longer.

In particular, you need to see valid messages being received from node(s). At the gateway level they will still be encrypted, but the base packet level CRC should be valid so that they are eligible for forwarding to the network.

And you need to see that the push / pull messages are being acknowledged by the network.

Your limited paste there doesn’t show any packets, and it seems to suggest that the network is not acknowledging the gateway’s attempts to contact it.

Thank you.
1.I’m seeing the syslog to check belows:

  • voltage
  • push / pull message
  1. Seeing valid messages from nodes: How can i check? I am planning to use the Dragino with Arduino UNO.

Unfortunately, I’m not a specialist for communication technology but a student. Nevertheless I appreciate you helping me with these problems.
Thank you.

I’ve checked the voltage of the RPi.
and the voltage is above 4V. but the syslog says me ‘Under-voltage detected!’
and the output of my charger is 5V, 20A.

The voltage needs to be 5V +/- 0.2V. If the output of your power supply meets those specifications (check, don’t trust the label) your cabling probably causes the drop.
The RPi with a LoRaWAN concentrator board really needs the specified 5V and isn’t getting it.

Here is my syslog.

Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: ##### END #####
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: ##### 2020-01-17 07:43:52 GMT #####
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: ### [UPSTREAM] ###
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # RF packets received by concentrator: 0
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # RF packets forwarded: 0 (0 bytes)
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # PUSH_DATA datagrams sent: 2 (444 bytes)
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # PUSH_DATA acknowledged: 0.00%
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: ### [DOWNSTREAM] ###
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # PULL_DATA sent: 6 (0.00% acknowledged)
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # RF packets sent to concentrator: 0 (0 bytes)
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # TX errors: 0
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: ### [GPS] ###
Jan 17 10:43:52 ttn-gateway ttn-gateway[315]: # Invalid gps time reference (age: 1579247032 sec)
Jan 17 10:44:11 ttn-gateway kernel: [ 3012.196002] Under-voltage detected! (0x00050005)
Jan 17 10:44:15 ttn-gateway kernel: [ 3016.355919] Voltage normalised (0x00000000)
Jan 17 10:46:09 ttn-gateway kernel: [ 3130.747770] Under-voltage detected! (0x00050005)
Jan 17 10:46:15 ttn-gateway kernel: [ 3136.987357] Voltage normalised (0x00000000)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Manual GPS coordinates: latitude 10.00000, longitude 20.00000, altitude -1 m
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### END #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### 2020-01-17 07:44:22 GMT #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [UPSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets received by concentrator: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets forwarded: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA datagrams sent: 2 (444 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA acknowledged: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [DOWNSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_DATA sent: 6 (0.00% acknowledged)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets sent to concentrator: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # TX errors: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [GPS] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Invalid gps time reference (age: 1579247062 sec)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Manual GPS coordinates: latitude 10.00000, longitude 20.00000, altitude -1 m
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### END #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### 2020-01-17 07:44:52 GMT #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [UPSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets received by concentrator: 1
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets forwarded: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA datagrams sent: 2 (444 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA acknowledged: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [DOWNSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_DATA sent: 6 (0.00% acknowledged)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets sent to concentrator: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # TX errors: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [GPS] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Invalid gps time reference (age: 1579247092 sec)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Manual GPS coordinates: latitude 10.00000, longitude 20.00000, altitude -1 m
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### END #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### 2020-01-17 07:45:22 GMT #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [UPSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets received by concentrator: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets forwarded: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA datagrams sent: 2 (444 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA acknowledged: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [DOWNSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_DATA sent: 6 (0.00% acknowledged)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets sent to concentrator: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # TX errors: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [GPS] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Invalid gps time reference (age: 1579247122 sec)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Manual GPS coordinates: latitude 10.00000, longitude 20.00000, altitude -1 m
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### END #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### 2020-01-17 07:45:52 GMT #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [UPSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets received by concentrator: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets forwarded: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA datagrams sent: 2 (444 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA acknowledged: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [DOWNSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_DATA sent: 6 (0.00% acknowledged)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets sent to concentrator: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # TX errors: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [GPS] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Invalid gps time reference (age: 1579247152 sec)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Manual GPS coordinates: latitude 10.00000, longitude 20.00000, altitude -1 m
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### END #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### 2020-01-17 07:46:22 GMT #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [UPSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets received by concentrator: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets forwarded: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA datagrams sent: 2 (444 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA acknowledged: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [DOWNSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_DATA sent: 6 (0.00% acknowledged)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets sent to concentrator: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # TX errors: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [GPS] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Invalid gps time reference (age: 1579247182 sec)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Manual GPS coordinates: latitude 10.00000, longitude 20.00000, altitude -1 m
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### END #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### 2020-01-17 07:46:52 GMT #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [UPSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets received by concentrator: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets forwarded: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA datagrams sent: 2 (444 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA acknowledged: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [DOWNSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_DATA sent: 6 (0.00% acknowledged)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets sent to concentrator: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # TX errors: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [GPS] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Invalid gps time reference (age: 1579247212 sec)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Manual GPS coordinates: latitude 10.00000, longitude 20.00000, altitude -1 m
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### END #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ##### 2020-01-17 07:47:22 GMT #####
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [UPSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets received by concentrator: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets forwarded: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA datagrams sent: 2 (444 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PUSH_DATA acknowledged: 0.00%
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [DOWNSTREAM] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_DATA sent: 6 (0.00% acknowledged)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # PULL_RESP(onse) datagrams received: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # RF packets sent to concentrator: 0 (0 bytes)
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # TX errors: 0
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: ### [GPS] ###
Jan 17 10:47:22 ttn-gateway ttn-gateway[315]: # Invalid gps time reference (age: 1579247242 sec)
Jan 17 10:48:10 ttn-gateway kernel: [ 3251.379968] Under-voltage detected! (0x00050005)
Jan 17 10:48:14 ttn-gateway kernel: [ 3255.539717] Voltage normalised (0x00000000)

When I check the voltage with multimeter, it shows 4.8V. Is it still weak?

You can’t measure what matters with a volt meter, as the load varies over time. You’d need a digital oscilloscope capable of triggering on power dips. The firmware messages indicate you still have a power problem, however I suspect you also have additional problems, for example you may not be using the correct address for a TTN server (or might be behind a firewall unusually blocking traffic), since you seem to never get an ack from it.

Additionally it seems you have not yet received an LoRa packets over the air. Are your nodes sending?

I would recommend getting a better power supply if possible. Which one are you currently using, an official one, or a random USB charger?

The Raspberry Pi is quite sensitive to undervoltage, it can cause SD card file system corruption for example.

I have nodes made of arduino and dragino.
and How can i send the packets to the gateway?
Could you recommend me the instructions?

I was using a official Samsung smartphone charger.

Let me try this instructions from the beginning:

RPi with LoRaWAN concentrator will require more juice than a smartphone charger can deliver. Specifically peak current draws will not be handled.