LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-20-2005, 09:28 AM   #1
DeadPenguin
Member
 
Registered: Nov 2004
Location: Delaware
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
Need to transfer a file between 2 linux boxes


How would I setup a connection between 2 linux computers.

I have a DVD iso on a dual boot laptop (XP - SUSE 9.2.) I would like to transfer this iso to my desktop box.(Fedora Core 3) I don't have a dvd burner on my laptop, but I can only get high speed on my laptop through a friends network.


I have a crossover cable, but I am unsure how to setup ftp and ip addresses.

Is there a tutorial anywhere.?

I have setup connections before between my xbox and XP, but have never done this in linux before.

Any help is appreciated.

Blair
 
Old 06-20-2005, 09:46 AM   #2
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
try
http://www.yolinux.com/TUTORIALS/Lin...etworking.html

mustafa
 
Old 06-20-2005, 09:50 AM   #3
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
Probably the easiest way to do this is with nfs , but as ususla in linux, there'll be several ways to do what you want.

Here is a link to a nfs HOWTO:

http://nfs.sourceforge.net/nfs-howto/

Good luck!
 
Old 06-20-2005, 09:50 AM   #4
Maarten_Holland
Member
 
Registered: Sep 2003
Location: Holland
Distribution: SuSE 9.2
Posts: 39

Rep: Reputation: 15
Hi Blair,

There are several options to accomplish this. I would use SCP (secure copy) to copy the files from one Linux PC to another.

