FishNetMount

Rating: 
4.857145
Your rating: None Average: 4.9 (7 votes)

 

NOTE: sshfs part needs sshfs-fuse

Simple SMB/CIFS/NFS/SSHFS mounting gui.

Beta so something might not work.

Backup part is just copying Jollas backup directory to the network share. It doesn't do anything else, so you need to do the actual backup with phones own backup soft.

Application versions: 
AttachmentSizeDate
fishnetmount-0.3-1.armv7hl.rpm48.03 KB02/07/2014 - 10:43
fishnetmount-0.4-3.armv7hl.rpm48.2 KB14/09/2014 - 09:23
fishnetmount-0.5-3.armv7hl.rpm48.68 KB16/09/2014 - 12:20
fishnetmount-0.6-4.armv7hl.rpm48.23 KB24/10/2014 - 22:22
fishnetmount-0.6-5.armv7hl.rpm48.2 KB03/01/2015 - 13:59
fishnetmount-0.7-2.armv7hl.rpm52.02 KB30/05/2015 - 19:57
fishnetmount-0.7-5.armv7hl.rpm56.16 KB13/07/2015 - 14:55
fishnetmount-0.8-1.armv7hl.rpm55.04 KB25/08/2015 - 10:16
fishnetmount-0.9-2.armv7hl.rpm55.56 KB02/12/2015 - 11:05
fishnetmount-0.9-2.i486.rpm61.86 KB02/12/2015 - 11:08
fishnetmount-0.9-3.armv7hl.rpm61.17 KB12/05/2016 - 14:52
fishnetmount-0.9-3.i486.rpm68.24 KB12/05/2016 - 14:52
fishnetmount-0.9.2-3.armv7hl.rpm60.97 KB20/09/2016 - 16:44
fishnetmount-0.9.2-3.i486.rpm68.25 KB20/09/2016 - 16:44
fishnetmount-0.9.2-4.armv7hl.rpm62.06 KB20/10/2016 - 13:48
fishnetmount-0.9.2-4.i486.rpm69.49 KB20/10/2016 - 13:48
Changelog: 

0.9.2-4

  • bug fixes
  • failure logs ((as root)  "journalctl -ax |grep netmountingd" )

0.9.2-3

  • bug fixes

0.9-3

  • bug fixes

0.9-2

  • mount options
  • show config
  • bug fixes
  • i486 build (not tested on real device but runs fine on emulator)

0.8-1

  • cover actions
  • bug fixes

0.7-5

  • nfs4 should work now
  • bug fixes

0.7-2

  • bug fixes
  • sshfs (needs sshfs-fuse)

0.6-5

  • ui fixes

0.6-4

  • ui fixes

0.5-3

  • workgroup/domain for SMB/CIFS
  • bug fixes

0.4-3

  • bug fixes

0.3-1

  • initial release

Comments

silta's picture

The same here...,

Edit: after installing cifs-utils it is mounting, but the mountpoint folder shows nothing and unmounting failed

korppi's picture

Installing cifs-utils does not do anything because this app does not use them. You need kernel modules for nfs and cifs and currently they are not in X:s kernel.

You need to ask Jolla to put them in next kernel.

3vixan's picture

The app seems not working in Sailfish X.
I cannot mount nfs neither samba points.

korppi's picture

Installing cifs-utils does not do anything because this app does not use them. You need kernel modules for nfs and cifs and currently they are not in X:s kernel.

You need to ask Jolla to put them in next kernel

MooCrumpus's picture

Cool.

In Config for NFS4, a field reads "Server IP/hostname". Nevertheless, mounting fails if the hostname is used.

gabs5807's picture

hello, i did not find any kernel module for cifs/smb or nfs for the i486 (tablet). so the tablet version is not working for that mounts :-(.

same problem is for the community ports (e.g. fairphone2), which have an other kernel version ..

 

korppi's picture

I can't help you with these... But you can ask Jolla(if it's Jollas tablet) to enable those modules. They have enabled modules when somebody has asked so... good chance...

For community ports you have to ask the porter of the device. Here is some info: https://wiki.merproject.org/wiki/Adaptations/libhybris/porters

https://wiki.merproject.org/wiki/Adaptations/libhybris

Some of the porters you can find on IRC Channel #sailfishos-porters on the Freenode Network.

wdehoog's picture

When I try to mount using CIFS it fails and on the terminal of the phone I see:

Broadcast message from root@Sailfish (Fri 2016-10-14 22:42:54 CEST):

