public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* simultaneous windows and cygwin telnet service
@ 2002-06-26  1:06 Jon LaBadie
  2002-06-26  2:04 ` Brendan Conoboy
  0 siblings, 1 reply; 20+ messages in thread
From: Jon LaBadie @ 2002-06-26  1:06 UTC (permalink / raw)
  To: cygwin

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 <new_port>" and get the cygwin service.

-- 
Jon H. LaBadie                  jcyg@jgcomp.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/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  1:06 simultaneous windows and cygwin telnet service Jon LaBadie
@ 2002-06-26  2:04 ` Brendan Conoboy
  2002-06-26  5:11   ` Corinna Vinschen
  2002-06-26  7:17   ` Jon LaBadie
  0 siblings, 2 replies; 20+ messages in thread
From: Brendan Conoboy @ 2002-06-26  2:04 UTC (permalink / raw)
  To: Jon LaBadie; +Cc: cygwin

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 <new_port>" 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.

-- 
-Brendan (blc@redhat.com)

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  2:04 ` Brendan Conoboy
@ 2002-06-26  5:11   ` Corinna Vinschen
  2002-06-26  5:40     ` Sam Edge
                       ` (2 more replies)
  2002-06-26  7:17   ` Jon LaBadie
  1 sibling, 3 replies; 20+ messages in thread
From: Corinna Vinschen @ 2002-06-26  5:11 UTC (permalink / raw)
  To: cygwin

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 <new_port>" 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.

Correct.  It's just the services file which is located elsewhere
on WIndows systems.  The file is

${WINDIR}/SERVICES                              on 9x/Me and
${SYSTEMROOT}/system32/drivers/etc/services     on NT/2K/XP

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  5:11   ` Corinna Vinschen
@ 2002-06-26  5:40     ` Sam Edge
  2002-06-26  6:19       ` Corinna Vinschen
  2002-06-26  7:43     ` Jon LaBadie
  2002-06-27  3:17     ` Jon LaBadie
  2 siblings, 1 reply; 20+ messages in thread
From: Sam Edge @ 2002-06-26  5:40 UTC (permalink / raw)
  To: cygwin

Corinna Vinschen wrote in <20020626100648.M22705@cygbert.vinschen.de>
in gmane.os.cygwin on Wed, 26 Jun 2002 10:06:48 +0200:

> It's just the services file which is located elsewhere
> on WIndows systems.

There's always the

ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/services /etc/
ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/protocol /etc/
ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/networks /etc/
ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/hosts /etc/

option to make life easier for the weirdo UNIX
'do-it-on-the-command-line' types. [1] :-)

----
[1] Myself included!

-- 
Sam Edge

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  5:40     ` Sam Edge
@ 2002-06-26  6:19       ` Corinna Vinschen
  2002-06-27  6:56         ` Nicholas Wourms
  0 siblings, 1 reply; 20+ messages in thread
From: Corinna Vinschen @ 2002-06-26  6:19 UTC (permalink / raw)
  To: cygwin

On Wed, Jun 26, 2002 at 09:23:44AM +0100, Sam Edge wrote:
> Corinna Vinschen wrote in <20020626100648.M22705@cygbert.vinschen.de>
> in gmane.os.cygwin on Wed, 26 Jun 2002 10:06:48 +0200:
> 
> > It's just the services file which is located elsewhere
> > on WIndows systems.
> 
> There's always the
> 
> ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/services /etc/
> ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/protocol /etc/
> ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/networks /etc/
> ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/hosts /etc/
> 
> option to make life easier for the weirdo UNIX
> 'do-it-on-the-command-line' types. [1] :-)

True.  Same for me.  But that doesn't help people to find the files
in the first place.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  2:04 ` Brendan Conoboy
  2002-06-26  5:11   ` Corinna Vinschen
@ 2002-06-26  7:17   ` Jon LaBadie
  1 sibling, 0 replies; 20+ messages in thread
