Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: connect 2 dsl pc's, connect 2 dsl pc's with router< Next Oldest | Next Newest >
tuxtux Offline





Group: Members
Posts: 10
Joined: Nov. 2006
Posted: Nov. 25 2006,17:53 QUOTE

i have 2 dsl machines connected at an ethernet router.
how to communicate and share file from machines 1 to machine 2 and viceversa?
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Nov. 26 2006,00:18 QUOTE

If you are staying current with DSL versions, I find the easiest way to "mount" remote directories is to use sshfs.

Say machine 1 is the "server" and machine 2 is the "client"

On machine one:

Setup password for user root
start ssh either from the control panel or at boot time with boot option ssh

On machine 2:
sudo modprobe fuse or use the boot time option fuse
Then to mount machine1's /tmp directory on machine2 you can do something like this

sudo sshfs root@machine1_ip:/tmp /mnt/test

You will be prompted for root's password on machine1

If successful then on machine2 you can access machine1 /tmp by accessing /mnt/test


Best to google sshfs for all the full details and options available.
Back to top
Profile PM WEB 
Selim Offline





Group: Members
Posts: 52
Joined: Oct. 2006
Posted: Dec. 08 2006,08:05 QUOTE

I tried that. I needed to be root on machine2 to access machine1 /tmp by accessing /mnt/test. Any idea why?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Dec. 08 2006,13:24 QUOTE

sudo implies root privileges, so /mnt/test probably then is only accessible with root privileges.  You could try changing the permissions on /mnt/test with chmod/chown (not sure how sshfs works).
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Dec. 08 2006,14:29 QUOTE

Use the option -o allow_other

See other options with
sshfs --help
Back to top
Profile PM WEB 
5 replies since Nov. 25 2006,17:53 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: connect 2 dsl pc's

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code