May
18

Dynamically Repeat and Broadcast the Strongest Wireless Networking Signal

“I don’t have Internet access at home.” What a terrible thing to hear! It is so sad when people tell me that the only way they check their email is by visiting public, community-sponsored, unprotected venues like the library. Internet access is almost as essential as utilities. When my sister informed me that she didn’t subscribe to Internet in her apartment complex because it was too expensive, I compared that to having no running water at home. Its like she hasn’t bathed since she moved in!

Taking pity, I set out to solve her dilemma. Luckily, the great thing about living in an apartment complex is that you are usually surrounded by a neighborhood of trusting technology dummies. At least 5 open wireless signals will abound everywhere ... except where you need them the most, in your room. The only place that I could detect a signal was next to the kitchen window. Sadly, it would be too cluttered (and too trashy) to move the computer in the kitchen. However, we could bring the Internet connection to us in the computer room.

 

"The Little Router That Could" – Tillie on Steroids (Hacked Firmware)

Enter DD-WRT. The release of the Linksys WRT54G Wireless-G Router was a milestone in the computer and networking underworld. When a couple of hackers reverse-engineered the firmware, they were pleasantly surprised to discover that the router was actually running on open-source Linux! With that in mind, a barrage of unofficial router firmware filled the open-source community.

ddwrt_logo.jpgEach variation of the firmware enabled new features, turning the $60 piece of home networking equipment into a very capable network server/router very well worth $600! Options and preferences that you thought were not possible began to appear in the router’s configuration GUI. A couple of talented programmers added functions like antenna power amplification, wireless distribution system, RADIUS server, overclocking, file server, VPN server/client (PPTP, OpenVPN, or SSH), public hotspot portal/gateway, and graphical statistics. Who knew a router with a 200 mhz processor could be such a powerhouse? It's like "The Little Engine that Could."

DD-WRT is just one of the many alternative firmware available that boasts these features. I use this particular firmware because it is most updated and it commands the most community support.

Virtual Wireless Interfaces

One of those "impossible" features mentioned above was the creation of virtual interfaces. With any normal wireless networking piece of equipment, you have one chipset dedicated to a specific role, either client (managed) or server (AP infrastructure). The advent of customizable, Linux-based firmware enabled one chipset to perform both roles at the same time by creating a virtual chipset (interface). DD-WRT allows up to 16 virtual interfaces!

Why does this even matter? The router can establish communication with another access point while, at the same time, the virtual interface shares that connection with WiFi clients on the same channel but a different SSID. These interfaces can even be customized with different encryption schemes. The host AP might require WEP but when you rebroadcast the signal under a different SSID, you can use WPA TKIP/AES. Essentially, the router becomes a repeater.

AutoAP + DD-WRT = Dynamic Wireless Network Repeater

However, DD-WRT by itself is not the solution to my dead-signal problems. The signal quality of the 5 wireless ESSIDs is very intermittent. Sometimes, one is stronger than the other. I want the strongest one repeated by the router. AutoAP is an optional add-on to the DD-WRT firmware. This script dynamically connects to the strongest network available. Therefore, if one AP suddenly dies on me, AutoAP connects to the strongest one and DD-WRT repeats the signal to the entire apartment! AutoAP allows me to plug in the router, wait a minute for initialization, and voila! I can start surfing the Internet via the repeater's SSID almost immediately!

Install and Setup Instructions for Dynamic Wireless Repeater Scheme

Only one configuration is necessary at the beginning. Generally, the router automates everything after the initial setup. DD-WRT and AutoAP, together, literally enable plug-and-play functionality!

Choose Your Weapon (Router) Carefully

First things first, get the right equipment. There is really no point in trying this if you don’t own a router that is fully compatible with DD-WRT and AutoAP. Although the open-source firmware was initially designed for the Linksys WRT54G(x) series, compatibility extended to other makes and models. See the Supported Devices page on the DD-WRT Wiki site for more details.

ddwrt_router.jpgMy original router was a WRT54G version 1.1. Sadly, I bricked it last week. So, I had to buy another one. I set my eyes on the Buffalo WHR-G54S ($30 at CircuitCity) since it was the cheapest. I couldn't complain when I discovered that the makers of DD-WRT recommended that particular model the most.

