Flashing Linksys E2000 Router with DD-WRT

No Network.png

When it comes to home networking, I have lost some “Geek Points” in the last few years. In general, I don’t find all the bits that go into networking all that interesting, I know the basics, have had my network doing what I want it to do and have basically neglected it for some time. If I need real help I will lean on my brother in-law to help me sort out the netmasks or routing tables or whatever else by which I am less excited. To the level I have come to understand I have gotten what I needed working so why think about it… That was until my router, already running DD-WRT, started to give me some problems.

Using Speedtest.net I was only getting 12 Mbps on the Wireless and around 70 Mbps on the wired Ethernet. This was becoming increasingly annoying as most of my work requires reliable internet connection so I started running CAT5 to each computer in my SuperCubicle plus one extra for a future project.

Productivity had been restored, so long as I was wired. Then one morning the wireless just stopped altogether. The wired Ethernet was still routing but the traffic on the wireless just stopped routing traffic all together.

Hardware

Linksys E2000.png
Linksys E2000

Not a very complex network and would have been something great 8 years ago for a home network but today, the idiom “long in the tooth” would be an understatement. I have a DOCSIS 3 Modem, which is new and trouble free that is connected to a Linksys E2000 router running DD-WRT. Attached to that is a Linksys 16-port EZXS16W switch. From that switch there are about 10 ports used up.

 

Linksys EZXS16W
Linksys EZXS16W 16-Port Switch

In order to bring the wirless back up, I tried to adjust some of the settings and nothing seemed to save. It was like it was working and not working in the same stroke. Rebooting the router didn’t change anything, it was still in a kind of undead state. I was unsuccessful with everything I tried. I saw only one option, factory reset the router and upgrade the firmware.

Firmware Flashing Complications

Using the DD-WRT Router Database I searched for the Linksys E2000 and downloaded the latest “Mega” firmware. Based on my understanding and referencing the wiki page, I just needed to update the firmware with the latest “Mega”. I did the initial attempt at flashing the firmware with the Falkon browser, it didn’t take. I got the “Flash Failed” error. I did it again but disabling the Ad Blocker thinking that might have been the problem but it still didn’t work. I tried Firefox and the Konqueror browser. All failed.

I downloaded the “Big” version and tried it again but with no success. What finally worked was upgrading with the DD-WRT: Factory Flash dd-wrt.v24-37305_NEWD-2_K2.6_mini-e2000.bin (at the time of writing, November 2018).

This flash was successful a since I didn’t need any of those extended features, the Mini was plenty good for what I need to do with it, at least for the short term.

Features I use

I don’t have a whole lot of requirements for my router at this time. What is important to me are the following features less common in typical consumer wireless router / switch / firewall / gateways:

DNSMasq

DNSmasq is a local DNS server. It will resolve all host names known to the router from dhcp (dynamic and static) as well as forwarding and caching DNS entries from remote DNS servers. Local DNS enables DHCP clients on the LAN to resolve static and dynamic DHCP hostnames. This is especially important when communicating with computers through the terminal or doing SFTP transfers. Rather than typing out the IP address, I can just type the computer’s hostname.

DHCP Static Lease

I have a few devices on my network that it is important that the IP address doesn’t change, specifically my HP OfficeJet All-In-One printer and my server.

DHCP LAN Domain

I like to set a LAN domain, not really a necessity but I like to have one for fun and fashion.

Next Steps

My home network hardware is aging and needs several upgrades. I think I am going to start with a pfSense Box probably use some sort of older x86 machine with a couple NICs, use the current router as a Wireless Access Point then look at changing out my 16-port switch to some sort of Gigabit Switch with about the same number of ports. Judging by my cursory review of the setup and features, I will have to make a significant time investment.

Network Cable Nest.jpg

Final Thoughts

It is remarkable how quickly one’s morning priorities can change when the network becomes largely inoperable. It is also remarkable how quickly it seems like your network components age when you are not thinking about it.

This little “breakdown” has inspired me to begin making the changes to my network. Future blatherings to come from this as I make the upgrades and figure out what works best for my home network.

Further Reading

https://wiki.dd-wrt.com/wiki/index.php/Linksys_E2000

Linksys E2000 DD-WRT Wiki page

https://www.pfsense.org/

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s