Novice: help with nfs/sshfs?


Forum: Networking
Topic: Novice: help with nfs/sshfs?
started by: sheldonisaac

Posted by sheldonisaac on Nov. 06 2007,14:39
Hi, I'm a non-expert.

My two computers, A and B, are connected via a router.
Usually A is 192.168.1.100, and B is usually 192.168.1.104

Damn Small Linux 4.0 frugal on B, 3.4 on A.

I want to mount on A some directories etc that are on B, so that I can view, copy, files etc

I've searched the archives, but thus far the directions aren't
simple and detailed enough for my level of knowledge.

Can someone (Robert has plenty to do without answering every novice question) help?

Thanks,

Sheldon

~~~~~~~~~~~~~~~

4 years ago, with BasicLinux 2.1 (2.2.16 kernel) on two
computers, it seemed to work OK, following something like the below.

=================

(on one computer)

/etc/hosts.allow
-----------------
ALL:  192.168.1.2
-----------------

/etc/exports
-------------------
/   192.168.1.2(rw,no_root_squash)
-------------------

-----------
rpc.portmap
rpc.mountd
rpc.nfsd

~~~~~~~~~~~~~~~

(on the other computer)

-------------------------
mount -t nfs 192.168.1.1:/  /mnt

Posted by ^thehatsrule^ on Nov. 06 2007,16:55
Your previous setup looks like a NFS configuration.
I don't think DSL has the server side capability of NFS by default, but it is client ready.

If you want something to work out-of-the-box, then you could go with sshfs.
Here's some links from a forum search to get you started: < http://damnsmalllinux.org/cgi-bin....t=16216 > and a script that looks interesting in < http://damnsmalllinux.org/cgi-bin....t=17784 >

Posted by curaga on Nov. 06 2007,17:05
DSL hasn't got the NFS server, not even as an extension..

You could either use Samba, or compile the NDB server and client.
OR you could use the ftp server of DSL, if your router has a good firewall :)

Posted by Juanito on Nov. 06 2007,17:30
I have a set up similar to this - the first link ^hats^ gave works fine for me and using samba also works fine, but is perhaps more work to set up.
Posted by curaga on Nov. 06 2007,17:39
I have a ftp server running, and I've used both NFS and NBD.. It's only Samba I haven't tried..
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.