-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday, 2018-01-20 at 12:33 +0100, Per Jessen wrote:
Carlos E. R. wrote:
On Friday, 2018-01-19 at 13:55 +0100, Per Jessen wrote:
Carlos E. R. wrote:
On 2018-01-19 13:28, Per Jessen wrote:
Carlos E. R. wrote:
On 2018-01-19 13:16, Per Jessen wrote: > Carlos E. R. wrote: >> On 2018-01-19 13:06, Per Jessen wrote: >>> Carlos E. R. wrote: >> >> ... >> >>>> I have IPv6 enabled on the computer and I have no issues with >>>> it. In "/etc/gai.conf" I changed: >>>> >>>> precedence ::ffff:0:0/96 100 >>>> >>>> which makes the system to prefer IPv4, I understand. >>> >>> Yes, that is what the comments say. When you don't have ipv6, >>> it is unnecessary to change it though. >> >> I found sometimes that zypper would try to use IPv6 and error >> out. Since I did that edit, no more problems :-) > > ISTR that being due to a faulty/partially working ipv6 setup on > your side.
Obviously! My router doesn't have IPv6 to Internet.
No, that is not obvious, Carlos - if you don't have _any_ ipv6 setup, your setup is not faulty nor partial. In that case, no need to edit /etc/gai.conf. Otherwise we would be shipping a very poor default.
But it should be obvious to you, I have commented with you that my router doesn't have IPv6 connectivity :-)
In which case there is no need to amend /etc/gai.conf. That's all I'm saying. As I said, ISTR going through this a couple years back and discovering you had a partial or faulty IPv6 setup.
But I do need it. I have problems without doing that change.
Well, there is something not quite right with your setup then. I'm sure we've been over this before. Something about your router "pretending" it has IPv6, but with no ipv6 uplink.
Yes, the thread is here: https://lists.opensuse.org/opensuse/2015-10/msg00235.html
long thread, you might have to go back and forth a bit.
Ok, I read it again in full. Yes, that is exactly the case. The computer has IPv6, has a fixed IPv6 entered manually, and another it gets automatically, (Scope:Link), related to the MAC: Telcontar:~ # ifconfig eth0 Link encap:Ethernet HWaddr 00:21:85:16:2D:0B <········ inet addr:192.168.1.14 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::221:85ff:fe16:2d0b/64 Scope:Link <-------- inet6 addr: fc00::14/64 Scope:Global <======== UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:75909 errors:0 dropped:6 overruns:0 frame:0 TX packets:62364 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:23320676 (22.2 Mb) TX bytes:5771448 (5.5 Mb) The router doesn't have external IPv6, doesn't give IPv6 to machines (yes, there is another thread with suggestions to try about this, it is in my ToDo List). So the computer thinks there is IPv6, but there is not Internet access on IPv6. This is typical. Thus I change gai.conf so that it tries IPv4 preferably. And things work :-) The other solution we spoke on that thread is changing the code of the dns server so that it doesn't hand out IPv6 responses. - -- Cheers, Carlos E. R. (from openSUSE 42.2 x86_64 "Malachite" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlpjM28ACgkQtTMYHG2NR9XSpwCfcV5fYcoP7cX3g/31BTX/gtJS ZasAn1yPZEsu5bWjFrhPfKNjblfT+fui =YOmJ -----END PGP SIGNATURE-----