398 points · by zachinglis · 13y ago · 148 comments
The other router mentioned in this article, the Linksys EA2700, doesn't seem compatible with third party firmware. And apparently the Cisco firmware is buggy, no surprise there. It is an awfully cheap Dual-Band 802.11n router, but if you can't put working software on it it's useless.
I don't understand why some major router manufacturer doesn't just sell routers pre-installed with Tomato. It's easy to use, stable, and works way better than any crap the router companies cobble together. Flashing new firmware on a stock ASUS router is too complex for ordinary consumers.
It's also amazing how prevalent Ethernet still is, even when wireless is a competitor. The other day I left this comment: http://news.ycombinator.com/item?id=5052448 on HN, because in some circumstances running a cheap ethernet cable from a router to a desk, couch, or other work station can still be a real win, especially given how inexpensive even very long ethernet cables are from Monoprice.com.
They last forever, aren't subject to the level of interference wireless is, and, in many conditions, have faster data transfer speeds. Ethernet is still great.
Take away "in many conditions" and replace with "always, without exception" and replace "faster" with a "at least a magnitude faster" and we are in agreement.
If you need performance and reliability (like for instance for iScsi) there is really nothing which even compares to wired ethernet.
Note that in most cases wireless systems are far slower than theoretical speed, but 100Mbit wired ethernet is good for 90+ in both directions simultaneously, so in most cases it'll be faster than 802.11n, and with better and more consistent latency.
The short version is that, depending on your usage, you may run out of NVRAM before RAM and may lose your settings. For reference see [1] and [2].
[1] http://www.dd-wrt.com/wiki/index.php/Asus_RT-N16#Current_Kno... [2] http://www.dd-wrt.com/phpBB2/viewtopic.php?p=506126
I have 32MB NVRAM to play with and that has served me well enough, but I see plenty of consumer-routers which can be "upgraded to dd-wrt" but which doesn't even have enough NVRAM to do an ipkg update.
You're sure about that? I've had an rt-n16 sitting on a shelf for over a year waiting for OpenWrt support. Your message caused me to go check their website, and all it says is:
"The Asus RT-N16 has early support in Barrier Breaker (trunk) only!"
http://www.dd-wrt.com/wiki/index.php/Asus_RT-N16
there is support for dd-wrt, apparently since late 2010. You understand that Barrier Breaker is pre-release, right?
I am uninterested in dd-wrt, which is why I didn't mention it.
When I was in the market for something like that one or two years back, I was recommended a specific type of Buffalo Router [1]. While I see my particular model has been superceeded by newer ones, I still thought I'd mention it because:
1. It was recommended to me by someone who had been served it extremely well by it in the past. It has now served me extremely well for years. It will probably do you good as well.
2. It's OK to support more than the top 3 vendors in the world with your money. This leads to more competition, more diversity and better products.
3. Putting stock dd-wrt or openwrt on it can be done all in browser and doesn't seem to involve brick risking procedures like bootloader updates, like I see you may have to go through for the Asus router.
The one thing I'm worried about though is whether that setting of 63 is worse for shorter distances. From my limited experience with building a simple radio transmitter/receiver and amplifiers, if your received signal is too strong it'll just saturate and turn to crap, and as it happens my bedroom is right next to the room with the router in it, so boosting the signal might screw up reception on my phone. But at least now I know that there's room to play around here, thanks for letting me know!
Cable companies might still ship modems (they did the last time I had cable internet, but that was probably 8 years ago).
It's a free firmware and great other than QoS but who am I to complain :/
EDIT: WRT54GL is pretty old and it won't run the default build of OpenWRT Attitude Adjustment (the newest release). It also probably won't have enough memory to operate the package manager or the webinterface.
But I do have one running a custom build. The only downside is that you need to decide which software to include upfront. Their build tool is rather friendly[2].
EDIT2: You can have a VPN server and any routing you like on OpenWRT, same with Samba, radvd, vnstat... There are even webUI pluings (luci-app-whatever) so you can control those from the webinterface for ease of access. It is a real Linux distro that just happens to run on routers.
I find that if you're interested in experimenting with a Linux router, old PCs are a much better choice. You can get a PowerPC G3 or G4 or a late model Pentium III for practically zero money (if not literally zero money out of a trash heap) and PCI NICs for secondary interfaces are similarly inexpensive. For only slightly more money the G4 Mac Mini is an excellent choice for a wireless router. Then you have a processor that is several times faster and can put arbitrarily much memory and storage in it to suit your needs and then put your favorite Linux router distribution (or Debian) on it and have at it.
They tend to have 500Mhz CPUs, approximately no RAM, unresponsive very basic web interfaces, and fall over at the touch of a light breeze.
An el-cheapo Android tablet with 1.6Ghz dual core ARM processor, 1Gb RAM, WiFi, and a bunch of other technically hard stuff on top (IPS screen, battery) costs less than one of these style of WAP/switch/routers.
Are they really so different?
I recently got a PC Engines Alix [1]. It's not as cheap as a consumer router but it's got good specs and runs the latest OpenWRT with no problems. Most of all, it's as small, unobtrusive, and fan-less as a consumer router.
There's a mini-pci slot so you can add wireless, but I have an airport express and so I'm just using that in bridge mode for my wireless.
I got plain Ubuntu working on it, you just have to set it to serial boot.
Dell Optiplex (1.4GHz Pentium III): 32W ($5.76/month @ $0.25/KWh)
Mac Mini (1.25GHz G4): 17W ($3.06/month @ $0.25/KWh)
Even if a WRT54G uses zero watts, you're still talking about a year before you even recover the $50 cost of one, and in any event ~$50/year is not a very expensive hobby.
It does have enough memory for the web interface - at least for the one in KAMIKAZE (8.09.2, r18961), the version mine is running.
Now a lot of people might say "I doesn't matter who makes it, I'll just flash OpenWRT or DD-WRT onto it!" But I say to that, "then why buy a Linksys?"
Asus for one example are cheaper, they often have external antenna giving you more power and flexibility (both literally and figuratively) plus and most importantly they can be flashed with OpenWRT or DD-WRT at your pleasure.
Even without the security issues there is no good reason to buy a Linksys.
Right now I am using my ISP supplied "router" in cable-modem "mode" (i.e. just dumb pass-through to ethernet) and have a cheap MikroTik/RouterOS device sitting behind it which was cheaper than most retail grade routers but with the functionality of commercial grade equipment.
RouterOS might not be as easy to use as DD-WRT, but if you can use it then it is far more powerful as a web-based environment. Just for one example, want a VPN server? RouterOS supports IPSec/L2TP, PPtP/GRE, SSTP, and OpenVPN. Basically everything. The list of its network functionality is almost endless...
Howso? All I remember from their heyday was that they were good enough, cheap enough, and flashable. I don't remember them commanding a premium for any particular reason.
I've actually heard of Mikrotik before; about 10 years ago I was doing some work planning a 2.4GHz wireless ISP (WISP) and I think Mikrotik equipment was highly regarded then (especially in the 900MHz spectrum IIRC) so looking forward to this.
Here's a link to a distributor where it can be purchased: http://www.roc-noc.com/mikrotik/routerboard/RB2011UAS-2HnD-I...
Positives: Cheap. Powerful. Stable.
Negatives: Harder to use than OpenWRT/DD-WRT or similar. It is still a web-interface, but doesn't "baby" the user. If you aren't comfortable manually setting up interfaces and then setting up tunnels through those interfaces for example then skip this.
I love it. But I won't kid myself, it isn't for everyone. The documentation isn't comprehensive and the software is very powerful but not very intuitive (or at least it isn't if you don't have a good background configuring network equipment).
I've got a pretty in-depth networking background and for my home network rebuild I wanted something less power-hungry than my previous big AMD box running Vyatta, but needed something that supported n+ layer 3 interfaces, BGP and VLANs (i.e a proper router). Couldn't justify the cost of a 1900 series Cisco and associated k9-sec license, so went for a RB1200 (512MB RAM, 1Ghz PPC chip, 10 physical ports, 5 of which can do hardware switching and wire-speed filtering) and a couple of Groove access points.
Getting tagged and untagged VLANs to interact together on a single port is a non-starter (not supported at all), and getting VLAN trunking and routing to work together simultaneously requires terminating the layer three interface on a virtual bridge, then for each VLAN you need to create a virtual VLAN interface for each physical interface, and then put that onto the bridge as a 'bridge port'. The documentation is very scant on this side of things and the command line interface is pretty arcane compared to IOS but does make sense after a while.
If they weren't 1/4 price (or less) than an equivalent product from $enterprise_vendor I'd hesitate to recommend them to anyone, but seeing as they are - if you've got a networking background and can put up with some of it's quirks and limitations, there is very little out there that can compete with Mikrotik on price/feature set.
Fewer ports, but essentially the same wireless specs (1W DC 2.4GHzbgn). The routing capacities on both are way more than you'll ever run up against on a home connection. Same RouterOS. License level is one lower, but that essentially just restricts you to 200 VPN connections instead of 500.
The RB751 is ~$80 (5xgiga) or ~$60 (5xfast) versus the 2011's ~$130 (5xgiga+5xfast).
Setup can be quite complicated, though, compared to a consumer router.
Also, there's plenty of very cheap router hardware coming from China nowdays, from TP-Link you can get OpenWRT-capable routers for less than $15, so there's not much point in paying a lot more for Linksys products.
And the reason for it becoming popular in the first place was probably a security issue that allowed third party software to be installed.
The "L" version was introduced because newer routers didn't have this capability/vulnerability and people wanted something they could install third party software on. So when the "L" version (which I use) came it was just an older model, with even less memory than the original and a much heftier price. Unless you wanted to run third party software on it it was really bad value for your money.
Anyway, all of this truly sucks. But really, I don't expect more of any consumer router.
EDIT: Oh wow, the WRT54GL was introduced in 2005, nothing too fancy at the time and you can still buy it today - lots of stores have it in stock even.
It's not that they didn't have the "security vulnerability" but they just weren't able to run Linux in a useful manner due to low hardware resources.
I also don't remember if the WRT54G became popular in the first place because of a security issue, I think it just enabled you to upload any firmware to it and that the original firmware eventually became open-source after they received GPL violation complaints. But my memory might be fuzzy, it was a while ago.
Basically the WRT54G with base firmware was better than anything else on the market at the time of release (within the same market segment - retail routers).
Just to put that into some perspective before the WRT54G, some of the functionality in the base firmware was being sold to small-medium businesses by companies like Cisco for thousands of dollars.
Word spread quickly and instead of your local coffee shop paying Cisco $20,000 to install their WiFi, they could spend $100 on a Linksys router. This meant companies could afford to give away WiFi for free because it cost them little or nothing to install the WiFi initially.
But what happened next is what turned the Linksys WRT54G from a "great" to a "legendary" product - people found out it ran on Linux. Now Linux is open source but more specifically it is under the GPL license.
What that meant is that legally Linksys were required to share the source code that made the WRT54G run. Which after some not-so-gentle prodding and legal threats they did.
People then made distro's (in the Linux sense) which updated the Linksys firmware to add new functionality, fix issues, and similar. This made the thing even more powerful than perhaps even Linksys wanted, and ate into Cisco's small-medium business space even more.
Word spread like wildfire and soon everyone and their brother owned a Linksys WRT54G. Linksys improved the base firmware only mildly while the third party firmware was steamrolling ahead.
Cisco eventually purchased Linksys and started cutting corners on all of their retail products. Using less powerful CPUs, less RAM, and stripping out functionality while not altering the cost. Linksys stagnated.
This was likely in no small part to try and get some of their small-medium customers back onto Cisco's books, but by then it was too late. The market that Linksys had created had spread to Linksys's competitors and soon everyone was "letting" their routers get firmware updates that turned a cheap little home router into something able to fend off medium-business level commercial equipment.
Add in a managed switched and you have the start of a real network at home.
http://doc.pfsense.org/index.php/Is_802.11n_wireless_support...
Drivers for 802.11n are in FreeBSD 9.0 and later, but that won't be the base for pfsense until 2.2:
http://doc.pfsense.org/index.php/PfSense_and_FreeBSD_Version...
Your mother / father / grandmother / etc are not installing openWRT on their routers. Installing one of these CISCO home routers is pretty much hacking yourself. And, just update the firmware is not gonna work.
Try it one day, go up like 10 people and ask them what's a firmware. If the user isn't technical, you're going to get a 0/10 correct responses.
My mother / father / grandmother / etc are typically not buying the routers. They are saying things like, "next time you visit, can you fix my internet?" Or, "since you're here, can you check what's wrong with the internet? I can't get it to work." which is when you install and configure the xxxWRT device for them.
(also a lot of startups have like 20 people working out of a home or condo, and they bump up against memory/crapiness/etc. limits of consumer routers and APs pretty hard.)
OP asked for "low end commercial router", though.
Working QoS IPSec (roadwarrior config w/ certs) CoDel (big plus but optional) VoIP (optional)
I enjoy my Asus RT-AC66U. [1] Best commercial router I've seen, and Asus Merlin [2] firmware makes it better.
[0] http://webcache.googleusercontent.com/search?q=cache:JNu4Z9X...
[1] http://www.newegg.com/Product/Product.aspx?Item=N82E16833320...
[1]http://www.att.com/u-verse/explore/residential-gateway.jsp [2]http://verrytechnical.com/wp-content/uploads/2011/10/ATTUver...
All I really wanted was to set it up in bridge mode in front of my pfsense box, but couldn't do this. I cloned their router's MAC, put their router back in the box and used my existing 'dumb' modem.
Perhaps this would work for you as well.
A higher end hardware router actually has tested and (mostly) secured software, these don't...
I was able to finally fix it by downloading a firmware from Linksys, doing a 30/30/30 reset (push reset button for 30 s, turn power off for 30 s and keep on pushing reset for another 30 s after turning it on again) and flashing it with tftp as explained in http://community.linksys.com/t5/Wireless-Routers/E4200-Firmw...
After that I was able to login using the web interface again.
For Mac OS X the command to flash is just tftp, and then in the console that opens type:
connect 192.168.1.1
binary
rexmt 1
timeout 60
put firmware_filename.binAs a simple example, imagine that you had a test server behind a firewall in your own home network, totally inaccessible from the internet. Now let's say you have it set up so that it will, oh, let's say turn on the oven if you hit a specific URL without any authentication (like testserver/actions/oven/on, or some such). If someone knows of this then they could contrive to have you visit a web page with some embedded resource such as an inline image that causes you to hit that url from your browser. Boom, now your oven is on and you didn't even know it. Even if you switch to using logins and cookies on your test server to ensure that only authorized users on your network can use it then you'll still have the same problem, because when your browser hits that URL it will be in your name, and all of the right cookies will be there. That's the nature of CSRF.
Error 102 (net::ERR_CONNECTION_REFUSED): The server refused the connection.
LOL'd
For small projects which few contributors I would agree but, for projects as large as OpenWRT and DDWRT and such, I don't agree.
However whenever code moves towards being more open, you've got all of the vulnerabilities of closed source software, and all of the bug-finding ease of open source software. This is the worst of all possible worlds.
Therefore #5 is true. The fact that you have easy access to known-to-be-crappy code increases the vulnerability of that code.
<sarcasm> Right, because somehow people not being paid to work on code right better since they are doing it for their pride, where as closed source people just lose their jobs if they write crappy code</sarcasm>
Open Source with wide adoption leads to bugs being fixed.
Closed source security through obscurity leads to exploits being only known by those exploiting them. Not a good thing.
The real consequence is that how secure a product is depends more on the project than on whether it is open source. Apache and OpenBSD are two examples of very good open source code. Java and Rails are two examples of not so good open source code.
Google's website is an example of good closed source code. The software shipped by Linksys is an example of bad closed source code.