Improvising Your Own Wireless Router
by Wei-Meng Lee, author of Windows XP Unwired10/31/2003
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.
|
Related Reading Windows XP Unwired |
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 ipconfig command:
C:\Documents and Settings\Administrator>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : dom.mycompany.com
IP Address. . . . . . . . . . . . : 156.20.217.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 156.20.217.31
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 156.20.217.100, 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 ipconfig command).
In my case, my IP address is 192.168.0.87.
Launch Internet Explorer to check your connection to the Internet.
Summary
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.
You can also look at the Table of Contents, the Index, and the full description of the book.
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
You must be logged in to the O'Reilly Network to post a talkback.
Showing messages 1 through 20 of 20.
-
Using wep or wpa
2009-06-24 20:54:31 underwaterNautilus [Reply | View]
Is there a way of implementing wep or wpa in the ad hoc network, for adding some security to the connection?
-
Using wep or wpa
2009-06-24 20:54:24 underwaterNautilus [Reply | View]
¿Is there a way of implementing wep or wpa in the ad hoc network, for adding some security to the connection?
-
wireless router
2008-07-31 21:12:49 pab255 [Reply | View]
I live in condo and in meeting room in center of condos is a wireless router for the meeting roo. I can pick it up sometimes but I am just that far that it works, then it dont. Is there an antenna I cant put on my computer to strengthen the router to me or can I put another router on mine to pick that one up. I would rather use my computer in my place and not the meeting room so how can I boost getting their signal
thanks
-
Configuring Wireless router
2008-02-28 23:22:53 adulnihan [Reply | View]
I am trying to configure my own wireless router using the same steps above but still my client not detecting my wireless router can any body help me to sort out.
wireless adopter: wusb54g
-
3 computers 1 wireless router 1 wireless nic
2007-04-14 20:15:31 CM91961 [Reply | View]
I have DLink DI-624 Wireless router connected to a cable modem. Computer 1 is connected to the router via cable. Computer 2 is connected to the router via wireless nic. Computer 2 is also connected to computer 3 via non-wireless nic and cable. I've enabled IP routing and internet connection sharing on computer 2. Computer 3 can ping all the way to my ISP but my browser cannot access the internet. Please Help! Thanks.
-
Building your own router
2007-01-03 20:05:21 TotoLebolo [Reply | View]
If you are in a mood of building your own Linux router, you can find here all the necessary:
http://siliconkit.dnsalias.com/cart/wrap.html
-
Building your own router
2007-01-03 20:10:59 TotoLebolo [Reply | View]
For the software I use monowall see here:
http://siliconkit.dnsalias.com/resource/index.php?m0n0wall_-_WRAP_Platform_Quick_Start_Guide&print
Also check pfSense:
http://siliconkit.dnsalias.com/resource/index.php?pfSense_Full_install_for_WRAP_embedded_router&print
See these pictures of this installation:
http://siliconkit.dnsalias.com/resource/index.php?Hardware%3A_Installing_a_WRAP&print
-
Building your own router
2007-01-03 20:04:02 TotoLebolo [Reply | View]
If you are in a mood of building your own Linux router, you can find here all the necessary:
http://siliconkit.dnsalias.com/cart/wrap.html>
-
How can I connect to wireless?
2006-10-09 05:43:55 jomanila [Reply | View]
I have a winxp computer that acts as a server. It is connected to internet through dsl. The dsl is connected to an ethernet card. Another ethernet card is also connected to a router. The router is connected to 15 other computers. The computer also has a wireless usb adapter.
I can connect on a peer-to-peer from that computer to my laptop with built-in wireless connection. I can share my files and I can also open the other files connected to the router. My problem is that the internet connection is not shared to my laptop. When I did what you explained in your article, I was able to get the internet connection but the file sharing was lost. What will I do for both file sharing and internet to be available to my laptop?
-
Wireless Router - Wireless Router Connection
2006-05-04 00:15:24 edwardbl [Reply | View]
I just want to ask whether is it possible to link to wireless router with each other. Example: The main line coming from your ISP (either wireless broadband, DSL or cable), goes in your unit that comes with it (ethernet connection) then to your 1st wireless router (D-link).
Could I now add another wireless router (example netgear) to communicate with the 1st one? My plan is to let both of them communicate. One of the wireless router has the capability to provide VOIP and the other none so that I could place the 2nd router in the main room in the house just like an ordinary phone.
I would really appreciate it if you could provide me feedback on this.
Thank.
Edward
-
Wireles router - Win 98
2005-01-29 17:41:40 TonyT [Reply | View]
I have Belkin 54g wireless router.
I tried to install this on my desktop running Windows 98. The installation crashed while trying to detect the internet connection. (I have a broadband DSL modem)
Is this because Windows 98 (not 98SE) is not supported?
-
Windows 98?
2005-01-06 18:20:47 andreynmailbox-avalon@yahoo.com [Reply | View]
I wonder if something like this is possible with a Windows 98 running computer as the "router".
-
sharing a windows XP internet conection with a Mac (Airport extreme)
2004-05-17 14:38:30 Thierry2064 [Reply | View]
Could someone tell if it is possible to use the windows XP computer as configured in this article to wirelessly connect a Macintosh, os X.3 ?
My XP computer is connected to internet through Adsl and has a linksys 802.11G adapter. After sharing the internet conection, I cannot connect wirelessly my powerbook (os X.3) to internet. Is the wireless router described here compatible with Apple's airport extreme?
-
question
2003-12-22 12:39:17 anonymous2 [Reply | View]
i have a setup like this but the second pc only gets an ip of 169.x.x.x and i know this is wrong. what can i try?






