Re: problem with rexec

Lothar Braun <[email protected]> Tue, 15 Aug 2006 12:48:53 +0200
Newsgroups org.kernel.vger.linux-config
Message-ID <[email protected]>
--nextPart2094205.rTHJTvdPBn
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

On Tuesday 15 August 2006 12:04, [email protected] wrote:
> I can also do rlogin/rsh between the two machines using
> the private IP addresses (i.e. 1000mbps interfaces). However when i
> try to rexec between the private IP addresses, i get an error that
> "Where are you?" and connection lost. Why is it that i can do rexec
> between the two machines using the 100mbps interfaces with static
> public IP addresses but cannot do so using the private IP addresses.

An explanation for this is that rlogin/rsh use port 513 while rexec works o=
n=20
port 512. It is therefore possible, that rsh/rlogin and rexec work with=20
different configurations.

I suppose that your inet-deamon listens on all interfaces for rlogin/rsh, b=
ut=20
only on your public 100Mbit interface for rexec.=20
You can check this via

netstat -tulpen | grep ":512"

This will give you the address range from which your rexecd will accept=20
connections from. If this doesn't match 0.0.0.0:* then you'll have to check=
=20
your rexecds configuration.

Best regards,
Lothar

--nextPart2094205.rTHJTvdPBn
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQBE4aaZCllgm08lUqkRAtTUAJ4/DL35edaQqRjiyC6cpnPMILVy4gCfcDp9
2XDRK912Kj3VN39Yopic9n4=
=+4do
-----END PGP SIGNATURE-----

--nextPart2094205.rTHJTvdPBn--