UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. ygrex
    3. Best
    Y
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 10
    • Posts 31
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Mount Samba

      @keneda I do not have a complete solution for everyone, just what I did:

      1. export LD_PRELOAD= (libtls-padding.so causes unexpected things)
      2. boostrap chroot filesystem as per https://wiki.debian.org/Debootstrap
      3. mount /proc and /sys, bind mount /run/dbus (optional for smbnetfs) and /dev (fuse there)
      4. chroot in with 3003 (and optionally 3004) supplementary groups
      5. add apt_ user to 3003 (and probably 3004) groups
      6. edit /etc/resolv.conf with nameserver of preference
      7. install smbnetfs with apt-get, configure as per https://wiki.gentoo.org/wiki/Smbnetfs (I only needed auth line)
      8. mount smbfs in chrooted environment with allow_others option
      9. 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)
      posted in Support
      Y
      ygrex