From 6b8bd116de83219b157538571a10861b54f75bae Mon Sep 17 00:00:00 2001 From: Peter Reichart Date: Tue, 15 Oct 2024 15:02:02 +0000 Subject: [PATCH] template/Debian.md aktualisiert --- template/Debian.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/template/Debian.md b/template/Debian.md index c719d3e..28eb8ae 100644 --- a/template/Debian.md +++ b/template/Debian.md @@ -1,12 +1,25 @@ # Debian Einstellungen ### IPv6 abschalten: + +#### Sofortige Anwendung: ``` -# Sofortige Anwendung: sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1 +``` -# Dauerhafte Anwendung: +#### Dauerhafte Anwendung: +``` sudo echo net.ipv6.conf.default.disable_ipv6=1 >> /etc/sysctl.conf sudo echo net.ipv6.conf.all.disable_ipv6=1 >> /etc/sysctl.conf ``` + +#### Kernel-Variable beim Booten: + +in `/etc/default/grub` +``` +GRUB_CMDLINE_LINUX="ipv6.disable=1" + +``` +ändern und mit `sudo update-grub` aktivieren +