From 5aa48092fae5cf0eec65a595b6e0c94304555fbf Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Wed, 14 May 2025 17:41:40 -0700 Subject: add pi config files --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1a88c1e..40c81b0 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,15 @@ remote_plot -d 10.0.0.7 remote_plot -l ``` -Infrastructure configs not included in the repo, not included exactally, or maybe inclulded in other url: +Infrastructure configs, some maybe included in pi_config dir +- I prefer manage infrastructure configs using my [cfg](https://git.flylightning.xyz/fsh/tree/sh/cfg) script, but that script is my personal project and I don't want to force people to use that, so I include those config files in this repo and I did not manage it with my cfg script on raspberry pi. - raspberry pi - - file in ~/.config/labwc/autostart dir autostart remote_plot locally + - ~/.config/labwc/autostart autostart remote_plot locally - + - /etc/wireguard/wg0.conf wireguard config + - /etc/NetworkManager/system-connections/wg0.nmconnection, networkmanager wireguard config imported from wireguard config + - /etc/modules-load.d/wireguard.conf autostart load wireguard kernel module, see + - /etc/nftables.conf nftables firewall configs - server and laptop: - wireguard related configs - files in /etc/wireguard, see below @@ -30,7 +35,6 @@ Infrastructure configs not included in the repo, not included exactally, or mayb - /etc/nftables.conf nftables firewall configs - server: - laptop: - - example code from another device but applicable to raspberry pi: wireguard laptop configuration ``` @@ -66,7 +70,7 @@ PresharedKey = AllowedIPs = 10.0.0.9/32, fdc9:281f:04d7:9ee9::9/128 ``` -wireguard raspberry pi configuration +wireguard raspberry pi configuration (/etc/wireguard/wg0.conf) ``` [Interface] Address = 10.0.0.9/24, fdc9:281f:04d7:9ee9::9/64 -- cgit v1.2.3-70-g09d2