Page 1 of 1
Can't get stable ping from device
Posted: 10 May 2022, 20:14
by 4Doors
Hi guys,
So I'm working with a RevPi Connect and can't seem to be able to maintain a SSH connection to the device. I have been able to connect to the board, login, and enter some commands but the SSH connection will normally disconnect after 30-60 seconds after I connect.
Trying to figure out what was happening I started continuously pinging the device. The RevPI will reply normally for a period of about 70 seconds and then be time out on every request for a period of 30 seconds before repeating the pattern. I have checked the watch dog timer jumper on the front of the device and it is still in its normal position.
The device is being powered off of a 12V 3A wall wart, all lights appear to show normal operation, and nothing is plugged into the device besides power and Ethernet.
Has anyone dealt with this issue before?
Re: Can't get stable ping from device
Posted: 11 May 2022, 08:46
by nicolaiB
Hi,
I'm sorry to hear that you have some issues. In order to get a better idea of what might goes wrong, please answer the following questions:
Are there any suspicious log messages in /var/log/messages or /var/log/kern.log?
Is the device using DHCP or a static IP address?
Are you using IPv4 or IPv6?
Do you ping the RevPi by hostname or IP address?
Is there any active hardware like a switch involved?
Does this also happens if you configure a static IP and connect your computer directly to the RevPi?
Which image version are you using (cat /etc/revpi/image-release)?
Nicolai
Re: Can't get stable ping from device
Posted: 17 May 2022, 20:10
by 4Doors
Hi, thanks for the timely response.
I pulled the messages file from the device as requested. The messages appear to be fairly repetitive so I've included a small selection of the file that I believe captures everything:
Code: Select all
May 17 19:41:25 RevPi72142 cron[1758]: (CRON) INFO (pidfile fd = 3)
May 17 19:41:25 RevPi72142 cron[1758]: (CRON) INFO (Running @reboot jobs)
May 17 19:41:25 RevPi72142 rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.1901.0]
May 17 19:41:25 RevPi72142 rsyslogd: [origin software="rsyslogd" swVersion="8.1901.0" x-pid="1766" x-info="https://www.rsyslog.com"] start
May 17 19:41:54 RevPi72142 systemd-timesyncd[1638]: Synchronized to time server for the first time [2001:67c:2cd4::195]:123 (2.debian.pool.ntp.org).
May 17 19:43:10 RevPi72142 rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.1901.0]
May 17 19:43:10 RevPi72142 rsyslogd: [origin software="rsyslogd" swVersion="8.1901.0" x-pid="1606" x-info="https://www.rsyslog.com"] start
May 17 19:43:10 RevPi72142 cron[1640]: (CRON) INFO (pidfile fd = 3)
May 17 19:43:11 RevPi72142 cron[1640]: (CRON) INFO (Running @reboot jobs)
May 17 19:43:40 RevPi72142 systemd-timesyncd[1495]: Synchronized to time server for the first time [2604:a880:cad:d0::dff:f001]:123 (2.debian.pool.ntp.org).
May 17 19:44:58 RevPi72142 cron[1562]: (CRON) INFO (pidfile fd = 3)
May 17 19:44:58 RevPi72142 cron[1562]: (CRON) INFO (Running @reboot jobs)
May 17 19:44:58 RevPi72142 rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.1901.0]
May 17 19:44:58 RevPi72142 rsyslogd: [origin software="rsyslogd" swVersion="8.1901.0" x-pid="1593" x-info="https://www.rsyslog.com"] start
May 17 19:45:27 RevPi72142 systemd-timesyncd[1429]: Synchronized to time server for the first time [2a0e:f780:0:100::15]:123 (2.debian.pool.ntp.org).
May 17 19:46:44 RevPi72142 cron[1577]: (CRON) INFO (pidfile fd = 3)
May 17 19:46:44 RevPi72142 cron[1577]: (CRON) INFO (Running @reboot jobs)
May 17 19:46:44 RevPi72142 rsyslogd: imuxsock: Acquired UNIX socket '/run/systemd/journal/syslog' (fd 3) from systemd. [v8.1901.0]
May 17 19:46:44 RevPi72142 rsyslogd: [origin software="rsyslogd" swVersion="8.1901.0" x-pid="1581" x-info="https://www.rsyslog.com"] start
Re: Can't get stable ping from device
Posted: 13 Jun 2022, 10:48
by nicolaiB
Hi,
the log looks fine, but all other questions are still unanswered. If the error still exists please answer them, so we can try to find the cause of your problem.
Nicolai