Linksys WRT150N & WRT160N

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 14:45, 12 April 2019 (edit)
MagnusO (Talk | contribs)
m (WRT150N and WRT160Nv1 Instructions)
← Previous diff
Revision as of 13:39, 19 July 2019 (edit) (undo)
Jeremywh7 (Talk | contribs)
([WRT150N and WRT160Nv1 Instructions] add linux size info and last fitting VPN build)
Next diff →
Line 1: Line 1:
The process for flashing the WRT150N and the WRT160Nv1 are the same. The WRT160Nv3 differs slightly and has its own instructions further down the page. VERSION 2 OF THE 160N IS NOT SUPPORTED. Do NOT try to flash v2 routers with this process. The process for flashing the WRT150N and the WRT160Nv1 are the same. The WRT160Nv3 differs slightly and has its own instructions further down the page. VERSION 2 OF THE 160N IS NOT SUPPORTED. Do NOT try to flash v2 routers with this process.
-= WRT150N and WRT160Nv1 Instructions =+=WRT150N and WRT160Nv1 Instructions=
- +These have a 4.00 MB flash chip (0x400000 bytes), and has a slightly larger 'linux' partition than most "4MB" routers:
 + Flash device: 0x400000 [...]
 + 0x00000000-0x00040000 : "cfe"
 + 0x00040000-0x003f0000 : "linux"
 +The 'linux' partition size is therefore: 0x3f0000-0x40000 = 3866624 bytes = 3.6875 MB '''<span style="color:red">*</span>'''
 +#'''DO NOT attempt to flash firmware larger than 3866624 bytes (3.6875 MB)'''
