September 17th 2009 09:21 pm

how to share internet connection from PC using wireless network (wifi) for Windows XP and Windows Vista and 7

If you have more than one computers at home; usually one desktop PC and one notebook PC, it’s best to have a shared internet connection using router or switch. A switch is cheap, 4ports switch can be easily be bought at less than RM80 (USD22). However, you can’t run away from the trouble of tangling the network cable all around your house. One solution is to use wireless fidelity technology, or wi-fi in short. If it happens that you want to save some cash from buying a good wireless router (which cost RM200-300) and you have a wireless adapter available on your desktop PC, this guide is just for you. How to share your internet connection through wireless adapter? Read on.

What you need:

  • PC with internet connection.
  • wireless adapter installed.

A USB or PCI wireless adapter is a real bargain these days. PCI variant is cheaper, but I prefer USB type as it gives me more flexibility. Flexibility in the sense for better wireless coverage.

The idea of this is real simple, you get the internet connection from the modem to your desktop PC through LAN port and you broadcast and share it using wi-fi or wireless network connection.

The steps are simple:

  • Make sure you’ve got ICS enabled. ICS stands for Internet Connection Sharing in Windows XP and the same goes to Windows 7 and Vista.
  • Go to Control Panel ; Network Connections, right click on the Local Area Connection OR Wireless Network Connection (depending on how you want to share your connection) and click on the Advanced tab. Select the correct Home networking connection. If your internet connection comes from LAN and you want to share it via wifi, choose Wireless Network Connection. Likewise, if your internet connection comes from wifi, and you want to share to your LAN, choose Local Area Connection. Tick the option “Allow other network users to connect through this computer’s Internet connection”.
  • Note the bolded words up there, this was the main reason people did wrong in sharing network.
  • how to share internet connection - advaned tab

    how to share internet connection - advanced tab

  • Click OK after that. And this leads you back to the Network Connection.
  • In the Network Connection, right click your Wireless Network Connection (**NOT LOCAL AREA CONNECTION), and click on the Wireless Networks tab after that. Click on the Add button under the Preferred networks. You will see something like the picture below. ( Skip this part of you are sharing wireless to LAN as LAN doesn’t need SSID ).
    Setting up wifi ad hoc connection

    Setting up wifi ad hoc connection

    Key in your preferred SSID. SSID is the name that will be seen by others wifi enabled computers. Tick the option “This is a computer-to-computer (ad hoc) network; wireless access points are not used”. Key in a network key (WEP in this case) if you want to have a secure wifi connection and to prevent others from intruding your wifi network. You will need to key in a 5 or 13 characters key or 10 and 26 characters in hexadecimal format. Click OK when you are done. Example; 123ab(5 character keys) OR 1234512345(10 characters in hexadecimal format). (skip this part also if you are sharing wifi to LAN).


  • Click OK to exit the Wireless connection properties. If you ticked the option “Connect even if this network is not broadcasting”, your wireless adapter will connect itself to start an ad hoc network even when your wireless adapter is not connected to any computer or devices.
  • For Windows XP, double click your wireless icon, go to General > Properties. Set the IP address for your wireless adapter (or whichever internet connection you want to share) under Internet Proctocol (TCP/IP) to 192.168.0.1 and Subnet mask 255.255.255.0, the rest just leave it blank. You must set this IP and DNS to share your network.
  • However, if you are using Vista or Windows 7, the IP address will be 192.168.137.1, Subnet mask  255.255.255.0 and the rest of the settings is still same as this guide.
  • To connect this network from other device or computer, the device or computer must obtain the IP address automatically. And you need to have the same WEP security key as the main computer as well.
  • When all is done, you can see the your wifi icon below the taskbar as online mode when other devices are connected to your network.

The maximum number of connecting device could be unlimited. I haven’t tried connecting more than 4 devices and computers yet in either Windows XP or 7. But it did save you from buying expensive router.

<< back

19 Comments »

