LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices



Reply
 
Search this Thread
Old 12-10-2008, 02:07 AM   #1
adriangolding
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: http://blogs.koolwal.net/2008/04/10/...-debian-linux/

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, 09:57 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,521

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Check that your null modem cable is correct.
http://www.linux.com/base/ldp/howto/...-terminal.html

In the *nix world, DCD is implemented.
 
Old 12-11-2008, 10:20 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,175

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
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.
 
  


Reply


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 02:51 AM
USB to Serial converter - modem connection moragh Linux - Hardware 0 10-15-2004 11:57 PM
configuring 25 pin serial null modem dnijaguar Linux - Networking 2 09-03-2004 03:46 PM
A laptop, a pc, a serial null cable modem, ppp, and perl tomascebrian Linux - Networking 0 11-25-2003 05:40 AM
serial communication - null modem cable sg3 Linux - Networking 3 07-17-2003 07:08 AM


All times are GMT -5. The time now is 08:15 PM.

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