Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

serial port communication

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2003, 08:14 AM
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




Pilatus
Reply With Quote
  #2  
Old 11-10-2003, 08:26 AM
Floyd Davidson
Guest
 
Posts: n/a
Default Re: serial port communication

"Pilatus" <(E-Mail Removed)> 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) (E-Mail Removed)
Reply With Quote
  #3  
Old 11-10-2003, 08:29 AM
Michael Heiming
Guest
 
Posts: n/a
Default Re: serial port communication

Pilatus <(E-Mail Removed)> 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  
Old 11-10-2003, 09:06 AM
Rob Ristroph
Guest
 
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  
Old 11-10-2003, 03:44 PM
Grant Edwards
Guest
 
Posts: n/a
Default Re: serial port communication

In article <(E-Mail Removed)>, 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

Tags
communication, port, serial

Thread Tools
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 On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.