delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/25/09:11:06

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: Gustavo Seabra <gustavo DOT seabra AT gmail DOT com>
Date: Fri, 25 Sep 2009 10:10:31 -0300
Message-ID: <f79359b60909250610k482c01e1p977a46021a3f9738@mail.gmail.com>
Subject: [1.7] ping: socket: Operation not permitted
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

I have just installed a brand new cygwin installation. When I try to
ping anything from cygwin, I get the message above:

$ ping 150.161.5.10
ping: socket: Operation not permitted

If I try exactly the ssame from the command shell, it works:

C:\>ping 150.161.5.10

Pinging 150.161.5.10 with 32 bytes of data:
Reply from 150.161.5.10: bytes=32 time=1ms TTL=64
Reply from 150.161.5.10: bytes=32 time<1ms TTL=64
Reply from 150.161.5.10: bytes=32 time<1ms TTL=64
Reply from 150.161.5.10: bytes=32 time<1ms TTL=64

Ping statistics for 150.161.5.10:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 1ms, Average = 0ms


Would anyone know why ping isn't working for me in cygwin? I have not
found any mention of it in the documentation. The most recent message
I find in the archives is about 2 years old:
http://sourceware.org/ml/cygwin/2007-12/msg00364.html

But it says cygwin's ping should only work from an admin account, and
I have always been able to ping from cygwin using a regular user
account without any problems, so I don't believe that the problem here
is the same.

Any suggestions?

Thanks a lot,
Gustavo Seabra.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019