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.
M | T | W | T | F | S | S |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
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.