Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr1774 :: Router Hacking

A Quick What, Why, and How of Hacking Routers

<< First, < Previous, Latest >>

Host Image
Hosted by Jon Kulp on 2015-05-21 is flagged as Clean and is released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. | Comments (4)

Router Hacking

What

  • Flashing a router with alternate firmware

Why

  • Provide additional features
  • Improve performance
  • Privacy (gets rid of unwanted spyware)
  • Fun

Where

How: Steps for My Latest Hack

  1. Find used Netgear WNDR3400 router on shelf at local Goodwill store, priced at $3.99.
  2. Use my smartphone to check the dd-wrt database to see if this router is hackable.
  3. Grin broadly upon seeing the green "Yes" beside router WNDR3400.
  4. Double-check that power supply is included, find an AC outlet and plug in to be sure it powers on and my phone sees its ESSID. Yep and yep.
  5. Take router to cashier and purchase.
  6. Do hard reset of router to clear any previous configuration.
  7. Hook a laptop up to router using ethernet patch cable (turning off WiFi adapter on laptop).
  8. Access router's configuration in web browser at default router address of 192.168.1.1 just to confirm that it works.
  9. Go back to the dd-wrt router database and find the router again, then download the corresponding "mini" and the "mega" versions of dd-wrt firmware (The mega version has the most features—including USB support, which I wanted—but on many routers, including this one, you have to install the mini version first or else you could brick the router)
  10. Read over the dd-wrt wiki page for this specific router just to see if there's anything unusual about the hack. There's not.
  11. Go to the router's stock configuration page again and find the "Firmware upgrade" button.
  12. Click the button and choose the "mini" version of the dd-wrt firmware, and click upgrade, then wait while crossing fingers until it says firmware successfully upgraded.
  13. Refresh the configuration page at 192.168.1.1 and see the new dd-wrt configuration interface.
  14. Pat myself on the back because I have just hacked another router. Hray!
  15. Find the upgrade firmware area on the new dd-wrt interface, and this time choose the "mega" firmware file and submit, then wait and cross fingers as before. Celebrate when it works.
  16. Configure newly hacked router as wireless bridge (this is NOT going to be my main router), enable the USB and printer support, hook up our formerly-usb-only printer to the router, and configure household computers to be able to print wirelessly to the newly-networked printer.
  17. Enjoy kudos from appreciative family.

Comments

Subscribe to the comments RSS feed.

Comment #1 posted on 2015-05-22T09:35:45Z by Ken Fallon

You say Tomato

I think we can reveal Jon as a British Agent. He definitely said /təˈmɑːtoʊ/

http://en.wikipedia.org/wiki/Shibboleth
http://en.wikipedia.org/wiki/Tomato#Pronunciation

Comment #2 posted on 2015-05-27T10:34:56Z by Mark

Wanted to try this before.

I had thought about flashing a router before, now Jon gave a few ideas as to why. So now I have a D-Link DIR-601 purchased at a garage sale to experiment with. So far the experience was good, taking only 10 seconds or less to flash dd-wrt on it. Looking forward to seeing what it can do. Thanks for the tip about using a router to connect a printer to the network. Now to find a router with USB connectivity as my old printer does not have that option.

Comment #3 posted on 2015-06-01T18:43:14Z by FiftyOneFifty

Single board options

This is more of a reply to Ken Fallon's comments on the Community News than to the original audio. Ken, the Banana Pi router, with four Ethernet ports, is I believe the only single board solution if you want to build a firewall (though I'm not aware that any of the firewall distros have been ported to ARM. Ken is right, most of the single board computers (with the exception of ODroid) drive the Ethernet port via the slower USB bus, and the only way to add another Ethernet port is to use a USB adapter anyway.

Comment #4 posted on 2015-06-12T16:37:01Z by Urugami

This is something I've been wanting to do for a long time now, since my house is not set up to run wires everywhere.
I've been looking at the Gargoyle router mgmt software, based on OpenWRT, to flash onto my WRT54GL. When I'm setting up the home office, this will definitely be on the list of things to do

Leave Comment

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to
record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?