Re: Text between PCs via serial connection
- From: "arka.n.roy" <arka.n.roy@xxxxxxxxx>
- Date: Fri, 24 Aug 2007 11:19:15 -0700
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)
.
- Follow-Ups:
- Re: Text between PCs via serial connection
- From: arka.n.roy
- Re: Text between PCs via serial connection
- References:
- Text between PCs via serial connection
- From: arka.n.roy
- Re: Text between PCs via serial connection
- From: Jochen Kalmbach [MVP]
- Re: Text between PCs via serial connection
- From: arka.n.roy
- Text between PCs via serial connection
- Prev by Date: Re: Prevent Vista from marking my application as (non responding)
- Next by Date: Re: Windows Time Server
- Previous by thread: Re: Text between PCs via serial connection
- Next by thread: Re: Text between PCs via serial connection
- Index(es):
Relevant Pages
|