How do I disable ipv6?

Asked by Someone on 2007-04-18

How do i disable ipv6 completely on my laptop?
One of the ways is to change 'alias net-pf-10' into 'ipv6 alias net-pf-10 off'.
Are there any other cleaner ways to do this?

/etc/init.d/aliases belongs to module-init-tools package. Running "dpkg-reconfigure -plow module-init-tools" gives nothing.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Someone
Solved:
2007-05-03
Last query:
2007-05-03
Last reply:
2007-04-29

Typo: One of the ways is to change 'alias net-pf-10 ipv6' into 'alias net-pf-10 off'.

TraceyLedbetter (concept10) said : #2

You may also disable ipv6 by blacklisting the kernel module 'ipv6' under /etc/modprobe.d/blacklist

You would add blacklist ipv6.

Hope this help.

This produces warnings in the logs (about blacklisting) and that is what I want to avoid.
Another issue with the modules.
I have a rather old mini-pci Wi-Fi Intel 2100 and I want the kernek module for it to be loaded only on demand, not when the system starts. Is it possible to exclude this module from automatic detection and loading? Loading the ipw2100 module brings the annoying blue LED above my LCD scren and keeping it off is really needed. Or maybe there is some utility to disable just the LED?
And what about the power consumption? Is it supposed to be lower with Wi-Fi kernel module unloaded?

Ryan Kavanagh (ryanakca) said : #4

You might be interested in this thread on the Ubuntu forums about disabling ipv6. http://ubuntuforums.org/showthread.php?t=202838

The thread contains essetially the same info as presented here. Anyway, thanks.

Closing the ticket as almost all possible info about ipv6 has been given.