Created attachment 657944 [details] emerge --info When I'm using ping I get message "ping: socket: Address family not supported by protocol". Downgrading iputils to 20190709-r1 fix this issue. >[ebuild R ] net-misc/iputils-20190709-r1::gentoo USE="arping nls ssl -SECURITY_HAZARD -caps -clockdiff -doc -filecaps -gcrypt -idn -ipv6 -libressl -nettle -rarpd -rdisc -static -tftpd -tracepath -traceroute6" 0 KiB
Hmm, tried iputils-20200821 with the exact same USE on a up-to-date ~amd64 system (uses gcc9 though) and ping works fine. Likely something else at work here. Does `ping -4 <address>` work?
(In reply to lekto from comment #0) > When I'm using ping I get message "ping: socket: Address family not > supported by protocol". Ping what exactly? A hostname / FQDN / IPv4 address / IPv6 address? In the case of either of the former two, what addresses do those names resolve to?
Also, do you have IPv6 disabled in the kernel? This is typically not a good idea even if you don't use it (I did notice you use -ipv6). Can cause basic checks to fail given hardly anyone anyone tests this anymore.
>ping gentoo.org >ping: socket: Address family not supported by protocol >PING gentoo.org (89.16.167.134) 56(84) bytes of data. >64 bytes from www.gentoo.org (89.16.167.134): icmp_seq=1 ttl=49 time=35.5 ms >64 bytes from www.gentoo.org (89.16.167.134): icmp_seq=2 ttl=49 time=33.9 ms >64 bytes from www.gentoo.org (89.16.167.134): icmp_seq=3 ttl=49 time=35.0 ms >64 bytes from www.gentoo.org (89.16.167.134): icmp_seq=4 ttl=49 time=35.3 ms >^C >--- gentoo.org ping statistics --- >4 packets transmitted, 4 received, 0% packet loss, time 3004ms >rtt min/avg/max/mdev = 33.876/34.920/35.471/0.628 ms Yes, I have disabled IPv6 in kernel, for years. If I remember correctly I had some weird problem with losing Internet or router connection when I built my Gentoo router. I read somewhere that IPv6 might cause this so I disabled it and this fix the problem. Since then I always disable IPv6, plus I don't realy see point in using IPv6 behind NAT when ISP provide only IPv4.
and forgot this: >ping -4 gentoo.org >PING gentoo.org (89.16.167.134) 56(84) bytes of data. >64 bytes from www.gentoo.org (89.16.167.134): icmp_seq=1 ttl=49 time=36.2 ms >64 bytes from www.gentoo.org (89.16.167.134): icmp_seq=2 ttl=49 time=33.7 ms >64 bytes from www.gentoo.org (89.16.167.134): icmp_seq=3 ttl=49 time=34.1 ms >64 bytes from www.gentoo.org (89.16.167.134): icmp_seq=4 ttl=49 time=33.4 ms >^C >--- gentoo.org ping statistics --- >4 packets transmitted, 4 received, 0% packet loss, time 3004ms >rtt min/avg/max/mdev = 33.363/34.344/36.162/1.085 ms
Please report the issue upstream. https://github.com/iputils/iputils/issues
Reported upstream. https://github.com/iputils/iputils/issues/293