LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-18-2010, 03:21 AM   #1
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: Arch, Debian
Posts: 193

Rep: Reputation: 16
minicom problems if used with ssh ?


Hello,

I have two linux(debian lenny) machines connected by null modem serial cable. Machine A act as client, machine B act as server. I use minicom on A to connect to machine B.
minicom config on A:
Code:
A -    Serial Device      : /dev/ttyS0
B - Lockfile Location     : /var/lock
C -   Callin Program      : 
D -  Callout Program      : 
E -    Bps/Par/Bits       : 38400 8N1
F - Hardware Flow Control : No
G - Software Flow Control : Yes
getty on B:
Code:
T0:23:respawn:/sbin/getty -L ttyS0 38400 vt102
If I login to box A using attached monitor and keyboard (device tty0) and issue "minicom -o" - it works OK - and I get functional text terminal of B.

But if I connect to A over ssh (device /dev/pts/0) from internet(client putty), and issue "minicom -o" - I get minicom status "Online" - but no text terminal of B - there is no login prompt.

Config is 100% the same in both cases.
Machines A and B are dual boot(centos + debian) and I tried some variants but results are exactly the same whatever linux os I use.
Could someone suggest solution for this ?

thanks
Vilius

Last edited by Vilius; 08-18-2010 at 03:27 AM.
 
Old 08-18-2010, 08:23 PM   #2
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
ssh to box A
Check on which terminal you are connected

Code:
$ who
 user  pts/2        2010-08-19 03:14 (orion)
Now start minicom with the right port

Code:
$ minicom -o -p /dev/pts/2
Warning: Ctrl-keys won't work. To stop minicom you'll have to close the ssh connection with the ~. keystrokes

Gerrard
 
  


Reply



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
SSH access problems: Can only allow users SSH access by adding to root group dhupke Slackware 10 12-21-2008 09:48 AM
Minicom via ttyS0: Please help with $TERM, $MINICOM, colors, mouse/gpm. GrapefruiTgirl Linux - Software 2 07-19-2008 07:01 AM
Minicom problems!! raedbenz Linux - Software 3 06-08-2008 05:24 AM
Problems with Serial Console Installation with minicom punka Slackware 2 07-23-2007 11:10 PM
minicom flensplop Linux - Newbie 2 08-30-2004 08:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:19 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
Open Source Consulting | Domain Registration