ubuntu-rockchip icon indicating copy to clipboard operation
ubuntu-rockchip copied to clipboard

Bug Report:

Open ArtemS2 opened this issue 1 year ago • 5 comments

What happened?

Cant use ping ping 8.8.8.8 ping: socktype: SOCK_RAW ping: socket: Операция не позволена ping: => missing cap_net_raw+p capability or setuid?

Kernel version

6.1.0-1023-rockchip

SBC model

Orange PI5B

What operating system are you seeing this problem on?

Ubuntu 24.04 LTS (Noble Nombat)

Relevant logs

ping 8.8.8.8
ping: socktype: SOCK_RAW
ping: socket: Операция не позволена
ping: => missing cap_net_raw+p capability or setuid?

ArtemS2 avatar Aug 24 '24 03:08 ArtemS2

Same here with nano-pc T6

ping 8.8.8.8 ping: socktype: SOCK_RAW ping: socket: Operation not permitted ping: => missing cap_net_raw+p capability or setuid?

but:

sudo ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=19.6 ms

hanvinke avatar Aug 24 '24 08:08 hanvinke

I highly doubt this is a problem with Ubuntu Rockchip, check your ISP and internet settings.

Joshua-Riek avatar Aug 24 '24 08:08 Joshua-Riek

@Joshua-Riek If the problem was with the connection, then the ping from the sudo user also did not pass.

ArtemS2 avatar Aug 24 '24 08:08 ArtemS2

Problem can be solved with :

sudo sysctl -w net.ipv4.ping_group_range="0 1000"

han@han-desktop:~$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=116 time=21.2 ms

hanvinke avatar Aug 24 '24 08:08 hanvinke

@hanvinke Thank you very much this really helped.

ArtemS2 avatar Aug 24 '24 08:08 ArtemS2

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 14 days. Thank you for your contribution!

github-actions[bot] avatar Jan 20 '25 12:01 github-actions[bot]

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.

github-actions[bot] avatar Feb 10 '25 12:02 github-actions[bot]