9

How to disable IPV6 in debian

view full story
linux-howto

http://www.debianadmin.com – This tutorial will explain how to disable IPV6 in debian. Open a terminal and su to root Now you need to check if iPV6 is active or not using the following command netstat -tunlp |grep p6 |wc -l If the result is anything other than 0, then one or more IPv6-aware processes is running. Disable using the following 3 commands echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf sed ‘/::/s/^/#/' /etc/hosts >/etc/dipv6-tmp;cp -a /etc/hosts /etc/hosts-backup && mv /etc/dipv6-tmp /etc/hosts sed ‘/ipv6=yes/s/yes/no/' /etc/avahi/avahi-daemon.conf >/etc/ava (Distributions)