Tutorial
Updated
Ubuntu 18.04 LTS Network file Sharing With Windows
Ubuntu 18.04 LTS Network file Sharing With Windows
Creating a share on Linux and then accessing it from Windows is actually a bit easier than the other way around. First, we’ll create the shared folder on the Linux system. Then, we’ll look at how to access it from a Windows PC.
Step One: Create the Share on Linux
To set up a shared folder on a Linux that Windows to access, start with installing Samba (software that provides access to SMB/CIFS protocols used by Windows). At the terminal, use the following command:
sudo apt-get install samba
After Samba installs, configure a username and password that will be used to access the share:
smbpasswd -a geek you can change it
Note: In this example, we are using ‘geek’ since we already have a Linux user with that name, but you can choose any name you’d like. so it be smbpasswd -a (and whatever name you choose )
Then make a folder on the disk call whatever you want it to be example FTP. Now right click the folder FTP and click on local network share. you see a window click on share this folder and click on both allow other to create and delete files in this folder and guest access (for people without a user account)
Next to find out what the ip address from the switch open terminal type ifconfig and you found you ip example 123.411.3.4
Step Two: Access the Linux Share from Windows
Now, let’s add the Linux share to our Windows Desktop. Right-click somewhere on your Desktop and select New > Shortcut.
Type in the network location of the shared folder, with this syntax:
\\IP-ADDRESS\SHARE-NAME example FTP
type that in the location of the item
In the shortcut wizard on the Windows PC, click Next, choose a name for the Shortcut, and then click Finish. You should end up with a Shortcut on your Desktop that goes right to the Linux share. I figured out this would be helpful and i would like to share this.
Last edited by MrWhosHacking,