JamesP6000 / WsprryPi

Raspberry Pi WSPR transmitter using NTP based frequency calibration
Other
326 stars 66 forks source link

Crashing when not launched manually #19

Open Jibeji opened 6 years ago

Jibeji commented 6 years ago

Hi, I would like WsprrPi to be launched at boot.

I tried to add the following sequence in /etc/rc.local, it crashes /usr/bin/sudo /usr/local/bin/wspr --repeat --offset --self-calibration MyCall MyLoc 20 30m 0 & > /dev/null 2>&1

So I tried to set this in the crontab evry 15 min, it crashes. usr/bin/sudo /usr/local/bin/wspr --offset --self-calibration MyCall MyLoc 20 30m 0

By crashing I mean that not only there is no transmission, but it also make the WiFi fail.

Launching both command manually work fine.

dl9sec commented 6 years ago

Hi, i use the method for lauch at boot from the presentation here: https://www.ham-yota.com/wp-content/uploads/2016/06/WSPR_YOTA2016.pdf Installing this systemd sevice as described works fine for me: https://github.com/oe3cts/WSPR-HAT/blob/master/Documents/wsprrypi.service

Regards, Thorsten (BTW: I use the TX blinking LED modification and have a visual feedback if wspr starts and transmitts)

Jibeji commented 6 years ago

Hello, Thanks a lot for this very useful information. 73