Re: have internet access, but cant ping router.
I always was able to ping without using suid before I modified my wifi to reject pings. But after I did that (and probably had some automatic updates too) I wasn't able to ping without using sudo. I could have set the suid bit to ping but I like ping the way it is.
and from Synaptic for iputils-ping: "Conflicts suidmanager"
I always was able to ping without using suid before I modified my wifi to reject pings. But after I did that (and probably had some automatic updates too) I wasn't able to ping without using sudo. I could have set the suid bit to ping but I like ping the way it is.
$ ping google.com
ping: icmp open socket: Operation not permitted
jerry@sonyvgnfw140e:~$ sudo ping google.com
[sudo] password for jerry:
PING google.com (72.14.204.99) 56(84) bytes of data.
64 bytes from google.com (72.14.204.99): icmp_seq=1 ttl=48 time=53.3 ms
....
^C
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 53.328/55.645/62.734/3.572 ms
$
$ ls -la /bin/ping
-rwxr-xr-x 1 root root 35680 2010-12-09 18:59 /bin/ping
$
ping: icmp open socket: Operation not permitted
jerry@sonyvgnfw140e:~$ sudo ping google.com
[sudo] password for jerry:
PING google.com (72.14.204.99) 56(84) bytes of data.
64 bytes from google.com (72.14.204.99): icmp_seq=1 ttl=48 time=53.3 ms
....
^C
--- google.com ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4006ms
rtt min/avg/max/mdev = 53.328/55.645/62.734/3.572 ms
$
$ ls -la /bin/ping
-rwxr-xr-x 1 root root 35680 2010-12-09 18:59 /bin/ping
$
Comment