Configure Samba sharing between Ubuntu and windows (screenshot tour)

Source: Internet
Author: User
Tags linux mint

Install Samba on Ubuntu 12.04/11.10/11.04/10.10/10.04/Linux mint/other distro's and share files with Samba from Ubuntu to Windows and windows to Ubuntu

I wrote tutorials on Samba sometime ago but some tables les found that is not useful for them or the method couldn't work properly for them, I also made video on Samba sharing.

Now I made complete tutorial on Samba configuration to share you data from Ubuntu to Windows and also windows to Ubuntu, its mean you can access your Ubuntu shared data from windows and Windows Shared data from Linux Ubuntu with/without permissions. permission
Is up to you, if you want to set permission or not.

Install Samba on Ubuntu/Linux mint open terminal (PressCTRL + ALT + T) And copy the following commands in the terminal:

  • Sudo apt-Get install samba-common
  • Sudo apt-Get install python-glade2
  • Sudo apt-Get install system-config-samba

I made this tutorial on Ubuntu 10.04 lts and Windows 7, it is working on all Ubuntu versions and all Windows versions.

Method 1: How to access Ubuntu/Linux shared data from Windows
Method 2: How to Access Windows Shared data from Ubuntu/Linux

>First of all how to access Ubuntu shared data from windows.

Now go to dash and search'Samba'Then open it. As shown in picture.

When Samba server configuration open, click on 'add + 'button then click on Browse> Home> Select User.

Now go'Access'Tab and select username from which you want to access sharing.

Now set password on your selected username for Samba sharing. Enter following command to set password (Change
NoobslabWith your selected username ).

  • Sudo smbpasswd-Noobslab

Now right click on folder which you want to share on network, then select'Sharing options'

Here is folder sharing options, you can choose and write whatever you want to do. Then click on'Create share'

Now open terminal and enter following command to know your local network IP. (See the picture below and see red marks)

  • Ifconfig

Note your Ubuntu/Linux machine IP Address

It's time to access your sharing on Windows, now go to start and open'Run'Then enter IP with double backslash. Like this (\ 192.168.1.3)

Now sharing will open, now click on shared folders then windows will ask for Samba username and password. You can share without username and password it's up to you.

When you enter the username and password your shared folder will open. You can write/delete/modify whatever you want to do (it's up to your permission implementations ).

That's it.

>Second how to access Windows Shared data in Ubuntu

In Windows right click on folder which you want to share on network, then click on 'advanced sharing' or 'sharing '.

Select your username or everyone, I chose my username cause I want sharing restrictions.

Now click on'Permissions'Button and select options as you want.

Now it's time to check your network IP, open command prompt or go'Run'Type'CMD'.
In Windows command prompt write following command to know your local network IP. (See picture below)

  • Ipconfig

Note your IP address.

Now go to Ubuntu, Open File Browser> file menu>'Connect to server'

Select'Windows share'In service type and enter windows IP address in'Server'Then click on 'connect'

Enter your windows selected username and password, then click on 'connect '. (Not Samba Username Password)

After connect you'll see folders, open your shared drive/folder and enter windows username and password again. (Not Samba username and password)

Here sharing is accessed, you can write/delete/modify whatever you want to do (it's up to your permission implementations ).

That's it. Enjoy

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.