Of Jaunty and IPv6

IPv6 used to be loaded as a module prior to jaunty but is now part of the kernel (probably since somewhere in 2.6.28), so disabling it via /etc/modprobe.d/aliases doesn’t work anymore. To check if IPv6 is disabled:

cat /proc/sys/net/ipv6/conf/all/disable_ipv6

0 means IPv6 is enabled; 1 means disabled. So to disable:

echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6

Reboot and good to go!

Nope it doesn’t work. Thanks to the heads up by jimmyjava, I proceed to verify and ipv6 continues its business as usual, regardless of /proc/sys/net/ipv6/conf/all/disable_ipv6. Gonna sit out and wait for some (kernel) updates for now…


4 thoughts on “Of Jaunty and IPv6

  1. To my understanding, this will only work *until* you reboot, then it goes back to the default. I had to put that line into /etc/rc.local so that it disables it on startup.

    Additionally, others appear to be endorsing the ipv6.disable=1 addition to the kernel line in grub, but I’m unsure why- Jaunty’s kernel is not new enough to support that option.

  2. I have no success even with the line in /etc/rc.local. Yes cat /proc/sys/net/ipv6/conf/all/disable_ipv6 shows 1 but ipv6 is still enabled.

    did you mean ipv6_disable=1? ipv6.disable=1 gives me error, but either way they are not working.

  3. Ubuntu sux big time now! This ipv6 nonsense is killing me. No way to disable ipv6! Ubuntu, please just publish a compiled-as-amodule ipv6 version of your shitty kernel. Thank you.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s