aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorXiao Pan <xyz@flylightning.xyz>2025-05-14 17:41:40 -0700
committerXiao Pan <xyz@flylightning.xyz>2025-05-14 17:41:40 -0700
commit5aa48092fae5cf0eec65a595b6e0c94304555fbf (patch)
tree1ec039815b5590e4c11de13d0794e2710e6d3a6c /README.md
parenta66c982557aa3b3a5f93ae1cba69e8760d95718e (diff)
add pi config files
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 8 insertions, 4 deletions
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
- <https://wiki.archlinux.org/title/Labwc#Autostart>
+ - /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 <https://wiki.archlinux.org/title/Kernel_module#systemd>
+ - /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: <https://git.flylightning.xyz/config_local_arch/tree/etc/nftables.conf?h=ca>
- laptop: <https://git.flylightning.xyz/config_local_arch/tree/etc/nftables.conf?h=master>
- - example code from another device but applicable to raspberry pi: <https://git.flylightning.xyz/config_local_arch/tree/etc/nftables.conf?h=pp>
wireguard laptop configuration
```
@@ -66,7 +70,7 @@ PresharedKey = <secret>
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