From: Jon LaBadie @ 2002-06-26  7:17 UTC (permalink / raw)
  To: cygwin

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 <new_port>" 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@jgcomp.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/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  5:11   ` Corinna Vinschen
  2002-06-26  5:40     ` Sam Edge
@ 2002-06-26  7:43     ` Jon LaBadie
  2002-06-26  7:46       ` Corinna Vinschen
  2002-06-27  3:17     ` Jon LaBadie
  2 siblings, 1 reply; 20+ messages in thread
From: Jon LaBadie @ 2002-06-26  7:43 UTC (permalink / raw)
  To: cygwin

On Wed, Jun 26, 2002 at 10:06:48AM +0200, Corinna Vinschen wrote:
> 
> Correct.  It's just the services file which is located elsewhere
> on WIndows systems.  The file is
> 
> ${WINDIR}/SERVICES                              on 9x/Me and
> ${SYSTEMROOT}/system32/drivers/etc/services     on NT/2K/XP

Are you saying the cygwin inetd uses the windows services file
(and inetd.conf?) rather than the ones in /etc?

If so, I over looked that little ditty.

-- 
Jon H. LaBadie                  jcyg@jgcomp.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/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  7:43     ` Jon LaBadie
@ 2002-06-26  7:46       ` Corinna Vinschen
  2002-06-26  8:23         ` Jon LaBadie
  0 siblings, 1 reply; 20+ messages in thread
From: Corinna Vinschen @ 2002-06-26  7:46 UTC (permalink / raw)
  To: cygwin; +Cc: Jon LaBadie

On Wed, Jun 26, 2002 at 10:03:07AM -0400, Jon LaBadie wrote:
> On Wed, Jun 26, 2002 at 10:06:48AM +0200, Corinna Vinschen wrote:
> > 
> > Correct.  It's just the services file which is located elsewhere
> > on WIndows systems.  The file is
> > 
> > ${WINDIR}/SERVICES                              on 9x/Me and
> > ${SYSTEMROOT}/system32/drivers/etc/services     on NT/2K/XP
> 
> Are you saying the cygwin inetd uses the windows services file
> (and inetd.conf?) rather than the ones in /etc?

Sure.  Cygwin doesn't maintain it's own services file but uses
the same one used by Winsock.  If you created your own /etc/services
(instead of just a symlink), bad luck!

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  7:46       ` Corinna Vinschen
@ 2002-06-26  8:23         ` Jon LaBadie
  2002-06-26  8:27           ` Corinna Vinschen
  0 siblings, 1 reply; 20+ messages in thread
From: Jon LaBadie @ 2002-06-26  8:23 UTC (permalink / raw)
  To: cygwin; +Cc: Jon LaBadie

On Wed, Jun 26, 2002 at 04:11:21PM +0200, Corinna Vinschen wrote:
> On Wed, Jun 26, 2002 at 10:03:07AM -0400, Jon LaBadie wrote:
> > On Wed, Jun 26, 2002 at 10:06:48AM +0200, Corinna Vinschen wrote:
> > > 
> > > Correct.  It's just the services file which is located elsewhere
> > > on WIndows systems.  The file is
> > > 
> > > ${WINDIR}/SERVICES                              on 9x/Me and
> > > ${SYSTEMROOT}/system32/drivers/etc/services     on NT/2K/XP
> > 
> > Are you saying the cygwin inetd uses the windows services file
> > (and inetd.conf?) rather than the ones in /etc?
> 
> Sure.  Cygwin doesn't maintain it's own services file but uses
> the same one used by Winsock.  If you created your own /etc/services
> (instead of just a symlink), bad luck!

I presume then that cygwin never installs a fresh services/inetd.conf
file as that might overwrite some things in the windows files; things
of which cygwin is unaware.

-- 
Jon H. LaBadie                  jcyg@jgcomp.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/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  8:23         ` Jon LaBadie
@ 2002-06-26  8:27           ` Corinna Vinschen
  0 siblings, 0 replies; 20+ messages in thread
From: Corinna Vinschen @ 2002-06-26  8:27 UTC (permalink / raw)
  To: cygwin; +Cc: Jon LaBadie

