Tried to disable MLAT, it’s still crashing. So something else is going on.
Seems like mono is the culprit;
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
EDIT: Will reformat the Pi later today, i’m quite fast at it now… I saved a notepadfile with all commands…
And then make an image before installing VRS!
In my opinion, instead of using cron, it is more flexible to use systemd service. The systemd will start vrsfeed at boot. You can also use following commands to manually start, restart, stop, & check status.
sudo systemctl start|restart|stop|status vresfeed
This is how systemd service can be created for vrsfeed:
(1) After you have created and made executable the file vrsfeed.sh, do not move it to /usr/local/bin, and do not create a cron job for it.
Instead create directory /usr/share/vrsfeed and move file vrsfeed.sh into it, then create vrsfeed.service file as detailed below:
Great! Just what I needed - Can these settings be applied to an existing system (installed by the steps in this thread), without disturbing the cron task, or other things?
You cannot use cron and systemd simultaneously, it can cause complications. You can stop vrsfeed to be started by cron if you comment out the line you have added in crontab,
Here are the steps if you have already created cron job:
(1) Open crontab.
$ crontab -e
(2) Comment-out this line (which you have added) by putting a # at its start: */5 * * * * /usr/local/bin/vrsfeed &> /dev/null
It will become #*/5 * * * * /usr/local/bin/vrsfeed &> /dev/null
(3) Do not follow step (1) of my previous post.
Instead follow steps (2), (3), & (4) of my previous post, but in the service file, replace following line
Edit:
The vrsfeed service only starts the data connection between your Pi and VRS running at VPS. It does not start the VRS itself or any web interface.
So, after @foxhunter learned me a thing or two about VRS; no need to use socat + crontab, or other services.
Make a reciever @127.0.0.1:30005 RAW. VRS is able to decode it self. Makes thing more simple for a newb as me.
there is a need for socat if you want to feed to a remote VRS (or any other network supporting that). This can be done in two ways:
open your local network that the remote VRS can scrape the data
use socat to push the data to that server
The first one requires that you open a port in your local router/firewall and the usage of a DynDNS adress. Otherwise the connection will be lost on every IP change with your provider.
The second one give the option to push to a server without opening up your local network.
Third option would be the rebroadcasting feature in VRS. For this of course you need to run an instance locally.