LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-17-2007, 05:04 PM   #1
Yabuh
LQ Newbie
 
Registered: Nov 2007
Posts: 1

Rep: Reputation: 0
how do I transfer files via a ethernet cable?


Ok heres the situation I have two computers, one running windows xp an the other running debian.I've installed cygwin,ssh,and rsync on the windows box.From what I understand doing a file transfer via cygwin to another linux computer should be the same as a linux to linux file transfer.

The problem is I don't know how to do this.I'm a total noob to networking.
 
Old 12-17-2007, 05:09 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Hi and welcome to LQ.

You probably need to use scp e.g.
Code:
scp file1 file2 user@host:/path/to/some/direcory/
 
Old 12-17-2007, 05:29 PM   #3
Poetics
Senior Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
You can take a look at 'scp' (as above), 'nfs' (I don't know how that would work with cygwin but one never knows), samba (for mounting/sharing between Windows/Linux), and other related topics. Take a look around these forums for the above topics and you'll see a few fairly comprehensive guides.
 
Old 12-17-2007, 07:23 PM   #4
dAnde79
LQ Newbie
 
Registered: Dec 2007
Location: Delaware, U.S.A.
Distribution: Debian, CentOS, Fedora, Ubuntu
Posts: 6

Rep: Reputation: 0
"The problem is I don't know how to do this.I'm a total noob to networking."

If that's the issue, then what you need is either a broadband router, a hub/switch, or a crossover cable.

If you already have a broadband router, then it's easy, plug both boxes in and set their network cards to DHCP enable.

Code:
#ifconfig -a
should be able to tell you the ip address of the linux box.

If you are just doing a direct connect between the two boxes, you can use either the hub/switch, or the crossover cable

You will have to set the ip addresses manually (to something like 192.168.x.x)

In linux the comand is:
Code:
ifconfig <interface> <ip_address> [ netmask <netmask> ]
ex #ifconfig eth0 192.168.1.3 255.255.255.0
once you have that set up you can scp using the ip address as the host name

Code:
scp file1 file2 user@192.168.X.X:/path/to/some/direcory/
 
  


Reply



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
OS X <==> Debian file transfer via USB cable? General Linux - Hardware 3 04-21-2007 02:50 PM
Belkin Usb Easy Transfer Cable DarkSun4241 Linux - Newbie 0 03-28-2007 08:29 AM
T630 USB data cable transfer g-string 3 Debian 3 08-07-2006 10:56 AM
Transfer files via ethernet cable? General Linux - Networking 2 06-12-2006 11:01 PM
file transfer with cross-over cable (RH9.0 to XP) tig_grrrrr Linux - Networking 3 06-13-2004 09:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:39 PM.

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
Open Source Consulting | Domain Registration