User Tools

Site Tools


toh:compex:wpe72

Differences

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

Link to this comparison view

toh:compex:wpe72 [2013/01/31 09:47] (current)
Line 1: Line 1:
 +====== Compex WPE72 ======
 +
 +The device is supported in OpenWrt since Kamikaze 8.09.
 +
 +===== Hardware info =====
 +| **Architecture:​** | MIPS |
 +| **Vendor:** | Atheros |
 +| **Boot loader:** | CFE |
 +| **System-On-Chip:​** | AR7240 |
 +| **CPU Speed:** | 400Mhz |
 +| **Flash size:** | 4 MB (up to 16MB)|
 +| **RAM:** | 32 MB (Max 64MB) DDR SDRAM |
 +| **Wireless:​** | 1 x 9.2mm MiniPCI slot, support all Compex MiniPCI cards |
 +| **Ethernet:​** | 2 x 10/100 Base-TX Ethernet Port (with Auto MDI/MDIX) |
 +| **USB:** | no |
 +| **Serial:** | yes |
 +| **JTAG:** | yes |
 +
 +===== Installation =====
 +
 +==== Restore mode ====
 +
 +If you want to upload firmware to router by tftp, you will have to turn your device to this mode. The procedure is following:
 +
 +  - Turn off the device.
 +  - Press and hold the reset button.
 +  - Plug the device (still hold the button).
 +  - Wait until the Diagnostic LED (second from the left) starts flashing quickly. (This will happen almost immediately.)
 +  - Now release the reset button. Your router is in Restore mode.
 +
 +==== TFTP installation notes ====
 +
 +Set your ethernet interface into static mode (IP address 192.168.168.10,​ netmask 255.255.255.0,​ default gateway 192.168.168.1),​ put your router into **[[toh:​compex:​wpe72#​restore.mode|Restore mode]]** and upload the firmware by TFTP using the following commands (replace XXXXXX with wpe72):
 +
 +<​code>​
 +$ tftp 192.168.168.1
 +tftp> binary
 +tftp> trace
 +tftp> put openwrt-ar71xx-wpe72.bin
 +</​code>​
 +
 +Diagnostic LED will now stop blinking for a while; if the flashing procedure is successfully done, it will start blinking slowly. Now reboot your router manually (turn off - turn on) and OpenWrt will boot. 
 +
 +===== Upgrading OpenWRT(on Compex Myloader) =====
 +
 +1. Getting source codes
 +>svn co –r 12448 https://​snv.openwrt.org/​openwrt/​trunk
 +
 +2. Apply patches from the files mod-wpe72.tgz
 +>tar zxvf mod-wpe72.tgz
 +>cp –a mod-wpe72/* trunk/
 +
 +3. Compile
 +>cd trunk
 +>cp wpe72.config .config
 +>make
 +
 +OpenWRT Firmware will be in bin/​openwrt-ar72xx-wpe72.bin
 +
 +== Uploading the OpenWRT firmware to wpe72 running MyLoader v2.54.0717 ==
 +
 +a. Via Compex Firmware
 +
 +*Put the AP in Firmware Upgrade mode and upload the file.
 +*This file is for WPE72 with 4MB or 8MB NOR flash.
 +b. Via TFTP
 +*Go to the firmware upgrade mode (By pressing and hold the Reset button and plug-in the power adapter).
 +*Upload the OpenWRT image to the device (tftp –i 192.168.168.1 put openwrt-ar71xx-wpe72.bin)
 +
 +===== Wireless =====
 +
 +Both madwifi and ath9k work well with all Compex MiniPCI cards. You will need some wireless authenticator and/or supplicant (wpad-mini/​wpad/​wpa-supplicant/​hostpad/​hostapd-mini).
 +
 +:!: Madwifi doesn'​t support MAC changes through UCI on this architecture. If you want to change of wireless MAC, see [[http://​madwifi-project.org/​wiki/​UserDocs/​ChangeMacAddress|this]]. ​
 +
 +===== Useful sources =====
 +
 +This page has been assembled from a number of different pages from the old wiki and the current wiki. Refer to them for more (possibly outdated) information.
 +
 +  *[[http://​www.compex.com.sg/​forum/​|Compex forum]] \\
 +  *[[http://​cpx.px.cz/​|Another Compex forum (CZ/ENG)]]
  
toh/compex/wpe72.txt · Last modified: 2013/01/31 09:47 (external edit)