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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
"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 |
|
|||
|
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 |
|
|||
|
>>>>> "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 |
|
|||
|
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 |