RAK7289CV2 TTN = Offline / WisDM = Online => But no Lora Packets nor SSH console is working

Hello,
we have some problems with our Gateway.
Sometime it losts the connection to the TTN. A reboot via. WisDM wont help, only a complete power cycle. Also in WisDM itself, the LoRa Packet counter does not count anymore.

In that situations we are unable to connect to the SSH console or view the Logs.

Could not chdir to home directory /home/xxxxxxxxxxxxxxxxxx_46624: No such file or directory
ssh: connect to host localhost port 46624: Connection refused

Thank you for your help.

Regards
Matthias

Hello @nextwerk ,

What is the connection of the device to the Internet (Cellular, Ethernet, WiFi)?
Also, what is the firmware version of the device?

Nikola Semov

Hello Nikola,
the Firmware is 2.1.5.
Primary Connection is Ethernet. Secondary is Cellular.

Regards
Matthias

I managed to get SSH connection working by changing the Internet connection from Ethernet to Ceullar.

Filesystem                Size      Used Available Use% Mounted on
rootfs                    9.9M      1.1M      8.8M  11% /
/dev/root                20.3M     20.3M         0 100% /rom
tmpfs                    61.7M    976.0K     60.7M   2% /tmp
/dev/mtdblock7            9.9M      1.1M      8.8M  11% /overlay
overlayfs:/overlay        9.9M      1.1M      8.8M  11% /
tmpfs                   512.0K         0    512.0K   0% /dev
/dev/mmcblk0p1           29.7G     19.3M     29.7G   0% /mnt/mmcblk0p1

Could the free space on the /rom partition be a problem?

Weird, but after the change of the primaray and secondary connection, TTN is working again.
We investigate if the outbound connection on port 8887 (wss) was blocked…

But, why didn’t worked the ssh console, even if it was possible to restart the gateway (mqtt?!) ?

Hello @nextwerk,
The firmware is the latest and should not cause a problem.

For WisDM you need the following ports to connect via ssh / connect to the gateway for any instruction, please make sure they are not blocked :
433,8080,22

Best Regards,
Nikola Semov

/dev/root                20.3M     20.3M         0 100% /rom

Are the free space values normal?

Yes, the /rom partition looks normal.
Set the log level to Debug and provide me with some logs (preferably logs of when the problem occurs)

Nikola Semov

Problem fixed. Some ports were blocked since yesterday… :frowning:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.