ping doesn't have cap_net_raw+ep by default on Rpi3 aarch64

Problems with packages? Post here, using [tags] of the package name.

ping doesn't have cap_net_raw+ep by default on Rpi3 aarch64

Postby noureddinex » Wed Oct 11, 2017 6:07 am

$this->bbcode_second_pass_code('', '[me@pi ~]$ ping google.com
ping: socket: Operation not permitted
[me@pi ~]$ sudo setcap 'cap_net_raw+ep' /usr/bin/ping
[me@pi ~]$ ping google.com -c 3
PING google.com (216.58.210.238) 56(84) bytes of data.
64 bytes from mrs04s10-in-f238.1e100.net (216.58.210.238): icmp_seq=1 ttl=55 time=58.5 ms
64 bytes from mrs04s10-in-f238.1e100.net (216.58.210.238): icmp_seq=2 ttl=55 time=64.8 ms
64 bytes from mrs04s10-in-f238.1e100.net (216.58.210.238): icmp_seq=3 ttl=55 time=69.7 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 58.557/64.396/69.760/4.585 ms
[me@pi ~]$ ')
noureddinex
 
Posts: 1
Joined: Wed Oct 11, 2017 5:58 am

Return to Packages

Who is online

Users browsing this forum: No registered users and 9 guests