Solved

Tool/Language for serial communication

Posted on 1998-11-11
6
398 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
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

831 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