Re: Text between PCs via serial connection

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I'm back :)

Here is the current status.

I bought a cable that is called a "cross cable" in Japan (where I am
located), I think this corresponds to what is called a "null-modem
cable" in America. Both ends are female, and it is used to directly
connect 2 PCs.

So here is the setup:

PC-1: Gentoo OS
PC-2: Has partitions for both Windows XP and Xandros Linux.

I installed Minicom on PC-1
On PC-2, in Xandros I also installed Minicom. In the Windows side I
use Hyper Terminal.

I connected the PCs, started up the terminal programs on both boxes,
and would type messages such as "Hello World".

Whether I used Xandros or Windows on PC-2, the result was always the
same: I could send messages from PC-1 and it would show up in the
terminal program of PC-2, however the other way round never worked.
Nothing I ever typed in PC-2 showed up in PC-1.

On both machines I checked the serial port permissions. The Xandros
machine result was as below.
[code]
# ls -l /dev/ttyS0
crw-rw-rw- 1 root tty 4, 64 Aug 24 16:31 /dev/ttyS0[/code]
However in the case of the Gentoo machine, the permissions were as
follows:
crw-rw----
I set them to crw-rw-rw- using chmod, to be the same as the Xandros
setting. It didn't help anything.

Grasping for straws, I even disconnected the cross cable from the
computers, and reconnected reversing the ends. Still no luck.

Is it possible that the Gentoo OS is set up in such a way that it can
send from the serial port and not receive? Does this kind of thing
happen? :oops: Does anyone know where I should look next?

(As for the possibility that the problem lies in PC-2, in that it can
receive and not send, well, I am disinclined to think that since the
results were the same whether or not the OS was Xandros or Windows.
Mind you, whether it is running Xandros or Windows, it is still the
same box and consequently using the same physical serial port)


.



Relevant Pages

  • Re: Text between PCs via serial connection
    ... PC-2: Has partitions for both Windows XP and Xandros Linux. ... I installed Minicom on PC-1 ...
    (comp.programming)
  • Re: Text between PCs via serial connection
    ... PC-2: Has partitions for both Windows XP and Xandros Linux. ... I installed Minicom on PC-1 ...
    (comp.os.linux.development.system)
  • Re: Text between PCs via serial connection
    ... PC-2: Has partitions for both Windows XP and Xandros Linux. ... I installed Minicom on PC-1 ...
    (comp.programming)
  • Re: Text between PCs via serial connection
    ... PC-2: Has partitions for both Windows XP and Xandros Linux. ... same box and consequently using the same physical serial port) ...
    (comp.programming)
  • Re: XP is corrupting
    ... >> the point that you take below, as he did, is stupid. ... >> The point I am driving at is that Xandros touts ... >> itself as being the beginning of the end for windows. ... > twisted compliment taken - what i remember is going on cola about ten ...
    (comp.os.linux.misc)