Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

ping fails with "Operation not permitted"

Featured Replies

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

had the same problem here,

setcap cap_net_raw+ep /bin/ping

executed as root, solved it, remains ok after boot.

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.