btb wrote:

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?

I think you can do this by editing /etc/modutils/aliases: # Aliases to tell insmod/modprobe which modules to use

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off            # Unix
# alias net-pf-2 off            # IPv4
# alias net-pf-3 off            # Amateur Radio AX.25
# alias net-pf-4 off            # IPX
# alias net-pf-5 off            # DDP / appletalk
# alias net-pf-6 off            # Amateur Radio NET/ROM
# alias net-pf-9 off            # X.25
# alias net-pf-10 off           # IPv6
# alias net-pf-11 off           # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off           # Acorn Econet

The logic seems kind of backward, but it works. Just remember to run update-modules (as root) after you edit this file.

Jason


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to