Friday, December 24, 2010

Sheevaplug ping problem

After doing a apt-get update / upgrade and reboot, ping command doesn't work anymore. A quick change mode on /bin/ping will resolve this problem

$ ping google.com
ping: icmp open socket: Operation not permitted
$ ls -lart /bin/ping
-rwxr-xr-x 1 root root 34948 Nov 14 2008 /bin/ping
$ sudo chmod u+s /bin/ping
$ ls -lart /bin/ping
-rwsr-xr-x 1 root root 34948 Nov 14 2008 /bin/ping
$ !ping
ping google.com
PING google.com (66.249.89.104) 56(84) bytes of data.
64 bytes from nrt04s01-in-f104.1e100.net (66.249.89.104): icmp_seq=1 ttl=50 time=8.05 ms
64 bytes from nrt04s01-in-f104.1e100.net (66.249.89.104): icmp_seq=2 ttl=51 time=7.66 ms

No comments:

Post a Comment