Tags

,

Step #1:

Run the following command:

sudo apt-get install kdenetwork-filesharing libsmbclient samba samba smbclient

Step #2:

Specify a password to use when accessing shared folders in your computer using your Linux username.

sudo smbpasswd -a current_user

Replace the current_user with your username

Step #3:

Edit the samba config file to add shares:

sudo nano /etc/samba/smb.conf

At the end of the file add:

[DATA]
path = /home/current_user/Documents
browseable = yes
writeable = yes

Save the file (CTLR+X then Y then ENTER)

Step #4:

Restart Samba services:

sudo service nmbd restart
sudo service smbd restart

Step #5:

In the computer that will access the shares, open file manger, and in location bar type:

smb://192.168.2.2/

It will ask you for the password you entered in Step #2

Replace the IP Address with your computer IP Address

Advertisements