Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Wed, 26 Jun 2002 09:48:37 -0400 From: Jon LaBadie To: cygwin AT cygwin DOT com Subject: Re: simultaneous windows and cygwin telnet service Message-ID: <20020626134837.GA3415@butch.jgcomp.com> Mail-Followup-To: Jon LaBadie , cygwin AT cygwin DOT com References: <20020626033229 DOT GA21296 AT butch DOT jgcomp DOT com> <20020626042942 DOT GL4051 AT redhat DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020626042942.GL4051@redhat.com> User-Agent: Mutt/1.3.28i On Tue, Jun 25, 2002 at 09:29:42PM -0700, Brendan Conoboy wrote: > On Tue, Jun 25, 2002 at 11:32:29PM -0400, Jon LaBadie wrote: > > Is it possible? > > > > Perhaps by specifying the cygwin service use a different port? > > Then one could "telnet host" and get the standard windows > > service or "telnet host " and get the cygwin service. > > If you're running telnet with inetd, you just need to make a simple > change to inetd.conf. Say your current telnetd line looks like this: > > telnet stream tcp nowait root /usr/libexec/telnetd telnetd > > The first word in the line says "telnet" but what that really means > is that /etc/services is consulted for what port/protocol "telnet" > uses. If you look at /etc/services you'll see something like this: > > telnet 23/tcp > > If you changed that number to 24 and restarted inetd, you'd have inetd > listening for telnet connections on port 24. That was my simple, first attempt before posting my message. I changed the port to 33 in cygwin's /etc/services. Stopped inetd. Exited all cygwin shells. Restarted a shell. Restarted inetd. No go. The connection seems to be made (remote end does not see connection refused), but it hangs and never gives a login prompt. Reseting the port to 23 restores the service. Also, the windows telnet service will not start. That may be unrelated. -- Jon H. LaBadie jcyg AT jgcomp DOT com JG Computing 4455 Province Line Road (609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax) -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/