Samba: Difference between revisions
No edit summary  | 
				No edit summary  | 
				||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
=== Server ===  | |||
==== Install ====  | ==== Install ====  | ||
sudo apt install samba  | sudo apt install samba  | ||
==== Configure ====  | ==== Configure ====  | ||
See /etc/samba/smb.cnf  | See /etc/samba/smb.cnf  | ||
You must add samba users manually!  | |||
 sudo smbpasswd -a m  | |||
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.