The Following 6 Users Say Thank You to @SR For This Useful Post: | ||
|
2011-05-28
, 22:32
|
Posts: 195 |
Thanked: 96 times |
Joined on May 2011
|
#2
|
|
2011-05-28
, 22:41
|
Posts: 53 |
Thanked: 143 times |
Joined on Dec 2009
@ Russia
|
#3
|
|
2011-05-28
, 22:46
|
Posts: 195 |
Thanked: 96 times |
Joined on May 2011
|
#4
|
|
2011-05-28
, 22:56
|
Posts: 53 |
Thanked: 143 times |
Joined on Dec 2009
@ Russia
|
#5
|
|
2011-05-28
, 22:59
|
Posts: 195 |
Thanked: 96 times |
Joined on May 2011
|
#6
|
Packages for most desktop linux distributions and source code can be found at http://sourceforge.net/projects/remotefs/
Packages for n900 are attached here.
You will need fuse installed on n900 for renotefs to work:
apt-get install libfuse2 fuse-utils
Install client with:
dpkg -i rfs_0.15-2_armel.deb
Install server with:
dpkg -i rfsd_0.15-2_armel.deb
Install rfsnss (you probably don't need this):
dpkg -i rfsnss_0.15-2_armel.deb
You don't need all packages. If you want only server o client install only that package.
How to mount remote file system
rfs serverip:/export/path /mount/point
Example:
-o username=YourUserName,password=/path/to/file/with/password
Example:
rfs 192.168.1.1:/home/user/share /home/user/MyDocs/share -o allow_other,username=MyUserName,password=/home/user/MyDocs/password.txt
It should be possible to umount the share as user with command:
fusermount -u /home/user/MyDocs/share
but for some reason it does not work on n900 (it's not remotefs bug, its a bug in fuse utils on n900). So you can only umount as root with command:
umount /home/user/MyDocs/share
More instructions can be found at: http://sourceforge.net/apps/mediawik...tle=Help:HowTo
How to create a share
All commands on n900 for creating a share should be done as root.
Edit file /etc/rfs-exports to set the directories you want to share.
There are examples and some instructions in default file /etc/rfs-exports.
If you want to share folder /home/user/share on your computer with everyone on your network without authentication then add a line:
If you only want user MyUserName with password MyPassword to have access to your share set the password with command:
And add a line:
Start the server with:
QUIET="-q"
in file /etc/init.d/rfsd
or on n900
RFSD_QUIET="-q"
in file /etc/defaults/rfsd
I did not put packages in repository because I don't have time right now to make a normal build script for autobuilder. And since there is so gui for this right now you will need to use terminal anyway. The author of remotefs supports build even for embedded systems (openwrt), so I will contact him and maybe he will maintain version for n900 as well.
ps. I had an idea to write gui application for mounting different linux file systems on n900 similar to Wizard Mounter (it only supports NFS and Samba right now). I wanted it to support more remote file systems (davfs2, remotefs, sshfs, CurlFtpFS) and encryption file systems (encfs, eCryptfs) and some others (lessfs, FuseCompress, aufs, Unionfs). Will people use this gui? Should I write it?
If I will make the gui it does not mean that it will support all filesystems. I can try and build fuse based ones, but I really don't want to manage all filesystems packages. For filesystems that are in kernel (like eCryptfs) you should ask power-kernel maintainers.
Right now I think n900 supports only samba, nfs, sshfs, davfs2 without ssl, and as of now remotefs.