Pi-star drops D-Star connection regularly.

General support for the Pi-Star System
Post Reply
User avatar
G6WQH
Posts: 12
Joined: Mon Jun 18, 2018 6:27 pm
Location: IO93us

Pi-star drops D-Star connection regularly.

Post by G6WQH »

Recently my MMDVM (which has been working fine for several years) has started dropping whatever reflector it's connected to at 11:00 every day.
The cron file is unchanged and this doesn't just happen on one reflector.

I use REF055D regularly and just monitor the reflector for any DStar pictures, so it can be frustrating if I have to leave the shack because it will disconnect over 11:00.

I can easily create a script to run on my Mac which will reconnect and run that via crontab on the Mac, but I'm just wondering why this is happening.
M1DNS
Pi-Star Team
Posts: 1395
Joined: Thu Apr 05, 2018 5:30 am

Re: Pi-star drops D-Star connection regularly.

Post by M1DNS »

Check the date /time on ur Pi.

The autoupdates are scripted to run in the early hrs. between 2 & 4AM and once completed if you dont have a default reflector set for startup the install will come back up as unlinked.

It shouldnt be calling for updates at 11.00 AM but if ur time is off, maybe why. ???

Sent via smoke signals from my SM-G935F M1DNS (Admin)

Andrew M1DNS.
Pi-star Admin Team.
AF6VN
Posts: 821
Joined: Fri Jul 20, 2018 1:15 am

Re: Pi-star drops D-Star connection regularly.

Post by AF6VN »

Check the TIME ZONE setting of the R-Pi. I'd expect NTP to bring the R-Pi up to correct UTC time, but an incorrect time zone would shift the time of CRON jobs.

--
AF6VN
Dennis L Bieber
User avatar
G6WQH
Posts: 12
Joined: Mon Jun 18, 2018 6:27 pm
Location: IO93us

Re: Pi-star drops D-Star connection regularly.

Post by G6WQH »

Thanks. The TimeZone is set for Europe/London and the time is correct. Very strange!
User avatar
G6WQH
Posts: 12
Joined: Mon Jun 18, 2018 6:27 pm
Location: IO93us

Re: Pi-star drops D-Star connection regularly.

Post by G6WQH »

Problem solved.

The cron on the pi-star was unchanged, but cron on my Mac contained the following entry:

00 11 * * * ssh pi-star.local -l pi-star 'sudo pistar-link unlink'

I have no idea why I put that in. What a pillock!
Post Reply