Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Two machine matches via ethernet

Author: Frank Phillips

Date: 11:27:38 09/30/01

Go up one level in this thread


On September 30, 2001 at 09:52:38, Robert Hyatt wrote:

>On September 30, 2001 at 06:24:41, Frank Phillips wrote:
>
>>On September 29, 2001 at 21:07:26, Robert Hyatt wrote:
>>
>>>On September 29, 2001 at 10:19:32, Frank Phillips wrote:
>>>
>>>>
>>>>The last three lines are commented out, so it is me version crafty running on
>>>>the remote machine.  xboard opens with fp vs crafty@192.168.0.1 I make a move,
>>>>then nothing happens until I try to force it (or after time) when I get the
>>>>error writing to first chess program: Broken pipe message.
>>>>
>>>>Sound like some more general connection issue, but I can ping etc and am posting
>>>>this via the modem connected to the machine I am trying to run crafty on.
>>>>
>>>>(The script file with -fh also works if run on the remote machine directly.).
>>>>
>>>>Frank
>>>
>>>
>>>Make sure you don't have a bad crafty.rc/.craftyrc file.  Last line should
>>>be blank to be sure last non-blank line has a CR/LF on the end...
>>
>>Bob
>>
>>The script file works on a machine without the -fh command, but not with it
>>whether -fh points to the local or the remote machine.  In both cases I get
>>permission denied errors.
>>
>>There is clearly I something here I need to understand about Linux.  ssh is
>>installed in preference to rsh by Mandrake 8.0, but I get the same errors after
>>giving the password.  I installed rsh and reconfigured and compiled xboard, but
>>get the same permission errors with this. And I have messed around with
>>hosts.allow to no avail.  Disappointing since I imagined this would work out the
>>box - and have reinstalled just to confirm it does not.  If it did with your
>>distribution let me know which it is.
>>
>>I will give up until I learn some Linux, since blindly fiddling is not doing the
>>trick. Hopefully it will turn out to be something embarassingly simple.
>>
>>Thsnks for the help.
>>
>>Frank
>
>
>
>OK... you probably need a couple of things.
>
>1.  On each machine create a file ".rhosts" in your own personal home
>directory.  you will need one line per host in this file (I just make
>the files identical to keep this simple).  The first thing on a line is
>the host name, the second is a username (yours)
>
>IE:
>
>scrappy   hyatt
>hyatt     hyatt
>plasma    hyatt
>
>
>and so forth.
>
>If that doesn't fix it, you might try going to /etc/hosts.equiv and putting
>all the names of your hosts there.  Since I don't know which version of linux
>you are running, it is hard to figure out exactly what the problem is.  .rhosts
>will probably fix the problem.  Check your UID on each machine.  If they match,
>things are also easier to make work.

Bob

I am using Mandrake 8.0, a derivative of RedHat.  It does not seem to have
/etc/host.equiv.  It also installs ssh and
not rsh by default.

Thanks for the tips.  I could not do anything with .rhosts
etc, but now have it working with ssh, provided that both programs are in the
/home/fp directories, rather than /home/fp/crafty/ on machine 1 and
/home/fp/searcher/ on machine 2 for example. The xboard man pages mention this
under the -fd/sd entry.

Frank



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.