Adventures in DD-WRT Routing Firmware

Has been a very productive morning already.  Got linux running on my Linksys WRT54GS router (which previously had some horrible excuse for a firmware running on it).  Everything seems to be a lot zippier now and the GUI system for admin is much nicer and expansive.

Read about DD-WRT here

I was having problems with my connection randomly dying a couple times a day, forcing me to power cycle my cable mode / router.  So this was something that had to be done.  If you have one of these routers (they are indeed quite popular), I would recommend undergoing this process as it seems you can get a lot more for your money in this device.

The router also has this problem with P2P apps or any software that generates a lot of connections.. any way here are some commands to execute in Telnet to fix this kind of problem:

The following instructions are for DD-WRT only

~ # nvram set rc_startup=”
> echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
> echo 1 > /proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
> echo ‘600 1800 120 60 120 120 10 60 30 120′ > /proc/sys/net/ipv4/ip_conntrack_tcp_timeouts
> “
~ # nvram commit
~ # reboot

Make sure your “Maximum Ports” is set to 4096 on the Management page of your Admin GUI

Footnote:  rockin’ out to Alabama 3 this morning per Dan’s recommendation.  Pretty rockin tunes!

Leave a Reply