arriven / db1000n

MIT License
1.17k stars 201 forks source link

Raspberry Pi Images #331

Open ghost opened 2 years ago

ghost commented 2 years ago

Is anyone working on Raspberry Pi images? Do we need it?

I can work on it! Just not sure that we need it

iamtodor commented 2 years ago

@FPavlovskiy it was implemented already. Please, take a look at https://github.com/Arriven/db1000n/issues/116

ghost commented 2 years ago

@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?

ghost commented 2 years ago

https://www.vpngate.net/en/ can be used to discover and autoconnect to VPN

arriven commented 2 years ago

@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)

Staskkk commented 2 years ago

@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

Amet13 commented 2 years ago

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

dannysilence commented 2 years ago

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 .

AdamMickiewich commented 2 years ago

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.

AdamMickiewich commented 2 years ago

I think this issue could be closed, @arriven FYI