LinuxQuestions.org
Help answer threads with 0 replies.
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 08-01-2005, 07:20 AM   #1
pppaaarrrkkk
Member
 
Registered: Jun 2005
Location: Aylesbury UK
Distribution: Red Hat enterprise linux 6
Posts: 101

Rep: Reputation: 15
PC to Laptop : direct connection


PC runs Ubuntu or SLAX. Laptop runs Vector.

Can someone tell me where a HowTo is please.
 
Old 08-01-2005, 12:54 PM   #2
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,207

Rep: Reputation: 63
You can log into one or the other using ssh: http://www.csua.berkeley.edu/ssh-howto.html

You can also mount a directory from one machine to use on another using NFS: http://nfs.sourceforge.net/nfs-howto/

Not sure if it answers you question. I use NFS to mount my home directory from my desktop from my laptop. I then can copy files from my desktop to laptop for backup purposes and to take work with me. You could also use ftp to do something similar.
 
Old 08-01-2005, 01:21 PM   #3
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 34
Re: PC to Laptop : direct connection

Quote:
Originally posted by pppaaarrrkkk
PC runs Ubuntu or SLAX. Laptop runs Vector.

Can someone tell me where a HowTo is please.
If you're concerned about the physical connection, you can also check out:

http://www.linux.org/docs/ldp/howto/...all-HOWTO.html

and

http://www.linux.org/docs/ldp/howto/...WTO/index.html

You may also be able to look at the ppp-howto as well.
 
Old 08-01-2005, 01:35 PM   #4
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
Easiest way I would think is to conect the nic's of both machines with a cross over cable and then set the IP address of each machine to be in the same subnet. They are then connected to each other and you can ssh to either one or set up nfs
 
Old 08-01-2005, 08:02 PM   #5
pppaaarrrkkk
Member
 
Registered: Jun 2005
Location: Aylesbury UK
Distribution: Red Hat enterprise linux 6
Posts: 101

Original Poster
Rep: Reputation: 15
This is what I have done. I think the destop (the 'server') is okay.



The connection is parallel port to parallel port. The server is Ubuntu and it is easy to set up files for sharing using NFS.

On the laptop, I have done this :



If the Desktop is the server, named dave_c, and the laptop is the client, named bob then :

# rdesktop -u bob dave_c:/dev/parport0

ERROR dave_c : unable to resolve host

# mount -t nfs dave_c:/home /tmp/one


...which doesn't work.
 
Old 08-02-2005, 04:30 PM   #6
pppaaarrrkkk
Member
 
Registered: Jun 2005
Location: Aylesbury UK
Distribution: Red Hat enterprise linux 6
Posts: 101

Original Poster
Rep: Reputation: 15
Any suggestions what I have done wrong please.
 
Old 08-03-2005, 06:04 PM   #7
urka58
Member
 
Registered: Nov 2003
Distribution: slackware 14
Posts: 540

Rep: Reputation: 32
What cable are you using, normal or laplink (cross cable)..... this could be the trick.
Ciao
 
Old 08-03-2005, 06:54 PM   #8
phil.d.g
Senior Member
 
Registered: Oct 2004
Posts: 1,192

Rep: Reputation: 101Reputation: 101
You can't connect the computers via their parrallel port and use the connection in the same way as an ethernet connection. What you are doing requires an ethernet connection with a crossover cat5 cable plugged into the rj45 sockets on the computer/laptop.

With a parrallel connection you will have to write or download some software that enables you to communicate via the parrallel port even then samba can't be made to work over a parrallel connection
 
Old 08-05-2005, 02:54 AM   #9
n0xvb
Member
 
Registered: Sep 2004
Location: 127.0.0.1
Distribution: Slackware 13; openSUSE 11.2
Posts: 255

Rep: Reputation: 34
If the PLIP connection is working then you should be able to run NFS via that connection (it is the same as a SLIP connection, but uses the parallel port instead of the serial port).

It sounds like you'll need to put an entry in your /etc/hosts file of the laptop for dave_c, so that it can find the desktop system.
 
  


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
Direct Connection Xp and Linux mecca Linux - Networking 4 06-27-2004 04:09 PM
Direct Cable Connection using LPT1 chem1 Linux - Hardware 1 03-10-2004 10:59 AM
Direct modem-to-medem connection Hegemon Linux - Hardware 2 03-04-2004 10:20 PM
Direct Cable Connection suchi Linux - Networking 4 11-23-2003 05:10 PM
direct connection through the firewall cam99 Linux - Security 1 08-03-2003 06:35 PM


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