Adding static DNS records on DD-WRT

Every needed to manually control host/domain IPs using the hosts file? Well, good thing most computers have a hosts file, but what do you do with other devices that do not support such a feature.

If you’re running a DD-WRT router, by using DNSMasq the DNS change will work for all devices that connect to your router, including mobile devices.

Maximizing Netgear WNDR4500v2 functionality with DD-WRT (USB, FTP, Samba, TFTP, Printer sharing)

The Negear WNDR4500v2 router is quite a beefy piece of hardware with advanced firmware, including plenty of features even for a maniac user like me.

I would most likely not have replaced it from day 1 however if it had one more feature that I absolutely needed: TFTP/PXE/BootP options for the DHCP server. There is where DD-WRT comes in…

Block outgoing SMTP from untrusted hosts with DD-WRT

One may find himself in the face the scenario of having to fix a friend’s infected computer and needing internet access to install/run cleanup utilities while at the same time trying to avoid spamming the internet and get the public IP blacklisted or even blocked.

Using a router running DD-WRT, this is easy to do using custom firewall rules…

Upgrading the SD card used on WRT54GL v1.1 running dd-wrt

If you’ve done the SD card mod on WRT54GL, you might at some point change it with a bigger / faster card. You could just replace the SD card with a bigger one, but then you’d have to install/re-configure everything set up on it (like Optware stuff). […]

Recovering a bricked Linksys WRT54GL v1.1 using JTAG – Part 1: the hardware

I got a Linksys WRT54GL v1.1 router that somewhat worked and somewhat didn’t: it booted alright (no led errors), responded to ping on its default IP (, bot other than that, it did not respond on the web interface, nor telnet/ssh, nor dhcp.

I tried the 30/30/30 reset , tried TFTP recovery – nothing worked.

As it had the original Linksys firmware, at this point it was either a hardware failure or the only recovery course would be the JTAG reflash.