Wednesday, 11 January 2017

Share files between Ubuntu and Windows 10/8.1/7 (32bit / 64bit)

# Follow These Steps to share files between Ubuntu and Windows:


1.       Install samba on ubuntu.
Open terminal and type the following command :-
                  sudo apt-get install samba
 enter admin password
 type “Y” when it asks to continue.













2.        Create a new folder to share.
                          Rename it like- Home Cloud
             Right click and select properties > local network share 
             Check mark:- share this folder and allow others to create and delete files in this                              folder
             Hit create share > add the permissions automatically


3.       Now open Home Cloud folder and create new document and name it “Test Network Connectivity”.(we are creating this document to check whether our folder has been shared successfully or not)

4.       Get the ip address of ubuntu.
       Open terminal and type the following command :-
                          “ifconfig
Copy and keep  the value of “ inet addr” [it will look like: 192.168.1.34] (it is actually the ip address of our system with Ubuntu)























5.       Now we have to create user and set password for shared folder.
                   Open terminal and type following command :-
            Sudo user add –M –N –g   sambashare home

                        Now it will ask for admin password.
      6.      Now set password for user “home” of shared folder.
               Open terminal and type the following command :-
sudo smbpasswd –a Home
now it will ask for admin password
New SMB password : (type the password that you want to set for the user “home” of the shared folder)
Retype new SMB password:(retype the password to confirm)
User Home will be added to the shared folder.








7.       Now access shared folder from windows 10 pc.
Go to start menu ant open “run”
And type the following:-  \\192.168.1.34
Hit enter

It will show you the shared folder “Home Cloud”
Open it and you will be able to see the document named “Test network connectivity”























8.       You may also create a text document from windows 10 pc and rename it “successfully connected”.
            Which can also be viewed from ubuntu

9.       Create a shortcut to the shares folder so that you don’t need to enter the ip address of ubuntu  every time to access the shared folder.

Open this pc > Computer (in the ribbon) > Map network drive


In Map network drive window type the following in folder:- \\192.168.1.34\Home Cloud
Check mark reconnect at sign-in and hit Finish


Now you will be Able to see Home Cloud Drive in This PC window


10.   Now finally check if file sharing is working  with the Drive that we have created in This PC window.

                       ...YOU CAN WATCH VIDEO FOR FURTHER HELP...