ping: icmp open socket: Operation not permitted 的解决办法

简介:
ping: icmp open socket: Operation not permitted 的解决办法


1.sudo route

ping www.baidu.com


2. ls -l /bin/ping

sudo chmod u+s /bin/ping
espy@espy:/var/www/e/htromwe/includes$ ls -l /bin/ping


3.

espy@espy:/var/www/e/htromwe/includes$ ping www.baidu.com
PING www.a.shifen.com (220.181.111.83) 56(84) bytes of data.
64 bytes from 220.181.111.83: icmp_req=1 ttl=54 time=31.2 ms
64 bytes from 220.181.111.83: icmp_req=2 ttl=54 time=31.8 ms
64 bytes from 220.181.111.83: icmp_req=3 ttl=54 time=30.2 


你可能感兴趣的:(网络)