Linksys WRT300N v1.1

Links of Interest

 * WRT300N v1.1 - Now supported! - See page 15 @ DD-WRT
 * Linksys WRT300N v1.1 JTAG @ DD-WRT

Flashing DD-WRT

 * 1) Download DD-WRT v24 Mini from this link: ftp://dd-wrt.com/others/eko/BrainSlayer-V24-preSP2/09-08-09-r12874/broadcom/dd-wrt.v24_mini_wrt300nv11.bin
 * 2)  Read the peacock announcement found here:http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486
 * 3) Do a proper Hard reset or 30/30/30 on your router.
 * 4) Set your computer to a static IP address of 192.168.1.7 Subnet mask to 255.255.255.0
 * 5) Plug a lan cable from your computer to a LAN port on the router. Disable any wireless on your computer
 * 6)  Open your web browser to 192.168.1.1
 * 7) Find any settings you might want to keep and copy them down or cut and paste them(e.g. MAC addresses for MAC filtering)
 * 8) Go to Administration, Firmware upgrade, in the linksys webgui.
 * 9) Browse to the dd-wrt.v24_mini_wrt300nv11.bin you downloaded, and hit upgrade.
 * 10) Wait until you can access the dd-wrt webgui at 192.168.1.1
 * 11) Power cycle the router
 * 12) Wait until you can access the dd-wrt webgui at 192.168.1.1
 * 13) Do ANOTHER Hard reset or 30/30/30 on the router.
 * 14) Go in and set your user name and password by carefully typing each of them in.
 * 15) Set your computer to auto IP and auto DNS.

JTAG Pinouts
 nTRST 1o o2  GND TDI 3o o4  GND TDO 5o o6  GND TMS 7o o8  GND TCK 9o o10 GND nSRST 11o o12 N/C

Serial Pinouts
JP2  VCC 1 o  (3.3 volts) RX 2 o  TX  3 o N/C  4 o GND  5 o  (This is the pin closest to where it            states CB1 on the board on a Ver1.1)

DD-WRT Serial Recovery
Modified redhawk0 instructions
 * 1) Print out these instructions for Off-Line use
 * 2) Connect PC to router with a network cable
 * 3) Configure PC with a static IP of 192.168.1.10
 * 4) Connect Serial cable
 * 5) Start one of the programs from above
 * 6) Get TFTP ready with file selected
 * 7) Use dd-wrt.v24_mini_wrt300nv11.bin
 * 8) Connect power to the router
 * 9) start a rapid fire Cntl-C as you plug the router to power
 * 10) type "nvram erase" w/o quotes, hit enter
 * 11) type "flash -noheader : flash1.trx" w/o quotes, this starts the tftp daemon, hit enter
 * 12) but have TFTP ready
 * 13) Click go or start on TFTP
 * 14) give it 5 minutes after it finishes
 * 15) then power cycle....Hard reset or 30/30/30...then config
 * 16) when it stops spitting out txt....hit the enter key...you should get a login prompt...at that point, power cycle it, hard reset...then config
 * 17) you'll see it boot up

DD-WRT vlan Info

 * DD-WRT:VLAN Support

Pictures
Cisco's Images

DD-WRT Debricking information
Here is a thread which contains a JTAG method for debricking your WRT300N v1 and v1.1 model.

For further information about JTAG please see the wiki entry entitled TJTAG.


 * Linksys 300N - Bricked due to no power cycle (Solved)
 * Bricked wrt300n v1.1 power went out during upgrade

DD-WRT Post-Installation
Once you have completed all of the steps above, your router is already set and ready to be used, configured, etc.

Known DD-WRT Issues

 * Versions 1.0 and 2.0 of this router have 4MB flash, so JFFS will not work with the standard distros. Version 1.1 has 8MB of flash so may (untested) work with JFFS
 * I use static DHCP for my network and found that this page had strange errors (incorrect labels, missing radio buttons). To fix this, navigate to Administration -> Factory Defaults and then restore the factory defaults to the router.
 * Relatively same issue with MAC filtering where the word "error" replaced labels.
 * When editing settings on the Administration page for the first time (after flash or hard reset), make sure that you change the interface language dropdown to Simplified Chinese, then back to English. Otherwise the router will end up in Simplified Chinese until you either change it, or hard reset the router.
 * If you did not hard reset the router before you installed DD-WRT, then the login information is as follows:
 * Username: root
 * Password: Whatever your password was
 * Hard reset the router if you cannot figure out the login information. Refer here for the default login information.
 * Occasionally after changing a setting, the router will lose its connection to the internet. All you need to do to restore the connection is navigate to the Administration page and scroll to the bottom and hit the Reboot Router button.
 * I recommend that you change all the settings you want to change then reboot the router regardless.

DD-WRT Security LED

 * (solved) Security LED Script WRT300n v1.1 @ DD-WRT

 while sleep 1; do if [ `nvram get wl0_security_mode` = "disabled" ]; then gpio enable 3; else gpio disable 3; fi; done & As posted by osmosis
 * The security LED will not light up after flashing on version 1.1. To fix this, go to Administration > Commands, type in the following and then click Save Startup:

On the wiki for 150N is posted  root@DD-WRT:~# gpio enable 5 #(SECURITY LED - off - green) root@DD-WRT:~# gpio disable 5 #(SECURITY LED - on - green) root@DD-WRT:~# gpio disable 3 #(SECURITY LED - on - amber) root@DD-WRT:~# gpio enable 3 #(SECURITY LED - off - amber) this applies for the WRT300Nv1.0 as well so to incorporate the amber into the mix as not secure: Also confirmed working on the WRT300N v1.1 02:40, October 1, 2010 (UTC)  while sleep 1; do if [ `nvram get wl0_security_mode` = "disabled" ]; then gpio enable 5 gpio disable 3 else gpio enable 3 gpio disable 5 fi done &