How do you disable IPv6 in Kubuntu 9.04. My internet is feverishly slow and I'm hoping turning off ipv6 will solve the problem. There are tons of tutorials that tell you how to do it for ubuntu, but none for Kubuntu.
Thanks.
How do you disable IPv6 in Kubuntu 9.04. My internet is feverishly slow and I'm hoping turning off ipv6 will solve the problem. There are tons of tutorials that tell you how to do it for ubuntu, but none for Kubuntu.
Thanks.
Gateway MT6460 Laptop
It should be the same in Kubuntu I think. Do the following in the Konsole:
Find the line that says the following:Code:sudo gedit /etc/modprobe.d/aliases
Then change it to the following:Code:alias net-pf-10 ipv6
Now run the following command:Code:alias net-pf-10 off ipv6
Then reboot, and IPv6 should be disabled. To make sure it's disabled you can also run the following:Code:update-modules
That will tell you if IPv6 is currently running.Code:ip a | grep inet6
Yeah, that doesn't work. There is no such file located at: /etc/modprobe.d/aliases
Gateway MT6460 Laptop
2 ways.
1: Manual way that's persistent on the current boot only.
$sudo echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
2: Add the kernel parameter to the sysctl.conf
$sysctl -a |grep net.ipv6.conf.all.disable_ipv6
This should be a zero, for enabled by default.
$sudo echo net.ipv6.conf.all.disable_ipv6 = 1 >> /etc/sysctl.conf
$sudo sysctl -p
Justin
Hi. When I try to setI get the following error in the terminal.Code:echo net.ipv6.conf.all.disable_ipv6 = 1Code:bash: /etc/sysctl.conf: Permission denied
Gateway MT6460 Laptop
You will need root permissions to update the /etc/sysctl.conf
At any case, you manually edit the file with vi or whatever file editor you are comfortable with. To just append the line:
net.ipv6.conf.all.disable_ipv6 = 1
and save it.
Justin
Hi. I was able to get into root and follow the steps you posted, but when I run the command to check if ipv6 is enabled or disabledI get the following:Code:ip a | grep inet6I believe this means that IPV6 is still running. Can you confirem this? And yes, I did reboot.Code:inet6 ::1/128 scope host inet6 fe80::20f:b5ff:fe5d:4b7b/64 scope link
Thanks.
Gateway MT6460 Laptop
The sysctl method didn't work for me.
@izizzle: yes that means that you're still running IPv6. Additionally you can check with netstat -napA inet6 the specific processes that opened such sockets.
My question here would be:
Is there any way to force new sockets into a specific protocol family (inet|inet6)?
C]-[aoZ
Misunderstood something.
Actually this is a kernel bug: https://bugs.launchpad.net/ubuntu/+s...ux/+bug/351656
So we will need to wait until the next kernel update.
Additionally this bug prevents rollout in corporate environments so I hope it gets applied soon.
So there is no way to disable IPv6, not even with the method that Unien9 suggested? By when do you think the kernel update will be released?
Gateway MT6460 Laptop
Bookmarks