Sie sind auf Seite 1von 8

Improvising Your Own Wireless Router - O'Reilly Media

http://www.oreillynet.com/pub/a/wireless/2003/10/31/WinXPUnw...

Articles

Weblogss Booksgss Schoolss Short Cutsl

Podcaststsl

Search Wireless

Improvising Your Own Wireless Routerss


by Wei-Meng Lees author of Windows XP Unwiredetters , s 10/31/2003f s

Listents Printnts Discusss Subscribe to Wireless Subscribe to Newsletters Tagged Articles Be the first to post this article to del.icio.uss

ShareThis 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 u ser, simply buy a wireless router and it will enable you to share the connection with mul tiple computers wirelessly.ers However, you might not want to invest money in another piece of equipment, especiall y in this economically trying time. So, in this article, I will show you how to use th e Internet Connection Sharing (ICS) feature available in Windows XP to improvise ae th wireless router so that you can share the Internet connection wirelessly.ovise a

Sponsored Resources

Inside Lightroomces

Related to this Articles

Relateds Readings

Windows XPn Unwireds


A Guide for Home, Office, and the Road, By Wei-MengRoad, ? Lee

Take Control ofm Your 802.11n ofm AirPortg Networkg by Glenn Fleishman September 2009fm $15.00 USD2009fm

SMS Messaging9fm Applicationsg9fm by Nicola Perosg9fm January 2009g9fm $9.99 USD009g9fm

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 shareon the Internet connection with multiple PCs. Next, designate the PC you want to act as the "wireless router." This PC must bes 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 Linksyshis WUSB11 USB wireless adapter (see Figure 1) to my PC.

1 of 8kg

4.4.2010 13:42fm

Improvising Your Own Wireless Router - O'Reilly Media

http://www.oreillynet.com/pub/a/wireless/2003/10/31/WinXPUnw...

Figure 1. The Linksys WUSB11f

Figure 2 shows the proposed settings for sharing the Internet connection:

Figure 2. The proposed setup for ICS

Configuring the Wireless Adapter ICS


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 Network s" (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).

2 of 8kg

4.4.2010 13:42

Improvising Your Own Wireless Router - O'Reilly Media

http://www.oreillynet.com/pub/a/wireless/2003/10/31/WinXPUnw...

Figure 4. Adding a new wireless network

Enter a network name (or SSID), such as MyWirelessNetwork).Uncheck the Data. er . encryption (WEP-enabled) checkbox if you do not wish to enable WEP. Click on OK (see Figure 5).3:42

Figure 5. Specifying a wireless network name

Back to the Wireless Network Connection Properties window, click on Advanced and(see select the option "Computer-to-computer to non-preferred networks only" (see Figuree 6).

Figure 6. Selecting the ad hoc networks option

Basically, I am configuring an ad hoc network using my wireless adapter. All compute rs wishing to share the Internet connection would need to establish a peer-to-peer netw ork connection with this wireless adapter.s

Configuring Internet Connection Sharing


Next, let's configure the PC that will be sharing the Internet connection (the onetw designated as the "wireless router"). Right-click on My Network Places and selectetw Properties. You should see at least two connections -- one that connects to the Intenetk r (most probably your Ethernet card) and one wireless connection.

3 of 8kg

4.4.2010 13:42

Improvising Your Own Wireless Router - O'Reilly Media.1

http://www.oreillynet.com/pub/a/wireless/2003/10/31/WinXPUnw...

Right-click on the Internet connection and select Properties. Click on the advancedtab 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. Cli k c OK to complete the configuration (the Home networking connection is only present whe n two or more network adapters are installed on the computer)....

Figure 7. Enabling ICSes

That's it! To confirm that the setup is correct, check the IP address of the two net worku adapters by issuing the ipconfig command:
C:\Documents and Settings\Administrator>ipconfig Windows IP Configuration Ethernet adapter Local Area Connection: Connection-specific IP Address. . . . . Subnet Mask . . . . Default Gateway . . DNS . . . . . . Suffix . . . . . . . . . . . . . . . . : : : : dom.mycompany.com 156.20.217.100com 255.255.255.00com 156.20.217.310com

Ethernet adapter Wireless Network Connection:fig Connection-specific IP Address. . . . . Subnet Mask . . . . Default Gateway . . DNS . . . . . . Suffix . . . . . . . . . . . . . . . . :n:fig : 192.168.0.1 : 255.255.255.00com :n:fig

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, becau: se 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 sett: ingse of the wireless adapter, if it is not set correctly.).1 One final check before you go on to the next step: launch Internet Explorer to see fi: you can connect to the Internet. Your improvised wireless router is now ready to use!).1

