minicom is very nice. It gives help, menus and features like that of Telix.

If you want to do it the command-line quick and dirty way, maybe you don't have minicom installed, you can use cat.

cat can be used to pipe data from one stream to another. These streams are files and in to Linux everything is a file including your devices, display and serial ports.

The quick and dirty serial port file copy way.
Connect a null modem cable between both the sending and receiving computers. Google is a great place to look for a diagram on how to make one.

On both the sending and receiving computers you need to set the baud rate. Use the stty program to do that. This example will set the baud rate to 9600.
stty -F /dev/ttyS0 9600

On the receiving computer use cat to save the incoming file
cat /dev/ttyS0 > myfile

Then on the sending computer begin sending it
cat myfile > /dev/ttyS0

When the sending computer returns to the command line it is done. Now go to the receiving computer and press Ctrl+C to break the cat. You now have a file on the target system. This works most of the time. If it does not work then boot Knoppix and use minicom.

Just for fun you may want to lookup how you can use your serial port as a very slow Ethernet device. I have not done that in many years now and cannot remember how, but if that is more of what you need it can be done. Using a serial port as an Ethernet device you can make a samba or NFS file share connection and then move a lot of files over very easily.

On Mon, 2004-11-29 at 10:46, Evan Brown wrote:
Hi

How does one copy files between 2 machines via Serial Port?

Evan Brown


_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Roy Souther
www.SiliconTao.com

Let Open Source help your business move beyond.

For security this message is digitally authenticated by GnuPG.


Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to