Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 12-10-2008, 01:07 AM   #1
LQ Newbie
Registered: Nov 2008
Posts: 3

Rep: Reputation: 0
Null modem serial connection problem

hi, my setup is 2 linux systems connected by a null modem serial cable.
i tried to follow this guide:

i manage to setup each side to the settings as displayed in the guide without any problems, and without any error messages. however, it doesn't work as input from either terminal doesn't appear on the other end.

i tried to do simple things like "cat /dev/ttyS0" on one side and "echo "asdasd" > /dev/ttyS0" on the other side but it doesn't work as well.

my dmesg | grep ttyS output from one side is :
serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
0000:00:03.3: ttyS2 at I/O 0xec98 (irq = 201) is a 16550A

the other side is similar, just that it has only ttyS0.

on the side with ttyS0 and ttyS1, i tried both S1 and S0, both doesn't work. can somebody please give me some clues on fixing this?

thanks - adrian
Old 12-11-2008, 08:57 AM   #2
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 4,223

Rep: Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215Reputation: 1215
Check that your null modem cable is correct.

In the *nix world, DCD is implemented.
Old 12-11-2008, 09:20 AM   #3
Registered: Aug 2002
Posts: 14,073

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
I would skip the cat echo test and fire up minicom on both computers. Configure the port settings the same and disable hardware flow control. What you type on computer A should be displayed on computer b.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
null modem cable connection PC-PC Boiler_Mafiot Linux - Software 2 04-12-2005 01:51 AM
USB to Serial converter - modem connection moragh Linux - Hardware 0 10-15-2004 10:57 PM
configuring 25 pin serial null modem dnijaguar Linux - Networking 2 09-03-2004 02:46 PM
A laptop, a pc, a serial null cable modem, ppp, and perl tomascebrian Linux - Networking 0 11-25-2003 04:40 AM
serial communication - null modem cable sg3 Linux - Networking 3 07-17-2003 06:08 AM

All times are GMT -5. The time now is 07:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration