www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/14/11:28:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 14 Sep 2004 11:28:00 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Marcus Davage <marcus DOT davage AT scenta DOT co DOT uk>
cc: cygwin AT cygwin DOT com
Subject: Re: 1.5.11 - tcp problems
In-Reply-To: <6442687640.20040914160617@scenta.co.uk>
Message-ID: <Pine.GSO.4.61.0409141123390.24105@slinky.cs.nyu.edu>
References: <6442687640 DOT 20040914160617 AT scenta DOT co DOT uk>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

Marcus,

First off, <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.

Secondly, the /etc/services file seems ok, but in Cygwin it's actually a
symlink to the one in the Windows system directory.  Do you have the
symlink on your system, or is /etc/services a file?  If it's a file,
Windows (in particular, winsock) won't be aware of it.
	Igor

On Tue, 14 Sep 2004, Marcus Davage wrote:

> Sorry, but I'm a bit of a novice when it comes to TCP - how should I
> edit /etc/services?
> There are currently entries for ftp and telnet already...
> ftp                21/tcp
> ssh                22/tcp
> ssh                22/udp
> telnet             23/tcp
> smtp               25/tcp    mail
>
> Regards,
> Marcus
>
> ------Original Mail------
> From: Igor Pechtchanski <pechtcha AT XX DOT XXX DOT XXX>
> To: cygwin AT XXXXXX DOT XXX, Marcus Davage <marcus DOT davage AT XXXXXX DOT XX DOT XX>
> Received On: Tue, 14 Sep 2004 15:57:24
> Subject: Re: 1.5.11 - tcp problems
>
> On Tue, 14 Sep 2004, Igor Pechtchanski wrote:
>
> > On Tue, 14 Sep 2004, Marcus Davage wrote:
> >
> > > When executing ftp command, I get...
> > > ftp: ftp/tcp: unknown service
> > >
> > > When executing x3270 hostname, I get...
> > > Unknown port number or service: telnet
> > >
> > > What can I do to re-establish tcp connectivity?
> >
> > Umm, edit /etc/protocols?
>
> Whoops, fingers ahead of the brain there.  Make that /etc/services...
> 	Igor
>
> > > uname -s returns...
> > > CYGWIN_NT-4.0 wrkseverns79590 1.5.11(0.116/4/2) 2004-09-04 23:17 i686 unknown unknown Cygwin
> > >
> > > Kind regards,
> > > Marcus

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Happiness lies in being privileged to work hard for long hours in doing
whatever you think is worth doing."  -- Dr. Jubal Harshaw

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

- Raw text -


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