Mount Samba
-
Hi,
Filemanager greys out "+" for Network, neither did I find any pre-installed or available at Store apps to access Samba shares.
What is the expected app for Ubports OS to mount (mount, not just like smbclient in Android) Samba shares?
-
@mrt10001 thank you for the reference, in fact it does not provide any solution I wanted, so I ended up with creating a full chroot with debootstrap, running smbnetfs there, and symlinking into necessary shares from /home/phablet/Downloads/shares, so that everything is accessible from default filemanager with no unlocking
-
-
@mrt10001 thank you for the reference, in fact it does not provide any solution I wanted, so I ended up with creating a full chroot with debootstrap, running smbnetfs there, and symlinking into necessary shares from /home/phablet/Downloads/shares, so that everything is accessible from default filemanager with no unlocking
-
Y ygrex has marked this topic as solved on
-
@ygrex
Could your provide what you did step by step embeded in code tag so that any other user can use your workaround without having your knowledge ?

-
@keneda I do not have a complete solution for everyone, just what I did:
export LD_PRELOAD=(libtls-padding.socauses unexpected things)- boostrap chroot filesystem as per https://wiki.debian.org/Debootstrap
- mount /proc and /sys, bind mount /run/dbus (optional for smbnetfs) and /dev (fuse there)
- chroot in with 3003 (and optionally 3004) supplementary groups
- add apt_ user to 3003 (and probably 3004) groups
- edit /etc/resolv.conf with nameserver of preference
- install smbnetfs with apt-get, configure as per https://wiki.gentoo.org/wiki/Smbnetfs (I only needed auth line)
- mount smbfs in chrooted environment with allow_others option
- on a host filesystem as a phablet user create a symlink under Downloads (any folder accessible by filemanager without unlocking is fine) to the required share(s)
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better š
Register Login