Linksys WRT320N v1.0

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:45, 7 December 2009 (edit)
DHC DarkShadow (Talk | contribs)

← Previous diff
Current revision (19:25, 8 March 2018) (edit) (undo)
Jeremywh7 (Talk | contribs)
m ([https://wikidevi.com/wiki/Linksys_WRT320N_v1 Hardware] Specs)
 
(47 intermediate revisions not shown.)
Line 1: Line 1:
-Hello!+== WRT320N Information ==
 +Linksys WRT320N is supported since build 12956 (2009-09-23), using kernel 2.6.
 +Device forum thread, for more information: [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=63004 Eko's original announcement]
-Linksys WRT320N is now supported - please use only special _wrt320n.bin builds (based on kernel 2.6).+===[https://wikidevi.com/wiki/Linksys_WRT320N_v1 Hardware] Specs===
 +*CPU Broadcom BCM4717A (354 MHz)
 +*corerev: wl0=17
 +*Flash/RAM: 8MB (serial) / 32MB
 +*Radio: b/g/n 2.4 GHz '''OR''' a/n 5 GHz ('''Not''' dual radio)
 +*Wireless speed: up to 300 Mb/s
 +*Wireless MIMO config: 2x2:2
 +*Antenna gain: 1st and 2nd main 1.5 dbi, 3rd antenna: 2.2 dBi
 +*Ethernet: Broadcom BCM4717A
 +*Switch: Broadcom BCM53115
 +*WAN/LAN: 4 / 1 (Gigabit ethernet)
 +*S/N prefix: CUH0
 +'''WARNING:''' Linksys wired the reset button to the wrong gpio, so hard reset doesn't work, and boot_wait is off by default. In DD-WRT, the reset button works, and boot_wait is enabled. Builds after 13493 must be used for WPS button hard reset support, reference "30-30-30 reset does not work" for more info regarding how to hard reset this unit.'''
-<big><big>'''WARNING: this is highly experimental and can brick your router.'''</big></big>+== Installation instructions ==
 +*For initial flash, a trailed build (with the model in the file name) is '''required''': [https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2010/08-12-10-r14929/broadcom_K26/dd-wrt.v24-14929_NEWD-2_K2.6_mini_wrt320n.bin 14929 K2.6 mini trailed build]
 +*After initial flash, upgrades can use any non-trailed generic (not nv60k nor nv64k) K2.6 builds from [https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/here].
 +#Download the trailed build (K2.6_mini_wrt320n.bin), then from the Linksys webgui, reset to defaults.
 +#Router default address is 192.168.1.1: Set your pc to a static IP e.g. 192.168.1.6 subnet 255.255.255.0
 +#In the Linksys webgui, go to Upgrade and flash the trailed build, then ''wait''' 5 minutes
 +#Open 192.168.1.1 to the DD-WRT GUI, set a user and password, then do a hard reset:
 +#*Unplug the router, push and hold the WPS button on the front
 +#*Plug the router back in, continuing to hold the button for 10-12 seconds, then release
 +#This should reset to defaults again: access the GUI to set a user and password, then set up DD-WRT
 +*Switch your PC back to DHCP if needed
-I'm afraid I have really bad news for all wrt320n users - the only way to unbrick it is using serial console, because cfe has wrong command to flash from tftp inside, and also reset button is not enabled is cfe. (Please - dump your anger at Linksys not at the messenger)+== Updates ==
 +Flash any generic (not nv60k nor nv64k) K2.6 (or [https://www.dd-wrt.com/phpBB2/viewtopic.php?p=986597#986597 K3.x]) build under 7995392 bytes (7808 KB)
 +*The WRT320N trailed build ''can'' be used, but is unnecessary when already running DD-WRT
 +*For build type info, see [https://www.dd-wrt.com/wiki/index.php/What_is_DD-WRT%3f#K2.6_Build_Features here]
 +*K3X builds have software expanded nvram, so is a workaround versus [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=471183#471183 converting to an E2000]
 +*SFE accelerated NAT was added since 33006 in k3.10+ (k3x is k3.10), useful for a main (gateway) router
 +*Repeater Bridge with WPA2-AES is broken for k2.6 builds after 25974, though some models might work through 26125
 +*The [[KRACK_Vulnerability_and_DD-WRT|krack fix]] (affects client/repeater modes) is in all kernels
 +*For download links and other info see the [[Firmware_FAQ#Where_do_I_download_firmware.3F|Firmware FAQ]]
-If you have serial console access:+===VLAN Support===
 +The VLAN GUI was fixed since build 15508, but may not work for some configurations. For details, see the [[Switched Ports]] for manual configuration of the nvram variables.
-To erase nvram inside cfe stop it and type:+==Known issues with the WRT320N==
-erase nvram+
-reboot+
-To flash new image you need to stop cfe and issue manual command:+==='''30-30-30 reset does not work''' ===
-flash -ctheader : flash1.trx+
-then start tftp transfer.+
-Right...here is "erase nvram" procedure. You need to open the router. Next to cpu you will see some gpio dots labeled like this:+Linksys wired the reset button to the wrong GPIO, hence a 30-30-30 reset will not work.
-<pre>+
- GPIO11 o <-copper dot here+
- GPIO12+
-GPIO15GPIO9+
- GPIO6+
- o <- copper dots+
- oo+
- o <--- this is gpio6 - short to ground+
-</pre>+
-And you see 4 copper dots at corner of cpu.+In order to perform a hard reset on the WRT320N, follow these steps (using at least build 13493):
-Cfe listens on gpio6 (like most other linksyses).+#Unplug router
 +#Press and hold the WPS button on the front of the unit.
 +#Plug power back in with button still pressed, hold down button for 10-12 seconds.
 +#Release button after 10-12 seconds. Wait 2 minutes, then access webgui at 192.168.1.1
-Disconnect power from router.+You can also perform a hard reset by telnet or ssh by entering the following commands into the CLI.
-Now get thin wire or needle and you need to ground GPIO6 (e.g to radio shield).+ erase nvram && reboot
-Keep grounded, plug power (let somebody help you if needed), keep grounded for 6-8 s, release.+
-This should erase nvram.+
 +==='''''Troubleshooting tips'''''===
 +Reference: [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=387012#387012 install post by bbb_forever]
 +Router is not getting its WAN and DNS IP addresses from the ISP:
 +-Cycle power on the modem to reset the DHCP lease
 +''If you lose Internet access'', but used to have it with the old router, then this may a possible remedy:
 +-Clone the MAC Address of the previously working device e.g.:
 +*Local computer's MAC address or previous router's WAN MAC address (look on the bottom of the router)
 +-Worst case, you may have to call the ISP to reset the allowed MAC address
-If you are still willing to proceed:+==Some other useful tips==
 +This router, and the newer E2000, use the Broadcom 4717 CPU. Broadcom uses a default clock of 300MHz for the CPU, while Linksys has overclocked the CPU to 354MHz. Along with the low-airflow case design, this can cause excessive heat and reduce routing performance. It may also responsible for many of the wireless issues reported in the forum. It is suggested that you set the CPU clock to 300MHz or improving cooling via airflow improves and/or adding a heatsink. Airflow can be improved by drilling cooling holes, or more easily by [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=475684#475684 adding rubber footing on the bottom] of the unit.
-Upgrade is straightforward - use GUI to upload new firmware. I suggest to use mini build first - then upgrade to desired build. Don't forget to restore to defaults.+To set the clock speed to 300 MHz, use telnet, SSH, or ''Admin->Commands'' to run the following:
 + nvram set clkfreq=300,150,75
 + nvram commit
 + reboot
 +*Note: telnet/ssh ''user'' is root, and ''password'' is same as the GUI
 +*In the GUI ''Commands'', run each line separately, or separate the commands with a semicolon.
-Old wrt320n thread for reference is here http://www.dd-wrt.com/phpBB2/viewtopic.php?t=49362+The reset button and low NVRAM (e.g. for openVPN) issues can be fixed by using buddee's [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=471183#471183 WRT320N conversion to an E2000] forum thread.
-Hardware:+[[Category:Linksys guides]]
-CPU: BCM4717A 354MHz+
-flash: 8MB serial+
-ram: 32MB+
-radio: A + G+
-Antenna gain: 1st and 2nd main 1.5 dbi, 3rd antenna: 2.2 dBi+
-Gigabit ethernet+
- +
-WARNING: Seems that Linksys wired reset button to wrong gpio, so 30-30-30 reset doesn't work on this router. Reset button works when dd-wrt runs). Also boot_wait is turned off by default (once you load dd-wrt, it is set to on)+
- +
-Feedback welcome.+
- +
- +
-[http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24-K26/svn12982/dd-wrt.v24-12982_NEWD-2_K2.6_mini_wrt320n.bin dd-wrt mini]<br>+
- +
-[http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24-K26/svn12982/dd-wrt.v24-12982_NEWD-2_K2.6_std_wrt320n.bin dd-wrt std]+
- +
-[http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24-K26/svn12982/dd-wrt.v24-12982_NEWD-2_K2.6_openvpn_wrt320n.bin dd-wrt openvpn]+
- +
-[http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24-K26/svn12982/dd-wrt.v24-12982_NEWD-2_K2.6_big_wrt320n.bin dd-wrt big]+
- +
-Check for new builds are under my downloads, [ftp://dd-wrt.com/others/eko/V24-K26/ /V24-K26] and subfolders.+

Current revision

Contents

[edit] WRT320N Information

Linksys WRT320N is supported since build 12956 (2009-09-23), using kernel 2.6. Device forum thread, for more information: Eko's original announcement

[edit] Hardware Specs

  • CPU Broadcom BCM4717A (354 MHz)
  • corerev: wl0=17
  • Flash/RAM: 8MB (serial) / 32MB
  • Radio: b/g/n 2.4 GHz OR a/n 5 GHz (Not dual radio)
  • Wireless speed: up to 300 Mb/s
  • Wireless MIMO config: 2x2:2
  • Antenna gain: 1st and 2nd main 1.5 dbi, 3rd antenna: 2.2 dBi
  • Ethernet: Broadcom BCM4717A
  • Switch: Broadcom BCM53115
  • WAN/LAN: 4 / 1 (Gigabit ethernet)
  • S/N prefix: CUH0

WARNING: Linksys wired the reset button to the wrong gpio, so hard reset doesn't work, and boot_wait is off by default. In DD-WRT, the reset button works, and boot_wait is enabled. Builds after 13493 must be used for WPS button hard reset support, reference "30-30-30 reset does not work" for more info regarding how to hard reset this unit.

[edit] Installation instructions

  • For initial flash, a trailed build (with the model in the file name) is required: 14929 K2.6 mini trailed build
  • After initial flash, upgrades can use any non-trailed generic (not nv60k nor nv64k) K2.6 builds from [1].
  1. Download the trailed build (K2.6_mini_wrt320n.bin), then from the Linksys webgui, reset to defaults.
  2. Router default address is 192.168.1.1: Set your pc to a static IP e.g. 192.168.1.6 subnet 255.255.255.0
  3. In the Linksys webgui, go to Upgrade and flash the trailed build, then wait' 5 minutes
  4. Open 192.168.1.1 to the DD-WRT GUI, set a user and password, then do a hard reset:
    • Unplug the router, push and hold the WPS button on the front
    • Plug the router back in, continuing to hold the button for 10-12 seconds, then release
  5. This should reset to defaults again: access the GUI to set a user and password, then set up DD-WRT
  • Switch your PC back to DHCP if needed

[edit] Updates

Flash any generic (not nv60k nor nv64k) K2.6 (or K3.x) build under 7995392 bytes (7808 KB)

  • The WRT320N trailed build can be used, but is unnecessary when already running DD-WRT
  • For build type info, see here
  • K3X builds have software expanded nvram, so is a workaround versus converting to an E2000
  • SFE accelerated NAT was added since 33006 in k3.10+ (k3x is k3.10), useful for a main (gateway) router
  • Repeater Bridge with WPA2-AES is broken for k2.6 builds after 25974, though some models might work through 26125
  • The krack fix (affects client/repeater modes) is in all kernels
  • For download links and other info see the Firmware FAQ

[edit] VLAN Support

The VLAN GUI was fixed since build 15508, but may not work for some configurations. For details, see the Switched Ports for manual configuration of the nvram variables.

[edit] Known issues with the WRT320N

[edit] 30-30-30 reset does not work

Linksys wired the reset button to the wrong GPIO, hence a 30-30-30 reset will not work.

In order to perform a hard reset on the WRT320N, follow these steps (using at least build 13493):

  1. Unplug router
  2. Press and hold the WPS button on the front of the unit.
  3. Plug power back in with button still pressed, hold down button for 10-12 seconds.
  4. Release button after 10-12 seconds. Wait 2 minutes, then access webgui at 192.168.1.1

You can also perform a hard reset by telnet or ssh by entering the following commands into the CLI.

erase nvram && reboot

[edit] Troubleshooting tips

Reference: install post by bbb_forever Router is not getting its WAN and DNS IP addresses from the ISP: -Cycle power on the modem to reset the DHCP lease

If you lose Internet access, but used to have it with the old router, then this may a possible remedy: -Clone the MAC Address of the previously working device e.g.:

  • Local computer's MAC address or previous router's WAN MAC address (look on the bottom of the router)

-Worst case, you may have to call the ISP to reset the allowed MAC address

[edit] Some other useful tips

This router, and the newer E2000, use the Broadcom 4717 CPU. Broadcom uses a default clock of 300MHz for the CPU, while Linksys has overclocked the CPU to 354MHz. Along with the low-airflow case design, this can cause excessive heat and reduce routing performance. It may also responsible for many of the wireless issues reported in the forum. It is suggested that you set the CPU clock to 300MHz or improving cooling via airflow improves and/or adding a heatsink. Airflow can be improved by drilling cooling holes, or more easily by adding rubber footing on the bottom of the unit.

To set the clock speed to 300 MHz, use telnet, SSH, or Admin->Commands to run the following:

nvram set clkfreq=300,150,75
nvram commit
reboot
  • Note: telnet/ssh user is root, and password is same as the GUI
  • In the GUI Commands, run each line separately, or separate the commands with a semicolon.

The reset button and low NVRAM (e.g. for openVPN) issues can be fixed by using buddee's WRT320N conversion to an E2000 forum thread.