palladium wrote:
> i have been trying to follow this with some interest and have
> copy/pasted the following from several different sources…i haven’t
> yet installed 11.2 so i have NO idea if any of it will work…so,
> beware! (and good luck–recommend you read all before trying any)
Nope, none of it works.
> --------------------------------------------------------------------
> Open Yast → Network Devices ->Network Settings and in Global Options
> tab Uncheck Enable IPv6
>
As I said I had already done this. And just to confirm I also checked the
modprobe file (now /etc/modprobe.d/50-ipv6.conf in 11.2) and it contains the
correct entry : install ipv6 /bin/true
> in firefox type ‘about:config’ in the address bar, press enter then
> search for 'disable ipv6. Double click to set value to true if
> currently set to false.
>
This helps firefox but does nothing for the system and any other apps, eg
vmware workstation, opera.
>
> -------------------------------------
> then i saw:
>
> “I had disabled IPv6 support in YAST but it doesn’t clean up the
> /etc/hosts file. I deleted all of the IPv6 info in that file and made
> sure the 127.0.0.1 address had localhost added.”
> http://forums.opensuse.org/showthread.php?t=402048
> like:
> # IP-Address Full-Qualified-Hostname Short-Hostname
> #
>
> 127.0.0.1 localhost
>
> # special IPv6 addresses
> # in http://forums.opensuse.org/showthread.php?t=402048
> #::1 localhost ipv6-localhost ipv6-loopback
> #
> #fe00::0 ipv6-localnet
> #
> #ff00::0 ipv6-mcastprefix
> #ff02::1 ipv6-allnodes
> #ff02::2 ipv6-allrouters
> #ff02::3 ipv6-allhosts
> #127.0.0.2 linux103-32.texan linux103-32
>
It is true that /etc/hosts is not modified to remove/disable the ipv6 host
entries. But commenting them out does not affect whether or not ipv6 is
loaded and bound to your network interfaces. So apps still suffer.
>
> -------------------------------------
> then:
> for Opera, but maybe all??
>
Opera does not support disabling ipv6. You have to disable ipv6 at the
network layer on the host, which is of course what I am trying to do.
> Short version: try turning on EnableHostNameWebLoookup
> (opera:config#Network|EnableHostNameWebLookup), and if that doesn’t
> work, turn off IPv6. For Ubuntu this is
> https://help.ubuntu.com/community/WebBrowsingSlowIPv6IPv4
>
> sudo sh -c ‘echo blacklist ipv6 >> /etc/modprobe.d/blacklist.local’
>
> sudo reboot
>
> -------------------------------------
> then:
>
> with 11.2: Found out that ipv6 is no longer a module, it is in the
> kernel, so you can administratively disable with a kernel option in
> grub’s menu.lst of ipv6.disable=1 but individual applications can
> still send out v4 and v6 queries. In my case yast2 → software →
> online update still sends out both, until I find out how to disable.
An even better method than editing your grub menu.lst is to add an entry to
your /etc/sysctl.conf file:
net.ipv6.conf.all.disable_ipv6 = 1
You can test this without rebooting (in a console do the following):
- First check the current value, enter:
cat /proc/sys/net/ipv6/conf/all/disable_ipv6
The value should be 0 which is the default - meaning that ipv6 is enabled by
default.
- Now change the value by executing the following command as root:
echo 1 > /proc/sys/net/ipv6/conf/all/disable_ipv6
- Restart network services, again as root:
rcnetwork restart
- Check your config now by entering, as root:
ifconfig
There should no longer be any IPv6 address’s configured for any interface.
Again, o make this permanent edit /etc/sysctl.conf by adding this line:
net.ipv6…conf.all.disable_ipv6 = 1
Cheers,
Ron
PS. This is a bug in the opensuse yast and install routines as they should
put the proper entry in either menu.lst or preferably in /etc/sysctl.conf.