Solved

Tool/Language for serial communication

Posted on 1998-11-11
6
388 Views
Last Modified: 2008-03-06
What would be the best tool/Language on linux be for automatically dialing a remote system then logging on to that remote system (using serial communication) . The tool/Langauge would have to recognize the log on prompts then be able to work its way through menus on the remote system. Then I need to transfer and/or Retrieve a file using protocols like Z/Y/X Modem and Kermit. I use a product called Mlink on the SCO Unix platform to do this. I am hoping to find a freeware solution to this problem. I have the code to do the Z/Y/X Modem transfer ... I am looking for the best Tool/Language to do the rest.

     Thank You  Doug.
0
Comment
Question by:dougc
6 Comments
 
LVL 1

Expert Comment

by:_HAL_
ID: 1638477
Try with mgetty
0
 

Author Comment

by:dougc
ID: 1638478
I want to tool/Language to create scripts to log on to other computer systems ... I believe mgetty is for setting up an Environment so that some else can log on to my computer.
0
 
LVL 84

Expert Comment

by:ozo
ID: 1638479
how about expect
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:dougc
ID: 1638480
I have read the documentation and it looks like it should work.
0
 

Expert Comment

by:olvo
ID: 1638481
Just use the normal pppd, and the you can use any good serial communication software like kermit, seyon, etc, they all accetpt script programming. You will need to set ppp both as a server and
client, to be able to handle dial-ins and outs
0
 
LVL 4

Accepted Solution

by:
mcdonc earned 400 total points
ID: 1638482
Dougc,

Better yet, try using "autoexpect".  It comes with expect release 5.24 and better, which can be obtained from http://expect.nist.gov.  Basically it watches the console for keystrokes based on an interactive session between you and the remote machine and generates an expect script based on your conversation with the remote machine.  You can then edit the expect script to handle variations on the theme.


0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now