Results 1 to 4 of 4

Thread: ubuntu-eee ping: icmp open socket: Operation not permitted

  1. #1
    Join Date
    Sep 2006
    Beans
    152

    Cool ubuntu-eee ping: icmp open socket: Operation not permitted

    Hi, this is my weird problem on Asus eeepc 701, ubuntu-eee installed and fresh-upgraded:

    asbesto@lem:~$ ping google.it
    ping: icmp open socket: Operation not permitted


    Instead, from root I have:

    asbesto@lem:~$ sudo bash
    root@lem:~# ping google.it
    PING google.it (216.239.59.104) 56(84) bytes of data.
    64 bytes from 216.239.59.104: icmp_seq=1 ttl=240 time=133 ms
    64 bytes from 216.239.59.104: icmp_seq=2 ttl=240 time=132 ms
    64 bytes from 216.239.59.104: icmp_seq=3 ttl=240 time=132 ms

    --- google.it ping statistics ---
    3 packets transmitted, 3 received, 0% packet loss, time 10487ms
    rtt min/avg/max/mdev = 132.178/132.744/133.488/0.549 ms
    root@lem:~#



    Why this ?!?


  2. #2
    Join Date
    Feb 2008
    Location
    Minnesota, USA
    Beans
    754
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: ubuntu-eee ping: icmp open socket: Operation not permitted

    Check to ensure that the ping binary is setuid root:

    Code:
    ls -l `which ping`
    It should come back:

    Code:
    -rwsr-xr-x 1 root root 30856 2007-07-06 02:40 /bin/ping
    If that's not an s, you can fix it with:

    Code:
    sudo chmod u+s `which ping`
    Then you will be allowed to ping as anyone.

    Hope this helps.
    Hate fighting with Linux? Buy Preinstalled!
    Love fighting with Linux? Try Gentoo!
    __________________________________________________
    Unanswered Posts Team || Connection problems?

  3. #3
    Join Date
    Sep 2006
    Beans
    152

    Re: ubuntu-eee ping: icmp open socket: Operation not permitted

    I already note that yesterday night (sorry for not telling here); now the question is... WHY?

    chmod fixed, anyway

    thanks

  4. #4
    Join Date
    May 2010
    Beans
    1

    Lightbulb Re: ubuntu-eee ping: icmp open socket: Operation not permitted

    try this one
    Code:
    chmod u+s /bin/ping

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •