delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/18/17:19:24

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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: Wed, 18 Dec 2002 21:45:35 +0100
From: Frederick Page <fpage AT thebetteros DOT oche DOT de>
To: cygwin AT cygwin DOT com
Subject: Telnet: "hostname: gethostname: operation not permitted"
Message-ID: <20021218204535.GA8662@thebetteros.oche.de>
Mail-Followup-To: Frederick Page <fpage AT thebetteros DOT oche DOT de>,
cygwin AT cygwin DOT com
Mime-Version: 1.0
User-Agent: Mutt/1.3.28i
X-Operating-System: Linux 2.4.18 i586

Hi everybody,

I downloaded the most recent cygwin-packages yesterday, have a
Linux-machine (Debian, Woody, Kernel 2.4.18) and an XP-Prof SP1 one.
telnet and ftp give me "hostname: gethostname: operation not
permitted" *after* the successful login. Besides this error-message,
ftp and telnet seem to work fine. However, there is a delay in
response, after "telnet wintendo" it takes a few seconds to display the
cygwin login-prompt.

I'm experiencing problems with issuing "rsh wintendo date" as
root AT debian, this gives me "date: write error: operation not
permitted".

The eventlog of the XP-machine says (marked as information), this
looks fine to me:

rshd : Win32 Process Id = 0x694 : Cygwin Process Id = 0x694 : 
root AT debian as root: cmd='date'.


Entering "rsh -l rscsi wintendo date" (User rscsi has
/usr/local/bin/rscsi as login-shell) gives me rscsi's
debug-messages:

rscsid: user id 1004, name rscsi
rscsid: stdin st_mode 140666
rscsid: peername Operation not permitted

The author of rscsi says, that stdin is a socket (as it should be) but
function getpeername() would fail, thus resulting in failure of rscsi.


I assume, the "gethostname" and "getpeername" problems are related,
that I'm doing something wrong, but what? The opposite direction (XP
to Linux) works fine, I compared the config-files, also googled a lot,
searched this archive, but couldn't find a solution to my problem.

Any help would be greaty appreciated. I did not want to bore you with
long extracts from my config-files, but would of course provide any
eventually missing information.

TIA   Frederick

(PS: I'm not a native English speaker, so please bear with me)



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

- Raw text -


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