LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-09-2009, 12:41 PM   #1
baldurpet
Member
 
Registered: Dec 2008
Location: Iceland
Distribution: Ubuntu, freeBSD
Posts: 110

Rep: Reputation: 15
Is it possible to transfer data between two computers using a wire?


I asked my friend whether it would be possible to transfer data between two computers using something like a LAN cable, but he said that it was almost impossible.

I can't agree, there must be some way of transferring data between computers that are right next to each other (without putting all the data on an USB flash drive, inserting it into the other computer and then copying the files, which is way too much hassle).

I'm open for any suggestions, would USB cables work (don't even know whether something like that exists)? I tried using a cable which fits into the Ethernet slot of both computers but nothing happened.
 
Old 03-09-2009, 12:47 PM   #2
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 6/7
Posts: 1,375

Rep: Reputation: 217Reputation: 217Reputation: 217
If we are on about two linux machines, one one of them just tell SSHD to listen on the ipaddress that it's using to communicate with the other machine and use SCP on the other machine. This is just one of many many methods that will do this. Your friend doesn't really inspire confidence if he doesn't think two directly connected machines can't transfer data.

Last edited by r3sistance; 03-09-2009 at 12:51 PM.
 
Old 03-09-2009, 01:02 PM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
there are several options.
If you have a router, connect them both to the router.
or use a crossover cable between the 2 computers.
http://compnetworking.about.com/od/h...ecttwocomp.htm
 
Old 03-09-2009, 01:17 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,680

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
There are many methods.
Using a parallel port cable, serial port cable, ethernet cable and even with a special USB cable.

Depending on the age of the computer / ethernet adapters you need to use a crossover ethernet cable to directly connect to computers together.
 
Old 03-09-2009, 04:01 PM   #5
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
I still have a Serial and parallel (printer port) data transfer cable in my kit, that was used for data transfer back in the old DOS days.. Ahh memories..

Looks like the company http://www.laplink.com/ that Used to write the old software is still alive and kicking.. still supporting serial, parallel, USB, etc,, data transfer.

A network crossover cable is still going to be the fastest method.. Serial transfers are Slooooowwwwww, and file sizes are a LOT bigger now than they were back in the DOS days.
 
Old 03-10-2009, 05:38 AM   #6
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
If there is a (good) cable between two computers (and both computers work), then you CAN transfer data between them. Now, please slap your friend across the face.

If you're not concerned about data security, i.e. you're transferring non-sensitive data, I usually use this method for across a network:
http://www.catonmat.net/blog/unix-utilities-netcat/
 
  


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
memcpy_toio transfers data in 4 byte chunks, but I need to transfer data in one lump. jbreaka4lyfe Linux - Embedded & Single-board computer 2 06-02-2008 11:25 AM
Direct data transfer between two computers? General Linux - Hardware 6 08-16-2007 05:54 PM
how to transfer data between two computers littlewenwen Linux - Newbie 19 06-07-2007 05:18 PM
Connecting two computers for data transfer fc6_user Linux - Networking 4 05-16-2007 02:08 PM
data transfer between two computers jamaso Linux - General 4 09-21-2004 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 04:18 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