On Wed, Jun 26, 2002 at 10:23:39AM -0400, Jon LaBadie wrote:
> On Wed, Jun 26, 2002 at 04:11:21PM +0200, Corinna Vinschen wrote:
> > Sure.  Cygwin doesn't maintain it's own services file but uses
> > the same one used by Winsock.  If you created your own /etc/services
> > (instead of just a symlink), bad luck!
> 
> I presume then that cygwin never installs a fresh services/inetd.conf
> file as that might overwrite some things in the windows files; things
> of which cygwin is unaware.

Windows has no inetd.conf so that's in /etc and it's only
maintained by the inetutils package and then by you.

The Windows services file is modified when running ssh-host-config,
adding

  ssh 22/tcp
  ssh 22/udp

as needed.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  5:11   ` Corinna Vinschen
  2002-06-26  5:40     ` Sam Edge
  2002-06-26  7:43     ` Jon LaBadie
@ 2002-06-27  3:17     ` Jon LaBadie
  2 siblings, 0 replies; 20+ messages in thread
From: Jon LaBadie @ 2002-06-27  3:17 UTC (permalink / raw)
  To: cygwin

On Wed, Jun 26, 2002 at 10:06:48AM +0200, Corinna Vinschen wrote:
> 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 <new_port>" 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.
> 
> Correct.  It's just the services file which is located elsewhere
> on WIndows systems.  The file is
> 
> ${WINDIR}/SERVICES                              on 9x/Me and
> ${SYSTEMROOT}/system32/drivers/etc/services     on NT/2K/XP


AMAZING :))

Use the correct files and things work correctly (at least as expected).

Thanks Corinna.

jon
-- 
Jon H. LaBadie                  jcyg@jgcomp.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/

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26  6:19       ` Corinna Vinschen
@ 2002-06-27  6:56         ` Nicholas Wourms
  2002-06-27  7:39           ` Corinna Vinschen
  2002-06-27 16:47           ` Robert Collins
  0 siblings, 2 replies; 20+ messages in thread
From: Nicholas Wourms @ 2002-06-27  6:56 UTC (permalink / raw)
  To: cygwin

Corinna,

Perhaps the answer is to have these links generated automatically by
setup.exe.  Since the windows directory is an env var, the location of
these files should always be obtainable.

Cheers,
Nicholas
--- Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> On Wed, Jun 26, 2002 at 09:23:44AM +0100, Sam Edge wrote:
> > Corinna Vinschen wrote in <20020626100648.M22705@cygbert.vinschen.de>
> > in gmane.os.cygwin on Wed, 26 Jun 2002 10:06:48 +0200:
> > 
> > > It's just the services file which is located elsewhere
> > > on WIndows systems.
> > 
> > There's always the
> > 
> > ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/services /etc/
> > ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/protocol /etc/
> > ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/networks /etc/
> > ln -s `cygpath -u "$SYSTEMROOT"`/system32/drivers/etc/hosts /etc/
> > 
> > option to make life easier for the weirdo UNIX
> > 'do-it-on-the-command-line' types. [1] :-)
> 
> True.  Same for me.  But that doesn't help people to find the files
> in the first place.


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-27  6:56         ` Nicholas Wourms
@ 2002-06-27  7:39           ` Corinna Vinschen
  2002-06-27  7:44             ` Nicholas Wourms
  2002-06-27 16:47           ` Robert Collins
  1 sibling, 1 reply; 20+ messages in thread
From: Corinna Vinschen @ 2002-06-27  7:39 UTC (permalink / raw)
  To: cygwin

On Thu, Jun 27, 2002 at 05:50:29AM -0700, Nicholas Wourms wrote:
> Corinna,
> 
> Perhaps the answer is to have these links generated automatically by
> setup.exe.  Since the windows directory is an env var, the location of
> these files should always be obtainable.

Would be ok with me.  Go ahead and send a patch.  Question is:  Which
package should contain the postinstallscript?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-27  7:39           ` Corinna Vinschen
@ 2002-06-27  7:44             ` Nicholas Wourms
  2002-06-27  7:53               ` Nicholas Wourms
  2002-06-27  8:18               ` Corinna Vinschen
  0 siblings, 2 replies; 20+ messages in thread
