Open ghost opened 2 years ago
@FPavlovskiy it was implemented already. Please, take a look at https://github.com/Arriven/db1000n/issues/116
@iamtodor I talked about OS image. Use case: someone gets a Raspberry and flash image to the SD card. Then just switch on and it just works? The only thing that is not clear, is what has to be used as an VPN?
https://www.vpngate.net/en/ can be used to discover and autoconnect to VPN
@FPavlovskiy while the idea is interesting I'm not sure the app is mature enough for this use-case as new versions come out almost every day (sometimes multiple times a day). Your other issue with deb package probably makes more sense at this stage (I'd also add runit and systemd services in that case)
@FPavlovskiy I started the app on my Raspberry using ssh and screen, I'm not sure if Raspberry owners would want to reflash their sd cards entirely
It's hard to maintain OS, but it's easy to run it with systemd. Example of service file is here: https://github.com/Arriven/db1000n/blob/main/terraform/hetzner_cloud/user_data.yml#L11-L28
Hm, I just use rc.local step to run db1000n in official Raspbian OS. But yes, there is not a lot of sence to maintain specific OS image for that, just use new flashed OS with freshly downloaded release of db1000n .
Here is a deb package that we tested on raspberrypi and other armv7 based single board computer on Armbian: https://github.com/VolyaTeam/dzida-service. You can use one-line installer script as well:
curl -L "https://raw.githubusercontent.com/VolyaTeam/dzida-service/master/install.sh" | sudo bash -x
But don't trust me, trust the code. Review this install script first.
I think this issue could be closed, @arriven FYI
Is anyone working on Raspberry Pi images? Do we need it?
I can work on it! Just not sure that we need it