Recently, bloggers like to use desktop computers to write code at home, but various files are generally used to be stored in laptops. Recently, after many twists and turns, they have finally realized file sharing on the local area network of home devices. The main realized devices are:
- Notebook-Windows10 Home Chinese Version
- Desktop-Windows7 Ultimate
- iPad2019
- Android phone-Huawei Mate20
Note:
Only now I found out that the computer network studied at the undergraduate level is really useful. (Confession/(ㄒoㄒ)/)
table of Contents
1. Preparation
1.1 Notebook (Win10) settings
It can be divided into 3 parts: change sharing settings, create local users, and select shared files.
1. Win+R enter control to enter the control panel, select network and Internet.
2. Click on Network and Sharing Center and choose to change advanced sharing settings.
3. Under the dedicated option, select to start network discovery and enable file and printer sharing.
4. Enter the Windows settings interface to find the network and Internet
5. Click the WLAN option, click to connect to the current network, and set the network configuration file to dedicated.
6. Enter the Windows settings interface to find the account, and choose to add others to this computer.
7. When adding, select "I don't have this person's login information", and then select "Add a user who does not have a Microsoft account", and then set the user name, password, and security questions to complete the creation.
8. Select the folder you want to share, click Properties, select the sharing interface, and then click Share.
9. Select the user you want to share with, add the user you just created, and set the permission level yourself.
After the above steps, the preparation of the notebook (Win10) is set up!
1.2 Desktop (Win7) settings
Except for the interface is slightly different, the operation steps are basically similar to those of Win10, which are shown directly below.
1. Change sharing settings
2. Create local users
3. Select shared files
Two, to achieve access to shared folders
Before accessing, you need to obtain the ip address. One of the methods is introduced: you can enter cmd in Win+R, and enter ipconfig in the console to obtain the ip address.
Next, is the moment to witness the miracle!
2.1 Laptop (Win10) to access desktop (Win7)
Implementation method: Enter the \ip address and then enter the account password to achieve access.
2.2 Desktop (Win7) access to notebook (Win10) (Be sure to pay attention!)
In the Win7 operating system, the administrator and guest accounts are disabled by default and cannot access the shared machine. When accessing shared files, the default administrator is used and no password is set. When the client uses an account (generally the administrator account) to verify, the server returns the account forbidden, and the client does not prompt the user to enter the user name and password, and directly terminates the shared access.
Solution: Enter cmd and press Enter, type "net use \ip address/user: username and password" and press Enter to prompt the command to complete successfully.
2.3 iPad access to PC-side shared files (iPhone should also be possible)
Implementation method: Through the file system that comes with the Apple system, click Connect to the server, fill in the ip address of the PC, and select the registered user to fill in the account password registered on the PC to access the shared files.
2.4 Android phone access to PC-side shared files
Implementation method: Through the ES file browser, select the LAN in the network, click Scan to select the computer on the PC side to be connected, and enter the account password to access the shared file.
Conclusion & Easter eggs
Hello everyone, I am Yi Lei xylbill, a primary school scumbag majoring in Operations Research and Cybernetics at Beijing Jiaotong University. I am very eager to meet excellent friends to exchange and learn together! If you can find the dry goods you need from this article, it is my honor! Finally, please pay attention, like, favorite and comment more! If you have any questions about this article, you can also send me a private message at any time!
Keep self-discipline, be in awe, keep your feet on the ground, and look up at the stars!