Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Two machine matches via ethernet

Author: Frank Phillips

Date: 07:19:32 09/29/01

Go up one level in this thread


On September 29, 2001 at 09:51:40, Robert Hyatt wrote:

>On September 29, 2001 at 09:28:26, Frank Phillips wrote:
>
>>On September 29, 2001 at 00:20:48, Robert Hyatt wrote:
>>
>>>On September 28, 2001 at 12:51:35, Frank Phillips wrote:
>>>
>>>>If anybody has succeeded in playing xboard on one machine versus xboard on
>>>>another through two computers connected together on a LAN (2 ethernet cards plus
>>>>a crossover cable), then I would be grateful for a howto.
>>>>
>>>>(other than via one of the chess servers.).
>>>>
>>>>Frank
>>>
>>>
>>>You just use one xboard.  Use the -fcp -fh to select the program/host for
>>>the first program, ditto for -scp -sh for the second machine.  I do this
>>>_all_ the time...Bob
>>
>>
>>Bob
>>
>>Thanks.  I should have read the man pages instead of the FAQ.
>>
>>There is something I am still missing.  Would you post one of your script files?
>>Mine, which does not work, is below.
>>
>>I can ping both computers from each other and share files and an internet
>>connection but, after some time or when I try to force a move, all I get is
>>broken pipe to the first program error.
>>If I try to run on the local machine with -fh 192.168.0.1 this fails too.
>>Perhaps something else needs to be running and listening?
>>
>>Any further help would be appreciated.
>>
>>
>>Frank
>>
>>
>>
>>#!/bin/bash
>>xboard \
>>-tc 5 -inc 0 \
>>-size Small \
>>-mg 60 \
>>-thinking \
>>-ponder \
>>-sgf "/home/fp/zzz.pgn" \
>>-fcp /home/fp/crafty/crafty \
>>-fd /home/fp/crafty \
>>-fh 192.168.0.1 \
>>#-scp "/home/fp/searcher/searcher/searcher5" \
>>#-sd "/home/fp/searcher/searcher"  \
>>#-sh 192.168.0.2 \
>>
>>
>>
>>
>># 192.168.0.1 is the computer I am running the command from.
>># 195.168.0.2 the remote computer I am trying to run crafty on.
>
>
>Your command looks fine.  Which program is exiting?  Crafty or the other
>one?  The problem probably lies in the other program.  IE don't "force move"
>as the game should proceed with _no_ human interference anyway.  Forcing a
>move sends a signal, that the other program might not know how to handle
>properly.

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



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.