#Read the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock Announcement] #Read the [http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486 Peacock Announcement]
-#<span style="color:gray">Download eko build [ftp://ftp.dd-wrt.com/others/eko/V24_TNG/svn12548/dd-wrt.v24-12548_NEWD_mini.bin dd-wrt.v24-12548_NEWD_mini.bin]</span>+#Download [ftp://ftp.dd-wrt.com/betas/2010/08-12-10-r14929/broadcom/dd-wrt.v24_mini_generic.bin 14929 mini generic]
-#* NOTE (1/2): eko builds have disappeared, use [ftp://ftp.dd-wrt.com/betas/2010/08-12-10-r14929/broadcom/dd-wrt.v24_mini_generic.bin 14929 mini generic] instead (Dec 2010).+#* For WRT150N: [ftp://ftp.dd-wrt.com/betas/2019/01-02-2019-r38159/broadcom/dd-wrt.v24_mini_generic.bin r38159 mini generic] has been confirmed to work fine as well (Jan 2019)
-#* NOTE (2/2): For WRT150N: [ftp://ftp.dd-wrt.com/betas/2019/01-02-2019-r38159/broadcom/dd-wrt.v24_mini_generic.bin r38159 mini generic] has been confirmed to work fine as well (Jan 2019)+#Ensure a physical ethernet connection to the router: disable the wireless adapter, antivirus/firewall protection, and any software with heavy network usage (BitTorrent, Streaming Audio/Video, etc).
-#Ensure you have a physical ethernet connection to your router, and disable your wireless adapter, antivirus/firewall protection, and any software that makes strong use of your network (BitTorrent, Streaming Audio/Video, etc).+
#Perform a [[Hard_reset_or_30/30/30|hard]] reset. #Perform a [[Hard_reset_or_30/30/30|hard]] reset.
#Navigate to http://192.168.1.1/ in your web browser of choice. #Navigate to http://192.168.1.1/ in your web browser of choice.
#Enter no username, and the password "admin". #Enter no username, and the password "admin".
-#Go to the administration tab. Click on firmware upgrade.+#Go to ''Administation''->''Firmware Upgrade''
-#Browse to the .bin file you downloaded in step 2+#Browse to the downloaded firmware file
-#Click on the upgrade button and WAIT for the upgrade successful message.+#Click on the upgrade button and WAIT 5 minutes after the ''Upgrade Successful'' message.
-#<strong>Power cycle your router</strong>. Wait until you can see the DD-WRT password screen at [http://192.168.1.1/].+#Try to access the DD-WRT password screen at [192.168.1.1]. Power cycle if no response.
-#<strong>Perform another [[Hard_reset_or_30/30/30|hard]] reset on your router</strong>. Wait until you can see the password screen at [http://192.168.1.1/].+#<strong>Perform another [[Hard_reset_or_30/30/30|reset]] on the router</strong> and wait to access the password screen again.
-#Set a new username and password, and continue on to configure your router like normal.+#Set a new username and password, then continue to manually configure the router.
-You can now upgrade to [https://www.dd-wrt.com/wiki/index.php/Index:FAQ#Where_do_I_download_firmware.3F any generic DD-WRT build] '''except Mega or Micro'''. Always do a hard reset prior to flashing another build, then another hard reset after flashing, and NEVER re-use a configuration file from a previous build or another router. Always reconfigure from scratch.+===Upgrade DD-WRT===
 +Now any [https://www.dd-wrt.com/wiki/index.php/Index:FAQ#Where_do_I_download_firmware.3F generic DD-WRT build] '''except Mega or Micro''' can be flashed via ''Administation''->''Firmware Upgrade''.
 +* '''<span style="color:red">*</span>''' The latest VPN build that fits [https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1170554#1170554 (and works)] is [https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2018/08-30-2018-r36808/broadcom/dd-wrt.v24_vpn_generic.bin 36808 dd-wrt.v24_vpn_generic.bin] (30-Aug-2018 '''3850240''')
 +*Recommended: Reset after flashing if making a large jump in build revision
 +*NEVER re-use a configuration file from a previous build or another router. Always reconfigure from scratch.
-= WRT160Nv2 Instructions = 
 +=WRT160Nv2 Instructions=
[[Linksys WRT160N v2.0]], not yet supported. [[Linksys WRT160N v2.0]], not yet supported.
 +
= WRT160Nv3 Instructions = = WRT160Nv3 Instructions =

Revision as of 13:39, 19 July 2019

The process for flashing the WRT150N and the WRT160Nv1 are the same. The WRT160Nv3 differs slightly and has its own instructions further down the page. VERSION 2 OF THE 160N IS NOT SUPPORTED. Do NOT try to flash v2 routers with this process.

Contents

WRT150N and WRT160Nv1 Instructions

These have a 4.00 MB flash chip (0x400000 bytes), and has a slightly larger 'linux' partition than most "4MB" routers:

Flash device: 0x400000  [...]
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"

The 'linux' partition size is therefore: 0x3f0000-0x40000 = 3866624 bytes = 3.6875 MB *

  1. DO NOT attempt to flash firmware larger than 3866624 bytes (3.6875 MB)
  2. Read the Peacock Announcement
  3. Download 14929 mini generic
  4. Ensure a physical ethernet connection to the router: disable the wireless adapter, antivirus/firewall protection, and any software with heavy network usage (BitTorrent, Streaming Audio/Video, etc).
  5. Perform a hard reset.
  6. Navigate to http://192.168.1.1/ in your web browser of choice.
  7. Enter no username, and the password "admin".
  8. Go to Administation->Firmware Upgrade
  9. Browse to the downloaded firmware file
  10. Click on the upgrade button and WAIT 5 minutes after the Upgrade Successful message.
  11. Try to access the DD-WRT password screen at [192.168.1.1]. Power cycle if no response.
  12. Perform another reset on the router and wait to access the password screen again.
  13. Set a new username and password, then continue to manually configure the router.

Upgrade DD-WRT

Now any generic DD-WRT build except Mega or Micro can be flashed via Administation->Firmware Upgrade.

  • * The latest VPN build that fits (and works) is 36808 dd-wrt.v24_vpn_generic.bin (30-Aug-2018 3850240)
  • Recommended: Reset after flashing if making a large jump in build revision
  • NEVER re-use a configuration file from a previous build or another router. Always reconfigure from scratch.


WRT160Nv2 Instructions

Linksys WRT160N v2.0, not yet supported.


WRT160Nv3 Instructions

  1. Read the Peacock Announcement.
  2. Download eko build dd-wrt.v24-13575_NEWD-2_K2.6_mini_wrt160nv3.bin
    • NOTE: eko builds have disappeared, use the dd-wrt.v24-14929_NEWD-2_K2.6_mini_wrt160nv3.bin instead. Only use the trailed build (with "WRT160Nv3" in the file name)
    • To experiment with newer builds, use trailed builds from the /broadcom_K26 folder here
    • First read the appropriate "New Build" thread before flashing any build
  3. Ensure you have a physical ethernet connection to your router, and disable your wireless adapter, antivirus/firewall protection, and any software that makes strong use of your network (BitTorrent, Streaming Audio/Video, etc).
  4. Perform a hard reset.
  5. Navigate to http://192.168.1.1/ in your web browser of choice.
  6. At the Linksys Management Mode screen, do not give the reboot command. You will use this page to upgrade your firmware.
  7. Browse to the firmware you downloaded and click Upload.
  8. Do not touch anything. The page will tell you that the upgrade was successful and the router is now rebooting. Your router may take upwards of a couple minutes to reboot. Watch the lights... once the wireless and power indicators are on steadily for several seconds, your router is fully rebooted and you can click "Continue" in your browser window.
  9. If the DD-WRT password change page displays, your upgrade has been successful, and you must now perform another hard reset. This time, when you navigate to 192.168.1.1, click "Reboot" and wait for the router to come online again so you can configure it.

If the DD-WRT password change page does not display, your page request times out, or you can't ping 192.168.1.1, make sure both wireless and power lights are on steadily first, then do a hard power cycle (unplug the power from the router--do not do a 30/30/30 reset). Wait a few seconds and plug the power back into the router. Wait until both wireless and power lights are on steadily, then navigate to http://192.168.1.1/ in your browser of choice again. If the DD-WRT password change page displays, your upgrade has been successful, and you must now perform another hard reset. This time, when you navigate to 192.168.1.1, click "Reboot" and wait for the router to come online again so you can configure it.

Performing a 30/30/30 Reset on a WRT160Nv3

  1. Perform a hard reset.
  2. Login to http://192.168.1.1/ and you will see the Linksys - Management Mode page.
  3. Click "Reboot."
  4. In a moment, you will see "Command reboot completed." The router will now start the reboot process. When the lights return to their normal state, you can click "Continue" to be taken to the router's main page.

WRT160Nv3 wireless issues

  • Do not set to N mode - the forum says G-only works, and I've been fine with Mixed BG mode

WRT160Nv3 Linksys Management Mode if a 30/30/30 reset doesn't work

If the 30/30/30 fails to bring up the management mode page, try this:

  1. Plug power in
  2. Wait 1-2 seconds and then press and hold reset button for 5 seconds
  3. Browse to http://192.168.1.1

You should now see the Linksys Management Mode screen. Again, this was only because the 30/30/30 method was not working. Try this as a last resort.

See these threads for undocumented recovery means: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=63444 http://www.dd-wrt.com/phpBB2/viewtopic.php?p=407616

How Lights Behave During Reboot on a WRT160Nv3

When you power cycle a WRT160Nv3, the lights will act as follows:

  1. Power light blinks. If LAN or WAN cable is plugged in, their respective lights will flash on activity.
  2. Power light turns off for several seconds.
  3. All lights, except power light, turn on and then off.
  4. Power light blinks slowly, then faster, and WLAN light will turn on.
  5. Once Power light and WLAN light are on solid, the router is fully rebooted.

If You Install the Wrong Firmware on the WRT160Nv3

If you install the wrong firmware on accident (as I did by not installing a K26 build) to the WRT160Nv3, the power light may not go to a solid state after a normal or hard reset and the DD-WRT login may not be available. You may be able to put the router in management mode to re-install firmware by following these steps:

  1. Unplug the router's power source.
  2. Plug an ethernet cable from a computer to one of the router's LAN ports.
  3. Hold the router's reset button.
  4. Plug in the router's power source, continuing to hold the reset button for 10 - 15 seconds, then release the button.

The power light on the router should become solid. You should then be able to utilize the router's management mode to re-flash the firmware by accessing 192.168.1.1 in a browser.

JTAG

Barryware, using a mixture of perseverance and brilliance, has found a way to fix the fact that Linksys, in for completely baffling reasons, did not connect the jtag port to the processor. This isn't for the faint of solder, but there is way to jtag the 160nV3.