sudo apt-get install samba
sudo apt-get install samba-common-bin
Back up and edit config file
sudo cp /etc/samba/smb.conf /etc/samba/smb.conf.old
sudo vim /etc/samba/smb.conf
Append this config file and add the following lines:
[hdd]
comment = 1TB shared HDD
path = /mnt/hdd
writeable = Yes
browsable = Yes
public = Yes
force user = nitish
change nitish
to your username.
You can goto \192.168.1.150\hdd
to view folder contents.