Linksys WRT300N v1.1

{{Infobox Embedded System
 * image1            = Linksys_WRT300N_01.jpg
 * image1_size       = 200px
 * caption           = Wireless-N Broadband Router
 * caption2          =
 * pp                =
 * sp                = http://support.linksys.com/en-us/support/lbc/WRT300N
 * dl                =
 * wikidevi          = Linksys_WRT300N_v1.1
 * wikipedia         =
 * ddwrtsupport      = Supported
 * openwrtsupport    =
 * tomatosupport     =
 * gargoylesupport   =


 * brand             = Linksys
 * model             = WRT300N
 * submodelappend    =
 * submodel          =
 * revision          = v1.1
 * subrevision       =
 * model_part_num    =
 * wlclass           = N300
 * series            = WRT300N
 * type              = wireless router
 * sernum            = CNP1
 * fcc_id            = Q87-WRT300NV11
 * icid              = 3839A-WRT3NV11
 * us_id             =
 * boardid           =
 * ecc_id            =


 * cpu1chip1         = Broadcom;BCM4705L;BCM4705LKFBG;(BCM4785 chip rev 2)
 * cpu1_cores        = 1
 * cpu1_type         = BMIPS3300
 * cpu1_type_rev     = (R1}
 * cpu1spd           = 300
 * bus               =


 * flash1type        =
 * fla1_num          =
 * fla1chip          = Samsung;K8D6316UBM-PI07;
 * flash1size        = 8
 * flash1maxsize     =


 * ram1type          =
 * ram1type1         =
 * ram1spd           =
 * ram1size          = 32
 * ram1chip          = NANYA;NT5DS8M16F5-5T;0716 NT5DS8M16F5-5T 527114W1AC;
 * ram1_num          = 2
 * nvramsize         = 32


 * eth_cpu           = true
 * sw1chip           = Broadcom;BCM5325E;BCM5325EKQMG
 * wan_ports         = 1
 * wan_speed         = 100MbE
 * lan_ports         = 4
 * lan_speed         = 100MbE
 * ethstandard       =
 * portbasedvlan     =
 * 802.1qvlan        =
 * auto_mdix         =
 * sup_jumbo         =
 * ethoui            = 00:1A:70, 00:1C:10
 * oui               = 00:1A:70, 00:1C:10


 * bootwait          =
 * stockbootloader   = CFE;;;
 * stockos           = Linux;;;


 * exp_if_types      =


 * pwr_volt_type     = VDC
 * pwr_vdc           = 12
 * pwr_amp_dc        = 1
 * pwr_conn          = barrel
 * pwr_barrel_outer  =
 * pwr_barrel_inner  =
 * pwr_barrel_len    =
 * pwr_pol           =


 * serial            = yes,, 5-pin header,, unpopulated,, (115200 8N1)
 * jtag              = yes,, 12-pin header,, unpopulated,, micro


 * specialfeat       =
 * flags             =
 * addchip           =
 * 802dot11_protocols = bgn


 * defaulip          = 192.168.1.1
 * defaultlogin      =
 * defaultpass       = admin
 * defaultssid       = linksys
 * defaultssid_regex =
 * default_ch        = 6
 * manuf             = CyberTAN
 * manuf_model       =
 * manuf_rev         =
 * is_manuf          = No
 * tpfirmware        = DD-WRT


 * availability      =
 * eoldate           =
 * fccapprovdate     = 02/06/2007
 * estreldate        =
 * estprice          =
 * upc               =
 * ean               =
 * dx_sku            =
 * newegg            =
 * asin              =
 * asin_country      =
 * asin2             =
 * asin_country2     =
 * countrymanuf      = China


 * buttons           =
 * led               =
 * dimensions        =
 * weight            =


 * rad1chip1         = Broadcom;BCM4321;BCM4321LKFBG;
 * rad1chip2         = Broadcom;BCM2055;
 * rad1oui           =
 * rad1_ant_conn     =
 * rad1txchains      = 2
 * rad1rxchains      = 2
 * rad1sstreams      = 2
 * rad1stand         = IEEE 802.11b/g/n
 * rad1n             = 300
 * rad1g             = 54
 * rad1b             = 11
 * rad1freq          = 2.4
 * rad1correv        =
 * rad1cap           =

}}

Links of Interest

 * Listed on the 'Linksys routers' page on Wikipedia
 * 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

 * Project:DD-WRT/VLAN Support

Pictures
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 &