I have been planning for a couple of months to set-up an internet gateway running Linux. I wanted the opportunity to have a “production” place to setup and play with firewalls (iptables), logging and Intrusion Detection Systems but this would all cost me money and my money tree died long ago.
I am using a Linksys E3200 router, its sleek, got power and support 5Ghz wifi, it also provided the opportunity to flash the device with DD-WRT firmware.
A big problem for DD-WRT.com website is that the information is wildly out of date or messy. It took 3 days of reading the wiki, the database of supported devices and the forums before I had the confident that I could flash the router without bricking it. Let this be a warning to all that are interested in updating their router to custom / open-source firmware, if you do it wrong you will likely brick your device rendering it useless.
Normally a router will limit the user to the web interface when you connect to it via your web-browser. All the flexibility and power is hidden but we can set it free allowing us to make use of the 500Mhz processor, memory and providing you with a Linux interface.
Immediately this is acting like a mini-PC with enough power to run a mini distribution Linux, a firewall, IDS, Secure Shell (SSH), FTP, even a basic web host if you desire.
I followed the steps found at this wiki page, making a change only with the firmware version that I flashed the device with.
- READ the Peacock Announcement Carefully! http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486
- Disconnect all cables and wireless clients.
- Do a 30/30/30 reset on router
- Connect 1 Lan cable to pc doing the flash.
- Log into Web Interface and flash the firmware
17201 E3200 Trailed Initial Flash Builddd-wrt.v24-18946_NEWD-2_K2.6_mini-e3200.bin
- Wait 10 minutes until WLAN (wireless) light turns on.
- Power cycle by unplugging E3200 for 30 secs.
- Plug E3200 back in and wait about 5 minutes until it finishes booting.
- Do a 30/30/30 reset on router.
- Wait 3 minutes and log into web interface.
- Should you need to upgrade, for added features such as USB, do so using the nv60k builds – For example, the files will have this naming format – dd-wrt.v24-18946_NEWD-2_K2.6_mega-nv60k.bin
Be aware that the initial flash must be done using the mini-E3200 binary, if you try to jump straight to the other file it’ll brick your device.
The Mega file will open up features on your E3200 such as the USB driver. At the moment the 5Ghz wifi isn’t supported as the drivers for this have only just been released to the open-source community and is now being developed for future releases.