Samba

From Bitpost wiki

Server

Install

sudo apt install samba

Configure

See /etc/samba/smb.cnf

You must add samba users manually!

sudo smbpasswd -a m

After making changes, restart:

sudo service smbd restart

Client

Works great for me across linux, astro-on-android, kodi-everywhere.

Install

Ubuntu:

apt -y install smbclient cifs-utils
mh-setup-samba-shares

Maintenance

To lazy-unmount samba partitions:

sudo umount -l /spiceflow/bitpost
sudo umount -l -t cifs -a # be careful to specify type or ALL drives will unmount!

This is important eg when you take viper off home LAN - otherwise the OS locks up trying to get to the mount points.