Transferring files via RS232 cable


 
Thread Tools Search this Thread
Operating Systems AIX Transferring files via RS232 cable
# 1  
Old 02-27-2009
Transferring files via RS232 cable

Current setup:
  • Some old AIX standalone machine (F series)
  • My WinXP laptop
  • Null modem cable from laptop to AIX machine (console port).

On Hypterminal on WinXP I can connect to the AIX machine (serial connection), but when I try to transfer file, it will just sit there. I'm guessing the AIX machine needs to be running in receive mode, but what application on AIX will allow it to receive the file?
# 2  
Old 02-27-2009
I think you need a program called zmodem But I don't know if aix has it. I have never used it at all. But my understanding is that you establish a terminal connection to the host so that you can run shell command. Then you run zmodem, telling it to receive a file, then you send a file.
# 3  
Old 03-03-2009
You need to install:
bos.net.ate
Then you can use the xmodem -r option to receive the files.

Cheers.
# 4  
Old 03-10-2009
The problem with xmodem is that it rounds the file size up to a 128-byte multiple. This is OK to transfer text or a tar file--tar will ignore the trailing padding. If you transfer a compressed file, it fails because the uncompress fails.

zmodem (rzsz program) still appears to be available from the author at Omen Technology INC, but you'll have to compile it to get an AIX binary. Refer also to 4.28: Zmodem - File transfer.

Another technique is to use serial line internet protocol (SLIP). AIX can do TCP/IP over a TTY port. Login (getty) should not be active on the port. Use a port other than S1 (the console port) because you don't want to mess up the console port (unless you also have a graphics adapter for a console). Configure each end with a private IP address (e.g., 10.0.0.1 and 10.0.0.2) Then you can use ftp for file transfers. You can also have multiple telnet sessions, which is nice. X-windows even works; although it is slow to open a window, performance is OK after that. Refer to

Serial Line Internet Protocol

Refer to http://www.sics.se/~bg/telos/slipintro.pdf for info on configuring SLIP on Windows.

One more even simpler solution might be to use SLiRP, which is available here: http://slirp.sourceforge.net/ and documented here: http://sunsite.nus.edu.sg/pub/slirp/. You still have to configure SLIP on the Windows side.

I used to use SLiRP to access the Internet when I only had a dial-up shell account on a remote UNIX host. I also used it to access a local RS/6000 from a PC when I did not have an Ethernet card in the PC.

Last edited by aixylinux; 03-11-2009 at 03:00 PM.. Reason: Add information on SLiRP
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Transferring files to directories

I have a large number of files with file names of the format iv.epoz.hhe.d.2018.028.000000.sac iv.epoz.hhn.d.2018.028.000000.sac iv.epoz.hhz.d.2018.028.000000.sac iv.epoz.hhe.d.2018.029.000000.sac iv.epoz.hhn.d.2018.029.000000.sac iv.epoz.hhz.d.2018.029.000000.sac... (4 Replies)
Discussion started by: kristinu
4 Replies

2. AIX

Rcp error while transferring files

i am trying to use a rsh script that uses the rcp command to copy files from server to server but it always produce the following error: HOSTNAME: protocol failure due to unexpected closure from server end Error: failed to copy /test to HOST2 system Error: failed to execute command on remote... (5 Replies)
Discussion started by: Portabello
5 Replies

3. Shell Programming and Scripting

Script for transferring files

Hi Guys, I have to transfer a few files in my system . The commands to be used are as follows . Will it be possible to send the output of the following in the form of a mail . cd /export/home/teja ls -lrt Quote.java* mv Quote.java Quote.java.20121023 cp /tmp/Quote.java . ls -lrt... (2 Replies)
Discussion started by: Ravi_Teja
2 Replies

4. UNIX for Dummies Questions & Answers

Transferring files from one linux server into another

Hello , I want to transfer files from one linux server into another , I got it working using SCP command , but I have to type in password for each and every file . All the remote severs have the same password , so is there a way that I can transfer all these files by typing my password only once ? (5 Replies)
Discussion started by: RaviTej
5 Replies

5. Shell Programming and Scripting

Transferring Files via ssh (bash)

I am trying to transfer my website using ssh(hostbasedauthentication) using: sudo ssh -o "PasswordAuthentication no" -o "HostbasedAuthentication yes" -l testuser 192.168.3.1 "find /var/www/vhosts/mywebsite.com -depth | grep -f include| cpio -oavc| gzip" > $backup_dir/fullwwwsite$date.cpio.gz ... (5 Replies)
Discussion started by: metallica1973
5 Replies

6. Hardware

Serial connection CAT5 instead of RS232 and Null Modem or Straight cable.

Hello, I want to connect a VT520 terminal to p3 linux box. I have two questions regarding the connection. First, is it possible to use RJ45 instead of RS232 cable. (with DB9 pin to RJ45 and DB25 to RJ45 converter). Second point is that; do i need null modem cable or straight cable... (5 Replies)
Discussion started by: vectrum
5 Replies

7. UNIX for Dummies Questions & Answers

Mget issue: not transferring more than 2 files

I am trying to transfer about 3000 files from a window platfrom to my linux server. the scrip is pretty simple ftp to the source server (windows) cd to source directory lcd to destination directory mget *.jpg what I get in the log file is: mget 07421001.jpg? 200 PORT command successful.... (4 Replies)
Discussion started by: Doveman
4 Replies

8. AIX

Transferring files between Windows and AIX

How do I transfer Plain Text and/or BMP image files between my WindowsXP PC and my AIX 4.1 PowerPC? I have no network or USB options, just a Floppy disk drive and a CD drive on each machine. Is it possible at all? Any help would be gratefully received:) (7 Replies)
Discussion started by: Pennant Man
7 Replies

9. UNIX for Dummies Questions & Answers

Transferring hidden files with scp

Is there a way to scp hidden files only ( with regex ) without specifying the name of the hidden files ? Many thanks in advance ! :) (13 Replies)
Discussion started by: matrixmadhan
13 Replies

10. UNIX for Dummies Questions & Answers

transferring files to and from remote computer

Hi all, i first have to ssh into my university account and then through there another ssh into my office computer, from my home computer. I have been trying to transfer files to and from with no such luck. How do i send a file from home to my office computer. Do I have to send it to my... (6 Replies)
Discussion started by: yogi1
6 Replies
Login or Register to Ask a Question