Turning a Linksys WRT54G Router into a Wireless Client Access Point#

I just got Verizon FIOS (15 MB down and 2MB up), fiber to the house!  They actually wired cat5 from the outside to my kitchen from the fiber connection.  So I wanted to have my 3 computers in my office be able to communicate wirelessly to the wireless router that was given to me from Verizon.  I had an old linksys WRT54G and decided to search on hacking this router.  By the way you can buy these for like $50 now if you need one.  I wanted to get my WRT54G running in client mode.  Well what do you know, I pulled up this killer open source software that turns your router into a client access point and a nice firewall.  Unbelievable.  It actually works.  I am going to post how to do it here in case this link goes bad.  Follow the instructions exactly and this will work first time.

Instructions:

1. Download the "wrt54g alchemy firmware" (google this, or go here) version 6rc5 from the Internet (it is the only one compatible with the new models wrt54g V2.2 & wrt54gs V1.1).
2. Upload the firmware to the wrt54g via the "Administration->Firmware Upgrade" option in the router's web interface.
3. Reset the device (press reset button until power led flashes - this could take 20 seconds or more). In the following steps, leave all settings which are not mentioned in the description at their default (only change the ones specifically mentioned in the step).
Note: We will use addresses that end in 128-255 for the wrt54g router and it's attached PCs. To make sure there is no overlap in the addresses assigned by the two routers, we have to make sure that your main router only assign addresses below 128 to its own clients. For example, if your main router address is 192.168.0.1, its DHCP address range could be 192.168.0.50 - 192.168.0.120. Another important note regarding the main router: some routers allow you to disable the broadcast of the SSID, but for this setup to work properly the SSID broadcast MUST BE ENABLED (which is usually the default behavior).
4a. In "Setup::Basic setup" screen, set Internet Connection Type to "Automatic Configuration - DHCP".
4b. Set the local IP to 192.168.0.129, assuming your main router is 192.168.0.x (in general, if your main router is a.b.c.d set the wrt54g to a.b.c.129).
4c. Set the Subnet Mask to 255.255.255.128.
4d. Set the "Gateway" to the IP address of your main router (e.g. 192.168.0.1).
4e. Set the DHCP Server to Enabled, and starting IP Address to something above 129 (e.g. 140).
4f. Save the settings on this page. You should reboot the attached PC, since the subnet mask has changed. Note: from now on you have to use the new local IP you set in step 4b (e.g. http:// 192.168.0.129) to connect to the router from your PC.
5. In "Setup::Advanced Routing" screen, make sure operating mode is "Gateway".
6. In "Wireless::Basic Settings" screen, set Wireless mode to "Client", wireless network mode to "mixed", and SSID to your main wireless router's SSID.
7. In "Wireless::Security" screen, set your WEP/WPA settings which match the main wireless router. You should now be connected to the main wireless router. Note: if you have MAC filtering set up on the main router (which allows only specific clients to connect), then obviously you have to add the client router to the list of allowed clients.
To verify that you've established a connection to the main router, you can check the "Status::Router" screen, which should show an IP Address assigned by the main router (which would end with a number below 128), and the "Status::Wireless" page should show the AP Signal strength together with the mac address of the main router. Also you should now be able to ping the main router and even log in to it (using h ttp://192.168.0.1) from the PC attached to the client router (the wrt54g).
8. In "Security::Firewall" screen, disable firewall protection, as this subnet is already behind your main router's firewall. Also make sure that "Block Anonymous Internet Requests" is unchecked.
9. In "Administration::Management" screen, you can leave all settings at their default. You may want to enable remote management and Telnet or SSHD, especially if you want to be able to log in to the wrt54g from a computer which is not directly attached to it.
10. To enable PCs attached to the main router to be able connect to PCs attached to the wrt54g: Login into the wrt54g using telnet or ssh by running the command "telnet 192.168.0.129" and use same root/passwd as for the web interface. Then type this command (copy it exactly):
# echo 1 > /proc/sys/net/ipv4/conf/`route | grep default | awk '{print $NF}'`/proxy_arp
Now you should be able to ping/telnet to any PC attached to the wrt54g from any PC attached to the main router. Btw, this assumes that the subnet mask of the main router is the default 255.255.255.0.

Important note about the last step : The last step (which is an optional step) allows PCs attached to the main router to be able to connect to PCs attached to the client router, by specyfing the IP of the destination PC, for example "telnet 192.168.0.150". But they are still on two different subnets which do not share their broadcast messages, therefore when browsing PCs on the local network you will not automatically see the PCs attached to the other router. But you can always connect to them by explicitly specyfing the IP. Btw, this step was added after the initial posting of this HOWTO and solves a lot of the issues people discussed later in this thread, so don't worry if you read posts in this thread about problems with communicating between PCs attached to different routers. Also note that this proxy_arp setting is not saved in the WRT54G non-volatile memory like all the other settings, so when the router is rebooted (like after a power outage), it will be cleared and you will need to repeat step 10 to set the proxy_arp back on.
Done !!! That's it !!!!

Friday, October 13, 2006 5:29:09 AM UTC #    Comments [67]  |  Trackback

 

Thursday, February 26, 2009 9:08:23 PM UTC
thanks alot for the instructions.These are really working.
reagrds.
Saturday, December 05, 2009 10:43:42 AM UTC
Well, this is my first visit to your blog! We are a group of volunteers and starting a new initiative in a community in the same niche. Your blog provided us valuable information to work on. You have done a marvelous job!
Saturday, December 05, 2009 12:18:37 PM UTC
Very interesting topic will bookmark your site to check if you write more about in the future.
Saturday, December 05, 2009 1:46:52 PM UTC
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own wordpress blog now.
Thursday, December 24, 2009 12:18:01 PM UTC
I use to read your posts.They are highly informative and helpful.Thanks for giving us such quality knowledge.Waiting for your next interesting posts.
Thursday, December 24, 2009 1:51:14 PM UTC
Thanks for the valuable information. It was very useful for me. Keep sharing such ideas in the future as well.
Thursday, December 24, 2009 2:20:15 PM UTC
Thanks for the information, it was really useful. I was looking for it and I'll be waiting for your next post.
Tuesday, December 29, 2009 11:33:12 AM UTC
This was a great post. I really loved reading it. You have done a fine job. I am impressed.
Tuesday, December 29, 2009 1:38:44 PM UTC
I just stumbled upon your blog and wanted to say that I have really enjoyed reading your blog posts.
I will catch up your updates in future.
Tuesday, December 29, 2009 2:31:31 PM UTC
I am not getting it properly .Can you give some more details about it.
Wednesday, December 30, 2009 8:51:38 AM UTC
post was very informative and its look and feel is appreciable .. keep updating such articles.
Wednesday, December 30, 2009 8:56:33 AM UTC
I was looking for this information since a long time. You have really finished my search by posting this here. It will proven to be very beneficial for me
Wednesday, December 30, 2009 9:11:23 AM UTC
The sharing of information enhances the knowledge and this work is encouraged by your post.It contained valuable data.
Wednesday, December 30, 2009 9:34:56 AM UTC
Thank you for this useful information.I will share it with my friends.
Wednesday, December 30, 2009 11:03:05 AM UTC
Hey that really sound interesting and I will try to do the same as I need this.
Wednesday, December 30, 2009 12:00:27 PM UTC
this is an amazing site.i always find something new & different here.thank you for the information.
Saturday, January 09, 2010 2:43:48 PM UTC
I have read your post.I really loved it.thanks..
Monday, January 11, 2010 1:42:14 PM UTC
Nice post, thanks for sharing this wonderful and useful information with us.
Wednesday, January 13, 2010 1:53:16 AM UTC
i always find something new & different here.thank you for the information.
Wednesday, January 13, 2010 1:56:36 AM UTC
I am hoping the same best work from you in the future as well. In fact your creative writing abilities has inspired me to start my own wordpress blog now.
Jenny Craig Acai Berry
Thursday, January 14, 2010 11:51:38 AM UTC
Your post is amazing. your way of telling things is great.I would like to read more from you.
Thanks for sharing information.
Friday, January 15, 2010 1:33:30 AM UTC
Interesting site. Found it on Yahoo. Thanks for sharing all this great information. Keep up good work!
Saturday, January 16, 2010 10:32:21 AM UTC
Your post is very informative..I would like to know in detail about this topic....You are doing great job..Keep updating such nice articles..
Friday, January 22, 2010 11:24:57 AM UTC
Thank you for this useful information.I will share it with my friends.I have done it bookmark.
Friday, January 22, 2010 11:26:27 AM UTC
Thank you for this useful information.I will share it with my friends.I have done it bookmark.

Colon Cleanse
Tuesday, January 26, 2010 5:34:57 AM UTC
This article gives me more knowledge on asp.net. Now, I know how it works and thanks for this author that posted it here.

Tuesday, January 26, 2010 5:37:04 AM UTC
Good article for linksys. Gonna try this one on how it works. I think this post is very experimental
Friday, January 29, 2010 9:15:48 PM UTC
nice post! very informative! thank you so much!
Monday, February 01, 2010 9:34:16 AM UTC
Thanks for the post Keep up the good work.
Wednesday, February 03, 2010 4:22:08 PM UTC
I like idea behind your post. I want to read more from you. Your thought process is unique and effective.
Saturday, February 06, 2010 11:26:45 AM UTC
This is indeed a great post, I would surely love to know more about it. I will look forward to see more
Monday, February 08, 2010 12:34:35 PM UTC
Thanks for sharing such an interesting and informative post.
Thursday, February 11, 2010 11:16:05 AM UTC
You made some good points here. A very informative one I was looking for it. Keep up the good work and would like to hear more from you.
Friday, February 12, 2010 1:53:39 PM UTC
Nice post.Thank you for this information.
Monday, February 15, 2010 10:17:07 AM UTC
This information is some of the best I have found on this topic for me, I really appreciate this point of view and I've found it to be more reliable then some, I will be recommending it to others.
Monday, February 15, 2010 11:53:45 AM UTC
Great post.keep posting us this type of wonderful information.We always look forward towards your post.
Tuesday, February 16, 2010 5:37:09 PM UTC
Very well information, becouse i want buy this router. I'm save this instruction to PC
Friday, February 19, 2010 8:03:23 PM UTC
This is a well explained tutorial.
Saturday, February 20, 2010 11:47:46 AM UTC
Thanks for sharing this.
Friday, March 05, 2010 3:46:28 PM UTC
I read your post. It was amazing. Your thought process is wonderful. The way you tell about things is awesome. I always wait for your posts. They are inspiring and helpful. Thanks for sharing your information .
Thursday, March 11, 2010 10:17:46 PM UTC
AMAZING! Great work! This is a very nice post! Thanks!
Sunday, March 14, 2010 11:39:05 AM UTC
This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article.
Monday, March 22, 2010 10:54:34 AM UTC
This information is some of the best I have found on this topic for me, I really appreciate this point of view and I've found it to be more reliable then some, I will be recommending it to others.
Monday, March 22, 2010 3:01:45 PM UTC
I found this to be an interesting read. I think you should maybe put up your blog on Digg or some other popular social bookmarking site so more people can go through it. Congrats on the great blog.
Cheers – Simone



Wednesday, March 24, 2010 1:25:29 AM UTC
I use to read your posts.They are highly informative and helpful.Thanks for giving us such quality knowledge.Waiting for your next interesting posts.
Thursday, April 01, 2010 1:44:12 PM UTC
Do you use blogengine. I was looking for examples of blogs and think that I will go with blog engine after seeing your blog.
Saturday, April 24, 2010 11:12:14 AM UTC
I read you post... this is informative and helpful..
I like to know more from u.. Thanks for sharing ..
Thursday, April 29, 2010 10:18:25 AM UTC
I will post a link to this page on my blog. I am sure my visitors will find that very useful.
Wednesday, May 19, 2010 12:46:42 PM UTC
Thank you for this useful information.I will share it with my friends.I have done bookmarked it.
Saturday, May 22, 2010 3:23:03 PM UTC
Interesting article. Well done and good luck with your very great work. I wish you have a luxury time to consider using benefits articles can offer. Thanks for sharing.
Tuesday, May 25, 2010 12:36:30 PM UTC
Your work is good.This blog is given informative information.Thank you for this useful information.I will share it with my friends.I have done bookmarked it.
Tuesday, May 25, 2010 2:05:49 PM UTC
Interesting article. Well done and good luck with your very great work. I wish you have a luxury time to consider using benefits articles can offer. Thanks for sharing.
Friday, May 28, 2010 12:22:24 PM UTC
I was surfing net and fortunately came across this site and found very interesting stuff here. Its really fun to read. I enjoyed a lot. Thanks for sharing this wonderful information.
Friday, May 28, 2010 1:15:34 PM UTC
I have read this post.It's really awesome.I have noted some point which make this post excellent. I hope you will keep continue to write other informative and interesting post.Thank you.
Friday, June 11, 2010 8:42:38 AM UTC
Interesting article. Well done and good luck with your very great work. I wish you have a luxury time to consider using benefits articles can offer. Thanks for sharing.
Friday, June 11, 2010 8:43:21 AM UTC
Interesting article. Well done and good luck with your very great work. I wish you have a luxury time to consider using benefits articles can offer. Thanks for sharing.
Thursday, June 17, 2010 1:25:28 PM UTC
-I totally agree with the above observation, the internet is with a hesitation growing into the nearly all significant medium of statement across the globe and its due to sites similar to this that ideas are spreading so rapidly.
Tuesday, June 22, 2010 11:54:55 AM UTC
I must say one thing...You are truly a good researcher
Monday, June 28, 2010 10:38:56 AM UTC
I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.
Monday, June 28, 2010 10:40:56 AM UTC
I really appreciate this wonderful post that you have provided for us. I assure this would be beneficial for most of the people.
Thursday, July 01, 2010 8:41:59 AM UTC
It's rare to find someone who will be so honest and frank with you. Thanks for the amazing post.
Thursday, July 01, 2010 8:42:23 AM UTC
One of the most informative posts I've ever read. Keep up the great work.
Thursday, July 01, 2010 8:43:31 AM UTC
Grade A quality post as usual. I didnt think you could top your last post, but you did.
Tuesday, July 13, 2010 2:30:12 PM UTC
Great Post.I really enjoy reading your blog as the postings are so simple to read and follow. Outstanding. Please keep it up. Thanks.
Friday, July 23, 2010 3:22:46 PM UTC
when i start to read your blog my interest increased to know more about it.I never read some graceful and informative blog.Thanks for this awesome blog.
Sunday, August 22, 2010 10:30:39 PM UTC
The last step (which is an optional step) allows PCs attached to the main router to be able to connect to PCs attached to the client router, by specyfing the IP of the destination PC, for example "telnet 192.168.0.150". But they are still on two different subnets which do not share their broadcast messages, therefore when browsing PCs on the local network you will not automatically see the PCs attached to the other router. But you can always connect to them by explicitly specyfing the IP.
Friday, September 03, 2010 10:03:44 AM UTC
Hi,really liked your post ,interesting,keep posting
Name
E-mail
(will show your gravatar icon)
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, i, strong, u)  

Enter the code shown (prevents robots):

 

All content © 2010, Jim Zimmerman
Book
New Book
Links to me
On this page
Sponsors
Calendar
<October 2006>
SunMonTueWedThuFriSat
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234
Archives
Tags
Blogroll OPML
Technorati
Favorite Links
Disclaimer

Powered by: newtelligence dasBlog 1.9.6264.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

Send mail to the author(s) E-mail