Slashdot Mirror


Beef Up Your Wireless Router

Doctor High writes "Josh Kuo's article Beef Up Your Wireless Router talks about the OpenWRT embedded Linux distro for the the Linksys WRT series wireless routers (and more). The article lays out some of the amazing things you can do with your Linux-enabled wireless router such as using it as a VoIP gateway, a wireless hotspot, or even an encrypted layer 2 tunnel endpoint for remote troubleshooting."

28 of 189 comments (clear)

  1. Maybe it is just me... by Anonymous Coward · · Score: 5, Insightful

    ... but my Linksys router has enough trouble keeping up with the normal jobs it is supposed to be doing. When I saw the title, I was hoping that it was about over-clocking or adding memory.

    1. Re:Maybe it is just me... by celardore · · Score: 4, Informative

      DD-WRT offers overclocking facilities, as well as boosting number of IP connections and wireless transmit power. I really recommend it to anyone with a compatiable Linksys.

    2. Re:Maybe it is just me... by JimBowen · · Score: 4, Interesting

      Yeah, that's the problem with off-the-shelf routers..
      It is possible though just to use an old PC as the router, and a lot more flexible. Although if you don't fancy setting up an iptables router manually with Linux, then you might try running DD-WRT on the PC itself. A friend of mine has a tutorial for that over here.

    3. Re:Maybe it is just me... by CRC'99 · · Score: 4, Informative

      DD-WRT offers overclocking facilities, as well as boosting number of IP connections and wireless transmit power. I really recommend it to anyone with a compatiable Linksys.


      no, no, no, no, no. Once again, if you didn't get it.... NO!

      There are a number of funky things that DD-WRT will do - however overclocking it risks the unit being dead forever - unless you want to get into the lovely JTAG recovery for having an overclock fail.

      There's also the small fact that when you increase the power output using DD-WRT you start spewing out spurious emissions all over the place. This basically means that you spew crap all over the 2.4Ghz band. Oh, and it'll also make the FCC license on these things void and open you up for charges. As well as screwing over the wifi band for everyone else.

      You'd have to be a douche to recommend the average person do this unless they can measure how much damage they are doing to everyone else.
      --
      Sendmail is like emacs: A nice operating system, but missing an editor and a MTA.
    4. Re:Maybe it is just me... by digitalchinky · · Score: 3, Interesting

      Overclocking screwups don't brick the router so bad that you need JTAG - shorting the antenna ground to pin 16 of the flash chip while plugging in the power puts it in tftp mode again. No soldering iron required.

      You might want to try plugging your linksys in to a spec-an rather than repeating the word of the masses. They are not as noisy as you might think. In many ways you'd be better off investing in a more sophisticated antenna system rather than tweaking the power outputs.

      I have a couple of 8 element yagi's that work fine over a few kilometres at 28 milliwatts.

  2. My Routers already does a lot of that stuff by LBArrettAnderson · · Score: 3, Informative

    Yeah he mentioned a lot of cool stuff that can be done with Linux installed on the router, but my wireless router already does a good portion of that stuff - DHCP, it can be a wireless hotspot if it wants to be (not with any special features; for those I'd just need to use a computer)... and a number of other things that he mentioned are already part of 99% of the wireless routers that I've seen.

    Aside from the things he mentioned that are already part of wireless routers, the rest of it seems cool.

    1. Re:My Routers already does a lot of that stuff by MyDixieWrecked · · Score: 4, Informative

      I just installed dd-wrt on my Linksys wrt54gl router.

      What's really nice is that it gives you a lot more control over routing, albeit with much more added complexity to the interface.

      The new software enables snmp monitoring, ssh access, and VLAN control.

      my question is, what's the difference between openwrt and dd-wrt?

      --



      ...spike
      Ewwwwww, coconut...
    2. Re:My Routers already does a lot of that stuff by Penguin+Programmer · · Score: 4, Informative

      my question is, what's the difference between openwrt and dd-wrt?


      It's like the difference between Linux and Ubuntu (well, sort of). OpenWRT is mostly a nice kernel - very basic package that doesn't have a pretty interface and all that stuff that people want. They do provide a minimal distribution, but (at least last I checked) it's not very polished. DD-WRT is the OpenWRT kernel with a nice web interface, some good defaults, etc. added on.
    3. Re:My Routers already does a lot of that stuff by Anonymous Coward · · Score: 5, Informative

      no...dd-wrt is not openwrt + webinterface.
      dd-wrt is the old firmware - modified
      openwrt - firmware written from scratch

      x-wrt.org is a really nice webinterface to openwrt, btw

    4. Re:My Routers already does a lot of that stuff by fireboy1919 · · Score: 3, Informative

      It's more like the difference between NetBSD and Linux. While most programs that run on one can be made to run on the other, and the idea behind how they work is a lot the same because both came from the same base, the internals are fundamentally different.

      DD-Wrt is *not* OpenWRT with a nice UI. That doesn't do either of them credit. *Both* come with a nice web interface.

      The difference today is that OpenWRT is managed by a large group with different goals and ideas. DD-Wrt is done by one guy, and his goal is to make it as useful as possible for what he thinks users want to use it for.
      They also started different ways - which also leads to the differences in goals. OpenWRT was really the first project of its kind and has always had generally the goal that it does now - whatever people who want to work on it want it to do. DD-Wrt is based on the now-GPL violating commercial WRT distro called Alchemy - mostly because they wanted the project to continue despite the fact that it's owner wanted to start closing the source.

      --
      Mod me down and I will become more powerful than you can possibly imagine!
  3. dd-wrt work just fine by uomolinux · · Score: 3, Informative

    I did it with a Linksys router I jus bought for that purpose, it work flawlessly, the interesting part of it is the huge config possibilities offered over the trad. factory default microprogram installed on it. That is not so new hack but it will make your admin life easier

    1. Re:dd-wrt work just fine by Southpaw018 · · Score: 5, Informative

      The main advantage of DD-WRT over OpenWRT is that it's more of an out-of-the-box solution. In fact, the default firmware would be recognizable to people familiar with moderate to advanced networking, web GUI and all. DD-WRT also retains some, but nowhere near all, of the amazingly powerful options offered by OpenWRT. Neither firmware is really appropriate for Joe User, but DD-WRT is appropriate for a far broader user base.

      --
      ACs are modded -6. I don't read you, I don't mod you, I don't see you. Don't like it? Don't be a coward.
  4. DD-WRT by adamstew · · Score: 3, Informative

    You might also check out dd-wrt. Offers a lot of the same features. I'm not saying it's better, but it's an alternative...and works with many linksys, buffalo, asus, belkin, etc. And their wiki is a wealth of information on configuration and use of the dd-wrt firmware.

  5. Stay the hell away from Linksys!!! by Anonymous Coward · · Score: 3, Informative

    Linksys routers (v4.0 and earlier) were great before they started reducing RAM and ROM size (w/o reducing the price of course).

    Today you get only Linksys routers with about 8MB RAM and 2MB ROM.

    You can't do anything with them. They're completely worthless.

    With a 2MB ROM you're forced to use the micro size image of OpenWRT which doesn't even include pppoe(!).
    (But DD-WRT which is by far better than OpenWRT (IMO) does have pppoe in their micro size image.)

    I returned all Linksys routers I had and switched to the Asus WL-500g which has plenty of RAM and ROM and USB.

    Linksys completely failed it. The Linux version of their router is no replacement and I really hope they will be sold or crapped by Cisco soon because they deserve it (for being stupid).

    1. Re:Stay the hell away from Linksys!!! by khraz · · Score: 5, Informative

      Today you get only Linksys routers with about 8MB RAM and 2MB ROM. You can't do anything with them. They're completely worthless. With a 2MB ROM you're forced to use the micro size image of OpenWRT which doesn't even include pppoe(!). Except that Linksys is selling the WRT54GL series routers, with 16 MB RAM and 4 MB ROM - which fits all firmwares. After all, the GL is basically a WRT54G 3.0 and it's been released SPECIFICALLY for modders and hackers. AFAIR, it is also cheaper than the regular G-series. Here's a convenient list right here.

    2. Re:Stay the hell away from Linksys!!! by m0i · · Score: 4, Insightful

      After buying a Linksys 54Gv6 and realizing its shortcomings (small flash/memory), I found the Buffalo WHR-G54S. Same memory as the 54GL, but with the 125mbps chipset. All this for a good price (38USD!).

      --
      have you been defaced today?
    3. Re:Stay the hell away from Linksys!!! by SScorpio · · Score: 3, Funny

      Ya because running a fully computer that generates noise and draws a lot of power is so superior to running a small embedded device that runs silently and won't make a hit on your power bill.

    4. Re:Stay the hell away from Linksys!!! by Andy+Dodd · · Score: 5, Informative

      It's not cheaper than the G-series (unless you compare a GL from Newegg with a G from a more "mainstream" source, you would be better off comparing GL vs. G in price from the same vendor, and in that case, a GL is $62 from Newegg while a G is $49), but it's far harder to obtain.

      You're better off getting a Buffalo WHR-G54S. Easier to obtain and cheaper ($49 at Circuit City), 8M RAM/4M ROM like the pre-cost-reduction WRT54G units, and very well supported by DD-WRT.

      It's also really easy to recover from a bricking.

      --
      retrorocket.o not found, launch anyway?
  6. Re:Isn't it ironic? by DogDude · · Score: 5, Funny

    Maybe because that's the ultimate way to fix all wireless problems?

    --
    I don't respond to AC's.
  7. WRT54G v5, v6 by ulzeraj · · Score: 3, Informative

    Yeah, I got one of that WRT54G from linksys, but it happens to be a v5 router preloaded with vxWorks proprietary operational system. Linksys' WRT54G and WRT54GS v5, v5.1 and v6 versions got less flash (2 mb flash memory and 8 mb of ram instead of 4 mb flash and 16 mb ram from other versions), It's possible to load a very minimal OpenWRT firmware into it, but it wont give you all advantages that you got with more storage.

    The best model for using OpwnWRT are the "L" series (WRT54GL) that according to Linksys, are built specially for the Linux modding comunity.

    Don't buy v5 or v6 if you want to use OpenWRT.Consult this page before acquiring a router: http://wiki.openwrt.org/TableOfHardware?action=sho w&redirect=toh

  8. Also check out Tomato by straponego · · Score: 4, Interesting

    I haven't gotten around to flashing my old Fon router with it yet, but a friend gave me a demo of his Linksys/Tomato setup... and it is very, very nice indeed. Almost any data you could think of wanting, any control you might want to exercise, presented in a clean, fast AJAX UI: http://www.polarcloud.com/tomato

  9. Thibor's HyperWRT and DD-WRT are better options by Anonymous Coward · · Score: 5, Informative

    DD-WRT is the most feature rich of the WRT firmwares, and the v24 promises of multiple, virtual APs with different encryptions will make me upgrade, but I like Thibor's Hyperwrt better if you don't need all the bells and whistles.

    Thibor's HyperWRT is closer to the stock firmware than DD-WRT. It offers telnet and configured startup scripts. It offers static IP assignment, QoS, WDS, and client bridge mode. It switches between client and AP mode with much shorter reboots then DD-WRT and has a smaller footprint.

    So I recommend Thibor's for most users, and DD-WRT for those running hotspots or VOIP.

  10. Finding working hardware for embedded Linux by delirium+of+disorder · · Score: 3, Interesting

    I always wanted to run a custom Linux firmware on a Linksys WRT54G, but when I went to several stores, all I saw on the box was the model number, not the version number. Some versions are compatible, others have different hardware and are not, but all the boxes look the same. This is rather strange considering most versions (presumably the free software compatible ones) already run Linux by default! Why don't companies proudly advertise the fact that they run Linux and that it is hackable? Those are useful features! The same goes for zipit wireless messengers. All run Linux, but the manufacture released a new version that cryptographically locks out the ability to load the device with a custom firmware, so you need to modify the hardware if you want to use these neat and inexpensive little computers as pocket web browsers, ssh clients, ogg players, or other cool things like that. By default they are only useful as an IM device. Why do companies go out of their way to stop their users from improving their own hardware and in the long run, doing free development work for the company? Why don't corporations want essentially unpaid dedicated employees?

    I also would love to have a media player that runs Rockbox, but various hardware is in different stages of rockbox support. It seams like there would be a significant market for products that advertise the fact that they work with free software firmwares right on the box. It's a shame that many industries view "proprietary" as a feature, as something developed uniquely and innovatively by one company. Anything proprietary should instead be suspect of being buggy because there is no way for the public to verify it's security, it probably has poor support for open standards, and it's probably feature limited and uncustomizable.

    --
    ------ Take away the right to say fuck and you take away the right to say fuck the government.
    1. Re:Finding working hardware for embedded Linux by Mr.+Flibble · · Score: 3, Informative

      Another poster has mentioned this, but you want the WRT54GL. I just helped a Co-worker buy one from NCIX.com and I flashed it with DD-WRT v.23 SP2.

      http://www.ncix.com/products/index.php?sku=17408&v pn=WRT54GL&manufacture=Linksys

      Yes, it costs more than the Vx-Works models, but then it does *SO* much more. Plus, the V1.1 model can be flashed directly with the latest version of DD-WRT, without having to take the intermediate step of flashing with DD-WRT Mini first.

      I am so impressed with mine, that I am considering buying two more. In all seriousness. (I can run Apache, Bittorrent etc on these things - and they consume far less power than a PC in doing so.)

      --
      Try to hack my 31337 firewall!
  11. Working article link by Matt+Perry · · Score: 3, Informative
    --
    Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
  12. Re:What a coincidence by Paco103 · · Score: 3, Informative

    I just got one a few weeks ago and replaced my WRT54G v6 with it. The same day I flashed to DD-WRT micro (they say you're supposed to start with that before upgrading the version you really want), and panicked because the web interface never game back. I did a reset on the router, and it's been running ever since. I was really impressed the other day when I upgraded to the VPN version of DD-WRT, and during the reboot I never even noticed an internet connection loss. Even MSN and AOL messengers stayed connected.

    I haven't used a lot of the features, but I do like the control I have. I boosted my power to 35mW from 28, and that seems to have made my room mates upstairs connections a bit more stable. I can't see how a significant boost would help without external high gain antennas, because the wi-fi client cards are still limited to a very low power output. I can also view neighboring access points with it to find free channels, which is much easier than having to boot up my laptop to check. It's easy to view how the hardware is utilized, and it seems the wireless connection to my media box has less dropped frames and freezes when streaming a full DVD quality 8Mbps MPEG2 file than it did with the stock firmware.

    I haven't regretted it at all.

  13. Re:ATTN: SWITCHEURS! by Xeger · · Score: 5, Insightful

    Wait ... so, you've been on the Mac platform since the days when it consisted of drastically overpriced hardware, a proprietary, marginally stable cooperative-multitasking OS and a very expensive developer's toolkit? I'm guessing you weren't a geek at the time -- if you were, you'd've thrown up your hands in disgust, as I did, and moved to platform that at least offered a command line interface.

    Congratulations on not being a geek, I guess ... do you want a cookie or a prize?

  14. Re:Bittorent (IP Connections) by dwater · · Score: 3, Informative

    The internet archive has the discussion for how to make each port a different network :

    http://web.archive.org/web/20070318234029/http://f orum.bsr-clan.de/ftopic5179.html

    HTH

    --
    Max.