Configuring the Clienton


On the computer that will share the Internet connection, right-click on your wireles: s network icon in the Tray and select Properties. You should be able to see the SSID o: f the ad hoc wireless network (see Figure 8).

4 of 8ig

4.4.2010 13:42

Improvising Your Own Wireless Router - O'Reilly Media

http://www.oreillynet.com/pub/a/wireless/2003/10/31/WinXPUnw...

Figure 8. Connecting to the ad hoc network.

Check the "Allow me to connect to the selected wireless network, even though it is n. ot secure" checkbox, if you did not wish to enable WEP. Click on Connect. You should no. w be assigned an IP address by the "wireless router" (confirm it using theipconfig command). In my case, my IP address is 192.168.0.87. Launch Internet Explorer to check your connection to the Internet.y.

Summaryg
Using ICS is a good way to share the single Internet connection that you have withno. 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 s i. security. Unlike a wireless router, you cannot perform acts like MAC address filteri. ng and 802.1X authentication with ICS. However, using the methods described in thisteri. article, you could affordably and quickly set up a "wireless router" without the nee. forryg d an actual device. This is especially useful in environments like a classroom or a se. minarryg room, where you need to share a single Internet connection among several computers.e.

O'Reilly & Associates recently released (August 2003)Windows XP Unwiredienton . Sample Chapter 9, "Global Positioning Systems (GPS)," is available free online. You can also look at the Table of Contentsdienton . , the Index,yg the full descriptione theg yg and of book.heg For more information, or to order the book, click hereh . Wei-Meng Lee (Microsoft MVP) http://weimenglee.blogspot.com is a technologist andon founder of Developer Learning Solutions http://www.developerlearningsolutions.com, a n technology company specializing in hands-on training on the latest Microsoft technologies.

Return to the Wireless DevCenter andon

Questions for Wei-Meng? Ask them here.s


You must be e logged inbe e O'Reilly Network to post a talkback. to the Showingg messages 1 through 21 of 21.om

HELPPP!!i
2010-03-26 04:52:10 ndon leejaedi [ ReplyP!! n | View ]

