If your browsers work OK, you do not need to disable IPv6. Also, there is nothing wrong with either Ubuntu (Karmic) or IPv6, so if you are experiencing any issues, they are because of your ISP / router / modem.
Symptoms there is something wrong with your ISP / router because of IPv6 can be: Firefox works badly or Firefox works OK but Opera does not (and there is no way to disable IPv6 in Opera) or if you leave Firefox open for some time and Google works but you cannot open any other pages or to make Firefox work you have to restart your PC, etc.
The easy way: if you use Firefox, you can just disable IPv6 in Firefox. Type
and toggle it to TRUE.
The 'hard' way: disable IPv6 system-wide: you must edit the GRUB. Be very careful, and edit it correctly or else your system might not boot!
Symptoms there is something wrong with your ISP / router because of IPv6 can be: Firefox works badly or Firefox works OK but Opera does not (and there is no way to disable IPv6 in Opera) or if you leave Firefox open for some time and Google works but you cannot open any other pages or to make Firefox work you have to restart your PC, etc.
The easy way: if you use Firefox, you can just disable IPv6 in Firefox. Type
about:config
and search for:network.dns.disableIPv6
and toggle it to TRUE.
The 'hard' way: disable IPv6 system-wide: you must edit the GRUB. Be very careful, and edit it correctly or else your system might not boot!
1. Open a terminal and type the following command (if you don't use Gedit, replace it with your text editor such as Kate, etc).
2. And search for this:
Modify it so it looks like this:
3. Now, let's update the GRUB:
Or if you don't use GRUB 2, do:
4. And finally, restart your system.
Also, the old Jaunty method might work in Karmic too.
sudo gedit /etc/default/grub
2. And search for this:
GRUB_CMDLINE_LINUX
Modify it so it looks like this:
GRUB_CMDLINE_LINUX="ipv6.disable=1"
3. Now, let's update the GRUB:
sudo update-grub2
Or if you don't use GRUB 2, do:
sudo update-grub
4. And finally, restart your system.
Also, the old Jaunty method might work in Karmic too.