Linksys WRT310N v2.0
From DD-WRT Wiki
This page reserved for Linksys WRT310N v2.0 only
1. Method A) While on, push and hold down the reset button continously for 30 seconds, unplug the power while continuing to hold for another 30 seconds, then plug back in while continuing to hold reset button for a final 30 seconds. (90 second button hold-down time)
Method B) plug the router in and hold down the reset button imediatly for 5 seconds.
2. Go to http://192.168.1.1/ and you'll see a "management" page with two options, to upload a new firmware and Reset NVRAM, Click 'Reset NVRAM' Wait a few seconds and then proceed to update the firmware by going back to http://192.168.1.1/ and clicking 'Upload a new firmware' selecting and selecting the file mentioned below
Only use Broadcom K26 firmware images this one works and it's stable dd-wrt.v24-15778_NEWD-2_K2.6_mini_wrt310nv2.bin
After the upload completes, wait 3 minutes to let the router 'settle down' after the 'upgrade successful' message.
3. Now unplug your router for a minute, then plug back in. Go to http://192.168.1.1/ and you should see DD-WRT's control panel your router is now flashed to DD-WRT have fun and configure your router to your liking
Do not try to over clock this router or change the clock as stated previously keep it at 300Mhz or else it can and or will over heat