Linksys WRT320N v1.0

From DD-WRT Wiki

Revision as of 11:46, 27 August 2010 by Buddee (Talk | contribs)
Jump to: navigation, search

Contents

WRT320N Information

Linksys WRT320N is now supported - please use only special _wrt320n.bin builds (based on kernel 2.6).

Hardware: 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: this is highly experimental and can brick your router.


I'm afraid I have really bad news for all wrt320n users - the only way to unbrick it is by using a serial console, because cfe (common firmware environment) has the wrong command to flash from tftp inside; also, the reset button is not enabled in the cfe (please - dump your anger at Linksys not at the messenger!).

You reference the forum thread with 'Eko's original annoucement' with this link for more information http://www.dd-wrt.com/phpBB2/viewtopic.php?t=58566&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.

Simple installation instructions

Links to build 13973:

You will need this trailed build for the initial flash

ftp://ftp.dd-wrt.com/others/eko/V24-K26/svn13491-snow/Linksys/WRT320N/dd-wrt.v24-13493_NEWD-2_K2.6_mini_wrt320n.bin

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

ftp://ftp.dd-wrt.com/others/eko/V24-K26/

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 / 255.255.255.0 that being said, set your pc to a static ip of 192.168.1.6 / 255.255.255.0

3) log back into linksys firmware webgui, go to upgrade and select the trailed 13493 k2.6 mini that you downloaded.

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.

Updates

Work in progress....

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.


Known issues with the WRT320N

FLAGEL's post

Posted by FLAGEL 17-Jan-2010, last updated 05-Feb-2010

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, you must follow these steps...

This method below only works with build 13493 or better

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

The unit should now be in defaults.

bbb-forever's post

Posted by bbb_forever Christmas Day(!) 2009, last updated 17-Jan-2010

Instructions on How to flash-install DD-WRT onto your Linksys 320n router for the FIRST TIME

Sayling - before starting any of this, I would recommend printing this page, making a note of your current MAC address for your router, downloading the mini build and any other subsequent builds you want to flash...

1. Change your computer's control panel Power Options so that it will NOT go to sleep, hiberate, screen-saver, or lose power during this critical task. Save the settings.

2. Login to the Linksys original firmware. I use and recommend the Firefox 3.5.7 web browser. It should also work for Internet Explorer, but I didn't test IE. (If you don't know how to login to the original firmware, read the Linksys manual).

3 Then Reset to factory defaults (using the Administration\Factory defaults button). Then Reboot, login again.

4. Go to the Linksys web firmware flash upgrade page.

5. For the FIRST TIME flashing to DD-WRT, I web-flash-installed using the "dd-wrt.v24-13493_NEWD-2_K2.6_mini_wrt320n.bin" build. Sayling check for later builds in Eko's repository if you desire - just make sure it ends with mini_wrt320n.bin, as bbb-forever says:

Make sure it has the suffix "_wrt320n.bin" because that file has the appropriate header info for FIRST-TIME flashing to DD-WRT on the Linksys 320N router.

Sidebar: To find the latest build, go to http://www.dd-wrt.com/site/support/other-downloads

Then go through Path: Downloads › others › eko › V24-K26 > {latest build number'}'

Note: These latest builds are developmental, so there is usually some risk that things may not work as expected until someone tests it first.

In the build folder, go up one or two folder levels to check if there are any "Readme.txt" file to read.

6. I waited 3-5 minutes until the web page reported that the web-flash was successful. Wait another 3-5 minutes in case the firmware is rebooting and initializing the NVRAM or whatever (just wait to be sure that the flash is completely finished with its processing).

The web page will usually automatically display the DD-WRT page when things are complete and ready for you to use.

Then I manually logged-into the DD-WRT firmware. It should prompt you to change the user and password to something else.

Then within DD-WRT, go to Status page, and verify the correct build number.

7. After the router is ready again, I opened the browser and web-flash-install using the "dd-wrt.v24-13493_NEWD-2_K2.6_mini.bin" build. Or you can choose to web-flash to any of the other same build number variants.

8. Wait 3-5 minutes, and the web page should automatically report that the flash was successful. Wait another 3-5 minutes in case the firmware is rebooting and initializing the NVRAM or whatever (just wait to be sure that the flash is completely finished with its processing).

9. Login to the build and verify the correct build number on the Status page. Done.

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:

- 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. - If that happens, then you will have to Clone the MAC Address to be the identical MAC address as either:

(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 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