View previous topic :: View next topic |
Author |
Message |
longnam n00b
Joined: 30 Apr 2005 Posts: 2
|
Posted: Sat Apr 30, 2005 7:05 pm Post subject: Ms-Windows to linux via serial port |
|
|
Hi all,
I am having difficulty to setup the connection from my Linux to communicate with Ms-Windows via a " serial port ". what i have done is:
Type of cable: NULL CABLE
* setup a linux virtual terminal to accepting connection from serial port ttyS1 here is my "/etc/initab" look like.
s2:123456:respawn:/sbin/agetty -L ttyS1 -f /etc/issue 9600 vt100
root%:dmesg | grep tty*
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
* The same in Ms-windows, I am using Hyperterm to establish the connection corresponding to the ports and terminal setup in linux.
Windows setup:
Port: Com1
Configure: VT100 9600-8-N-1
here is what happened when i connected them together:
I recieved the linux's login prompt on windows hyperterm. But then as soon as I type in my username and press enter. The Hyperterm is freezing up. I got absolutly no responding back after that. What did I do wrong?.
I am very desperate to get this working. Can someone please point out any solution for this issue , I would be very apperciated.
Once again Many thanks for your help. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Sat Apr 30, 2005 7:31 pm Post subject: |
|
|
longnam,
Run minicom on the linux end and make hyperterminal talk to minicom.
When that works, you can do serial control.
Why serial and why so slow?
If both boxes have ethernet, run sshd on linux and PUTTY and friends on Windows. Its much faster. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
longnam n00b
Joined: 30 Apr 2005 Posts: 2
|
Posted: Sun May 01, 2005 5:52 pm Post subject: |
|
|
the reason why I need to use serial port is cuz I'm working on my project to get Linux communicate with a Micro-controller via a serial port.
If there is any other way to fix this , Please help me out.!
Thanks much. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54821 Location: 56N 3W
|
Posted: Sun May 01, 2005 6:04 pm Post subject: |
|
|
longnam,
You can run minicom twice, one on each serial port and connect your null modem between them.
Then you can type in one minicom window and see it in the other (and vice verca).
Hyperterminal is a PIA. It sometimes breaks silently and uses 100% of teh CPU doing nothing. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|