See 'WikiDevi' @ the Internet Archive (MW XML, Files, Images)
upgraded MW to 1.30 - maybe things are slightly less broken
Linksys WRT160N v3
WRT160N v3 serial numbers appear to start with CSE2, CSE3, CSE4, or CSE5.
"3763-01010103R" is silkscreened on the board in the FCC photos.
- 1 Links of Interest
- 2 Flashing
- 3 Upgrading
- 4 Reverting
- 5 JTAG-Serial Info
- 6 USB Info
- 7 vlan Info
- 8 Pictures
- 9 Notes
- 10 Hardware Modification
- 11 See Also
Links of Interest
- Listed on the 'Linksys routers' page on Wikipedia
- On the DD-WRT wiki
- WRT160N series on the OpenWrt wiki
- 100 pages of WRT160Nv3 posts condensed (Device thread reset)
- Linksys WRT160N v3.0 Information
- jtag 160v3 & e1000 resistor values
- My Thread for WRT160N V3 serial# CSE51
- WRT160N version 3
- Linksys WRT160N v3 Tomato install guide
|NOTE: During configuration or flashing a device, the only things that should be hooked to the device is the computer and power.|
|WARNING: Do not flash micro this unit!|
|WARNING: Requires K2.6 for DD-WRT, Do not flash anything else!|
- Read the Peacock Announcement.
- Download dd-wrt.v24-14929_NEWD-2_K2.6_mini_wrt160nv3.bin.
- Set a static IP on your computer to 192.168.1.7. Subnet mask should be 255.255.255.0
- Connect the lan cable from your computer to a LAN port of your router. Make sure your router is plugged in. Nothing should be connected to your computer or the router except the lan cable between them.
- 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 30/30/30 reset.
- Navigate to http://192.168.1.1/ in your web browser of choice.
- At the Linksys Management Mode screen, do not give the reboot command. You will use this page to upgrade your firmware.
- Browse to the firmware you downloaded and click Upload.
- 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.
- If the DD-WRT password change page displays, your upgrade has been successful, and you must now perform another hard 30/30/30 reset. This time, when you navigate to http://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 30/30/30 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 you wish to experiment with a newer build, you should read the "build thread" for any build you are considering putting on your router, before flashing a newer build, (as discussed in the peacock announcement).
- Use a wired connection only. (disable wireless to be in the safe side)
- Make sure you disable firewall in Windows.
- Disable the virus guard.
- Download and extract the K26-MIPSR2 Tomato USB Firmware. Mini, STD or VPN version is up to you. With this router you can only use certain builds. It's flash size is only 4MB. (Get them Here)
- Connect your computer's using network cable to one of the LAN ports of the Asus router. Manually set your computer IP address (in the TCP/IP properties of the LAN connection) to 192.168.1.2, network mask 255.255.255.0.
- Upgrade to dd-wrt first.
- After upgrade, go to the router by typing 192.168.1.1, after setting the username and password go to administration then firmware upgrade. Click browse and find the TomatoUSB firmware file. Click upgrade.
- After upgrading is complete open your browser, go to the router by typing 192.168.1.1, when prompted for a username and password enter "root" and "admin". Go to Administration > Configuration > Restore Default Configuration, select "Erase all data in NVRAM memory (thorough)" and click OK. To insure that the processor has time to complete addressing all NVRAM variables it's best to wait about 5 minutes before making any changes.
You are now ready to start using your router with Tomato.
If dd-wrt is already on the router follow these instructions. If stock firmware is on the router follow the flashing instructions.
- Check for recommended builds here first.
- Set your computer to a static IP of 192.168.1.7. (or to whatever subnet the router is on) Disable all firewalls and security. Disable wireless on your computer and only have the router connected to the flashing computer by the ethernet cable between the two.
- Hard reset or 30/30/30 (If the router supports it, if not, reset to defults in the GUI) prior to flashing. Wait. Check for password page on re-login and change password.
- Flash firmware. You can use the webgui except if you have a belkin router. (For belkin use tftp.exe to flash)
- Wait...at least three minutes. Lights should return to normal. See important2, below. Failing to wait is how most people brick their routers.
- Do a power cycle of the router. (Unplug the cord, count to 30 and plug it back in.)
- Wait for the lights to return to normal usually about 2 minutes.
- Hard reset or 30/30/30 again (If the router supports it, if not, reset to defults in the GUI). Wait. Check for the password page and re-login to change the password. Then you can reconfigure your settings manually.
- Once configured set your computer back to autoIP and autoDNS.
Important1: This Hard reset or 30/30/30 works fine for Asus router, but you do have to power cycle after the reset.
Important2: After you flash the firmware, and before you do the hard reset, the router will be building some nvram settings. YOU MUST WAIT FOR THIS TO FINISH PRIOR TO DOING ANYTHING WITH THE ROUTER INCLUDING A HARD RESET. Usually, you can tell when this process is completed by the WAN light coming on, but it does take several minutes. Go have a beer. There are starting to be more and more people who BRICK their routers by not waiting until the nvram is rebuilt, PRIOR to doing a hard reset. YOU NEED TO WAIT!
Reverting to OEM Firmware from DD-WRT
- Read the peacock announcement found here: http://www.dd-wrt.com/phpBB2/viewtopic.php?t=51486
- Do a Hard reset or 30/30/30 on the router according to note 1 of the peacock announcement (30/30/30)
- Set a static IP on your computer to 192.168.1.7. Subnet mask should be 255.255.255.0.
- Connect the lan cable from your computer to a LAN port of your router. Make sure your router is plugged in. Nothing should be connected to your computer or the router except the lan cable between them. Turn your firewall and any wireless computer connections OFF.
- Power cycle the router (uplug the power from the router for 30 seconds and then plug it back in)
- Open your browser to 192.168.1.1 by putting that in the browser address window of your browser. You should open the linksys webgui and NOT a page that says Management Mode. If you see management mode, power cycle the router again.
- Enter your username and password
- Go to administration and firmware upgrade
- Navigate to the folder that you are using, and select WRT160N_3_0_02_004.code.bin.
- Hit upgrade
- When you get a success, wait FIVE FULL minutes.
- When you can again access the Linksys webgui using a browser at 192.168.1.1, do another Hard reset or 30/30/30 on the router.
- Reset your computer ethernet connection to auto IP and auto DNS
nTRSt - R64 - 1o o2 GND TDI - R65 - 3o o4 GND TDO - R66 - 5o o6 GND TMS - R67 - 7o o8 GND TCK - R68 - 9o o10 GND N/C - -- - 11o o12 N/C
DD-WRT JTAG Recovery
As most know.. The wrt160n v3 & the E1000 v1 are identical in regards to hardware.
As most know, Linksys has disabled the jtag circuit in these routers by leaving out smt components (just like the 610 v2 & E3000)
I'll link this in another thread where a dd-wrt member needs jtag for this router.
I traced the jtag header to the missing components. What needs to be done, is to bridge the pads on the pcb. There are 5 pads that need to be bridged.
Four can be found on the bottom of the pcb, and one on the top.
They are marked R64, R65, R66, R67, & R68.
R67 is on the top side of the pcb, and the rest on the bottom.
Attached are pics showing the pads that need to be bridged as well as the jtag output doing a -probeonly.
The ribbon cable you will see in one of the pics, is connected to a serial header I hot glued to the side of the pcb. This router I purchased to assist the devs (Eko) in porting dd-wrt to this router. Cuz we bricked it many times, pogo pins to the serial pads would not do. I needed something I could connect to many times.
VCC o TP12 TX o TP13 RX o TP14 N/C o TP15 GND o TP16
Hyper terminal Setup in Windows XP
In Windows XP, Click Start Button - All Programs - Accessories - Communication - HyperTerminal Enter a name for the connection, Click ok Choose com port you adapter is plugged into, Click ok Set: Bits per second = 115200 Data Bits = 8 Parity = none Stop bits = 1 Flow control = none Click ok Click File - Save As, and select a place to save it to so you don't have to enter the settings again.
Putty Setup in Windows XP
After installing putty, run it Serial line = The COM port your using for serial (ie. COM3) Speed = 115200 Click on Serial under Connection Serial line to connect to = same as above (Serial line) Speed (baud) = 115200 Data bits = 8 Stop bits = 1 Parity = none Flow control = none Click Session Enter a name for your connection under saved sessions Click Save Click Open
DD-WRT Serial Recovery
Modified redhawk0 instructions
- Print out these instructions for Off-Line use
- Connect PC to router with a network cable
- Configure PC with a static IP of 192.168.1.10
- Connect Serial cable
- Start one of the programs from above
- Get TFTP ready with file selected
- Use dd-wrt.v24-14929 NEWD-2 K2.6 mini wrt160nv3.bin
- Connect power to the router
- start a rapid fire Cntl-C as you plug the router to power
- type "nvram erase" w/o quotes, hit enter
- type "flash -ctheader : flash1.trx" w/o quotes, this starts the tftp daemon, hit enter
- but have TFTP ready
- Click go or start on TFTP
- give it 5 minutes after it finishes
- then power cycle....Hard reset or 30/30/30...then config
- 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
- you'll see it boot up
DD-WRT vlan Info
Confirmed the WRT160N v3.0 supports port-based vlans via the GUI and nvram with build 14929.
Label backwards in the GUI
1 2 3 4 | GUI labels 4 3 2 1 | Case labels
WRT160N v3.0's ports are mapped like this:
1 2 3 4 | case labels 4 3 2 1 | nvram port numbers
- One user noted from forum on making this router stable when on 3309-mini firmware is to not set it to N mode - I've used it in mixed BG and it has been fine, and the forum says G-only works. ( some of this discussion is here: http://dd-wrt.com/phpBB2/viewtopic.php?t=54781&postdays=0&postorder=asc&start=210)
K26 build 13253
DD-WRT Recovering from a bad flash
- Hard reset or 30/30/30
- Login to http://192.168.1.1/ and you will see the Linksys - Management Mode page.
- Browse to dd-wrt.v24-14929_NEWD-2_K2.6_mini_wrt160nv3.bin
- Click Upgrade
- In a moment, you will see "Upload completed. System is going to reboot. Please wait a few moments." When the lights return to their normal state, you can click "Continue" to be taken to the router's main page.
- Upgrade to the build you want via "How to upgrade if dd-wrt is already installed"
DD-WRT Performing a 30/30/30 Reset on a WRT160Nv3
- Perform a normal 30/30/30 reset.
- Login to http://192.168.1.1/ and you will see the Linksys - Management Mode page.
- Click "Reboot."
- 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.
DD-WRT How Lights Behave During Reboot on a WRT160Nv3
When you power cycle a WRT160Nv3, the lights will act as follows:
- Power light blinks. If LAN or WAN cable is plugged in, their respective lights will flash on activity.
- Power light turns off for several seconds.
- All lights, except power light, turn on and then off.
- Power light blinks slowly, then faster, and WLAN light will turn on.
- Once Power light and WLAN light are on solid, the router is fully rebooted.
1 - [out] Power LED
2 - [out] Orange SES LED
4 - [out] Blue SES LED
5 - [in] SES Button
DD-WRT Wireless Security LED Script
while sleep 5; do if [ `nvram get wl0_security_mode` = "disabled" ]; then gpio enable 4; else gpio disable 4; fi; done &
while sleep 1; do if [ `nvram get wl0_security_mode` = "disabled" ]; then gpio enable 4 gpio disable 2 else gpio enable 2 gpio disable 4 fi done &
For a more simple solution to the amber light, the following telnet/SSH commands should change it to blue permanently:
nvram set connblue=1 nvram commit reboot