LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 09-22-2004, 04:38 PM   #1
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Rep: Reputation: 31
advice needed on linking two computers


i've got slackware 10 installed on two machines... is there anyway that i can view, copy, amend files on one computer from the other... both have got NICs...

thanks in advance...
 
Old 09-22-2004, 04:44 PM   #2
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
1. Get a crossover ethernet cable and plug it into the NIC on each machine, or plug both of them into a hub or switch or router using regular cables.

2. Set up NFS or Samba on one of the machines and export/share directories that contain the files you want to copy to the other one.

3. On the other machine mount the exported/shared directories somewhere and copy the files around however you want.

If you just want to log into one of them and view/edit files on the other just use ssh to log into the "remote" machine.

Last edited by dsegel; 09-22-2004 at 04:46 PM.
 
Old 09-22-2004, 04:45 PM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Just grab a crossover cable from your local computer store, set up a tiny network between the two with static IP's (192.168.1.101 and 192.168.1.102 or whatever) and then just copy or move files using FTP, NFS or whatever you wish.


Håkan
 
Old 09-22-2004, 04:52 PM   #4
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 31
crossover cable... does that mean the type where its got the same head like thingy on both ends? like the one used on broadband cable modems...
 
Old 09-22-2004, 04:58 PM   #5
dsegel
Member
 
Registered: Aug 2004
Location: Davis, California
Distribution: Gentoo, always Gentoo.
Posts: 159

Rep: Reputation: 30
It looks the same as any other ethernet cable, but has two wires inside reversed. It has the same connector on both ends. Sometimes they sell for a premium, but you can ocasionally find them for no more than a standard cable.

Are the two PCs already connected to a router used for Internet access? If they are you don't need to do anything else with the cabling.
 
Old 09-22-2004, 05:18 PM   #6
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 31
its best that i came back to this thread when i get ma other pc back...
one is a laptop and the other is a desktop... well i would only use the laptop when the desktop is unavailable... as it currently is... so when i get the desktop back i would need to transfer files from the laptop back to the desktop...

so at anyone given time only one pc would be connected to the internet...

with regards to the crossover cable ... does it mean that using an ethernet cable to connect the two PC's would't work and i would have to get an crossover cable?

Last edited by marsques; 09-22-2004 at 05:20 PM.
 
Old 09-22-2004, 05:48 PM   #7
MartinN
Member
 
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
Quote:
Originally posted by marsques

with regards to the crossover cable ... does it mean that using an ethernet cable to connect the two PC's would't work and i would have to get an crossover cable?
Yes!

Ordinary ethernet cables need to be connected via a hub or switch. The hub/switch then does the crossing internally. But when you connect two computers to each other without a hub or switch then the cable needs to be crossed.

Martin
 
Old 09-22-2004, 06:21 PM   #8
marsques
Member
 
Registered: Jan 2004
Location: Manchester
Distribution: slackware...
Posts: 344

Original Poster
Rep: Reputation: 31
thanks... for your explanation...
 
Old 09-22-2004, 06:39 PM   #9
pongmaster
Member
 
Registered: Jul 2004
Location: London, England
Distribution: Mandrake 10.1
Posts: 300

Rep: Reputation: 30
dabs.com sell crossover cables for as little as £3.
http://www.dabs.com/uk/channels/hard...quicklinx=2V26
I don't think PC World carry them as an off the shelf item - I know my local store doesn't have them and enquiries have only gotten the usual response of "if it ain't on the shelf we don't sell it".
 
Old 09-23-2004, 12:03 AM   #10
dannyk1
Member
 
Registered: Aug 2004
Location: Geelong, Vic Australia
Distribution: Gentoo, Ubuntu,and sometimes something from billy gates (when Im desperate)
Posts: 188

Rep: Reputation: 31
once you get them talking to eachother (eg try to ping eachothers address)
you could use scp to copy files back and forwards.

man scp


Danny
 
  


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
advice needed bshearer *BSD 2 04-18-2005 01:19 PM
Need advice! TightVNC or pcAnywhere on Window computers Micro420 General 6 02-09-2005 04:15 PM
Second post: Advice needed please! :-) LQtoto Linux - General 7 02-14-2004 06:22 PM
Partioning Advice Needed pembo13 Linux - General 3 11-06-2003 06:48 PM
advice needed ezra143 Linux - Laptop and Netbook 1 08-13-2003 03:44 PM


All times are GMT -5. The time now is 08:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration