serial port communication

This is a discussion on serial port communication within the Linux Networking forums, part of the Linux Forums category; Hey everyone, I have to create a communication between 2 PC. Where can I find functions to manage the communication ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-10-2003
Pilatus
 
Posts: n/a
Default serial port communication

Hey everyone,

I have to create a communication between 2 PC. Where can I find functions to
manage the communication protocol like XMODEM or ZMODEM
thanks for your help


Reply With Quote
  #2 (permalink)  
Old 11-10-2003
Floyd Davidson
 
Posts: n/a
Default Re: serial port communication

"Pilatus" <radio.mnt@freesurf.fr> wrote:
>Hey everyone,
>
>I have to create a communication between 2 PC. Where can I find functions to
>manage the communication protocol like XMODEM or ZMODEM
>thanks for your help


Zmodem protocol is directly available, and is probably included
with almost any Linux distribution. See if sz and rz are on you
machines. Almost any modem program, such as seyon under X or
minicom either in an xterm or on a virtual terminal will run
sz/rz, plus several variations on the xmodem protocol. Kermit
is also commonly available.

--
Floyd L. Davidson <http://web.newsguy.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@barrow.com
Reply With Quote
  #3 (permalink)  
Old 11-10-2003
Michael Heiming
 
Posts: n/a
Default Re: serial port communication

Pilatus <radio.mnt@freesurf.fr> wrote:
> Hey everyone,


> I have to create a communication between 2 PC. Where can I find functions to
> manage the communication protocol like XMODEM or ZMODEM


'minicom' does what you want, it comes with almost any distro.

--
Michael Heiming

Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of SPAM
Reply With Quote
  #4 (permalink)  
Old 11-10-2003
Rob Ristroph
 
Posts: n/a
Default Re: serial port communication


>>>>> "radio" == radio mnt <Pilatus> writes:

radio>
radio> Hey everyone,
radio> I have to create a communication between 2 PC. Where can I find
radio> functions to manage the communication protocol like XMODEM or
radio> ZMODEM thanks for your help

If you connect a null modem cable between you two PCs, you have
several options.

One is to make a slip or ppp connection between them, and then use the
normal tools such as telnet and ftp to go back and forth.

Another way is to run a getty on one machine, and minicom on the
other. This method would use the xmodem and zmodem commands. For a
one time transfer, this is probably the easiest. Some versions of
linux have a command called agetty which you should use instead of
getty, and you have to make sure the other computer has minicom.

You can also use kermit. Kermit may be better than minicom if you
wish to make a scripted transfer happen automatically.

Which versions of linux are you using ? Do you have no other options
than a serial cable ? A parallel port cable would be faster, and a
network best of all.

I made a floppy version of linux that allows you to connect two
machines with a parallel port cable, and brings up midnight commander
with the local files in one panel and the remote ones in the other.
It could be modified to use the serial ports.

http://rgr.freeshell.org/flinux/mc-link/

--Rob
Reply With Quote
  #5 (permalink)  
Old 11-10-2003
Grant Edwards
 
Posts: n/a
Default Re: serial port communication

In article <1068452052.79325.0@ersa.uk.clara.net>, Pilatus wrote:

> I have to create a communication between 2 PC. Where can I find functions to
> manage the communication protocol like XMODEM or ZMODEM


I'd use PPP.

$ man pppd

--
Grant Edwards grante Yow! Where's th' DAFFY
at DUCK EXHIBIT??
visi.com
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0