ChrisArena52 Posted June 4, 2016 Share Posted June 4, 2016 When I do a ping, I get this error: cubie@cubieboard:~$ ping www.google.com ping: icmp open socket: Operation not permitted There is a discussion of this elsewhere: https://discuss.zendesk.com/hc/en-us/articles/202374517-Linux-ping-command-fails-with-icmp-open-socket-Operation-not-permitted- Doing the following fixes things: root@cubieboard:/bin# chmod 4755 ping root@cubieboard:/bin# ls -tlr ping -rwsr-xr-x 1 root root 34752 Nov 8 2014 ping Then ping works: cubie@cubieboard:~$ ping www.google.com PING www.google.com (172.217.2.196) 56(84) bytes of data. 64 bytes from iad23s23-in-f4.1e100.net (172.217.2.196): icmp_seq=1 ttl=57 time=44.3 ms 64 bytes from iad23s23-in-f4.1e100.net (172.217.2.196): icmp_seq=2 ttl=57 time=44.2 ms 64 bytes from iad23s23-in-f4.1e100.net (172.217.2.196): icmp_seq=3 ttl=57 time=44.2 ms ^C --- www.google.com ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 44.267/44.305/44.360/0.176 ms cubie@cubieboard:~$ Can ping be given the correct permission so that this maneuver isn't required? Thanks, Chris Link to comment Share on other sites More sharing options...
Igor Posted June 5, 2016 Share Posted June 5, 2016 Debian related bug? https://debianforum.de/forum/viewtopic.php?f=29&t=156254 Link to comment Share on other sites More sharing options...
ChrisArena52 Posted June 5, 2016 Author Share Posted June 5, 2016 I'll put an adjustment into rc.local .... Chris Link to comment Share on other sites More sharing options...
gnasch Posted June 5, 2016 Share Posted June 5, 2016 had the same problem here, setcap cap_net_raw+ep /bin/ping executed as root, solved it, remains ok after boot. Link to comment Share on other sites More sharing options...
Recommended Posts