Loki Disable IPv6 [Fix 0% [ Connecting to us.archive.ubuntu.com (2000:20a:6542::12) ]

Discussion in 'Tutorials' started by IO-Node, Feb 23, 2017.

  1. IO-Node

    IO-Node Thread Starter
    Expand Collapse
    Member

    Joined:
    Feb 11, 2017
    Messages:
    7
    Likes Received:
    2
    Overview
    You know it, you hate it; this is a real kicker of an issue that prevents web-browsing properly and causes any apt-get operation to take forever.

    This is an IPv6 related issue; IPv6 is a garbage protocol that renders usage of a VPN ineffective; IPv6 holds your exact physical location as well which makes it highly undesirable.

    Let's work on disabling it.

    How2

    First open Scratch as a normal user and create a new file; if a sudo operation happens before Scratch is opened as a normal user it will create a blank file that only a root user can access rendering Scratch broken.

    Issue the following in Terminal: sudo scratch-text-editor /etc/sysctl.conf

    add the following lines at the bottom of the text file:

    # Kill IPv6 for the session
    net.ipv6.conf.all.disable_ipv6 = 1
    net.ipv6.conf.lo.disable_ipv6 = 1
    net.ipv6.conf.default.disable_ipv6 = 1

    After saving the file, issue the following in terminal:

    sudo sysctl -p

    This will disable IPv6 for the entirety of the session; to re-enable IPv6 restart your PC.

    Regretfully you will need to issue "sudo sysctl -p" in terminal after each restart to keep IPv6 dead, but some people may situationally need it so...
     

Share This Page

Loading...