Linksys WRT320N v1.0

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 19:14, 28 January 2011 (edit)
Masterman (Talk | contribs)
(Some other useful tips)
← Previous diff
Current revision (21:30, 25 September 2021) (edit) (undo)
Kernel-panic69 (Talk | contribs)
(Installation instructions)
 
(10 intermediate revisions not shown.)
Line 1: Line 1:
== WRT320N Information == == 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)
-Hardware:+*corerev: wl0=17
-CPU: BCM4717A 354MHz+*Flash/RAM: 8MB (serial) / 32MB
- +*Radio: b/g/n 2.4 GHz '''OR''' a/n 5 GHz ('''Not''' dual radio)
-flash: 8MB serial+*Wireless speed: up to 300 Mb/s
- +*Wireless MIMO config: 2x2:2
-ram: 32MB+*Antenna gain: 1st and 2nd main 1.5 dbi, 3rd antenna: 2.2 dBi
- +*Ethernet: Broadcom BCM4717A
-radio: A + G+*Switch: Broadcom BCM53115
- +*WAN/LAN: 4 / 1 (Gigabit ethernet)
-Antenna gain: 1st and 2nd main 1.5 dbi, 3rd antenna: 2.2 dBi+*S/N prefix: CUH0
-Gigabit ethernet+'''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.'''
- +
- +
- +
-'''You can reference the forum thread with 'Eko's original annoucement' with this link for more information'''+
-http://www.dd-wrt.com/phpBB2/viewtopic.php?t=63004&postdays=0&postorder=asc&start=0&sid=448736ea3b9606ac2e39d2994be3c17a+
- +
- +
-'''WARNING''': Seems that Linksys wired the 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.+
== Installation instructions == == 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]
-Links to build 13973:+*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.
-'''You will need this trailed build for the initial flash'''+#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
-ftp://ftp.dd-wrt.com/others/eko/V24-K26/svn13491-snow/Linksys/WRT320N/dd-wrt.v24-13493_NEWD-2_K2.6_mini_wrt320n.bin+#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
-'''After the initial flash with the above mini you can then use any of the other non trailed (bin's without the wrt320n name in it) K2.6 NEWD-2 Builds which can be found here'''...+#*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
-ftp://ftp.dd-wrt.com/others/eko/V24-K26/+*Switch your PC back to DHCP if needed
- +
-'''It is advised to use build 13493 or later for WPS button hard reset button support, reference "30-30-30 reset does not work" for more info regarding how to hard reset this unit.'''+
- +
-1) download trailed build mini with the WRT320N name in it, from the linksys firmware webgui on the wrt320N reset to defaults.+
- +
-2) once reset to defaults, IP for the router should be 192.168.1.1 that being said, set your pc to a static ip of 192.168.1.6 +
- +
-3) log back into linksys firmware webgui, go to upgrade and select the trailed 13493 k2.6 mini that you downloaded in the above link.+
- +
-4) wait about 5 minutes to make sure everything took, then reaccess webgui at 192.168.1.1, by this point it should be in dd-wrt webgui asking for user/pass, set a temporary one, once you have set it log out of the browser.+
- +
-5) unplug router, push and hold the WPS button on the front of the unit, while button still being held, plug the unit back in and continue holding button for 10-12 seconds, release+
- +
-6) everything should then again be in defaults, access webgui once again at 192.168.1.1, it should ask you to set a user/pass, do so, then begin your setup and enjoy dd-wrt+
- +
-Also if you intend on using DHCP networking, you will want to unset your static ip and make sure you have DHCP turned on within DD-WRT.+
- +
-Also bbb_forever posted a very good install method as well...+
- +
-http://www.dd-wrt.com/phpBB2/viewtopic.php?p=387012#387012+
== Updates == == Updates ==
-Work in progress....+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 [[Version_Features#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]]
===VLAN Support=== ===VLAN Support===
-It was previously believed that Broadcom gigabit models did not support reconfiguring VLAN's but this has been proven to be untrue. However, the VLAN GUI page does not properly configure the nvram variables associated with VLAN's and so you must configure the nvram variables manually. The [[Switched Ports]] page explains how to configure the nvram variables to get your VLAN's functional.+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.
- +
==Known issues with the WRT320N== ==Known issues with the WRT320N==
- 
-===FLAGEL's post=== 
- 
-[http://www.dd-wrt.com/phpBB2/viewtopic.php?p=396972&highlight=WRT320N#396972 Posted by FLAGEL 17-Jan-2010, last updated 05-Feb-2010] 
==='''30-30-30 reset does not work''' === ==='''30-30-30 reset does not work''' ===
Line 74: Line 48:
Linksys wired the reset button to the wrong GPIO, hence a 30-30-30 reset will 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, you must follow these steps...+In order to perform a hard reset on the WRT320N, follow these steps (using at least build 13493):
- +#Unplug router
-'''This method below only works with build 13493 or better'''+#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.
-1) Unplug router+#Release button after 10-12 seconds. Wait 2 minutes, then access webgui at 192.168.1.1
- +
-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. You can also perform a hard reset by telnet or ssh by entering the following commands into the CLI.
 + erase nvram && reboot
-'''erase nvram'''+==='''''Troubleshooting tips'''''===
- +Reference: [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=387012#387012 install post by bbb_forever]
-'''reboot'''+Router is not getting its WAN and DNS IP addresses from the ISP:
- +-Cycle power on the modem to reset the DHCP lease
-The unit should now be in defaults.+
- +
- +
-==='''''Some trouble-shooting tips''''': ===+
- +
-''If your router is NOT getting its WAN and DNS'' numbers properly from the cable Internet modem, then... +
- +
-- Un-plug the cable Internet modem and router, and disable your computer's LAN or Wireless adapter. +
- +
-- Re-plug the cable Internet modem, wait 1 full minute, then re-plug the DD-WRT router and wait 1 full minute. +
- +
-- Then enable your computer's LAN or Wireless adapter. +
- +
-- This should force the DHCP protocol to get the WAN, DNS, and local IPs from your ISP provider and give them to the modem, router, and computer LAN adapter correctly. +
- +
-- Then login to the DD-WRT Mini build, and go to the Status > WAN page to check the IPs numbers are displayed. +
- +
''If you lose Internet access'', but used to have it with the old router, then this may a possible remedy: ''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.:
-- Some Cable Internet providers, like Comcast, do NOT like an unknown (or foreign) MAC address device on its network, and it may (or may not) cut off Internet access within 5-30 minutes. +*Local computer's MAC address or previous router's WAN MAC address (look on the bottom of the router)
-- If that happens, then you will have to Clone the MAC Address to be the identical MAC address as either: +-Worst case, you may have to call the ISP to reset the allowed MAC address
- +
-(a) the local computer's MAC address or +
-(b) the previous router's WAN MAC address (yes, you might have to login to your old router to find it's WAN MAC address or look on the bottom of the router). +
- +
-- Think of your previous PC or router's MAC address as the "MAC password" to use the Cable Internet system (e.g. Comcast). +
-- Seriously, write the nasty hexadecimal MAC address down and keep it safe for any future changes to your router. +
- +
-- You may NOT have realized it, but Comcast does try to get and lock down the MAC address of the first router device at the time the ISP service is first installed and set-up. +
- +
-- If you want to deal with your ISP, you may have to call them to see if they can reset your MAC address to get the new MAC on your new router (instead of using the old router's MAC address). +
-- Sometimes, it's just easier and faster to Clone the MAC Address than to deal with the ISP customer rep (who may NOT understand what you're asking about), so you decide. +
- +
==Some other useful tips== ==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.
-This router, and it's newer counterpart (E2000) use the Broadcom 4717 CPU. Broadcom uses a default clock of 300MHz for the CPU, while Linksys has overclocked the CPU to 354MHz. This not only causes excessive heat which reduces routing performance, but is also responsible for many of the Wireless errors reported in the forum. It is suggested that you set the CPU clock to 300MHz until the developers have acknowledg the problem, and newer builds are released to fix it.+To set the clock speed to 300 MHz, use telnet, SSH, or ''Admin->Commands'' to run the following:
- +
-Open up a telnet or SSH prompt and login to your router. Type the following:+
- +
nvram set clkfreq=300,150,75 nvram set clkfreq=300,150,75
nvram commit nvram commit
reboot 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 [http://www.dd-wrt.com/phpBB2/viewtopic.php?p=471183#471183 WRT320N conversion to an E2000] forum thread.
-Some of the above problems, such as reset button and having enough NVRAM for openVPN can be fixed by converting your WRT320N into an E2000 - http://www.dd-wrt.com/phpBB2/viewtopic.php?p=471183&highlight=#471183 -buddee 
- 
-Also I have solved some of the cooling problems with these style of linksys units by adding rubber footing on the bottom of the unit for air flow, check this post for example. http://www.dd-wrt.com/phpBB2/viewtopic.php?p=475684&highlight=#475684 -buddee 
[[Category:Linksys guides]] [[Category:Linksys guides]]

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 HERE.
  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.