aa7jc
New Member
Posts: 3
|
Post by aa7jc on Aug 3, 2016 7:15:19 GMT -7
Once in a while, for no particular reason my raspberry PI3 stops talking to my DVMega. It is not a daily thing .. I can go for weeks with no issues but once in a while it happens.. When it happens, I am usualy in the car driving ...so it presents a bit of a challenge because I have to break out the keyboard and screen in order to communicate with the PI (even to restart or shut it down). So.....
I figured I might be able to build a watchdog process to automatically restart the Dstar Repeater process when it sees a "modem error"..
Is there a command line that would safely do this?
The other option I am considering is to simply have the watchdog issue a "shutdown -r now" which will cleanly restart everything.
de
Ken Lotts AA7JC Sierra Vista, AZ
|
|
|
Post by W6KD on Aug 3, 2016 8:13:13 GMT -7
The command line is "dstarrepeater -gui" without the quotes. It's a little more complicated than that, though, because sometimes restarting the program results in a segmentation fault due to some sort of problem with how it shuts down. When that happens, a second attempt is generally successful.
Regards
|
|