You are not logged in.
Ahoj,
recently, after a fresh installation, I have the issue that as a normal user after a (re)boot ping does not work.
When I want to ping a host, e.g. `ping gmx.de`, it fails with
ping: socktype: SOCK_RAW
ping: socket: Operation not permitted
ping: => missing cap_net_raw+p capability or setuid?
Ping as root works:
PING gmx.de (82.165.229.152) 56(84) bytes of data.
64 bytes from redir-ba.web.de (82.165.229.152): icmp_seq=1 ttl=246 time=59.2 ms
64 bytes from redir-ba.web.de (82.165.229.152): icmp_seq=2 ttl=246 time=68.7 ms
[...]
Sometimes, "magically" ping capability comes back and I can ping as a normal user, and I can continue so until next boot.
This is really strange (especially the erratic behaviour), does anyone has an idea what can cause this or how to trace it down?
Offline
You're not sending an ICMP echo request, most likely (check "ip a" at the time) you don't have a lease but only the IPv6 link local address.
Offline