Use Windows XP to access ubuntu sharing

Source: Internet
Author: User
Using Ubuntu to access files shared by windows is very simple and will be supported by default after the system is installed. However, if you want to access ubuntu in xp, this is more complicated. Write down the method. Simple Steps: 1. Install samba (sudoapt-getinstallsamba), smbclient (sudoapt-getinstallsmbclient), and smbfs (sudoapt-getinstallsmbfs) to access files shared by windows through Ubuntu. This is very simple, it is supported by default after the system is installed. However, if you want to access ubuntu in xp, this is more complicated. Write down the method.

The procedure is as follows:

1. install samba (sudo apt-get install samba), smbclient (sudo apt-get install smbclient), and smbfs (sudo apt-get install smbfs ).

2. Configure the smb. conf file after installation (command: sudo gedit/etc/samba/smb. conf). You need to modify the following:

* Workgroup = domain name/* enter the workgroup name if the machine is not in the domain */
* Netbios name = computer name/* needless to say, other computers can access it directly through // computer name, so you do not need to remember the IP address. */
* Passwd program =/etc/samba/smbpasswd/* I guess samba is used for password verification */
* Security = user/* This is the authentication and logon method. There are many methods. user is a common one. The administrator needs to manually set an smb account and password; the share mode does not involve usernames and passwords. This mode is very insecure and basically not used. The server is verified by the Samba server or the NT server. I think this is a bit similar to the user verification mechanism in the windows domain, but it should be more complicated. For example, if you use linux as a file server to control the file operation permissions of each user in the domain, linux can be more detailed than windows. The above is just what I think, because I have never tried a linux server. */
The [homes] segment must be browsed by modifying browseable = yes.

3. To add a shared object, you can set it in the system-system management-shared folder, or directly edit the smb. conf file above.

4. Add an SMB account.
First, add a ubuntu account sudo adduser-a xp (here is to add an account named xp, enter the account password.
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.