Disable IPv6 in Ubuntu 8.04

Some may find that out-of-the-box, Hardy Heron’s network performance is painfully slow. By default, IPv6 is enabled, and chances are good that your nearest router can’t speak the language nor interpret DNS requests efficiently.

To disable IPv6, open a shell and append the following to /etc/modprobe.d/blacklist:

# disable ipv6
blacklist ipv6

Reboot.

To verify that IPv6 is disabled, run

lsmod | grep ipv6

or

ip a | grep inet6

The commands shouldn’t return any information. Open Firefox and let ‘er rip!



8 Comments so far

  1. Corey @ September 26th, 2008

    It works!

  2. [...] Fuente original: Benperove.com [...]

  3. Graham S. @ October 16th, 2008

    A lot easier than I thought it would be, thanks!

  4. [...] DNS serverio AAAA užklausų išsprendimas tikrai nėra daug lėtesnis už A tipo, kaip kad sklando visokie gandai [...]

  5. [...] DNS serverio AAAA užklausų išsprendimas tikrai nėra daug lėtesnis už A tipo, kaip kad sklando visokie gandai [...]

  6. MIke S @ August 12th, 2009

    Which blacklist file, I have the following:
    blacklist-aht_pci.conf
    blacklist.conf
    blacklist-firewire.conf
    blacklist-framebuffer.conf
    blacklist-oss.conf
    blacklist-watchdog.conf

    Thanks,
    Mike

  7. dogafin @ September 15th, 2009

    i couldnt edit blacklist file, and cant run nautilus, any way to change permission on the file?

  8. Ben @ September 15th, 2009

    Mike S,

    In newer versions of Ubuntu, the file you need to modify is blacklist.conf.

    Dogafin,

    Give this a shot:

    sudo gedit /etc/modprobe.d/blacklist

    Enter your super user password and you should see the file open. If you don’t know the password, type:

    sudo passwd root

    Enter the new password twice, then try to open the blacklist file.

Leave a reply

Add this site to your Firefox Search Bar

Twitter Updates


First blue moon on NYE in almost 20 years:

Follow Ben on Twitter

Recent Entries

Categories

Archives

This site is optimized for Firefox.