Sunday, August 03, 2014

Excellent DD-WRT Router for Me: Netgear WNDR3400 / N600

My WiFi performance was suffering, and so I decided to do something about it and upgrade my router.

When I say my WiFi performance was suffering, I really mean it:  I live in a large high-rise apartment building and there are 100+ WiFi access points visible from my home office.  All of the contentious traffic was severely curtailing my WiFi reliability.  I was lucky to get 1 Mbit/second throughput.  Sometimes I was lucky to stay connected even with my WiFi router in the same room.

I decided it was time to go for 5 GHz, which is a WiFi band which is used less frequently and which has a tougher time traversing walls.  And of course I wanted DD-WRT support.  The set of features I was looking for included:
  • Trouble-free DD-WRT support
  • 5 GHz 802.11n Support
  • Simultaneous dual band capability
  • Inexpensive.  Maybe even cheap.  For me this means under $50.  Under $35 is even better!
It sounds like an easy task to bring all this together: All of this technology has been around for over 5 years.  But nothing is as easy as it seems until you know exactly what to do.  Finding the best router for DD-WRT takes a lot of qualitative analysis.

Finding the best router: WNDR3400 (or N600)

After doing some research I found that some Netgear WNDR3400's can be very inexpensive and  support DD-WRT.  This router is also known as the Netgear N600.  In particular, DD-WRT is compatible with version 1 of the '3400.

In shopping around, I found this refurbished Netgear WNDR3400 routers for sale on Amazon for under $35.  I figured the price was right, and if I managed to get a version 2+ I would assess it on its own merits.

Well, I ended up getting a version 2, which is not DD-WRT compatible.  But I fired it up anyway, and it performed wonderfully in terms of reliability - it sped up my home WiFi incredibly.  I decided to keep the WNDR3400v2 using the principle that "super-fast working WiFi without DD-WRT" is better than "awful WiFi".

Version 2 Label

After a month or so of operation I remained happy - the N600 was working great.  A family member gave me a call and needed a new router, so I decided to buy another WNDR-3400 for her.  After all, it provided great performance and at an incredible price.   But when I got my next refurb, it was a Version 1!  The gamble paid off!


Version 1 label
Interestingly, the physical details of the v1 is a quite a bit different than the v2.  In particular, the port layouts and LEDs are different.  Both versions purport to have identical function, but clearly they are different devices on the inside.  Anyhow, with a version 1 model in-hand I was ready and excited to install DD-WRT!
The N600: v1 on bottom, v2 on top. They must be very different on the inside.

Choosing the right DD-WRT firmware for the WNDR3400

The hardest part about DD-WRT is knowing what firmware to install.  I have a list of what I look for:
  • A version that has the features I need
    • 2.4 & 5 GHz WiFi
    • Working Ethernet
    • Working SSH
    • Working IPTables
  • No Heartbleed-ing
  • Reliable
  • Known not to brick or otherwise destroy the router
Sounds easy, right?  Never!  The DD-WRT community has an incredible amount of informal documentation, and parsing it all is a substantial job in of itself.  DD-WRT is a hobby, not a product, and so there are a lot of tradeoffs, broken features, gotchas, and potential brick-makers.

After some significant research, I chose a build that seemed to have the right mix of reliability and working features that wouldn't brick my WNDR3400.  To be precise, I used exactly this build:

ftp://ftp.dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/2013/05-27-2013-r21676/broadcom_K26/dd-wrt.v24-21676_NEWD-2_K2.6_mini-WNDR3400.chk

 Installing DD-WRT on the WNDR3400

Now, before you try to do this, just remember that this worked perfectly for me but it may not work for you at all. So please proceed at your own risk. After all, some people do things like drive their car to the repair shop because the oil light is flashing red.

Once I downloaded the firmware build noted above, I installed the firmware using the following procedure:
  • Turned off my computer's wifi
  • Connected my computer to the router's port #1 via an ethernet cable.
  • Restarted the WNDR3400 via its power switch
  • Fired up Firefox on my computer
  • Entered the Netgear firmware update page on http://192.168.1.1/
  • Used the Netgear's firmware update page to install the firmware.
  • Waited about 5 minutes
After installation (again, about 5 minutes), the WNDR-3400 rebooted and the DD-WRT login page appeared.  After that, I used the DD-WRT configuration pages to set up the access point exactly how I like:
  • Set the local password
  • Set the SSID and WPA2 password
  • Configured DDNS
  • Configured SSH
  • Configured port forwarding, static DNS entries, etc.
After configuring all this I did a speed test.    Performance was as awesome - just as good as a hard-wired connection to my cable modem.

