Solved

Tool/Language for serial communication

Posted on 1998-11-11
6
402 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Securing Azure Oracle instance of Linux VM 4 74
PHP error function not working on AWS 10 123
Apache LDAP Authentication 20 52
Install XRDP on Ubuntu Server 16.10 x64 3 58
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
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.

763 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