Configure samba in Win7-RedHatLinux

Source: Internet
Author: User
Set samba server to connect to Windows environment for Win7-VMware-RedHatLinux9.01.redhat system settings-server settings-samba server: Set/home permission to readable writable 2. check your own IPv4 address. For example, if the IP address is 172.16.110.87 in Win7, enter ifconfigeth0172.16.110.XXX in the Linux terminal (XXX can be 1-254). 3. query: ifconf

Set samba server to connect to Windows

Environment for Win7-VMware-RedHat Linux 9.0

1. redhat system settings-server settings-samba server: Set/home permission to readable and writable

2. Check your own IPv4 address, for example, 172.16.110.87 in Win7.

Then, enter ifconfig eth0 172.16.110.XXX in the Linux terminal (XXX can be 1-254)

3. Query: ifconfig eth0 to check whether IPv4 in Linux has changed

4. Enter service smb restart in the terminal (Repeat multiple times to make all functions successful)

5. Run in Windows or enter \ 172.16.110.XXX in Explorer to directly enter/home

6. the chmod 777 XXX in the terminal grants all permissions to the XXX file in the/home file so that it can be accessed and modified in windows.

7. Terminal-setup-system service-smb (selected by space), so that the samba server runs automatically every time it is started

PS: if the problem occurs in step 1 (that is, Win7 cannot establish a connection with Linux), you can solve the problem through the following methods:

First, click [start] -- [run] And enter "secpol. msc" to open the administrative tool and expand "Local Policies ies )".

Then, click Security Options )". Double-click "Network Security: LAN Manager Authentication Level"

Finally, click Send LM and NTLMv2 In the list. if the negotiation is completed, use the NTLMv2 protocol (LM and NTLM-use NTLMV2 session security if negotiated)

Done!

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.