Last active
June 7, 2023 15:41
-
-
Save bumbummen99/069202853dd65d6addf3c117bed9b2d5 to your computer and use it in GitHub Desktop.
Script to disable SLAAC / IPv6 Privacy Extensions (RFC 4942) on Raspbian (Debian).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# | |
# Script to disable SLAAC / IPv6 Privacy Extensions (RFC 4942) on Raspbian (Debian). | |
# | |
# Usage: | |
# $ wget -O - https://gist.github.com/bumbummen99/069202853dd65d6addf3c117bed9b2d5/raw/slaac-off.sh | bash | |
# | |
# Author: Patrick Henninger | |
# License: GNU GPL v3 | |
# Disable all SLAAC settings | |
sed -i -e 's/slaac/#slaac/' /etc/dhcpcd.conf | |
# Disable SLAAC | |
echo "slaac hwaddr" >> /etc/dhcpcd.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment