I think many of my friends want to know how to do this, and there seems to be no ready-made tutorials on the Internet. Here I will give you a tutorial % Z # l8 n'j: G "x * w # K # _ 3 F
Hypothesis:
PC1: Windows IP: 192.168.1.10 shared directory: smbfolds # V & u't4 |! [) M5
PC2: Mac OS ip: 192.168.1.20 shared directory: aaa5 N2 C # Y: B; R "Q $ K6 @
A. How to access MAC in Windows ( B. How to enable Windows sharing on Mac OS ) # T3 S & M $ a' Z; I (@
Part
Click System Preferences ----> sharing
8 '3 Y % V' X, W3 Q (V6 Z3 M # Z
Click Enable accounts as follows to go to the following page:
4 o % [9 C: S/\) F2 e4 [-d
It indicates that both AAA and xingstar are user names on my computer.
Enter the password of the AAA account in Password
Now, Mac OS sharing has been set up. Switch to your Windows platform. R: E1 E2 m' x9 w % R6 V3 y
In the [start] menu ---> running, enter the URL path:
// 192.168.1.20
When the dialog box appears, enter the AAA user name and password on the Mac OS. Now you can see the shared information on the Mac OS. 2] 1}/g N "? 9 B
B. How to enable Windows sharing on Mac OS
First of all, I have seen many users on many forums or other types of web pages saying that they are used on Mac OS.
SMB: // peer IP Address/Share Name
I have also tried this method and found that it is impossible to implement it, because every time I enter the user name and password of the other party, I will prompt that I cannot log on, I forgot the prompts (two different types of prompts have appeared) 2 O0 J "T5 C (J % O
Next I will tell you how to enable Windows sharing on Mac OS:
The shared directory named smbfolds9 W (Q9 _/Q7 _ (Z
This cannot be forgotten.
1. Enable Terminal
2. Sudo-s 't3 Z; T4 L & L3 J # C1 Q7 M-T5 '+ O
3. Enter & C & r3 a-Z3 Z 'E) S + F; X. h f as shown in the figure below.
: | 3 J "M' Z-h, s! Z! D1 W, G
Format: + P & H3 Q. S1 g/} 0 o # B5 n
Smbclient // peer IP address (WIN)/shared name-u User Name (here we need to figure out the user name on windows, not on your Mac)
4. Now, after successful login, I will immediately see what files are shared on Windows.
% E "W5} 1 R & v'y
I have seen a.txt file under the shared directory, so I will teach you how to remove the file and upload the file on Mac. 6 [3 L, s 'h4 L7 U1 t
OK. Let's go, look * H4 F + N + C & C $ L & T # T! N/V
5. If my/directory contains a B .txt file, I want to upload it to the Windows Shared Folder.) g. P # s! R # W4 L. L + Y
Use
Put: the file name to upload to the Windows shared directory
6. Upload Windows files to my/directory