Works OK for one sshfs mount on a Jolla C running SFOS 3.0.2.
I added a 2nd mount to the same machine (different target directory) and the GUI got stuck: looked OK but tapping it did not bring up the mount/edit menu. Had to delete that from the config db to get rid of it.
then, I can access files in CLI, but not in a gui browser like "File Browser".
With FishNetMount, I can't managed to mount the SSFHS point. The connection failed.
My setting are :
- config name : NAS
- hostname : https://mydomain.fr
- remote dir : /
- username : vincent
- mount options : allow_other, umask=011, idmap=user, uid=100000,gid=100000,serverAliveInternal=30,StrictHostKeyChecking=no
- local mount point : /home/nemo/NAS
Is there a way to get log file, to see why the connection is failed?
With FishNetMount, does the mount point is accessible with File Browser?
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.
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.
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...
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/
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.
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".
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.
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.
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.
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
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.
Comments
schosslarock
Sat, 2021/12/18 - 21:18
Permalink
Second this, please dd 64bit version
bamdad
Wed, 2021/11/17 - 02:47
Permalink
pleease make a 64 bit version
DaveRo
Thu, 2019/11/14 - 18:54
Permalink
Works OK for one sshfs mount on a Jolla C running SFOS 3.0.2.
I added a 2nd mount to the same machine (different target directory) and the GUI got stuck: looked OK but tapping it did not bring up the mount/edit menu. Had to delete that from the config db to get rid of it.
Work fine with the single mount. Thanks.
cvp
Wed, 2018/11/14 - 14:20
Permalink
Is it possible to include a "toggle icon" for the Top Menu? So you can connect directly without opening the app.
vbelloir
Wed, 2017/12/13 - 10:53
Permalink
Hi all,
I try to mount a SSHFS point hosted on a Synology NAS. It works fine directly with a line in /etc/fstab :
sshfs#vincent@mydomain.fr:/ /home/nemo/NAS fuse port=22,user,noatime,_netdev 0 0
then, I can access files in CLI, but not in a gui browser like "File Browser".
With FishNetMount, I can't managed to mount the SSFHS point. The connection failed.
My setting are :
- config name : NAS
- hostname : https://mydomain.fr
- remote dir : /
- username : vincent
- mount options : allow_other, umask=011, idmap=user, uid=100000,gid=100000,serverAliveInternal=30,StrictHostKeyChecking=no
- local mount point : /home/nemo/NAS
Is there a way to get log file, to see why the connection is failed?
With FishNetMount, does the mount point is accessible with File Browser?
Thanks for your help.
Vincent
vbelloir
Wed, 2017/12/13 - 10:59
Permalink
OK, adding allow_other in /etc/fstab, make the job.
silta
Mon, 2017/10/16 - 18:50
Permalink
The same here...,
Edit: after installing cifs-utils it is mounting, but the mountpoint folder shows nothing and unmounting failed
korppi
Mon, 2017/10/16 - 20:09
Permalink
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
Fri, 2017/10/13 - 16:00
Permalink
The app seems not working in Sailfish X.
I cannot mount nfs neither samba points.
korppi
Mon, 2017/10/16 - 20:10
Permalink
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
Sun, 2017/05/14 - 18:03
Permalink
Cool.
In Config for NFS4, a field reads "Server IP/hostname". Nevertheless, mounting fails if the hostname is used.
gabs5807
Tue, 2017/01/10 - 23:54
Permalink
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
Mon, 2017/01/16 - 11:29
Permalink
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
Fri, 2016/10/14 - 23:48
Permalink
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
Thu, 2016/10/20 - 13:55
Permalink
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
Sat, 2016/10/22 - 23:26
Permalink
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
Thu, 2016/05/12 - 13:48
Permalink
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
Thu, 2016/05/12 - 15:50
Permalink
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
Fri, 2016/05/13 - 19:09
Permalink
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
Sat, 2016/05/14 - 18:23
Permalink
No kernel module... Well that explains it...
NFS should work, can you check that it does ?
Ingvix
Fri, 2016/01/08 - 13:15
Permalink
What could be the problem as sometimes mounting fails and sometimes it works? The problem seems to be in the phone's end.
korppi
Fri, 2016/01/08 - 14:12
Permalink
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
Fri, 2015/12/04 - 16:08
Permalink
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
Sun, 2015/07/12 - 23:34
Permalink
How is it possible to debug non-working connections? No errors are shown in the UI or the terminal. Are there any logs?
korppi
Mon, 2015/07/13 - 15:02
Permalink
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
Fri, 2015/07/03 - 23:35
Permalink
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
Mon, 2015/07/13 - 14:56
Permalink
NFSv4 should work with 0.7-5
jayki
Thu, 2015/05/14 - 12:27
Permalink
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
Sat, 2015/05/30 - 20:05
Permalink
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
Thu, 2014/07/03 - 15:20
Permalink
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.
Pages