Debian:HT NoIPv6

From Linux 101, The beginner's guide to all things Linux.

Jump to: navigation, search

To Disable IPV6

under root in a term window.

write these lines below:

alias net-pf-10 off alias ipv6 off

If this does not work from term you will have to edit /etc/modprobe.d yourself. while still logged in as root under term type gedit (The gnome text editor) open the file /etc/modprobe.d (With the 2.6 kernel) just uncomment the line "# alias net-pf-10 off" by removing the # character. then type "alias ipv6 off" right under it, save and exit. Kernels < 2.6 add the above lines to the file and save.

Note once you have made these changes it will require you to restart your Debian (Linux) machine. or you could hit CTRL+ALT+F1(this will exit X) sign in as root, then type in "init 1" (This could take a while depending on your services and configuration). After it has finished you will be asked to supply your root password again. Then type in "init 5" this will reload your system and start X and with hope ipv6 will be forever off.

Hope this helps! Cheers,

ECG

Personal tools