Solved

Tool/Language for serial communication

Posted on 1998-11-11
6
412 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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

726 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