From: Nicholas Wourms @ 2002-06-27  7:44 UTC (permalink / raw)
  To: cygwin

--- Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> On Thu, Jun 27, 2002 at 05:50:29AM -0700, Nicholas Wourms wrote:
> > Corinna,
> > 
> > Perhaps the answer is to have these links generated automatically by
> > setup.exe.  Since the windows directory is an env var, the location of
> > these files should always be obtainable.
> 
> Would be ok with me.  Go ahead and send a patch.  Question is:  Which
> package should contain the postinstallscript?
Corinna,

I was asking myself the same question, and I can't decide if it is
something that should:

A)Be done by setup.exe whilst it establishes the initial cygwin tree
B)Be an addition to inetutils' iu-config
C)Be a post-install script for inetutils

Since you are the inetutils package maintainer, what are your thoughts on
this?  Also, should I assume /cygdrive/c and just say tough to people who
change the cygdrive mounts?  The best solution would be as painless and as
exensible as possible in all situations.  I'd rather not have to depend on
the non-posix paths, as its syntax might change in later dll's for some
reason.

Cheers,
Nicholas

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-27  7:44             ` Nicholas Wourms
@ 2002-06-27  7:53               ` Nicholas Wourms
  2002-06-27  8:18               ` Corinna Vinschen
  1 sibling, 0 replies; 20+ messages in thread
From: Nicholas Wourms @ 2002-06-27  7:53 UTC (permalink / raw)
  To: cygwin

> A)Be done by setup.exe whilst it establishes the initial cygwin tree
> B)Be an addition to inetutils' iu-config
> C)Be a post-install script for inetutils
Sorry,

I forgot that iu-config is called as post-install script now, so never
mind about C.

Cheers,
Nicholas 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-27  7:44             ` Nicholas Wourms
  2002-06-27  7:53               ` Nicholas Wourms
@ 2002-06-27  8:18               ` Corinna Vinschen
  1 sibling, 0 replies; 20+ messages in thread
From: Corinna Vinschen @ 2002-06-27  8:18 UTC (permalink / raw)
  To: cygwin

On Thu, Jun 27, 2002 at 06:41:17AM -0700, Nicholas Wourms wrote:
> A)Be done by setup.exe whilst it establishes the initial cygwin tree
> B)Be an addition to inetutils' iu-config
> C)Be a post-install script for inetutils
> 
> Since you are the inetutils package maintainer, what are your thoughts on
> this? 

Sure, we could misuse iu-config for this.

> Also, should I assume /cygdrive/c and just say tough to people who
> change the cygdrive mounts?  The best solution would be as painless and as
> exensible as possible in all situations.  I'd rather not have to depend on
> the non-posix paths, as its syntax might change in later dll's for some
> reason.

Have a look into /bin/ssh-host-config.  Search for '_wservices'.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-27  6:56         ` Nicholas Wourms
  2002-06-27  7:39           ` Corinna Vinschen
@ 2002-06-27 16:47           ` Robert Collins
  1 sibling, 0 replies; 20+ messages in thread
From: Robert Collins @ 2002-06-27 16:47 UTC (permalink / raw)
  To: Nicholas Wourms, cygwin

IMO it should be in the cygwin post install script , or the base files
package that was discussed previously,

Rob
----- Original Message -----
From: "Nicholas Wourms" <nwourms@yahoo.com>
To: <cygwin@cygwin.com>
Sent: Thursday, June 27, 2002 10:50 PM
Subject: Re: simultaneous windows and cygwin telnet service


> Corinna,
>
> Perhaps the answer is to have these links generated automatically by
> setup.exe.  Since the windows directory is an env var, the location of
> these files should always be obtainable.



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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
  2002-06-26 11:10 Karl M
@ 2002-06-26 12:35 ` Corinna Vinschen
  0 siblings, 0 replies; 20+ messages in thread
