If you want to share your files or play games in LAN with your friends you can just write a command in your command prompt and that's all. No use of any ethernet cable or any other connecting devices like wifi router and all that.
The steps to share the internet from one PC to other PC are
For Windows 8
- Press 'Windows' and 'X' . The following list Pops up.
- Go to Command Prompt(Admin)
- Click on Yes in the next window which asks for administartive privilages.
- Now type the following line in the command prompt and press enter
netsh wlan set hostednetwork ssis="username" key="password"
- The result of this would be.
- Now type the following code in the command prompt
netsh wlan start hostednetwork
- The result would be
- If the hostednetwork fails to start then Right Click on Computer and goto manage
- Go to the device manager then Network Adapters and right click on Microsoft Kernel Debug Network Adapter and select Enable and then type the second command.
- So the hosted network has started and you can play game or share files by joining the network
and running the the games in administartor mode.(Just right click on the icon and click on Run as Administartor).
- But till now it cannot share the internet. So to share the internet go to Open Network and Sharing Centre by right clicking on the Network icon in the bottom-right corner of the desktop.
- Now go to Change Adapter Settings.
- Right Click on the Adapter from which you are getting your Internet Connection and go to Properties.
- Go to Sharing tab and check the Allow other network users to connect through this computer's Internet connection. Now Select a private network connection which reflects theusername which you have written as the ssid in the command prompt.
- Click on ok and the hotspot is ready to share the internet.
For windows 7
- Go to start menu and type cmd.
- Right click on the cmd and Select Run as Administrator and follow the Steps from the Second Image Above
Thank you For Reading
No comments:
Post a Comment