You are not logged in.

#1 2018-05-11 08:58:47

zyr0nix
Member
Registered: 2018-05-11
Posts: 1

Cant ping any host. Otherwise internet works fine

$ ifconfig
eno1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 78:e3:b5:5a:44:cb  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 11827  bytes 3821191 (3.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 11827  bytes 3821191 (3.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.14  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::f940:2c06:efa7:3d6a  prefixlen 64  scopeid 0x20<link>
        ether cc:af:78:66:ab:4d  txqueuelen 1000  (Ethernet)
        RX packets 93631  bytes 99841108 (95.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 62669  bytes 7986777 (7.6 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

$ ping localhost
PING localhost(localhost (::1)) 56 data bytes
64 bytes from localhost (::1): icmp_seq=1 ttl=64 time=0.041 ^C

$ ping google.com

PING google.com (216.58.192.206) 56(84) bytes of data.

It eternally hangs here.  Doesn't even indicate no response.

I am able to resolve DNS, browse web, etc, but ping utterly fails. As a result, a lot of my scripts that rely on

ping

fail. I've reinstalled iputils, to no avail. Why can't this simple app respond to a simple ping?  It's very frustrating, and I feel like I've reached a dead end!

Last edited by zyr0nix (2018-05-11 09:08:54)

Offline

#2 2018-05-11 09:32:09

Haller
Member
Registered: 2018-04-08
Posts: 45

Re: Cant ping any host. Otherwise internet works fine

Do you use a firewall?

Offline

#3 2018-05-11 12:47:47

include4eto
Member
Registered: 2014-05-09
Posts: 4

Re: Cant ping any host. Otherwise internet works fine

Can you please post the output of:

sudo iptables --list

make sure something is not blocking it. Otherwise ufw is nice for managing iptables.

Offline

Board footer

Powered by FluxBB