How To Access Linux Shared Folder From Windows 10
This is a complete tutorial to evidence yous how to share folders over the local network between Windows and Ubuntu.
Do you have multiple devices in your dwelling house? Do y'all have to utilise Flash Drive or SD card to transfer data from Ubuntu to another computer? Practise you find it abrasive? We know you practise. Because we don't want you to waste material your precious time while you can transfer your files, documents, and other large stuff apace and easily, over the local network. It'southward ane-fourth dimension setup and then with some clicks y'all will be able to share files between Ubuntu and Windows or whatever other Linux arrangement. And don't worry it'due south easy and takes but a little fourth dimension.
One more affair to add, while we performed this tutorial on Ubuntu, this tutorial should be valid for any other Linux Os.
Share folder on local network in Ubuntu
If y'all are using Ubuntu, there are 2 means yous can share your local files over the local network to access it from Windows or other Linux computers.
- Share information technology for anybody's access on local network, without password
- Password protect the folders for restricted access
We'll see both methods in this post and will let you make up one's mind which one you would prefer to use.
Method 1. Share folders on local network without password
You'll take to do some settings on both Windows and Ubuntu.
Enable sharing on Ubuntu
To share a folder on the local network in Ubuntu, right click on the desired folder and select Local Network Share:
Don't see Local Network Share option?
Possible troubleshoot: If you practise not run into the option of Local Network Share in right click menu, open a terminal and apply the following command to install nautlius-share:
sudo apt-get install nautilus-share
You'll demand to restart Nautilus. Either log out and log in dorsum or use the command below:
nautilus -q
When you click on Local Network Share, you volition encounter the option of sharing the binder. Just check the option of Share this folder:
Possible troubleshoot: If you are prompted about Sharing service not being installed, like in the screenshot below, merely click on Install service and follow the instructions.
When you cheque the option of Share this folder, you'll see option of Create Share available for you. You tin can also allow other users to edit the files in the shared folder. Option for guest access can be checked as well.
You lot'll see that the binder icon have been changed to prove that it has been shared. To stop sharing a binder, just uncheck the Share this folder pick.
Now access the shared binder on Windows machine.
Step 2: Enable sharing on Windows
On Windows, right click on "This PC" or "My Computer", and select "Add a new connection".
Click on "side by side" button.
Now information technology's time to enter server accost and the name of folder which we've shared. Delight enter in following format.
Yous can detect your server's address, i.e. IP address of Linux machine by inbound ip a command.
In my case, IP accost of Linux machine is 192.168.0.102 and folder I've shared is share .
At present add together the location in the following way:
Now you will meet this screen, just click adjacent.
Now, you tin access the shared folder in "This PC" or "My Computer" under "Network Location" section.
Now this was the easy way out. This provides access to anyone on your local network to access these files.
In normal condition, you lot should prefer this. I mean, devices on your home network should be more often than not known devices. Merely this could not exist the instance always. What if you desire merely certain people to access it?
This is where Samba server comes in picture. We'll see that in the second part of the tutorial.
2. Share the folders on local network in Ubuntu with password protection
To practice this, we demand to configure Samba server. Really, we did use Samba in the previous part of this tutorial. We but did not emphasize on it. Earlier nosotros proceed seeing how to set up Samba server for local network sharing in Ubuntu, let'south showtime have a quick look on what really is Samba.
What is Samba?
Samba is the software package that allows you to share files, documents and printers beyond a network, irrespective of whether you are using Linux, Windows and Mac. It'southward bachelor for all major platforms and can piece of work tremendously nice in all of them. Quoting from Wikipedia:
Samba a free software re-implementation of the SMB/CIFS networking protocol, and was originally adult by Andrew Tridgell. As of version 3, Samba provides file and print services for various Windows Clients and can integrate with a Windows Server domain, either equally a Primary Domain Controller (PDC) or every bit a domain fellow member. It can as well exist part an Active Directory domain.
Install Samba server on Ubuntu
You can easily install Samba on yous Ubuntu box. Before installing update your organisation then that yous can install whatever bachelor updates.
sudo apt-become update && sudo apt-get upgrade
At present install Samba serer and few other required stuffs with the post-obit command:
sudo apt-get install samba samba-common system-config-samba python-glade2
Once you've installed Samba server, it's fourth dimension to configure Samba from the graphical interface window to share files.
Configure Samba server on Ubuntu
Open Samba Configuration tool from the dash:
Go to Preference->Server Settings. Although the default settings are adept and may exist same you need. Just you may need to make modify to it in some cases.
Now in Server Settings you lot've two tabs, 'Basic' and 'Security'. Under Basic tab yous've the following options that mean:
- Workgroup – This is the name of the Workgroup of the computer you want to connect to. For example, if you desire to connect to a Windows calculator and so you will enter the workgroup proper name of Windows computer, and in Windows you lot already have the same workgroup proper noun every bit is fix past default in Samba Server Settings. Only if you have a different workgroup name on Windows then yous will enter that workgroup name in this field. (In Windows 7 to get the workgroup name, right-click Reckoner icon and go to Properties, there you'll see Windows Workgroup name.)
- Description – This is the proper name of your computer as seen past others. Don't use spaces or non-internet friendly characters.
Assuasive 'Guests' is not appropriate so in that location is no reason to change security settings. Go along every bit it is.
It is all washed! You've setup Samba Server. We are not far from sharing our first binder on network.
Create a organization user for network file sharing
We will now create a system user for sharing file on network. This is how simple it is.
- Go to System Settings.
- Nether Systems Settings ClickUser Accounts.
- Click unlock to Enable + (plus) icon.
- Click + (plus) icon to create a new organisation user.
Now as you tin see the above image, y'all tin enter 'Full proper noun'. Every bit you enter 'Total name' Username will be taken as Full name automatically. Because we are creating this user to share files so we will assign Account Type to 'Standard'.
Done above steps? Click add. You lot have created a system user. The user is non nevertheless activated then we will activate it by setting upwards countersign for this business relationship. Make sure Users accounts console is unlocked. Click Account disabled and blazon a new password, and so confirm password and click Change.
Yipee… Upto at present we have installed and configured Samba and We accept created a Organization user to share files on network from the account and we take activated our newly created business relationship, too. Now We will move to Samba for the last footstep of configuring everything, then we will share a binder.
Add new Samba user
Open Samba and click Samba Users under Preference. Fill up the the elementary dialogue. Hither are couple of details virtually the fields:
Unix Username – In this case I am selecting the user that I but created.
Windows Username – You will enter this username when you are accessing from Windows Auto.
Samba Password – You will enter this countersign when you are accessing from Windows Machine.
One time you've done click OK. At present take a deep jiff. You accept successfully created a network with the help of Samba. Now restart the network or Samba services and ready to share files with other machines.
sudo restart smbd && sudo restart nmbd
Share folders or files over the network
To share files with Samba it'due south simple with graphical user interface. Click the Plus icon in Samba and you lot will get dialogue similar this:
Consummate the fields. In 'Directory' browse the folder you want to share. Here are the details almost the fields you will run into here:
- Share name is the name of the folder that other would run across.
- Clarification is simply about the content you are sharing on network.
- Writable You shared folders are 'read merely' past default. You lot can prepare them to writable if you desire others on network to change them.
- Visible Equally the name suggests when you click Visible, the shared folder will exist visible to the people on network.
Now you lot can set permissions for the folder yous are sharing. To do this click 'Admission' tab and check the users you desire to share the binder with. When you select Allow admission to everyone, the binder volition be attainable to everyone on the network.
Finally click OK to complete the sharing. Now the folder is shared with the people you lot want. You lot accept completed sharing file on network. Is there everything left? Yes! How to remove the folders from the network?
Remove shared folders
We volition also demand to remove some of the folders subsequently sometime from network. It is very uncomplicated and here is how nosotros can do that.
This is all done! We can as well share files over network using terminal but that would not exist as like shooting fish in a barrel equally this i. If y'all request for command line sharing then I will write a tutorial on how to share files over network with command line in Linux.
So, how do you find this tutorial to share files on local network in Ubuntu? I hope with this tutorial you tin can easily share files between Ubuntu and Windows. If yous have questions or suggestions, experience free to inquire it in the comment box below.
This tutorial was requested past Kalc. If yous would like, yous can request your own tutorial. We would be happy to help you out along with other readers facing the aforementioned outcome.
With inputs from Abhishek Prakash.
Source: https://itsfoss.com/share-folders-local-network-ubuntu-windows/
Posted by: phillipsnursucher.blogspot.com
0 Response to "How To Access Linux Shared Folder From Windows 10"
Post a Comment