KYkid85
Posts: 18
Joined: Mon Mar 21, 2016 1:51 pm

Cannot Ping

Mon Mar 21, 2016 2:00 pm

First post and definitely wont be the last. Hopefully this is not a repeat topic. I am 3 days new with Raspberry pi and linux systems so bare with me haha

When i 'ping' this is what i get...

$ ping www.raspberrypi.org
ping: icmp open socket: Operation not permitted

I'm guessing this is not normal. Please help me straighten this out.

-thanks

Jeff

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6229
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Cannot Ping

Mon Mar 21, 2016 4:36 pm

A problem that currently occurs when installing from NOOBS.

Try this

Code: Select all

sudo setcap cap_net_raw+ep /bin/ping6
sudo setcap cap_net_raw+ep /bin/ping
sudo setcap cap_dac_override,cap_sys_ptrace+ep /usr/bin/systemd-detect-virt
Last edited by ShiftPlusOne on Mon Mar 21, 2016 8:21 pm, edited 1 time in total.
Reason: Removed the -v

KYkid85
Posts: 18
Joined: Mon Mar 21, 2016 1:51 pm

Re: Cannot Ping

Mon Mar 21, 2016 8:44 pm

Thank you Shift+1

Return to “Troubleshooting”