Now my WiFi is fast, reliable, and has DD-WRT.  My old v2 router will go to my family, who can use it without DD-WRT.

My WNDR3400 v1 in action with DD-WRT!
Issues with r21676

The only impactful bug I have found so far is related to SSHd.  Despite leaving the private sshd port  22 and putting the public sshd port on 10002, SSHd was publicly listening on 22 and 10002.  This is behavior is different than other DD-WRT builds I have used. 

My simple work-around was to have sshd only available on 10003.  Interestingly, I didn't immediately see this via iptables or netstat.  It took a portscan for me to reveal this.

 So far I find the WNDR3400 very reliable.  It has been up and running for more than a month without any known issues.

Installing DD-WRT on a WNDR3400v2

I have read about some people being successful installing DD-WRT on a v2, but I was unwilling to try - the evidence I saw out there wasn't that strong or compelling.  But if you try, please let me know the outcome in the comments.

Saturday, July 26, 2014

Let's make biking to work for everyone


I live in the city and generally take public transit to work.  But commuting via bicycle is always an option.

Unfortunately, the vast majority of the bikes on the market aren't suitable for commuting.  They pretty much require that you dress in "biking clothes" and take on a life style called Urban Biker.  No other form of commuting requires special garb.

Unacceptable bikes do the following:




  • Spray mud on your butt and back
  • Get grease on your pants
  • Are too fragile to leave outdoors
That's garbage, and the Europeans know it.  They have city bikes, which are much like the bikes we used to have here in the states.  They are designed to help anyone of any age get around the city - to work, the grocery, or the library.

So in this article I list out what I want from a Commuting City Bike.  Bike manufactures, do your best!  You're almost there.  There is money in this stuff if you think like Steve Jobs.

So that I can dress for work and not get slopped up
  • Step through frame
  • Effective fenders
  • Skirt guards
  • Sealed drivetrain (such as a full chain case)
  • Upright seating
So that I don't have to worry about my bike
  • Weatherproof for leaving outdoors
  • Built-in security locks
  • Reasonably priced - should be much cheaper than a fair used car
  • Small enough to lug indoors
So that I can carry stuff
  • Reasonable baskets
  • Luggage racks
So that I can ride safely
  • Built-in, automatic lights
  • Reflective surfaces
  • Built-in bell
So that I can pedal
  • Some gearing for some minor hills, erring towards granny
  • Platform pedals
  • Reasonable weight
  • Low rolling-resistance tires
So that I can minimize maintenance
  • Puncture-resistant tires
  • Sealed drivetrain
  • Designed to be left in the rain/snow/sun
  • Appropriately robust
These are just good ideas, but some great ideas may obviate the need for some of my line items.

OK folks, tell me what fits the bill in the comments, or tell me what else YOU would like to see in a great commuting city bike!

Your Privacy Quotient

We all have the expectation of privacy, right?  But how private of a person are you?

Here's how to calculate your privacy quotient!

Add up the following "points" as for each item below.  The resulting number will be used to calculate your personal Privacy Quotient:

Card Usage - Tracking your purchases

  • 1 - Do you use store "rewards cards"?
  • 5 - Do you use a credit or debit card for most purchases?
  • 5 - Do you shop for and buy goods on-line?

Banking - Tracking your income and spending

  • 1- Do you have direct deposit?
  • 1- Do you have a bank account?
  • 1- Do you have a mortgage or loan?

Internet - Tracking your relationships and opinions
  • 5- Do you use an internet service provider?
  • 5- Do you use Web Mail, such as gmail?
  • 5- Do you use a social web sites such as Facebook?
  • 5- Do you use Google to search the Internet?
Telephone - Tracking your location

  • 5- Do you have and use a mobile phone?
  • 1- Do you have a landline?
  • 1- Do you have a home security system?

Transportation - Tracking your travels

  • 1- Do you drive a car?
  • 1- Do you have a toll transponder?
  • 1- Do you use a train/bus/subway pass?


Now, here is YOUR privacy quotient:

0..1
Wow!  You are a private person.

2..4 
Good, respectable privacy.  Corporations only know you a little bit.

5..7
Ouch, you're being tracked pretty heavily.

8..15
You're looking for trouble, as your data is all over the place.  Corporations know where you are and who you are most of the time.

15+
Big Brother is your Big Brother.  Your life is well known to millions of corporations.  They almost always know exactly where you are (± 3 meters).  They know almost exactly how much money you make and where you spend it.  They also know your political views, your likes, and your dislikes.  They know your favorite food, and your dog's name (if you have one).



Share