To turn off IPv6 in a live Ubuntu, use: sysctl -w net.ipv6.conf.all.disable_ipv6=1
Check with: cat /proc/sys/net/ipv6/conf/all/disable_ipv6
To turn off IPv6 in a live Ubuntu, use: sysctl -w net.ipv6.conf.all.disable_ipv6=1
Check with: cat /proc/sys/net/ipv6/conf/all/disable_ipv6
Comments are closed.
You can make this method of disabling IPv6 usage in GNU Linux based operating systems (Debian, Ubuntu and others) by putting the following into the /etc/sysctl.conf file:
net.ipv6.conf.all.disable_ipv6 = 1
Then either reboot or run ‘sysctl -a’ as root to enact it immediately via the sysctl.conf file entry.
FYI,
Richard.