[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

disabling ipv6 kernel module



hello-

i have kernel 2.6.8 - and am having difficulty understanding how to properly keep the ipv6 module from loading.

initially, i included it in the hotplug blacklist, along with a few others, but this didn't work. the other modules were not loaded, but ipv6 still was. i believe, if i understand correctly, this is because if something asks for it, it will load, even if it's blacklisted w/ hotplug. my problem is that i know there are plenty of process asking for it simply because they can, not because they need to.

after many hours of reading about modutils, module-init-tools, rmmod, modprobe.d, modprob.conf, and many others, the only thing i could come up with was to change the line in /etc/modprobe.d/aliases to:

alias net-pf-10 off

and did an update-modules and a depmod. this did indeed work, but i believe it is not the correct way to do this. especially since the aliases file i had to edit says right at the top 'this file does not need to be modified'

what is the proper approach to achieving this?

any insight is greatly appreciated
-ben



Reply to: