Samba
This page contains information on various use cases of Samba on Void.
Client
You'll want to install cifs-utils and smbclient.
Via FSTAB
Here is an example fstab entry, from the Samba wiki:
//192.168.2.100/share /mnt/oneterra cifs guest,_netdev,uid=mike 0 0
_netdev
is used to wait until a network is brought up before mounting.
Tip: You can also use
noauto
to keep the system from automatically mounting the share.Via Command Line
here is an example command from the Samba wiki:
mount -t cifs -o user=luke //192.168.1.104/share /mnt/linky_share
Server
Install the server by running:
# xbps-install -S samba
Enable the server by running:
# ln -s /etc/sv/smbd /var/service/
Edit the default configuration file using your favorite editor:
# vim /etc/samba/smb.conf
This article is issued from Voidlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.