Linux.com

Home Linux Community Forums Linux Distributions Debian Disable IPV6 in Debian Lenny?

Disable IPV6 in Debian Lenny?

Link to this post 21 Apr 09

I have tried various ways of disabling IPv6 on my primary workstation running Debian Lenny but it still sticks. Any ideas?

:laugh:

Link to this post 21 Apr 09

I didn't try it, but it may help you: link

Link to this post 22 Apr 09

:cheer:

Heh, i had made a spalling erorr in the config file the first time i tried.

It works like a charm now, thanks mate.

Link to this post 22 Apr 09

try it

echo blacklist ipv6 >> /etc/modprobe.d/blacklist.local

Link to this post 22 Apr 09

For the archive:
edit:

/etc/modprobe.d/aliases

By default you will have a line like this:

alias net-pf-10 ipv6

Replace that line with:

alias net-pf-10 off
alias ipv6 off

(The second line may/may not be required with newer (2.26.+) kernels, but it won’t hurt anything)

Also, while we’re at it, on your desktop machines, help out Firefox by disabling IPv6 there too. It’s simple, in the location bar enter:

about:config

Then search for:

network.dns.disableIPv6

and toggle its value to ‘true'

Link to this post 13 May 09

edit /etc/modprobe.d/aliases
alias net-pf-10 off
alias ipv6 off

you can do it with everything else you don need it (X25, appletalk, ...)

Hope it helps

Ben

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board