Problem: On a Debian Squeeze/Ubuntu with default setup the interaction can be very slow at your Home Network. SSH Logon seems to hang seconds, Browser startup and www browsing could be slow or offer waits
Background: IPv6 was implemented on newer OS, but never used at Local Networks (IPv4) cause there are no IPv6 Nameservers!!!
Solution:
- edit with #sudo nano /etc/hosts and comment out IPv6 with #
# The following lines are desirable for IPv6 capable hosts #::1 ip6-localhost ip6-loopback #fe00::0 ip6-localnet #ff00::0 ip6-mcastprefix #ff02::1 ip6-allnodes #ff02::2 ip6-allrouters
- then disable IPv6 on boot for the services and programs with #sudo nano /etc/sysctl.conf
#disable ipv6 net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 1
- NOW reboot the PC and test all programs like ssh login, shell login, sudo switch, Browser..for speed should be faster..
- THIS is SAME on other OS like Windows Vista, 7, 8.. same Problems!!