work in progress Read local and remote decoded CAN messages I want, append to a file, plot to a GUI with some controls. Use it with [mycan](https://git.flylightning.xyz/mycan/). build, install, and run ```sh make sudo make install remote_plot ``` usage ```sh # use default ssh destination remote_plot # use another ssh destination remote_plot -d 10.0.0.7 # run locally remote_plot -l ``` Infrastructure configs not included in the repo, not included exactally, or maybe inclulded in other url: - raspberry pi - ~/.config/labwc/autostart autostart remote_plot locally - - server and laptop: - wireguard related configs - files in /etc/wireguard, see below - files in /etc/NetworkManager/system-connections - /etc/nftables.conf nftables firewall configs - server: - laptop: - example code from another device but applicable to raspberry pi: wireguard laptop configuration ``` # https://wiki.archlinux.org/title/WireGuard # https://github.com/teddysun/across/blob/master/wireguard.sh [Interface] Address = 10.0.0.1/24, fdc9:281f:04d7:9ee9::1/64 PrivateKey = [Peer] PublicKey = PresharedKey = Endpoint = ca.flylightning.xyz:49432 AllowedIPs = 10.0.0.5/32, fdc9:281f:04d7:9ee9::5/128, 10.0.0.9/32, fdc9:281f:04d7:9ee9::9/128 PersistentKeepalive = 25 ``` wireguard server configuration ``` [Interface] Address = 10.0.0.5/24, fdc9:281f:04d7:9ee9::5/64 ListenPort = 49432 PrivateKey = [Peer] PublicKey = PresharedKey = AllowedIPs = 10.0.0.1/32, fdc9:281f:04d7:9ee9::1/128 [Peer] PublicKey = PresharedKey = AllowedIPs = 10.0.0.9/32, fdc9:281f:04d7:9ee9::9/128 ``` wireguard raspberry pi configuration ``` [Interface] Address = 10.0.0.9/24, fdc9:281f:04d7:9ee9::9/64 PrivateKey = [Peer] PublicKey = PresharedKey = Endpoint = ca.flylightning.xyz:49432 AllowedIPs = 10.0.0.5/32, fdc9:281f:04d7:9ee9::5/128, 10.0.0.1/32, fdc9:281f:04d7:9ee9::1/128 PersistentKeepalive = 25 ```