Ubuntu. Расшарить диски (samba)
Sudo apt-get install samba
sudo nano /etc/samba/smb.conf
[global]
workgroup = workgroup
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000
security = user
encrypt passwords = true
domain master = no
wins support = no
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
guest ok = yes
unix charset = utf8
dos charset = cp1251
display charset = cp1251
passdb backend = tdbsam
usershare allow guests = yes
usershare owner only = false
lanman auth = No
[BACKUP]
path = /media/BACKUP/
browseable = yes
writeable = yes
directory mask = 0777
create mode = 0777
public = yes
------------------------
sudo service smbd restart