
ANyone know how to disable a module (like ipv6) under Ubuntu 9.04? I thought I did, but it appears not. Firstly, ipv6 is now compiled as a kernel module, which is largely okay (except that Network Manager sucks and seems to like collecting multiple IPv6 addresses despite only one being routable. Of course, it gives the highest priority to the last one it discovers, so that means IPv6 is unusable on the network I'm now on...) But that's only the start of my issue...
I thought I could disable IPv6 by setting /proc/sys/net/ipv6/conf/all/disable_ipv6 to contain 1. Nope - that does absolutely nothing. Awesome!
So I compiled the latest kernel and put IPv6 in as a module, because on every other network in the world I do want to use it - just not here (until Network Manager is fixed.)
You can disable a module from loading in Linux by editing /etc/modprobe.conf - but that file has been removed and replaced with an /etc/modprobe.d/ subdirectory. Still no modprobe.conf file in there, because why leave things the same... but there is a blacklist.conf file, in which you can blacklist modules.
Of course, Ubuntu being Ubuntu, this does sweet sod all (I'm thinking much more rude words) so I'm still at a complete loss as to how to kill IPv6 in the face on this OS. Fedora 11 has just been released, so I think I'm going to take a break from Ubuntu for a little while and see if RedHat has less 'features' than the current Ubuntu release.
posted at: 16:42 | path: /technical | permanent link to this entry