Im at this part "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".... BUT.. when i do a right click and select properties, i dont see ADVANCED TAB..h Only the first one and authentication... No ADVANCED.. Please help.. Using wep or wpai
2009-06-24 20:54:31 ndon underwaterNautilus ndon | View ] [Reply

Is there a way of implementing wep or wpa in the ad hoc network, for adding

5 of 8!!

4.4.2010 13:42

Improvising Your Own Wireless Router - O'Reilly Media

http://www.oreillynet.com/pub/a/wireless/2003/10/31/WinXPUnw...

some security to the connection? here.: Using wep or wpalus ndon


2009-06-24 20:54:24 ndon underwaterNautilus ndon | View ] [Reply8!!

? Is there a way of implementing wep or wpa in the ad hoc network, for adding some security to the connection? here.: wireless router
2008-07-31 21:12:49 ndon pab255 [Reply55View ] router |

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, thenhe. it dont. Is there an antenna I cant put on my computer to strengthen the router tohe. me or can I put another router on mine to pick that one up. I would rather use myohe. computer in my place and not the meeting room so how can I boost getting their signal5 thanks5 Configuring Wireless router
2008-02-28 23:22:53 ndon adulnihan [Replys5View ] |

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.he. wireless adopter: wusb54ger 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 vias wireless nic. Computer 2 is also connected to computer 3 via non-wireless nic and.he. 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 2. internet. Please Help! Thanks.n? Building your own routerhanks.n?
2007-01-03 20:05:21 uter TotoLebolo [Reply | View ]

If you are in a mood of building your own Linux router, you can find here all the.he. necessary: http://siliconkit.dnsalias.com/cart/wrap.html Building your own routerhanks.n?
2007-01-03 20:10:59 uter 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: uter

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 routerhanks.n?


2007-01-03 20:04:02 uter TotoLebolo [Reply | View ]

If you are in a mood of building your own Linux router, you can find here all the necessary:

6 of 85

4.4.2010 13:42

Improvising Your Own Wireless Router - O'Reilly Mediad?

http://www.oreillynet.com/pub/a/wireless/2003/10/31/WinXPUnw...

http://siliconkit.dnsalias.com/cart/wrap.html> How can I connect to wireless?n?


2006-10-09 05:43:55 uter jomanila 3:42 | View ] [Reply85

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. Thelso 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 shar. ing and internet to be available to my laptop? IP adress problems
2007-01-13 13:47:58 uter Davidzod [Reply | View ]

evry time I try to set up ad hoc I get a ipaddress error.....Helpp.. David Wireless Router - Wireless Router Connection
2006-05-04 00:15:24 uter 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 1str. wireless router (D-link).less?n? Could I now add another wireless router (example netgear) to communicate withr the 1st one? My plan is to let both of them communicate. One of the wirelesshr router has the capability to provide VOIP and the other none so that I could placetr. the 2nd router in the main room in the house just like an ordinary phone.esshr I would really appreciate it if you could provide me feedback on this. Thank.5 Edward5 Wireles router - Win 98r
2005-01-29 17:41:40 98r TonyT [ReplyT View ] |

I have Belkin 54g wireless router.s I tried to install this on my desktop running Windows 98. The installation crashedtr. 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 .s [Reply | View ]

I wonder if something like this is possible with a Windows 98 running computer asdtr. the "router". sharing a windows XP internet conection with a Mac (Airport extreme)s.
2004-05-17 14:38:30 ? Thierry2064 [Reply | View ]

Could someone tell if it is possible to use the windows XP computer as configureddtr. 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 myG powerbook (os X.3) to internet. Is the wireless router described here compatibleddtr. with Apple's airport extreme??n? sharing a windows XP internet conection with a Mac (Airport extreme)
2004-08-26 00:26:46 ? Melis ) [Replys|)View ]

Apple Airport Extreme is 802.11g. They just gave it fancy name for it. question
2003-12-22 12:39:17 ? anonymous2 [Replyion | View ]

i have a setup like this but the second pc only gets an ip of 169.x.x.x and i knowtr. this is wrong. what can i try?n?

7 of 8on

4.4.2010 13:42

Improvising Your Own Wireless Router - O'Reilly Media

http://www.oreillynet.com/pub/a/wireless/2003/10/31/WinXPUnw...

question 13:42
2007-02-02 11:47:05 ? portna [ReplynaView ] 13:42 |

Did you find out how to deal with these IP numbers? I have the sameit. problem Question...
2003-12-10 04:59:56 . anonymous2 m [Replyem | View ]

It seems that you left out of your article that EVERY computer that wants to connect wirelessly would have to have a wireless usb antenna. Your article (to the layperson) appears as if you only need ONE wireless usb antenna.ameit. Question...
2004-08-26 00:25:09 . Melis [Replys| View ]

This article is about configuring your computer to act as a wireless router for which you will only need one to do so... hello
2003-11-17 12:50:17 . anonymous2 [Reply | View ]

i see u

8 of 8u

4.4.2010 13:42

Das könnte Ihnen auch gefallen