Linksys WRT320N/E2000

:!: Note: Due to a couple of problems, one of them being the closed source blobs needed for Broadcom chipsets to work, this project is still WIP and not yet supported by OpenWrt! For more Information look here: wip :!:

Supported Versions

An image has been generated in trunk for Linksys WRT-320N since trunk Changeset 36136. It's still work in progress.

Version/Model S/N OpenWrt Version Supported Model Specific Notes
v1.0 - r36136 (WIP) -

Hardware Highlights

CPU Ram Flash Network USB Serial JTag
Broadcom BCM4717A@354Mhz 32MiB 8MiB 4 x 1 No Yes Yes

Installation

FIXME Project is still WIP

OEM easy installation

0. Possibly ensure you have 1.0.05 firmware from http://support.linksys.com/en-eu/support/routers/WRT320N. Be connected to the router directly with a cable.

1. Download http://downloads.openwrt.org/snapshots/trunk/brcm47xx/openwrt-wrt320n_v1-squashfs.bin (tested to be working: 25-Sep-2013 09:54 version, 3280928 bytes)

2. Upgrade that via factory firmware's Administration → Firmware Upgrade selection.

3. Wait N minutes

4. If needed, reconfigure your host machine's LAN connection so that you get 192.168.1.x IP address from the router

Now you're ready for First Login via telnet 192.168.1.1. You can install luci-ssl and enable it, and you should have working WiFi as well.

Flash Layout

First let's have a quick view at the Flash Layout with the stock firmware and after OpenWrt has been installed. When you later want to understand, what the programs mtd and sysupgrade do, have a second look here:

OEM easy installation

FIXME The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device!

This section deals with how you install OpenWrt from a device freshly opened. Plus the steps required such as reset to factory defaults if the device has already been configured

Note: Reset router to factory defaults if it has been previously configured.

OEM installation using the TFTP method

If you want to upgrade using TFTP you follow these steps (as an alternative to the above install process.

Upgrading OpenWrt

Basic configuration

Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.

Specific Configuration

Interfaces

Switch Ports (for VLANs)

Failsafe mode

Buttons

Hardware

Info

Architecture: MIPS
Vendor: Broadcom
Bootloader: CFE
System-On-Chip: Broadcom BCM4717A (MIPS 74KTM )
CPU Speed: 354 Mhz
Flash-Chip: Serial ?
Flash size: 8 MiB
RAM: 32 MiB
Wireless: Broadcom BCM43xx 802.11a/b/g/n (Dual-Band Single Radio)
Switch: BCM53115
USB: no
Serial: Yes
JTAG: Yes

Photos

Model Number

Front:

Photo of front of the casing

Back:

Photo of back of the casing

Opening the case

Note: This will void your warranty!

  • To remove the cover do a/b/c

Main PCB

Photo of PCB

Serial

port.serial general information about the serial port, serial port cable, etc.

How to connect to the Serial Port of this specific device:

Photo of PCB with markings

JTAG

port.jtag general information about the JTAG port, JTAG cable, etc.

How to connect to the JTAG Port of this specific device:

Photo of PCB with markings

Debricking

Bootloader Mods

  1. you could read about bootloader in general

Hardware mods

  1. as a beginner, you really should inform yourself about soldering in general and then obtain some practical experience!

How to mod Cisco/Linksys WRT320N to E2000

This guide on dmach.net can be used too. It's actually a better guide.

Mirrored from: http://www.jiggy.ca/2011/03/how-to-mod-ciscolinksys-wrt320n-to-e2000/ Which is no longer present (checked 2013/06/24)

Posted on March 3, 2011 by Dave Kincade

This is a companion piece to my article explaining how to powerfully network your house. While setting up two Cisco/Linksys WRT320Ns to use DD-WRT, I saw in the DD-WRT wiki page that upgrading the firmware to the E2000 model can solve some problems.

I’d just gotten the routers so I never got a chance to see what those problems are, but I’m a sucker for new firmware so I had to upgrade. buddee’s guide is great and includes everything you need to do the upgrade, but I had a bit of a headache after reading his post so I’m going to lay it out here.

  1. You need DD-WRT on your router already. If you’re entering from my networking article, then you’ve just put on an older trailed build which is just fine.
  2. Download a cfe_e2k.bin file which contains the actual configuration for the E2000 and another trailed DD-WRT build, but for E2000. Note: you may need to go to the guide to download the files.
  3. Open the cfe_e2k.bin in a hex edior. As per buddee’s recommendation, HxD is a good choice. I just grabbed the portable version since I don’t see much more hex editing in the near future.
  4. You need to modify three values that are right next to each other. I found it easiest to just search for “mac=” and let HxD find it. buddee lists the offsets as starting at 0x3E098.
  5. The MAC address, serial number (SN), and PIN are all found underneath the router. Replace the values in the file with the values on your router. Make sure you leave the colons where they are, and I used capital values for the alphabetical hex characters, if it matters. Make sure you work in the “text” area (i.e. the part you can actually read). Just save when you’re done.
  6. Backup your WRT320N CFE by going to http://192.168.1.1/backup/cfe.bin. It’ll take a minute so be patient. I’m honestly not sure how you’d get the chance to restore it if something goes wrong, bit it’s better to have it.
  7. You need to get the CFE to the router. I haven’t found a better way that buddee’s suggestion to use winSCP. Enable sshd by going to DD-WRT via http://192.168.1.1 and going to “Services” and scrolling down to sshd. The defaults (password login, no SSH TCP forwarding) should be fine. Apply the settings.
  8. Open winSCP and set up a new connection to 192.168.1.1 with username as “root” and whatever password you’ve set up for the router. Make sure you set the protocol to “SCP” since it will fail even with the SFTP fallback to SCP.
  9. Transfer your cfe_e2k.bin file into the /tmp folder. You can close winSCP now.
  10. Open up a telnet session to the router. Windows comes with a telnet client, which you can enable by typing “Turn Windows Features on or off” into the start menu or find the option in the control panel.
  11. Once telnet is enabled, open a command prompt and enter “telnet 192.168.1.1″ and enter the same credentials as before (root / password that you know).
  12. In the telnet session, enter the following commands:
  13. “cd /tmp” – navigate to the /tmp folder where the cfe_e2k.bin file was stored.
  14. “mfe unlock cfe” < –note that this may now be "mtd"
  15. “mfe write -f cfe_e2k.bin cfe” – actually write the new CFE. This is the only really sensitive part of this process, so make sure you don’t disrupt the process. After it’s finished, you’re done with telnet, winSCP, and HxD.
  16. Now you want to update the firmware to a E2000 version. It’s probably a bad idea to reboot the router before updating the firmware. Go to http://192.168.1.1/Upgrade.asp and select the trailed E2000 build downloaded earlier, and make sure you select “reset to default settings”. You may be able to go right to a new DD-WRT build rather than this older trailed build but I didn’t want to risk it.
  17. After the firmware update has happened, you can go ahead and update to a newer firmware. If you go to http://192.168.1.1/Status_Router.asp, you should see something like this:

Congrats!

Notes

Tags

For some Help with the Tags, please have a look here: tags

Back to top

toh/linksys/wrt320n.txt · Last modified: 2013/09/29 21:28 by wutje