From: Corinna Vinschen @ 2002-06-26 12:35 UTC (permalink / raw)
  To: cygwin

On Wed, Jun 26, 2002 at 09:39:24AM -0700, Karl M wrote:
> Hi All...
> 
> Why is the ssh 22/udp required?

It's the standard:

    http://www.iana.org/assignments/port-numbers

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
@ 2002-06-26 11:10 Karl M
  2002-06-26 12:35 ` Corinna Vinschen
  0 siblings, 1 reply; 20+ messages in thread
From: Karl M @ 2002-06-26 11:10 UTC (permalink / raw)
  To: cygwin

Hi All...

Why is the ssh 22/udp required?

Thanks,

...Karl


>From: Corinna Vinschen <corinna-cygwin@cygwin.com>
>Reply-To: cygwin@cygwin.com
>To: cygwin@cygwin.com
>CC: Jon LaBadie <jcyg@jgcomp.com>
>Subject: Re: simultaneous windows and cygwin telnet service
>Date: Wed, 26 Jun 2002 16:36:12 +0200
>
>On Wed, Jun 26, 2002 at 10:23:39AM -0400, Jon LaBadie wrote:
> > On Wed, Jun 26, 2002 at 04:11:21PM +0200, Corinna Vinschen wrote:
> > > Sure.  Cygwin doesn't maintain it's own services file but uses
> > > the same one used by Winsock.  If you created your own /etc/services
> > > (instead of just a symlink), bad luck!
> >
> > I presume then that cygwin never installs a fresh services/inetd.conf
> > file as that might overwrite some things in the windows files; things
> > of which cygwin is unaware.
>
>Windows has no inetd.conf so that's in /etc and it's only
>maintained by the inetutils package and then by you.
>
>The Windows services file is modified when running ssh-host-config,
>adding
>
>   ssh 22/tcp
>   ssh 22/udp
>
>as needed.
>
>Corinna
>
>--
>Corinna Vinschen                  Please, send mails regarding Cygwin to
>Cygwin Developer                                mailto:cygwin@cygwin.com
>Red Hat, Inc.
>
>--
>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/
>


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: simultaneous windows and cygwin telnet service
@ 2002-06-26  9:06 John Vincent
  0 siblings, 0 replies; 20+ messages in thread
From: John Vincent @ 2002-06-26  9:06 UTC (permalink / raw)
  To: cygwin; +Cc: jcyg

Hi,

For what it's worth, I think it will cause confusion
if you modify the telnet entry in the services file.

I suggest you add a new entry, for example:

mytelnet   33/tcp

and leave the telnet entry as it origially was.

Then in the inetd.conf file, you change the first word
on the line from telnet to mytelnet, to tell the inetd
process to use the port you have defined.

This should stop the windows and cygwin servers from
competing for the same port.

I hope this is useful.

/John Vincent.


_________________________________________________________________
Join the worldÂ’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2002-06-27 20:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-26  1:06 simultaneous windows and cygwin telnet service Jon LaBadie
2002-06-26  2:04 ` Brendan Conoboy
2002-06-26  5:11   ` Corinna Vinschen
2002-06-26  5:40     ` Sam Edge
2002-06-26  6:19       ` Corinna Vinschen
2002-06-27  6:56         ` Nicholas Wourms
2002-06-27  7:39           ` Corinna Vinschen
2002-06-27  7:44             ` Nicholas Wourms
2002-06-27  7:53               ` Nicholas Wourms
2002-06-27  8:18               ` Corinna Vinschen
2002-06-27 16:47           ` Robert Collins
2002-06-26  7:43     ` Jon LaBadie
2002-06-26  7:46       ` Corinna Vinschen
2002-06-26  8:23         ` Jon LaBadie
2002-06-26  8:27           ` Corinna Vinschen
2002-06-27  3:17     ` Jon LaBadie
2002-06-26  7:17   ` Jon LaBadie
2002-06-26  9:06 John Vincent
2002-06-26 11:10 Karl M
2002-06-26 12:35 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).