• 3 Posts
  • 65 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle



  • Raspberry Pi:

    1. Install wireguard (as a server)
    2. Set up a peer/client config
    3. Open wireguard port on the router

    MiniPC:

    1. Install wireguard (as a client)
    2. Add server config and connect to server
    3. Verify connection
    4. Ensure connect on boot

    Points to note:

    • Configure them both locally and ensure you have a connection before you move the pi to another country

    • If you’re behind a CGNAT on one network, that’ll change some things. That network will have to be the client. (If both are behind CGNAT, you’re out of luck and cant use this - will have to be tailscale or other method)

    • If using a domain name make sure its always pointing to your ip (in case it’s not static)

    • I think if you set allowed ip as 0.0.0.0/0 on the client it’ll route all traffic.

    Edit:

    Saw your comment about just having qbt use the vpn. Check this guide out





  • My experience has been OSMAnd feels “heavy”. It is a large app but i guess there’s so much it just feels sluggish. But it has the most features which I use as my go to reference.

    Organic maps (and CoMaps) feels sleeker and quicker but when im on the road I want traffic updates.

    For the last few years my go to is Magic Earth for the traffic data.

    My issues with OSM is a lot of missing information and incorrect roads. I have contributed updates but when I’m driving and I come across something wrong there’s no way for me to flag it so i can revisit it later.

    All in all I’m still torn between them all and still waiting for the day one ticks all the boxes.

    More often than not I find I end up using Google Maps to get me out of a wrong or missing turn or to the final destination because finding places on OSM isn’t there yet. If OSM gets something wrong when I’m driving I don’t have time to faff around trying to fix it so GMaps takes over the rest of the way and I dislike having to do so





  • Good suggestions in the chat. Ill throw in my setup for your consideration.

    I have several cameras, specifically with Ingenic SOCs on which ive flashed Thingino firmware (foss) so thats a bit of security on the camera side. Some others like hikvision ive picked up but not gotten around to setting up yet. But itll be plug and play as youll see next.

    Next i have a router flashed with freshtomato but openwrt is also an option. On that ive set up a vlan for the cameras that do not have internet or inter vlan access. So even if i didnt have custom camera firmware, they still wouldnt be able to send it anywhere.

    Next my home vlan has one way access in to the “camera vlan” so i can view from my network.

    Finally wireguard server (on the home vlan so it has internet access) so i can monitor remotely

    I just pull the rtsp streams. Havent gotten round to feed analysis yet but i used to use zoneminder. But i hear frigate and another software (cant remember off my head) supports for coral tpu quite well even after it has been dropped from support





  • Honestly depends on whats being served. As i say people can run servers on enterprise grade multi thousand £ systems or a £50 pi or mini pc.

    Since you have a specific usage in mind, media server, you basically want hardware that will allow optimised performance so you can have a lag/ buffer free experience.

    Say,

    hardware thats good for on the fly encoding/ decoding

    Lots of ram for multitasking.

    Lots of storage to store the media.

    Maybe gigabit network cards for multiuser streaming without bandwidth bottlenecks.

    It really depends on the experience and chokepoints

    ECC ram ill let someone more familiar answer but im leaning towards non critical and nice to have

    Nothing you couldnt upgrade on your typical PC. Just makes life easier…at a cost.


  • Server serves a specific application(s). PC is general day to day usage.

    Both are computers. Pc hardware can be used as a server. Server hardware can be used as a pc.

    Using a computer for day to day tasks - call it a pc. Use it to run a web server application or host a game - that one or more users will access - call it a server

    Hardware can be configured to optimise it for its function. E.g pc can have latest GPUs and “servers” can have multicore cpus and loads of ram, rack mounting form factor and dual power supplies for redundancy.

    But it could also be weak - i have raspberry pi’s and old laptops set up as a servers




  • Along with your comment it looks like you are powering a phone with a power bank by skipping the phones battery and connecting directly to the phones battery terminal?

    5V may be too high of a voltage for your phone as the phones lithium battery would have otherwise provided 4.2v ish but youll need to find out.

    If you directly connect to the charge controller input does it still work or does it complain that there’s no battery?