delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/01/03/12:08:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Thu, 3 Jan 2013 10:07:48 -0700
Message-ID: <CA+RBt1nCqr0PBmCS21wBpCEHB_CDF8cJt4z_0oXV8n+Qqswu5A@mail.gmail.com>
Subject: Conflated ping issues
From: David McAllister <davemc0 AT gmail DOT com>
To: cygwin AT cygwin DOT com
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 three machines that all run Win 7 x64 and all have updated
Cygwin installs. I thought I installed them all the same, but I'm
getting two differences, both centered around the ping command.

Machine 1 doesn't have /usr/bin/ping.exe, so it uses Windows PING.EXE:
> which ping
/cygdrive/c/Windows/system32/ping
I type "ping" and it runs PING.EXE and succeeds.
Machine 2 had /usr/bin/ping.exe, but when I run it I get
ping: socket: operation not permitted.
So I found a thread about that not working unless you have admin
priviliges, so I deleted /usr/bin/ping.exe in favor of Windows
PING.EXE and rehashed.
However, on this machine it doesn't map "ping" to "PING", like it does
on the other machine. If I type "PING" it successfully runs Windows
PING.
Machine 3 has /usr/bin/ping.exe and when I type "ping" it runs it
successfully. I didn't do anything special when launching mintty or
tcsh to put it in administrator mode.

I am an administrator on all three machines.
a) What makes one machine case insensitive to DOS commands and the
other sensitive?
b) What makes one machine succeed with Cygwin ping and the other not,
when I'm an admin on both?

Thanks,
Dave

--
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