Код: Выделить всё
sudo nano /etc/sysctl.conf
Код: Выделить всё
net.ipv6.conf.all.disable_ipv6 = 1
Код: Выделить всё
net.ipv6.conf.enp0s3.disable_ipv6 = 1
Код: Выделить всё
sudo sysctl -p
Код: Выделить всё
sudo nano /etc/sysctl.conf
Код: Выделить всё
net.ipv6.conf.all.disable_ipv6 = 1
Код: Выделить всё
net.ipv6.conf.enp0s3.disable_ipv6 = 1
Код: Выделить всё
sudo sysctl -p
Код: Выделить всё
sudo nano /etc/sysctl.d/70-disable-ipv6.conf
Код: Выделить всё
net.ipv6.conf.all.disable_ipv6 = 1
Код: Выделить всё
net.ipv6.conf.enp0s3.disable_ipv6 = 1
Код: Выделить всё
sudo sysctl -p -f /etc/sysctl.d/70-disable-ipv6.conf
Код: Выделить всё
# Turn off IPv6
#
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
net.ipv6.conf.eth0.disable_ipv6 = 1
Код: Выделить всё
grub2-mkconfig -o /boot/grub2/grub.cfg