Friday, August 18, 2017

High Sierra hiding lost pings.



I just noticed that lost pings are hidden. It was irritating enough that ping now requires elevation.
jamsignal$ ping 10.133.1.1ping: Lacking privilege for raw socket.jamsignal$ 

jamsignal$ sudo ping 10.133.1.1PING 10.133.1.1 (10.133.1.1): 56 data bytes64 bytes from 10.133.1.1: icmp_seq=0 ttl=254 time=69.707 ms64 bytes from 10.133.1.1: icmp_seq=1 ttl=254 time=68.789 ms64 bytes from 10.133.1.1: icmp_seq=4 ttl=254 time=79.188 ms64 bytes from 10.133.1.1: icmp_seq=6 ttl=254 time=48.910 ms64 bytes from 10.133.1.1: icmp_seq=7 ttl=254 time=67.357 ms64 bytes from 10.133.1.1: icmp_seq=8 ttl=254 time=68.787 ms64 bytes from 10.133.1.1: icmp_seq=9 ttl=254 time=77.702 ms64 bytes from 10.133.1.1: icmp_seq=10 ttl=254 time=59.172 ms64 bytes from 10.133.1.1: icmp_seq=11 ttl=254 time=68.638 ms64 bytes from 10.133.1.1: icmp_seq=12 ttl=254 time=89.859 ms^C--- 10.133.1.1 ping statistics ---13 packets transmitted, 10 packets received, 23% packet lossround-trip min/avg/max/stddev = 48.910/69.811/89.859/10.544 msjamsignal$ 

Update: I had installed inetutils to get telnet and ftp on High Sierra. That is what broke my ping.

4 comments:

Unknown said...

I have the exact same situation as of this morning....

Many network tools under my /usr/local/bin/ were overwritten when I installed the inetutils this morning...time/date stamps match up....and like you, now my ping is broken and requires sudo.

I've been trying to experiment with changing OWNER and PERMISSIONS and unfortunately have had zero luck.
Did you find a way yet (as of your posting time) to get it working??

Unknown said...

Fixed!

I downloaded HIGH SIERRA again from the App Store.
Opened the contents of the file.
Under /sbin/ on the installed, copied and overwrote my /usr/local/bin/ping with the one from the disk.

jamsignal.com said...

This was my fix.

cd /usr/local/bin
sudo mv ping ping.bk

Unknown said...

sudo chmod u+s /usr/local/bin/ping