View Full Version : basic network help needed
midol
2007-09-25, 07:42 PM CDT
I have two linux boxes connected to a 4-port router that is connected to the internet. Both boxes work fine and can see the internet. ifconfig -a on each shows LAN ip addresses of 192.168.0.158 and 192.168.1.2. On the former I run FC5 x86_64. It has a Public folder in /home/dave that has a file in it that I want to move to the newer computer, 192.168.1.2. On 192.168.1.2 (which has F7) when I am at the desktop I can click on the Computer icon and get a window that shows a folder called dave's public files on fc5.davedomain, which is 192.168.0.158. At first I thought I could just click on this and voila I'd be able to copy the file. But no matter how long I wait the folder never opens. Ideas???
Dave
gthill
2007-09-25, 08:59 PM CDT
to move a file between networked machines you can use the command scp
open a terminal on 192.168.0.158
cd /to/path/
scp filetocopy 192.168.1.2:/home/user/
or copy a folder
scp -r foldername 192.168.1.2:/home/user/
this won't move, but will copy
other options include rsync to copy files and directories from one computer to another
for more information
open a terminal and type
man scp
man rsync
It could be more complicated depending on your setup so reading the rute guide will be good for you.
http://linux.2038bug.com/rute-home.html look under networking
midol
2007-09-25, 09:09 PM CDT
thanks, will try this tomorrow
D
midol
2007-09-26, 03:30 PM CDT
Thank you very much for your help, this worked very nicely just as you said. I will indeed spend time with rute
Dave
hceylan
2007-09-26, 04:04 PM CDT
You can also try typing sftp://username@host/path in nautilius address bar, which I love...
Hasan Ceylan
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.