Differences

This shows you the differences between two versions of the page.

toh:asus:wl-330n [2012/10/12 13:55]
jank Add flashing using recovery mode.
toh:asus:wl-330n [2014/03/19 00:30] (current)
danitool
Line 10: Line 10:
-  * WL-330N is supported since [[https://dev.openwrt.org/changeset/31100/trunk|R31100]]+  * WL-330N is supported since [[https://dev.openwrt.org/changeset/31100/trunk|R31100]] Note by JayBeOh: Use the 3G-.bin file for this device as well. There is a file specifically created for this device but it does not work (at least not when flashing via Recovery mode)
  * WL-330N3G is supported since: [[https://dev.openwrt.org/changeset/31450/trunk|R31450]]   * WL-330N3G is supported since: [[https://dev.openwrt.org/changeset/31450/trunk|R31450]]
Line 51: Line 51:
  - Sides of plastic case are held together with small clips. Three on both long sides, two on end with no connectors.   - Sides of plastic case are held together with small clips. Three on both long sides, two on end with no connectors.
 +The case can be very difficult to open, but be careful not to destroy the plastic in the process as the case makes up half the body of the Ethernet socket.
===== Serial ===== ===== Serial =====
-The serial port on bottom side of PCB, left from USB port. There's two solder pads marked with TX and RX. Be careful when soldering and add drop of glue to prevent pulling fragile pads from pcb. +The serial port on bottom side of PCB, left from USB port. There's two solder pads marked with TX and RX. Be careful when soldering and add drop of glue to prevent pulling fragile pads from pcb.  
-Settings: 57600N8+ 
 +Settings: 57600N8, 3v3 TTL 
 + 
 +**Note:** The pads may be covered in solder mask, in which case you will have to carefully scrape them clean with a sharp blade before soldering.
===== JTAG ===== ===== JTAG =====
Line 66: Line 70:
** Note: ** OpenWrt currently does not support this device! ** Note: ** OpenWrt currently does not support this device!
-===== Istallation using console port =====+===== Installation using console port =====
  - build your image from SVN-trunk: http://downloads.openwrt.org/docs/buildroot-documentation.html (Target:  Ralink RT288x/RT3xxx, Subtarget: RT305x based boards, Target Profile: Default Profile)   - build your image from SVN-trunk: http://downloads.openwrt.org/docs/buildroot-documentation.html (Target:  Ralink RT288x/RT3xxx, Subtarget: RT305x based boards, Target Profile: Default Profile)
Line 86: Line 90:
** Note: ** Tested on WL-330N3G. ** Note: ** Tested on WL-330N3G.
-It is possible to load an OpenWRT image this way. The ASUS firmware update page does not accept an OpenWRT image, it probably checks the image header. In the ASUS header the router model is specified, the OpenWRT header does not include the router model.+It is possible to load an OpenWRT image this way, i.e. bin/ramips/openwrt-ramips-rt305x-wl-330n3g-squashfs-sysupgrade.bin. The example uses a firmware image downloaded from ASUS, it has a .trx extension, but the format is the same as the OpenWRT image. 
 +The ASUS WEB-interface firmware update page does not accept an OpenWRT image, it probably checks the image header. In the ASUS header the router model is specified, the OpenWRT header does not include the router model.
  - Connect the router to the Ethernet port of your computer.   - Connect the router to the Ethernet port of your computer.
-  - Press the restore button on the back of the device and hold it while connecting the router to your USB port or the supplied USB power adapter. +  - Power on your Router and press the restore or WPS button 
-  - Keep holding the restore button a few seconds more until the power LED blinks slowly (about 0.2 Hz). If you are running tcpdump on the Ethernet interface you should see ARP requests from 192.168.1.1 for 192.168.1.20. +  - Keep holding the restore or WPS button approx 7 seconds more until the power LED blinks slowly (about 0.2 Hz). If you are running tcpdump on the Ethernet interface you should see ARP requests from 192.168.1.1 for 192.168.1.20. 
-  - Configure your Ethernet IPv4 address as static: 192.168.1.20 netmask 255.255.255.0. Note the IP of .20 is critical - the  bootloader accepts tftp from this IP. +  - Configure your Ethernet IPv4 address as static: **192.168.1.20** netmask 255.255.255.0. Note the IP of .20 is critical - the  bootloader accepts tftp only from this IP. 
-  - Use tftp to upload a firmware file to the device: \\ Under Windows this can be done with "tftp -i 192.168.1.1 put WL-330N3G_1.0.2.0.trx". \\ Under Linux you can use the "tftp 192.168.1.1" command and then send the following commans: "binary", "trace", "rexmt 1" and finally "put WL-330NG_1.0.2.0.trx" to upload the firmware image+  - Use tftp to upload a firmware file in **binary mode** to the device: \\ Under Windows this can be done with "tftp -i 192.168.1.1 put WL-330N3G_1.0.2.0.trx". \\ Under Linux you can use the "tftp 192.168.1.1" command, on OpenWRT devices you can use tftp-hpa and send the following commands: \\ <code> 
-  - Wait... +# tftp 192.168.1.1 
-  - The device will reboot when flashing is done. Telnet into 192.168.1.1 and set root password accoding to [[doc/howto/firstlogin|First Login]].+tftp> binary 
 +tftp>; trace 
 +Packet tracing on. 
 +tftp> rexmt 1 
 +tftp> put openwrt-ramips-rt305x-wl-330n3g-squashfs-sysupgrade.bin 
 +sent WRQ <file=openwrt-ramips-rt305x-wl-330n3g-squashfs-sysupgrade.bin, mode=octet&gt; 
 +received ACK <block=0> 
 +sent DATA <block=1, 512 bytes&gt; 
 +[...] 
 +sent DATA &lt;block=5377, 4 bytes> 
 +received ACK <block=5377> 
 +</code> Instead of the openwrt image (openwrt-ramips-rt305x-wl-330n3g-squashfs-sysupgrade.bin) you can upload other images (eg. the original ASUS-Firmware: WL-330NG_1.0.2.0.trx)
 +  - Wait, flashing may take a couple of minutes. Do not power off! 
 +  - The device will reboot when flashing is done. If you flashed OpenWRT, telnet into 192.168.1.1 and set root password according to [[doc/howto/firstlogin|First Login]].
-===== Boot messages (Original firmware) ===== +===== Bootlogs ===== 
-<code+==== OEM bootlog ==== 
-U-Boot 1.1.3 (Jul  6 2010 - 14:04:15)+<HTML
 +<p style="padding: 10px;border:1px solid grey;height:600px;font:10px/14px Georgia, Garamond, Serif;overflow:Auto;background-color:#FFFFFF"> 
 +<code>U-Boot 1.1.3 (Jul  6 2010 - 14:04:15)
Board: Ralink APSoC DRAM:  32 MB Board: Ralink APSoC DRAM:  32 MB
Line 406: Line 426:
#</code> #</code>
 +</p>
 +</HTML>
 +
 +===== Tags =====
 +
 +{{tag>ramips rt3050 portable_router}}

Back to top

toh/asus/wl-330n.1350042925.txt.bz2 · Last modified: 2012/10/12 13:55 by jank