UUCP Transfer Files to Old UNIX Computer


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers UUCP Transfer Files to Old UNIX Computer
# 15  
Old 07-17-2013
For 9 pin it is 2,3, &5. 3 as tx, 2 as rx.

JGT's suggestion of D connector to RJ45 still sounds good and connect with a cat5 patch cord. But you would probably need to get a insert/extract tool also.

Unless you have something special your parallel port should be female and your serials should be male at the computer. If you have a 25 male I would suspect a 25 pin serial.

25 pin female connectors were also a SCSI standard at about that time.
# 16  
Old 07-17-2013
No luck finding any leftover serial connectors. I've placed an order for a cable. Says it has the read and write pins swapped so it should work. I'll post back when it comes in and when I cant get the software to work..
Thanks for the help so far!
# 17  
Old 07-22-2013
I just got the cable in. I plugged it in to my UNIX computer and my Ubuntu.
I logged on to both of them, but Ubuntu let me down again. uucp isn't installed, and because it isn't on the internet, I cant install it.
Can anyone help me.

1. Install uucp on Ubuntu without internet. I downloaded the Quantal package from here. http://packages.ubuntu.com/search?keywords=uucp I can copy this DEB file to my Ubuntu 12.10 system, but I do not know how I can install it.

2. or a uucp for DOS or Windows??

Thanks for getting me this far.

Last edited by BrentBANKS; 07-23-2013 at 07:20 PM..
# 18  
Old 07-23-2013
I just got UUCP installed on my Ubuntu System. How should I set up the computers to talk to each other. I have run the uuname command on both systems, but neither system detects the other one. I would really appreciate your help.
# 19  
Old 07-24-2013
You will have to configure them, of course... They won't psychically know the right ports to use, baud rates, et al.

I'm installing uucp so I can make sane suggestions.

[edit] uucp is a big, byzantine system that I can't make heads or tails of at first glance. See if you can make your systems communicate at all. On both systems:

Code:
stty -F /dev/whatever 9600

On one system:

Code:
cat /dev/whatever

On the other
Code:
echo "hello" > /dev/whatever

...where /dev/whatever is the appropriate serial device. It'd be /dev/ttyS0 or some such on your Ubuntu system for a hardwired port, /dev/ttyUSB0 for a USB converter, etc. I don't know what it would be on your UNIX system.

If your null-cable is working and settings are good and right ports are used, you should see 'hello' appear on the other end.

Once you have that going, on the sending system:

Code:
tar -cf - /path/to/file /path/to/folder /path/to/otherstuff | uuencode /dev/stdout > /dev/whatever

On the receiving system:
Code:
cat /dev/whatever | uudecode > file.tar

uuencode and uudecode should be present on systems with uucp.

Last edited by Corona688; 07-24-2013 at 01:37 PM..
# 20  
Old 07-24-2013
Alrighty.
I'll figure out what the serial port is on the UNIX system and give this a go. I discovered that the UNIX system actually has 2 serial ports on it, so that probably wont make it easier to figure out what the port is.
I'll see what I can do and I will post back. Thank you very much.

Already a snag at stty. On Ubuntu the command
Code:
stty -F /dev/ttyS0

gave me no output to the screen. Is there supposed to be some sort of confirmation output that it worked?. I'm pretty sure that ttyS0 is the serial port, because if I try the command with ttyS1, I get a message along the lines of cant find device ttyS1.

Old UNIX is just going to fight all the way through. This is the list of all the tty devices listed in /dev
Code:
tty tty00 tty00h ty00s

I tried the command with all of the devices, but I get the message
Code:
unknown mode: -F

This is the usage for the old UNIX stty
Code:
usage: stty [-ag] [modes]

I will look for some documentation on the old version of stty. Will it be able to accomplish the same task as the Ubuntu stty, if so how.?

Last edited by BrentBANKS; 07-24-2013 at 05:42 PM.. Reason: Update
# 21  
Old 07-24-2013
Quote:
Originally Posted by BrentBANKS
Already a snag at stty. On Ubuntu the command
Code:
stty -F /dev/ttyS0

gave me no output to the screen. Is there supposed to be some sort of confirmation output that it worked?
You forgot the 9600, add that and try again. If it didn't complain, it worked.
Quote:
Old UNIX is just going to fight all the way through.
Hmmm. The old-fashioned command would be stty 9600 < /dev/tty00s If tty00s is the right device. That, I'm not sure of at all.

Quote:
I will look for some documentation on the old version of stty. Will it be able to accomplish the same task as the Ubuntu stty, if so how.?
stty is an old, old utility, old as terminals. -F is a modern extension but by and large it ought to behave mostly the same.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Need to transfer files between 2 UNIX servers, with same folder permission

I need to transfer directories/files between 2 Unix servers, with same folder permission. I tried scp, but it retains the the permissions, but changes the owner of the directory/file to the user used to copy them to the destination. I don't want that to happen. If possible without any other... (6 Replies)
Discussion started by: Pandee
6 Replies

2. Shell Programming and Scripting

Shell Script to transfer files from unix to windows

I have to transfer a file from unix to windows through Shell Script. I am using the below script, but it is not working. Please help. Please note --- I have to transfer the file from unix to windows. Not from windows to unix. I mean I don't have to use batch script.Only through unix shell script.... (1 Reply)
Discussion started by: vsachan
1 Replies

3. UNIX for Dummies Questions & Answers

UUCP (Unix to unix copy) not working

I have a problem using uucp. I have Ubuntu 10.4 and i installed the 'uucp' package. In my LAN there are a desktop pc, a laptop, and the router the desktop local ip is: 192.168.0.2 the laptop local ip is: 192.168.0.4 Here are the /etc/uucp/config and the /etc/uucp/sys i used on the desktop.... (4 Replies)
Discussion started by: mghis
4 Replies

4. UNIX for Advanced & Expert Users

How to transfer files from Unix to Windows.

Hi There is a requirement for me to transfer files from Unix to windows in an automation process of unix. Please let me know is it posibble to shell scripting this? Could you help me in scripting it? Regards Venugopal (2 Replies)
Discussion started by: venu_eie
2 Replies

5. Shell Programming and Scripting

shell script to transfer files from Unix to Windows

I need to write a shell script to transfer files from Unix server to windows machine. This script will be scheduled on scheduler to run at specified intervals #!/bin/ksh ftp -n alaska <<End-Of-Session user sss01 sample cd /home/sss01 lcd D:/sample mget *.txt bye when I executed the... (15 Replies)
Discussion started by: knag
15 Replies

6. UNIX for Dummies Questions & Answers

Transfer files from Unix server to Windows using FTP

Dear Friend, I don't know much about unix.I am an VB6.0 Programmer.I need to move an text files as aaa.txt from unix server to windows "D: " driver using the FTP protocol.Is it possible to do this with help of unix shell script.If possible please give some sample codes. Please answer as early... (1 Reply)
Discussion started by: gjsaravanan
1 Replies

7. Shell Programming and Scripting

uucp (UNIX) problem

Hi ! I couldnot execute Unix uucp command for copying file from Unix to Unix machine, whenever I am using the following command : $uucp file_name system!/destination Error is "Bad System Name" Let me know the way. From, Niraj Gopal Sharan (2 Replies)
Discussion started by: Niraj Gopal Sha
2 Replies

8. Shell Programming and Scripting

transfer of files via ftp from windows to unix

I am currently looking to write a script to transfer files from a windows NT server to a unix server any ideas of how to go about this? (1 Reply)
Discussion started by: chambala5
1 Replies
Login or Register to Ask a Question