If you decide to go with a different router, get one with a detachable antenna. Nothing is worse than an internal antenna limiting you from achieving better signal range. I mean, you can only increase the antenna power so much until you deteriorate the signal quality, microwave yourself to Leukemia, or plain fry your chipset.

Flash Me!

The next thing you need to do is flash the router with the new firmware. Download the latest cutting-edge version. I used the Version 24 Beta released on 05-10-07. The DD-WRT installation guide can better guide you on flashing the firmware. My only precaution is that if you are doing this for the first time, when the directions say "wait," you wait extra long. It would be completely tragic if you actually performed a successful flash but bricked your router when you reset it during the firmware’s first initialization.

Basic DD-WRT Configuration

  1. In the "Basic Setup" tab, change the router’s local IP address to an obscure subnet that will definitely not conflict with any other network AutoAP connects to. Try 192.168.176.1 if you can’t think of one. Who uses that?
  2. Disable the firewall under the "Security Tab."
  3. Next, visit the "Wireless" "Basic Settings" tab. Under "Physical Interface wl0," it should be running in "Repeater" mode on the "Auto" channel and "Bridged" networking configuration. Leave the SSID field blank as AutoAP will later dynamically fill this field as it finds a new network.
  4. Add a virtual interface. Fill the SSID field with your desired network name. This interface will be the repeater on the network. Make sure "AP Isolation" is disabled and "Network Configuration" is set to "Bridged."

ddwrt_interfaces.jpg

AutoAP Script Installation

Now, its time to install AutoAP! First, you'll need to unprotect your home wireless network so that the DD-WRT router can download the AutoAP script. You will also need the open network to verify and test your setup scheme. Don't worry, it will only be about 15 minutes depending on how quickly you can get this running. One hour tops, I promise. :)

Go to the "Command" tab under "Administration." "Save Startup" these commands:

CODE:
  1. nvram set wl_ssid=""
  2. `cd /tmp; until [ 2 = 1 ];do /bin/sleep 30;
  3. /usr/bin/wget -Oautoap.sh http://umn.dl.sourceforge.net/sourceforge/autoap/autoap_test_070219.sh;
  4. chmod 777 ./autoap.sh;./autoap.sh;done` &

When you "Save Startup," you are saving commands that the router will run each time it boots. Basically, on line one, the router will connect to any open wireless network. On lines two and three, the router saves the AutoAP script to a temporary directory. And on line 4, the router installs and runs the script.

The Moment of Truth