Password entry required for 'Password for guest@//192.168.4.106/usb-hd:' (PID 30123).
Please enter password with the systemd-tty-ask-password-agent tool!

The share does not need a password and mounting on the command line works:

devel-su mount -t cifs -o username=guest //192.168.4.106/usb-media /home/nemo/omv/

what can be the problem?

korppi's picture

Those messages are not from my app. New version adds some logging so try with it.

As root exec "journalctl -ax |grep netmountingd" and you'll get mount commands error, if any...

wdehoog's picture

This is the result.

Oct 22 21:55:47 Sailfish netmountingd[3900]: QProcess: Destroyed while process ("/bin/mount") is still running

Please see here for more.

-edit-

When adding username=guest,password= to the mount options CIFS no longer asks for a password. So indeed it was not your app and now it works. Thanks for your work.

pakoR's picture

It doesn't work in my jolla tablet using the same config that works on my jolla phone, maybe some dependencies issue?
It's a samba share.

korppi's picture

Test with new version. Maybe kernel doesn't understand all the options. Can't test as I don't have tablet.

EDIT: You need to make new config... Old config will not work as new version removes some mount parameters but does not change old configs.

pakoR's picture

Still not working, deleted the old one and created a new config, could be a problem with CIFS module? lsmod don't show cifs on tablet and modprobe cifs shows "Module cifs not found".

I try installing the cifs-utils RPM from nieldk repo http://repo.merproject.org/obs/home:/nielnielsen/latest_i486/i486/ but still the same.

EDIT: I find this http://talk.maemo.org/showpost.php?p=1505339&postcount=33

korppi's picture

No kernel module... Well that explains it...

NFS should work, can you check that it does ?

Ingvix's picture

What could be the problem as sometimes mounting fails and sometimes it works? The problem seems to be in the phone's end.

korppi's picture

If you are using sshfs, it does that sometimes with first try, second should work... I haven't bothered to look for reasons, because second works... But probably some timeout hits in fuse-sshfs...

I will add some retrying in next version to mask it... ( If I don't find the actual reason ).

I haven't seen such behavior with smb/cifs or nfs, that would probably be network related.

Ingvix's picture

A way to copy share configs or something like that, please, as I have many shares on same address and it is a bit annoying to always fill all the info again when creating a new mount.

sebix's picture

How is it possible to debug non-working connections? No errors are shown in the UI or the terminal. Are there any logs?

korppi's picture

You can use journalctl(as root) but it doesn't give much info. There is not much I can do about that because mount command gives very little info on what went wrong.

V10lator's picture

Please add NFSv4 support. This is how I manually mount my share:

mount -t nfs4 -o addr=192.168.2.2 nfs-share:/ /home/nemo/nfs-share

korppi's picture

NFSv4 should work with 0.7-5

jayki's picture

Hey :)
Could you please open the Source Code ?
I just want to add sshfs ;)
the sshfs package is available at Warehouse and works great,
your app works freat, too but sshfs woukd make it even better :)
Please open it :)
Thanks

korppi's picture

Sshfs added and thinking about opensourcing but not yet there.

Sshfs part needs fuse-sshfs package. I have not tested the package that is available here so please tell me if it works.

roboro's picture

Hey this is pretty neat... thanks for putting it together. Not sure if I like how much of a binary blob this is... but it seems to do the trick nicely. It would be nice to be able to set the different mount parameters as the user... although your defaults look pretty reasonable... at least for NFS.

Incidentally... you could probably add upnp to these mounts... I packaged djmount for this, you're welcome to take a look at it and incorporate this into your app. Check out https://openrepos.net/content/roboro/djmounter and https://openrepos.net/content/roboro/djmount.

korppi's picture

Mount parameters, hmm, user would need to know how kernel wants it's parameters or something like advanced config and switches... Well, I think about it...

And yes, it would be good to have "all" of the network mounting in one app. I'll take a look at it, but sadly I don't have time to implement anything right now.

V10lator's picture

Mount parameters are a must-have. I don't want the NFS share I'm using to build packages (and as such need to exec configure and scripts like that) to be mounted with noexec. Please at least add toggles for things like that (noexec, nodev, ...).

korppi's picture

Well that would be easy to do, but not as easy as in desktop distro, because you need to talk without the usual help ( there is no mount.nfs ) and kernel is picky without it... and no proper error messages...

There is "soft,noexec,nolock" by me and the rest are kernel defaults...

You can check what is there with:

"cat /proc/mounts"

Don't have time for it right now... But when tablet arrives I need to do new ui anyway, so maybe then...