disable-ipv6-ubuntu9.04Good evening,
I just installed ubuntu 9.04 on a dell optiplex gx260 and was very disapointed at the network speed I had when I tried any of the “apt-get” commands.
It seems that ubuntu has IPV6 enabled by default, this seem to be what is causing most of the lan issues. There are no easy way to disable ipv6 on ubuntu 9.04, I tried several methods advertised on various blogs, none are currently working.
A kernel patch will be made available soon for download and should allow us to disable ipv6 by typing the following: “sysctl -w net.ipv6.conf.all.disable_ipv6=1″
The link to the bug is here: https://bugs.launchpad.net/ubuntu/+source/linux+bug/351656
Also if you are using an earlier version of ubuntu, you can disable IPv6 by doing the following:
- sudo vim /etc/modprobe.d/aliases
- locate “alias net-pf-10 ipv6″
- replace the word “ipv6″ on that line by “off”
- save the file
- reboot
You can verify if ipv6 is actually disabled using the following command: ip a | grep inet6
*** I found a solution on the web, someone provided clear instructions on how to re-compile the kernel with ipv6 as an optional (and blacklistable) module instead of being forced. The original tutorial can be found here, you can also download a pdf version that I made: disable-ipv6-ubuntu9.04. I followed the provided instructions and it worked, note that the “blacklist” file is called “blacklist.conf”. ***
Cheers,
Marc
9.04, Annoyance, problem, slow network, solution, ubuntu