lezzo.org/secretwiki/commands.org
2022-06-02 15:55:50 +01:00

703 B

~ Hosts

Reduce packages disk usage on gentoo

eclean packages
eclean distfiles
eclean-kernel -A -a

Update pi-hole devuan host

apt update
apt upgrade
PIHOLE_SKIP_OS_CHECK=true pihole -up

Add static route for wireguard

Useful when subnet clash, example:

lezzo: flags=209<UP,POINTOPOINT,RUNNING,NOARP>  mtu 1420
        inet 10.0.13.2  netmask 255.255.255.255  destination 10.0.13.2
wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.11.148  netmask 255.255.0.0  broadcast 10.0.255.255
route add -net 10.0.13.0 netmask 255.255.255.0 gw 10.0.13.1 lezzo