Reboot the router and check the AutoAP log (http://RouterIP/user/autoap.htm) after a minute to see if it was installed correctly. If the log appears, try to connect to Google. If that is successful, unplug your Ethernet cable from the DD-WRT router and try connecting to the virtual interface SSID that you specified earlier. Try connecting to Google one more time. If that is successful, congratulations! It works!

Tweaks and Additional Configuration

Now, you can resecure your home wireless network and tweak the setup. Optionally, you can visit the "Wireless Security" tab and configure a wireless encryption for your virtual repeater interface. You can also visit "Advanced" settings and increase the "Xmit Power." Try 100 but don’t go beyond 200!

ddwrt_advanced.jpg

Check the AutoAP Wiki for specifics on advanced configuration. But really, it should work out-of-the-box. Just a helpful tip, I would never "nvram commit." I like the variables easily viewable and changeable. Instead, I save my nvram variables in the "Save Startup" without "nvram commit." I save them with the installation code. This assures that I will always have the latest version of AutoAP. If download of the script is unsuccessful no changes will be made. The router will only retain what AutoAP version is in the memory.

Backup, Backup, Backup

Again, if you've advanced this far, congratulations! It's easy street, all downhill from hereon. There should be no more hassles and headaches. Now, it is only a mater of plug-and-play. Once everything is perfect and your tweaks are lined up in a row, I encourage you to backup your configuration in the "Administration" tab. Who knows? Maybe a freak accident in the future will destroy your hard work.

Closing Remarks

Until the my sister can actually afford her own Internet access, she can just turn on the router in kitchen, wait a minute, and start surfing many rooms away on the premises. The beauty of this setup is that it will work anywhere you go. If you want to extend another wireless signal at school, just do the same thing.

Whether your configuration is successful or not, I highly recommend the wikis and forums on Universal Wireless Repeater and AutoAP. Other than this article, if you have any problems or if you get stuck, these are great references. If anything, feel free to just leave a comment on this post and I'll see if I can help you.

Good Luck!

If you enjoyed this post, make sure you subscribe to hacker not cracker via RSS feed or email update!



Additional Reading

Comment View Comments from Other Readers

Popular Posts

Featured Posts

Related Posts

Recent Posts

What's Your Reaction?


Subscribe to this Blog:

Reader Reactions Elsewhere


 

54 Responses to “Dynamically Repeat and Broadcast the Strongest Wireless Networking Signal”

  1. Stew2 Says:

    You mention you 'bricked' your router. I have not found a router or heard of one which could not be 'unbricked' (bricking caused from experiemental flashing, or whatever the cause: except hardware burnout - unlikely).

    While it's possible if you're square enough, to build a J-tag cable or buy one, I find it much easier to follow the Revival Tip #3 on this page: http://www.linksysinfo.org/forums/showthread.php?t=47259

  2. blogger Says:

    Stew2, thanks for your advice. I actually did read that forum post and tried the instructions. I opened the router and everything, trying to short those two small wires. It did work for like 5 seconds each time. i could get pings for about 5 seconds but then it would stop. though, i have not tried j tag.

  3. Stew2 Says:

    I read your reply 'tried to short those two small wires', I can assume you misinterpreted my suggestion to mean shorting pins 15 and 16. I was not recommending #2 as a solution, I recommend Tip #3. Also, the Disclaimer is if you mention shorting these two pins on the #DD-WRT 'support' channel, you get a lot of flak for it.

    I tried shorting pins 15+16, with a router which showed a flashing power light and solid ethernet lights when I recieved it - It didn't get me anywhere. Also, the conductivity of the tip of a jewelers' screwdriver is called into question.

    For #3, I extracted a 10cm lead from an Ethernet cable, solid wire. Then I stripped both sides, and taped one end to the antenna ground. I checked how much pressure it would take to insert the barrel connector for power, and instead decided to leave it inserted and unplug the power adapter from the wall. With one hand steady, the wire tip held on #16, I pressed the wall-wart into the wall. The WRT54GL v1.1 powered up, and immediatly the lights were different, indicating it was waiting for a TFTP image. As soon as I noticed the change I removed the lead (~1 second). I believe I remember I was able to turn it off again, and without the lead, the router was again waiting for the TFTP image. I uploaded the OEM firmware with TFTP2.exe (windows) and the router worked normally.

    Regards

  4. Christopher Says:

    Which version of dd-wrt are you using. I don't have an option to set mine for repeater. I am using the v.23 voip so I may have the wrong version. Any help will be wonderfully helpful.

    PS thanks for the great article.

  5. blogger Says:

    i used the latest cutting edge version at the time which was a v.24 on july 10th. i actually tried the one you are using and it did not work well for me so I went to the unstable version. try it. you'll find that it is not that unstable after all.

  6. OAK Says:

    Very good,congratulations, good explanations!

    But would it be possible instead of repeating the signal wireless, to connect a ethernet cable in your router and connecting the PC ?

  7. gavtech Says:

    guys got a question about "bridged" and unbridged modes

    you see under physical interface is set to bridged, same with virtual interfaces? what does "bridged do" it allows the network you connect to so all the clients can see each other on both networks? if so i dont want that, i want to isolate both the networks clients so they cant see each other, explain what does bridged and unbridged do for physical AND virtual interfaces please

    thanks

  8. Wayland Says:

    You need unbridged on the web interface. This runs the wireless client as WAN and the virtual interface as LAN. Make sure you set different subnets, if one is 192.168.1.0/24 then the other must be 192.168.2.0/24 for example.

  9. ruckstande Says:

    Okay I ran into an issue here. I know this is older than hell but her it goes. I followed the instructions to the letter. It worked terrific at first. I unplugged the router and about an hour later I plugged it back in. If I connected to the router with a cable it worked great but wirelessly it would not broadcast. I tried connecting but Vista reported that it didn't receive a response. After that the SSID disappeared from searches. One last thing, the SSID section didn't let me leave it blank where the instructions tell me to.

  10. donphillipe Says:

    My experience equal to post above. Using WRT54GS V1.0 with firmware which includes AutoAP imbedded in code & downloaded from SorceForce. Wireless works sometimes and sometimes there is not a signal in the air (at least that Vista laptop can see).

  11. albo Says:

    this autoap never worked for me i dont know why anyone had success using this?

  12. Ray Says:

    Right on!!, if you can't afford it, just steal it and feel like you're a hero.....

  13. Celinda Says:

    The other day, while I was at work, my cousin stole my iPad and
    tested to see if it can survive a 25 foot drop, just so she can be a youtube sensation.

    My apple ipad is now broken and she has 83 views. I know this is
    totally off topic but I had to share it with someone!

  14. 3ds emulator Says:

    Hey there! Would you mind if I share your blog with my twitter group?

    There's a lot of people that I think would really appreciate your content.
    Please let me know. Thank you

  15. Los Angeles Dui Attorney Says:

    Hello colleagues, its great article on the topic of cultureand entirely defined,
    keep it up all the time.

  16. http://ignitemission.kr/mw/index.php/%EC%82%AC%EC%9A%A9%EC%9E%90:Lesley99C Says:

    Knockout roses must be pruned before new plant growth begins,
    and they need continuous pruning all through the growing season
    to stay manageable. When a person starts living in a new
    house, generally, some planting will have already
    been accomplished. I'd love to help you get the very best from your garden, so you're welcome to visit me on
    or contact me at jonathan@dryclimategardening.

  17. kamas gratuit Says:

    This article offers clear idea in favor of the new visitors of blogging,
    that truly how to do running a blog.

  18. Www.Youtube.com Says:

    Also, there are so many more products coming
    out besides the ones I've included here. An excellent mixture
    of elements from the original MSX and NES Metal Gear games
    and Playstation's Metal Gear Solid, this Game Boy Color game brought
    excellent stealth action to the portable scene. This plugin will allow you to listen to your mp3 tracks while playing Daedalus - X64, other homebrew
    apps and PSP games. The Nintendo Wii U version of 'The Legend of Zelda: Wind Waker' will be released in North
    America sometime in late 2013. Nintendo is expected to incorporate an 'app'
    store and more multimedia features into the upcoming device, however, they will
    also most likely continue to avoid 'garage' or 'hobbyist' developers.

    Also visit my page - 3Ds émulateur (http://Www.Youtube.com)

  19. cell Phone signal booster reviews Says:

    We looked into satellites systems and different cellular phone companies trying to
    find a service that would allow us to talk tto our office and work on the
    Internet while on the road in ouur RV. A type of the cheap cell phone booster can block the transmission of signals from the phone networks, including UMTS, 3G, CDMA, GSM
    and PHS. Simply, the Mobile phone signal booster
    renders maximum improvement in communication for the commercial and public sectors dealing with the wide
    service and maximum use of the phone to get in contact with the
    clients and employees.

    Stop by my page :: cell Phone signal booster reviews

  20. www.Tegate.pl Says:

    The person goes to see her belongings as she remembers about her prized possession.
    With every one of the variety you can do, these charms make excellent gifts for up to any occasion you can think
    of. Many everyone has worries about purchasing something as essential and high-priced as jewelry online but,
    when you make the time and energy to inform yourself,
    you'll have a very pleasing and risk-free jewelry purchasing experience.

  21. เพิ่มขนาด Says:

    You can certainly see your skills in the article you write.

    The world hopes for more passionate writers like you who are not afraid to say how they believe.
    Always go after your heart.

  22. www.Bagtheweb.com Says:

    You have to throw the collected dirt from the container in the garbage can in your backyard or outside your house to prevent the dust and
    dirt from getting back into your house. For electric ovens
    check the elements and wipe over. It mainly features two roller brushes that can sweep
    the dirt on tight spaces like upholstery, kitchen and car.

  23. Felipa Says:

    For one thing, these units are completely eco-friendly, relying on
    nothing more than the power of super-heated steam to loosen and remove different kinds of stains and deposits.
    As can be seen from the above applications, cleaners of this type have a wide
    variety of uses. Takeaway containers may warp or melt, also releasing toxic chemicals into the food.

  24. cort.as Says:

    I'm not sure wheгe you're getting your information, but great topic.
    I needs to spend some time learning much
    more or understanding more. Thanks for ωonderful info I was loοking fοr thіs info for my mission.

    Μy web site - les miserables; cort.as,

  25. garden shed plans materials list Says:

    Browsing over the actual shed plans can help you to formulate the whole and final
    mental picture of the structure before you buy a
    shed kit or any materials to build it. The SPCA is grateful for the generous support but still in need with big plans ahead.

    You can discover time to complete some improvement and customize your garden sheds according to your wants.

  26. http://www.youtube.com Says:

    Hmm is anyone elsae encountering probldms with the images
    on this blog loading? I'm trying to destermine if its a problem oon my end or if it's the
    blog. Any feedback wopuld be greatly appreciated.

    Herre is mmy weblog; garcinia cambogia dr oz - http://www.youtube.com -

  27. http://Www.Gupshuppoint.com/ Says:

    If you don't have the time to bake a treat yourself, you can always visit a chocolate
    shop and purchase handmade truffles to hand out. It is one time of the year when we can actually erase all our sorrows and enjoy life to the
    fullest. Get ideas for items to make for children, teens and
    adults.

  28. sugar stores Coupon Code Says:

    Hey There. I found your weblog the usage of msn.
    This is a really neatly written article. I will make sure to bookmark it
    and come back to learn more of your helpful information.
    Thanks for the post. I will certainly return.

  29. http://Www.Youtube.com/ Says:

    Men really enjoy this type of playful flirting so don't be afraid to be a slight tease and show him that your personality is Grade A.
    It's a bit touchy with the helicopter, but feels more intuitive in the boats and on bikes.

    Visuals: The cut scenes are brief and appropriate.

  30. Derrick Says:

    Our are gorgeous times of the year to read, because the actual the summer
    months heat hasn't begun but, however keep in mind that
    the audience is a bit less adult when compared to it
    is the rest of the season.

    My web blog; mexico hotel resort (Derrick)

  31. Leonard Says:

    I constantly emailed this website post page
    to all my associates, as if like to read it after that my links will too.

    Here is my web blog: Dungeon Hunter 4 Hack Download [Leonard]

  32. hoodia Says:

    It's fantastic that you are getting idea from this piece of writing as well as from our
    discussion made at this time.

    My homepage hoodia

  33. pure garcinia cambogia|pure garcinia cambogia extract Says:

    Awesome issues here. I'm very glad to llook your post.
    Thank you so much and I am taking a look ahead to
    contact you. Willl you kinrly drop me a mail?

    Stop byy my web site :: pure garcinia cambogia|pure garcinia cambogia extract

  34. dr oz diet Says:

    My brother suggested I might luke this blog. He waas totally right.
    Thhis post truly made my day. You can not imagine
    simply how much time I had spent for this information!
    Thanks!

    Also visit my web blog: dr oz diet

  35. Isobel Says:

    I know this website presents quality based
    posts and additional material, is there any other website which offers
    these kinds of data in quality?

    Stop by my page ... Monster Blade Hack Download (Isobel)

  36. https://www.youtube.com/watch?v=_jcysoDRojs Says:

    Wow that was strange. I just wrote an extremely long comment but after
    I clicked submit my comment didn't show up.
    Grrrr... well I'm not writing all that over again.
    Regardless, jus wantedd to say excellent blog!

    Also visit my web sie garcinia|garcinia cambogia [https://www.youtube.com/watch?v=_jcysoDRojs]

  37. analyse document Says:

    Since the amin of this web page is working, no
    doubt very quickly it will be renowned, due to its quality contents.

    My webvsite ... analyse document

  38. liquid diet Says:

    whoah this blog is magnificent i like reading you posts.

    Stay up thhe good work! You already know, many persons are hunting round for
    this info, youu can aaid them greatly.

    my page; liquid diet

  39. where to buy garcinia cambogia Says:

    Hello! I'm at work surfing around your blog from my new apple
    iphone! Just wanted too say I love reading through your blog and look
    forward to all your posts! Keep up the fantastic work!

    Look into my webpage ... where to buy garcinia cambogia

  40. shapir.ir Says:

    For comparison, a hair on your head is about 80 microns. If you invest more than 800 dollars, you aren't guaranteed an excellent
    cleaning, but it is worth it. Instead, these products seem
    to be nothing more than fancy scented oil diffusers.

  41. garcinia cambogia reviews Says:

    Wow! After all I got a webpage from where I know how to actually get userful facts
    regarding my study and knowledge.

    Also visit my site; garcinia cambogia reviews

  42. Vonnie Says:

    Your means of explaining all in this paragraph is
    really pleasant, all be capable of effortlessly be aware of it, Thanks
    a lot.

    Feel free to visit my page :: World at Arms Hack Download (Vonnie)

  43. motivation to lose weight Says:

    I do trust all of thhe ideas you have offered for your post.
    They are very convincing and can definitely work.
    Nonetheless, thee posts are too quick for starters. May just youu please lengthen them a little from subsequent time?
    Thanks for the post.

    Alsoo visit my web-site ... motivation to lose weight

  44. www.youtube.com Says:

    Hi everyone, it's my irst go to seee at this webb page, and post is in fact fruitful for me, keep up posting
    these types of content.

    Also visait my bloog :: miracle garcinia cambogia (http://www.youtube.com)

  45. Glenda Says:

    This blog was... how do I say it? Relevant!!
    Finally I've found something that helped me. Kudos!

    Here is my blog ... CSR Racing Hack download (Glenda)

  46. nnn lease Says:

    Please leet me know if you're looking for a writer for your blog.
    Youu have some really great articles and I believe I would
    be a good asset. If you ever want to take some of the load
    off, I'd absolutely love to write some material for yojr blog inn exchange for a link back too mine.
    Please blast me an e-mail if interested. Regards!

    Feel free to surf to my web page; nnn lease

  47. www.youtube.com Says:

    My brother suggested I might liike this blog. He was totally right.
    This poist actually made my day. You caan noot imagine just how much
    time I hhad spent for this info! Thanks!

    my weebsite garcinia cambogia eextract reviews (http://www.youtube.com)

  48. liquid diet Says:

    Hello there, You have dne a fantastic job. I'll certainly digg it and personally recommend to my friends.
    I am confident they'll be benefited froom this site.

    My homepage - liquid diet

  49. dr oz weight loss Says:

    Way cool! Some very valid points! I appreciate you penning this article and also the rest of the websie is extremelly good.

    My web-site ... dr oz weight loss

  50. www.youtube.com Says:

    I think the admin of this weeb site is truly working hard in fvor of his web site, bcause hdre every
    stuff iis quality based stuff.

    Look into myy weblog; where to buy garcinia cambogia (http://www.youtube.com)

  51. sex amateur gratuit Says:

    When I originally left a comment I seem to have clicked on the -Notify me when new comments are added- checkbox and now whenever a comment
    is added I receive 4 emails with the exact same comment.
    Perhaps there is a means you are able to remove me
    from that service? Many thanks!

  52. quick ways to lose weight Says:

    Oh my goodness! Impressive article dude! Many thanks, However I am going through problems with your RSS.
    I don't know why I am unable to join it. Is there anybody else having the same RSS
    issues? Anyone who knows the answer will you kindly respond?
    Thanx!!

  53. Dusty Says:

    Hello! This is kind of off topic but I need some guidance from an
    established blog. Is it difficult to set up your own blog?
    I'm not very techincal but I can figure things
    out pretty fast. I'm thinking about making my own but I'm not sure where to begin.
    Do you have any tips or suggestions? Thanks

    My web-site: How To Hack Crime City - Dusty -

  54. canineandco.co.uk Says:

    If you live in an region exactly where the temperatures turn into bitter chilly,
    your dog can put on coats and jackets over sweatshirts
    and sweaters. Polar bears in the Canadian Hudson Bay area have lost weight and are losing their fitness due to
    the ice breaking up two weeks earlier than usual in the spring months.
    Sure, you shall never go wrong with these useful pieces of
    advice.

Leave a Reply

 
Latest Post on Loading...: Please Wait...
admin admin
© 2006 and web design of Allan Ray Barizo from [art] [⁄app].
This site is best viewed with FF and at least 1024x768 resolution.