Samba: Difference between revisions

From Bitpost wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
After making changes, restart:
After making changes, restart:
  sudo service smbd 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.

Latest revision as of 18:08, 20 February 2021

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.