First, you should try to get your network up and running. On SuSE this can be done pretty easily using 'YaST' from the commandline (open command line and just type 'yast' or 'yast2'. Go to 'network' and fill in the required fields. I don't know how this is achieved on FC3, but I'm pretty sure there are some good tutorials out there. Just try and google them.

Once set, you can copy files from the commandline using scp. I don't have time to explain this in detail now, but off course, there's always Google.

Good luck.
 
Old 06-20-2005, 10:02 AM   #5
titanium_geek
Senior Member
 
Registered: May 2002
Location: Melbourne Australia
Distribution: it died/ macosx
Posts: 2,478

Rep: Reputation: 50
right, you need to set up ip addresses on both boxes. give one 192.168.0.2 and 192.168.0.3 (192.168 addresses are reserved for home networks...)
set up the subnet mask of 255.255.255.0 on both boxes.
if they are not connected, connect them (crossover cable).
open the command line and try
Code:
ping 192.168.0.3 (and 2, you want to ping the OTHER box and yourself)
if this works then you are on your way.

titanium_geek

Last edited by titanium_geek; 06-20-2005 at 10:04 AM.
 
Old 06-20-2005, 10:30 AM   #6
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
Hmm I thought fpt was the easiest way.

Quick HOWTO: Linux FTP Server Setup
http://www.siliconvalleyccie.com/lin...ftp-server.htm

I use proftp on my Xandros laptop. Then using Konqueror in the url bar I type ftp://192.168.1.102 enter the user name and password and it opens all of the file in the HOME directory. Then you can drag and drop files.
 
Old 06-20-2005, 02:01 PM   #7
DeadPenguin
Member
 
Registered: Nov 2004
Location: Delaware
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Thanks for the quick responses. Thanks for the links. I like tuts cuz I have a better chance of learning.

I will try it out when I finish work.

Thanks again,

Blair
 
Old 06-20-2005, 04:49 PM   #8
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
give a try, post respone

>192.168.0.3 (192.168 addresses are..
i think 10.0.0.1 is much more simpler, in typing esp. for n00b, in addition, is subnetmask is setup to 255.255.255.0, 10.x for could be used as shortcut.

BTW, titanium_geek, consider this
Code:
echo singature | sed 's/Google is your friend/Google is always your friend'  > signature :)
mustafa
 
Old 06-21-2005, 12:21 AM   #9
DeadPenguin
Member
 
Registered: Nov 2004
Location: Delaware
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Allright, I have read through most of the links and most of the info is lost on me.
I am very new to networking. Hi speed is not really offered where I live(yet) and I haven't seen the need to link all the computers to a 28.8 connection. Most of my files I transfer via a sneaker net (burn cd/dvd walk to other computer mount...)

I got as far as setting up the ip addresses. I could ping from my FC3 box to my SUSE box using network tools --> ping..

How do I ftp from my fc3 box into my suse box?
Do I have to start a ftp server on suse?



I will try again tomorrow night I would really like to get the FC4 DVD iso transfered and burned to get at installing it.

Blair
 
Old 06-21-2005, 02:42 AM   #10
elsheikhmh
Member
 
Registered: Aug 2004
Location: Cairo, Egypt
Distribution: Slackware
Posts: 101

Rep: Reputation: 15
>Do I have to start a ftp server on suse?

yep. check if you have proFTPd installed and ruuning
$ ps -a | grep ftp

anyhow, a tut http://www.linuxquestions.org/questi...ticle&artid=17

or nfs it check http://www.linuxquestions.org/questi...icle&artid=316

mustafa

Last edited by elsheikhmh; 06-21-2005 at 02:46 AM.
 
Old 06-21-2005, 06:59 AM   #11
DeadPenguin
Member
 
Registered: Nov 2004
Location: Delaware
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Mustafa thanks for the answer, and the two very helpful links.

I'll post how I make out.

Blair.
 
Old 06-22-2005, 12:06 AM   #12
DeadPenguin
Member
 
Registered: Nov 2004
Location: Delaware
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
I didn't have time to Download proftp today.

I tried to use pure-ftpd.

I can ping to each box from the other.

From 192.168.0.3 --> 192.168.04 and vice versa.

I enabled pure-ftpd on my SUSE box.
I used gftp on my fc3 box. I can ftp to SUSe box, but I can only get /.(with no files or directories in it.) I try to go to /home, but it says it doesn't exist.
I could only ftp as anonymous. It accepted root, but not my password. I am not sure how to set up pure-ftpd to share the dir's I want.
I will try proftp tomorrow.

I read the NFS tutorial. I know its for newbs but it still confused me.

Plus On Suse I could not find a NFS server. Only a client. In FC3 Nfs server is simple to setup, but I can't figure out how to do the client side in SUSe. I keep getting a /etc/fstab error. I am not sure of the mount point I want for the client.

Tempted to go buy a cheap router and end this headache.

Thanks for the help....I am doing the best I can in the time I have to dedicate to this.

Blair
 
Old 06-22-2005, 01:42 AM   #13
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,406

Rep: Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396Reputation: 2396
Use ssh + scp. All one tool. Allows you to move around anywhere on the system (if you are root).
FTP limits you normally to a specific ftp dir.
Use ssh to login and move to where the file is, then use scp to get it...
 
Old 06-22-2005, 08:28 AM   #14
DeadPenguin
Member
 
Registered: Nov 2004
Location: Delaware
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
ssh and scp. Ok, I will try anything. I am looking for a How TO.( I googled and looked here but did find anything that looke applicable.)
Is ssh built into most new distro.
Do I just type ssh at command line?(same thing for scp.)

Thanks,
Blair
 
Old 06-23-2005, 01:59 AM   #15
DeadPenguin
Member
 
Registered: Nov 2004
Location: Delaware
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
ssh rox....

I had a hard time figuring out the necessary command for scp, but ssh was very easy.

I did:

ssh 192.168.04(SUSE9.2)
I entered my root password.
I was in.
then...cd /home/me/
scp *.iso 192.168.0.2:/home/blair/<name>.iso
entered password for FC3 box, and the copy started.

There where a couple times it asked me a ? I answered yes to it both on connection to SUSE box, and on copying back to fc3 box. I can't remember what the ? was though.

Thanks for the help.

Blair
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to do file transfer in linux pspandu Linux - General 7 09-12-2006 02:09 AM
File Transfer from XP to Linux e11 Linux - Newbie 8 11-06-2004 11:17 AM
file transfer from linux to xp michi56 Linux - Newbie 5 03-07-2004 12:26 PM
MS-Word file transfer in Linux shibdas Linux - Networking 1 09-11-2003 01:22 PM
File transfer between two linux boxes in a LAN ganninu Linux - Newbie 6 09-09-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration