Sponsored Content
Top Forums UNIX for Dummies Questions & Answers UUCP Transfer Files to Old UNIX Computer Post 302837291 by Corona688 on Thursday 25th of July 2013 01:13:49 PM
Old 07-25-2013
Quote:
Correct me if I'm wrong, but I think of the commands like this.
Okay.

It does not prepare one end for reading and the other for writing. It sets the baud rate on the serial port so that they can send letters to each other instead of gibberish.

It has to open the device file to do so, though! And depending on how it's configured, it may be waiting for some signal line or other to be set 'ready' on the far end.

Serial ports have the ability to tell each other when they're ready. Hardware flow-control means "if this bit on the serial port isn't active, wait before sending more data". It may be waiting for that bit to be set before letting you open the port. It's possible to turn off this flow control, probably, but to do so you have to open the port! Grrr. I take it your UNIX system has nothing for 'man stty'.

So when I say 'writing' I mean that literally. After you do 'stty -F /dev/ttyS0 9600' on Ubuntu, do 'echo asdf > /dev/ttyUSB0' to set that bit, so that it knows there's something on the other end. Ubuntu may wait too, until the other end is open, to send the data.

And, of course, we have no idea if you're even opening the right device Smilie

Last edited by Corona688; 07-25-2013 at 02:29 PM..
 

8 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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
dxfileshare(8)						      System Manager's Manual						    dxfileshare(8)

NAME
dxfileshare - Exports local directories and mounts directories from the network SYNOPSIS
/usr/bin/X11/dxfileshare DESCRIPTION
Use the File Sharing application, dxfileshare, to: Export (or share) local UNIX directories to the network Stop exporting UNIX local direc- tories to the network Specify which directories mounted from the network are to be remounted every time the system is rebooted, that is, add an entry to the /etc/fstab file Add, change, or delete NFS entries from the /etc/exports file Share local UNIX directories with a per- sonal computer (PC) when Advanced Server for UNIX is installed on your system Display local directories that are shared (exported) with the network Display network mounts (directories that can be mounted from the network) The File Sharing application can also be invoked from the CDE Application Manager from the following categories: Application Group: System_Admin System Admin Subgroup: Daily Admin Online help is available for the File Sharing application by clicking on any Help button or using the Help pull-down menu. RESTRICTIONS
You must have root privileges to use certain features of File Sharing. Namely, the ability to export (or share) a directory or to modify the properties of a directory that is already being exported. You must have Advanced Server for UNIX installed on your system to share local directories with PCs. FILES
Defaults that are shared by the graphical and command line user interface. File Sharing uses the same file as the Host Manager application. File Sharing application File Sharing help volume Directory containing File Sharing application icons Application defaults file that sets the default values for the X resources File Sharing message catalog Message catalog containing File Sharing location IDs for on-item help i18n_motif_shared_text.cat Message catalog containing application-independent messages i18n_motif_shared_text_LocIds.cat Message catalog containing application-independent location IDs for on-item help SEE ALSO
Commands: X(1X), automount(8), bcheckrc(8), mount(8), mountd(8), showmount(8), umount(8) Functions: getfsstat(2), getmntinfo(3), getmntinfo_r(3), mount(2), mount(2sv), umount(2), umount(2sv), umount(3) Files: exports(4), fstab(4), mountdtab(4) Tru64 UNIX System Administration ASU Installation and Administration Guide ASU Concepts and Planning Guide dxfileshare(8)
All times are GMT -4. The time now is 07:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy