LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-24-2012, 10:29 PM   #1
student1
LQ Newbie
 
Registered: Jan 2008
Posts: 27

Rep: Reputation: 0
Shamelessly begging help with ZMODEM or KERMIT


Shamelessly begging help with ZMODEM or KERMIT

Back to school soon, I need to send and receive ASCII files to and from an intranet (not internet) host server that supports both ZMODEM and KERMIT, requires VT100 terminal emulation package, minimum baud rate of 33,600, modem standards: v34, v32, v22bis, v90v42bis set to Compression: OFF and Hardware Flow Control: ON (RTS/CTS: on and XON/XOFF: off). Also, I want to send and receive using scripts I can call (e.g. TAKE) except for passwords. I'm planning to use a U.S. Robotics 56K External serial Faxmodem with v.92 and V90 ITU (USR5686E) hooked up to a SUSE 10.3 PC. I hear KERMIT is quite capable, but it might be far more than what I need.

My Questions:

1. Will ZMODEM do the job?
2. Is ZMODEM simpler and easier to setup and run?
3. Is there a guru here, who could - and would - help me setup ZMODEM or KERMIT?
3.a. To get YaST to install the modem on serial port 1 (ttyS0)?
3.b. To write a script to define and set com port and modem?
3.c. To write a script to dial and connect to sever including provisions for pw input?
3.d. To write a script to upload files?
3.e. To write a script to download files?
3.f. To write a script to terminate connection (hangup) and quit?
3.g. To write a script to call these scripts one at a time?

I can only afford a heartfelt thanks.
 
Old 08-25-2012, 09:40 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,691

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
Interesting that you would be required to use a dial up MODEM these days...

ZMODEM is a file transfer protocol and would typically be built in to a communication program so nothing to setup. Also External serial port MODEMS do not require drivers.

The easiest solution might be to use minicom. It can dial in, upload, download (using ZMODEM) and has built in scripting.
 
1 members found this post helpful.
Old 08-25-2012, 10:26 AM   #3
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
For starters, install C-Kermit. It will provide you with the terminal emulation, file transfer, and a host of scripts ready made for convenient use of modems. Some distros make it available through their repositories.

What your requirements don't specify, and which might be the case based ion your use of the term 'intranet' is the use of PPP or SLIP as an underlying protocol. You should look into this. If it is required or available, it will be a good thing, as it will make your dial-up modem behave as if it is just a very slow ethernet/cable-modem connection.

Personally, I find Zmodem less simple to use, although others may have other opinions. It is faster than Kermit file transfers. C-Kermit supports both protocols. Just because Kermit may be more than you need, shouldn't make it less worthy of consideration.

--- rod.
 
1 members found this post helpful.
Old 08-25-2012, 11:54 AM   #4
student1
LQ Newbie
 
Registered: Jan 2008
Posts: 27

Original Poster
Rep: Reputation: 0
Thanks, michaelk. I don't have to use dialup, it's just that it's cheaper than External Network Access (ENA) - which is also supported. I looked at minicom, but can't figure out which of their 19 products will do what I want.

Thanks, theNbomr. I'll ask about PPP and SLIP. I installed SUSE's ckermit (KERMIT) as well as their rzsz (ZMODEM), read through the documentation, but they're both way beyond my skills level.

Oops. Sorry, michaelk. I just realized you're probably referring to linux minicom (not minicom.com's products).

Last edited by student1; 08-25-2012 at 03:32 PM. Reason: wrong track...
 
Old 08-25-2012, 02:45 PM   #5
NyteOwl
Member
 
Registered: Aug 2008
Location: Nova Scotia, Canada
Distribution: Slackware, OpenBSD, others periodically
Posts: 512

Rep: Reputation: 139Reputation: 139
As mentioned, ideally use PPP to create the connection and then it appears to the system as just another network interface. I use dial-up often as broadband is not available at the summer cottage.
 
Old 08-25-2012, 03:55 PM   #6
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Using C-kermit, try something like this:
Code:
kermit
#
# At the kermit> prompt,
# type (use the destination modem's phone number, of course)
DIAL 101-234-5678
To close the connection, may be as simple as logging out of the destination host.
Or you may have to escape back to the kermit prompt, usually with 'Ctrl-\ C', or just 'Ctrl-\', and then type 'quit'

--- rod.
 
Old 08-27-2012, 12:04 PM   #7
student1
LQ Newbie
 
Registered: Jan 2008
Posts: 27

Original Poster
Rep: Reputation: 0
Thanks for all help, folks. Does anyone know where I can download cutecom for suse_10.3 ? I can't seem to find it in the usual repositories.
 
  


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
Bash: ${} shamelessly saved from pathname expansion romagnolo Linux - General 2 02-20-2012 04:25 PM
Shamelessly pimping the Dvorak keyboard layout jonaskoelker General 11 04-23-2009 07:05 AM
Zmodem auth problem adam525 Linux - General 0 12-06-2006 10:57 AM
use of zmodem sunhui Linux - Software 0 03-29-2006 12:54 AM
zmodem transfer BTseapig Linux - Software 2 11-02-2004 08:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:57 AM.

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