Improvising Your Own Wireless Routerby Wei-Meng Lee, author of Windows XP Unwired
Most homes today have a broadband connection to the Internet. Contrary to what the ISPs want you to believe, you can actually share the connection with multiple computers at home by using a router. If you're a wireless user, simply buy a wireless router and it will enable you to share the connection with multiple computers wirelessly.
However, you might not want to invest money in another piece of equipment, especially in this economically trying time. So, in this article, I will show you how to use the Internet Connection Sharing (ICS) feature available in Windows XP to improvise a wireless router so that you can share the Internet connection wirelessly.
What You Need
First, I assume you have a broadband connection, like a cable or ADSL/DSL connection. I would also assume you have more than one computer, since your motive is to share the Internet connection with multiple PCs.
Next, designate the PC you want to act as the "wireless router." This PC must be connected to the broadband connection, that is, to the cable or ADSL/DSL modem. This PC must also have a wireless adapter connected. In my case, I connect the Linksys WUSB11 USB wireless adapter (see Figure 1) to my PC.
|Figure 1. The Linksys WUSB11|
Figure 2 shows the proposed settings for sharing the Internet connection:
|Figure 2. The proposed setup for ICS|
Configuring the Wireless Adapter
First, let's configure the wireless adapter. In the Tray on the Taskbar, locate the wireless adapter icon and right click on it. Select "View Available Wireless Networks" (see Figure 3). The Wireless Network Connection window will display.
|Figure 3. Configuring the wireless adapter|
Click on Advanced, and the Wireless Network Connection Properties window will appear. Select the Wireless Networks tab. Under the Preferred networks group, click on Add.(see Figure 4).
|Figure 4. Adding a new wireless network|
Enter a network name (or SSID), such as MyWirelessNetwork. Uncheck the Data encryption (WEP-enabled) checkbox if you do not wish to enable WEP. Click on OK (see Figure 5).
|Figure 5. Specifying a wireless network name|
Back to the Wireless Network Connection Properties window, click on Advanced and select the option "Computer-to-computer to non-preferred networks only" (see Figure 6).
|Figure 6. Selecting the ad hoc networks option|
Basically, I am configuring an ad hoc network using my wireless adapter. All computers wishing to share the Internet connection would need to establish a peer-to-peer network connection with this wireless adapter.
Configuring Internet Connection Sharing
Next, let's configure the PC that will be sharing the Internet connection (the one designated as the "wireless router"). Right-click on My Network Places and select Properties. You should see at least two connections -- one that connects to the Internet (most probably your Ethernet card) and one wireless connection.
Right-click on the Internet connection and select Properties. Click on the advanced tab and check the "Allow other network users to connect through this computer's Internet connection" checkbox under the ICS group (see Figure 7). Select the connection that you want to use for sharing. In my case, I selected the Wireless Network Connection. Click OK to complete the configuration (the Home networking connection is only present when two or more network adapters are installed on the computer).
|Figure 7. Enabling ICS|
That's it! To confirm that the setup is correct, check the IP address of the two network
adapters by issuing the
C:\Documents and Settings\Administrator>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : dom.mycompany.com IP Address. . . . . . . . . . . . : 18.104.22.168 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 22.214.171.124 Ethernet adapter Wireless Network Connection: Connection-specific DNS Suffix . : IP Address. . . . . . . . . . . . : 192.168.0.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . :
As you can see, the Internet connection has the IP address of 126.96.36.199, while the wireless network adapter has the IP address of 192.168.0.1. This is important, because the connection that is to be used for sharing must have the IP address of 192.168.0.1; otherwise, the sharing will not work. (You can change it manually in the TCP/IP settings of the wireless adapter, if it is not set correctly.)
One final check before you go on to the next step: launch Internet Explorer to see if you can connect to the Internet.
Your improvised wireless router is now ready to use!
Configuring the Client
On the computer that will share the Internet connection, right-click on your wireless network icon in the Tray and select Properties. You should be able to see the SSID of the ad hoc wireless network (see Figure 8).
|Figure 8. Connecting to the ad hoc network|
Check the "Allow me to connect to the selected wireless network, even though it is not
secure" checkbox, if you did not wish to enable WEP. Click on Connect. You should now be
assigned an IP address by the "wireless router" (confirm it using the
In my case, my IP address is 192.168.0.87.
Launch Internet Explorer to check your connection to the Internet.
Using ICS is a good way to share the single Internet connection that you have with multiple computers. The downside is that at least one computer must always be switched on in order for other computers to share the connection. Another downside is security. Unlike a wireless router, you cannot perform acts like MAC address filtering and 802.1X authentication with ICS. However, using the methods described in this article, you could affordably and quickly set up a "wireless router" without the need for an actual device. This is especially useful in environments like a classroom or a seminar room, where you need to share a single Internet connection among several computers.
O'Reilly & Associates recently released (August 2003) Windows XP Unwired.
Sample Chapter 9, "Global Positioning Systems (GPS)," is available free online.
For more information, or to order the book, click here.
Wei-Meng Lee (Microsoft MVP) http://weimenglee.blogspot.com is a technologist and founder of Developer Learning Solutions http://www.developerlearningsolutions.com, a technology company specializing in hands-on training on the latest Microsoft technologies.
Return to the Wireless DevCenter
2010-03-26 04:52:10 leejaedi [View]
Using wep or wpa
2009-06-24 20:54:31 underwaterNautilus [View]
Using wep or wpa
2009-06-24 20:54:24 underwaterNautilus [View]
2008-07-31 21:12:49 pab255 [View]
Configuring Wireless router
2008-02-28 23:22:53 adulnihan [View]
3 computers 1 wireless router 1 wireless nic
2007-04-14 20:15:31 CM91961 [View]
Building your own router
2007-01-03 20:05:21 TotoLebolo [View]
Building your own router
2007-01-03 20:10:59 TotoLebolo [View]
2007-01-03 20:04:02 TotoLebolo [View]
2006-10-09 05:43:55 jomanila [View]
IP adress problems
2007-01-13 13:47:58 Davidzod [View]
2006-05-04 00:15:24 edwardbl [View]
2005-01-29 17:41:40 TonyT [View]
2005-01-06 18:20:47 firstname.lastname@example.org [View]
2004-05-17 14:38:30 Thierry2064 [View]
sharing a windows XP internet conection with a Mac (Airport extreme)
2004-08-26 00:26:46 Melis [View]
2003-12-22 12:39:17 anonymous2 [View]
2007-02-02 11:47:05 portna [View]
2003-12-10 04:59:56 anonymous2 [View]
2004-08-26 00:25:09 Melis [View]
2003-11-17 12:50:17 anonymous2 [View]