Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am trying to send a file from my computer to another connected Linux box over serial with the Z-Modem protocal. lrzsz has been installed on both sides. I can't seem to figure out how to get anything. I am using sz FILE on the sender and rz on the receiving end, but so far not much is happening. Both computers are Debian boxes. The reason I am doing this is that I want to eventually use z-modem to transfer files to and from my Amiga 2000, but I figured I should atleast figure out how to set it up on something more modern first...
What type of communication program is installed on the Amiga? By communication program I mean something like minicom, kermit etc. The comm program should have a way to upload/download files. You start the receive computer first then send the file on the other.
You can try this using minicom on the linux boxes. Although the following link uses a SBC on one end it shows the minicom commands and how to use the application.
@michaelk I was planning on using NComm, which I don't have installed yet. I understand that version 3 has z modem support. I didnt know minicom could do file transfers, I thought it was only for dialing modems...
Something is not working right. Everytime I try to send a file I get a bad CRC error. Both serial ports are configured the same way:
9600 bps 8 bits even parity with hardware flow control
Everthing is plugged in and I am pretty sure the cable is good. I did this and was able to type on one machine and have it show up on the other. I wonder about the USB to serial converter I am using. Here's some relevant lines from dmesg:
Code:
[ 2002.585208] usb 3-1: Manufacturer: Staples USB to Adapter
[ 2002.585216] usb 3-1: SerialNumber: 360834
[ 2002.699451] usbcore: registered new interface driver usbserial
[ 2002.699559] USB Serial support registered for generic
[ 2002.699753] usbcore: registered new interface driver usbserial_generic
[ 2002.699765] usbserial: USB Serial Driver core
[ 2002.702448] USB Serial support registered for MCT U232
[ 2002.702533] mct_u232 3-1:1.0: MCT U232 converter detected
[ 2002.702947] usb 3-1: MCT U232 converter now attached to ttyUSB0
[ 2002.703029] usbcore: registered new interface driver mct_u232
[ 2002.703037] mct_u232: z2.1:Magic Control Technology USB-RS232 converter driver
It is not necessary to use setserial since minicom configures the desired port. If you can type on one and see the output on the other then basic communications are working. You might also try setting hardware flow control to none.
First I set the receive computer to receive by control+a and r and then I send a file from my main computer (the one with the USB adapter). I always receive CRC errors on the receiving machine and nak on sector errors on the sender. Both computers configured exactly the same way, at different bit rates, with or without hardware flow control. What is interesting is that if I switch the sender and receiver, then the transfer is successful.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.