19 Responses to “how to share internet connection from PC using wireless network (wifi) for Windows XP and Windows Vista and 7”

  1. Vegetable Storage : on 31 Oct 2010 at 7:14 am #

    my wireless router at home overheated when i used p2p heavily for 24 hours for the next 25 days ::

  2. admin on 04 Feb 2011 at 8:50 am #

    if u are not using a quality router, never do heavy p2p for this long. especially when you share network through wifi or lan, it is more taxing on your router’s hardware.

  3. krishna on 15 Jun 2011 at 2:11 pm #

    hey…its sometimes we need to save the money these days and we dont want to buy a router..dude…

    actlly i hav an android phone and i want to share my internet over my wifii lappy…

    finally i have found a software for this without even installing this…it is..
    “mhotspot”
    u can try this….www.mhotspot.com

  4. admin on 16 Jun 2011 at 10:10 pm #

    Thanks for sharing that app, great for those looking an easy+hassle-free way to share the internet. But it is also isnt that hard to share your home internet through wifi with my guide, all this functions already build into windows ;)

  5. Gktvgtur on 04 Jul 2011 at 4:09 am #

    gucci shoes prices,

  6. fida ahmed on 21 Aug 2011 at 2:08 am #

    I connect ethernet cable to my macbook pro and i share my internet connection via wifi to my samsung jet but failed to connect mywifi authentication failed

  7. edwuave on 21 Aug 2011 at 9:35 am #

    @fida, this is probably due to wrong password entered on your samsung jet. to make sure your wifi sharing works, try without a password protected wifi.

  8. harsha on 24 Sep 2011 at 2:28 pm #

    Why do not use virtual wifi router software which is thin app and with few clicks you can do it.

    check it out http://www.virtualwifirouter.com/

  9. edwuave on 27 Sep 2011 at 2:03 am #

    yes you can, there are in fact few others similiar app for this purpose like Connectify http://www.connectify.me/. However Windows has a build in wifi sharing for that, my guide is to teach you to do that.

  10. Annaswela on 10 May 2012 at 10:37 pm #

    Thanks for the wonderful share. But as I followed the guide, it doesn’t seem to work on my Dell laptop. Errors kept coming up. I couldn’t solve the problem until I tried Virtual Hotspot, a new WiFi sharing app but works quite well. Few comlex settles and quite effective. So…look forware to more fantastic sharing.

  11. edwuave on 14 May 2012 at 9:37 am #

    yeah sure. the easiest way is to use some program/app to do the complex stuff for you, this guide is always good for those intend to learn a bit about networking.

  12. Kashif on 28 Jun 2012 at 5:54 am #

    A dsl connection is 250 meters away from my pc , i want to share that without using wire.recommend me plz if there is a way to do so by wifi or any other device.

  13. Kashif on 28 Jun 2012 at 5:57 am #

    Mail me plz if u have got any suggession. At kashifm797@gmail.com

  14. abid on 03 Jul 2012 at 1:38 am #

    if i distribute internet connection via wifi router, then how many devices / computer can access internet at the same time?
    Could i be able to control / supervise internet download speed which i allow other computers. suppose, 2 computers are connected and i want to allow one of these two to get 50kbps and other to get 100kbps, what i have to do to tackle this problem?

  15. u shwe shwe aye on 26 Jul 2012 at 1:03 pm #

    u shwe shwe aye

    shwe12345
    shweshweaye32@gmail.com

  16. North Face Men's 3 in 1 Jackets on 24 Oct 2012 at 1:56 pm #

    This is getting a bit more subjective, but I much prefer the Zune Marketplace. The interface is colorful, has more flair.

  17. sdaddy on 27 Nov 2012 at 1:04 pm #

    I tried mhotspot.com. What a disaster. It loaded a bunch of stuff I did not want on my system. It was built to hide itself once it started loading. It didn’t show up as an application in TaskManager and disabled the Close and Abort buttons. I had to kill the processes to stop this thing once it started installing. I don’t know if I’ll ever be able to get rid of all the stuff it loaded on my machine. Scarry software that forcibly loads lots of other stuff to your pc. Watch out for mhotspot.com!

  18. Anil Kumar on 11 Dec 2012 at 7:35 am #

    sir, we have installed photon wifi and using 4 nos computer but computer share with networking cable , i want to share with wifi please guide me how to connect

  19. wifi hack on 24 Jun 2013 at 6:09 pm #

    Thanks for sharing your thoughts on share. Regards

Trackback URI | Comments RSS

Leave a Reply

« | »