User Tools

Site Tools


toh:edimax:3g-6200n

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:edimax:3g-6200n [2013/01/21 13:33]
damme
toh:edimax:3g-6200n [2015/12/12 06:57] (current)
tmomas de-html-ified
Line 1: Line 1:
 +===== Edimax 3G-6200N =====
  
 +Tested with **trunk r32682** openwrt firmware image.
 +
 +Usb, wifi, lan, all seem to work.
 +
 +This device is very similar to Dovado 3GN, Same board, cpu.
 +
 +
 +**<color red>!! WARNING !!</​color>​** Since trunk rev 33300, all lan ports including wan port acts as a dumb switch. There is no NAT. This is not yet fixed and it is related to swich functionality which was added from rev 33300. Everything is working good up to rev. 33298. So remember to compile your own working image.\\
 +The bug might be fixed in r34379 as claimed in [[https://​dev.openwrt.org/​ticket/​12125|12125]].
 +A working (but maybe older) firmware from [[https://​forum.openwrt.org/​viewtopic.php?​id=37660&​p=3|this thread]]. This is an [[http://​www.rosil.si/​blog/​openwrt-edimax-6200n/​|outdated howto]].
 +
 +
 +==== Hardware Highlights ====
 +^ CPU       ^ Ram    ^ Flash   ^ Network ​  ^ USB   ^ Serial ​  ^ JTAG   ^
 +| RT3050F ​  | 32MB   | 4MB     | 1         | Yes   | Yes      | No     |
 +
 +**Serial**
 +^ BAUD RATE   ^ BITS   ^ PARITY ​  ^ FLOW CONTROL ​  ^
 +| 57600       | 8      | N        | none           |
 +
 +{{:​media:​edimax:​3g-6200n_serial_01.jpg?​400}}
 +{{:​media:​edimax:​3g-6200n_serial_02.jpg?​400}}
 +
 +===== Installation =====
 +**''​NOTE:''​** This method was tested on firmware 2.21b available at [[http://​edimax.pl/​images/​Image/​Firmware/​Router/​3G-6200n/​NFR_3G6200N_EdimaxOBM_EZ_2.21b_upg.zip|Edimax Poland]]:
 +  - Enable telnet server
 +     * Log in to www interface, lets assume it is at address http://​router
 +     * In address bar go to hidden sub-page: http://​router/​syscmd.asp
 +     * In input box enter: <​code>/​usr/​sbin/​telnetd -l /​bin/​ash</​code>​
 +     * Test if telnet server is working: telnet to the router
 +     * Note: this hack may not work on all firmware versions, I have tested it successfully on 2.21b. (Does **not** work on 2.22f, 2.24g and 2.26c: A link to busybox exists, but busybox was compiled without this plugin).
 +   - Download flash files to router and start flashing process
 +     * Statically compiled "​mtd"​ programm can be downloaded from this link http://​dl.dropbox.com/​u/​7157357/​My-files/​mtd
 +     * Firmware file available here http://​dl.dropbox.com/​u/​7157357/​My-files/​openwrt-ramips-rt305x-3g-6200n-squashfs-sysupgrade.bin
 +     * <code bash>
 +cd /tmp
 +wget .../​openwrt-ramips-rt305x-3g-6200n-squashfs-sysupgrade.bin
 +wget .../mtd
 +chmod a+x mtd
 +./mtd -r write openwrt-ramips-rt305x-3g-6200n-squashfs-sysupgrade.bin Kernel:​RootFS
 +</​code>​
 +   - connect to and configure your device: 192.168.1.1,​ the luci interface should show up
 +
 +==== Notes ====
 +  - In case of problems it should be possible to flash back to original firmware via tftp firmware restore method.
 +  * Unplug power from Edimax
 +  * Press Wps/Reset button, and hold it while plugging in power
 +  * Manually set IP address on your PC.
 +  <code bash>
 +  IP Address: 192.168.1.2
 +  Netmask: 255.255.255.0
 +  Gateway: 192.168.1.1
 +  </​code>​
 +  * download tftp utility http://​philippe.jounin.pagesperso-orange.fr/​tftpd32.html,​ and send original firmware file to **192.168.1.6
 +**
 +    * make sure you use binary mode (using text mode may result in infinite slow flashing of wifi led)
 +    * perhaps waiting 5-10 minutes after firmware upload would be sufficient for it to flash
 +    * after flash you may see your settings from prior OpenWRT installation restored
 +
 +==== Details ====
 +^ Architecture: ​    | RAMIPS ​           |
 +^ Vendor: ​          | RALINK ​           |
 +^ Bootloader: ​      | U-Boot ​           |
 +^ System-On-Chip: ​  | RT3050F ​          |
 +^ CPU Speed: ​       | 320MHz ​           |
 +^ Flash-Chip: ​      | ?                 |
 +^ Flash size:       | 4MiB              |
 +^ RAM:              | 32MiB             |
 +^ Wireless: ​        | 802.11n (B/​G/​N) ​  |
 +^ Ethernet: ​        | 10/​100 ​           |
 +^ USB:              | Yes               |
 +^ Serial: ​          | Yes               |
 +^ JTAG:             | No                |
 +
 +
 +===== Buttons =====
 +To be able to control Wi-Fi with wlan on/off switch which is located next to antenna port, you have to make two scripts and put them into **/​etc/​hotplug.d/​button** folder.
 +
 +<code bash>
 +mkdir /​etc/​hotplug.d/​button
 +cd /​etc/​hotplug.d/​button
 +touch 00-wlan
 +</​code>​
 +Put this script into **00-wlan** (this script switches WIFI ON):
 +<code bash>
 +if [ "​$ACTION"​ = "​pressed"​ ]; then
 +   if [ "​$BUTTON"​ = "​BTN_0"​ ]; then
 +    uci set wireless.@wifi-device[0].disabled=0 && uci commit && wifi up   
 +   fi
 +fi
 +</​code>​
 +Now make the second script:
 +<code bash>
 +touch 01-wlan
 +</​code>​
 +Put this script into **01-wlan** (this script switches WIFI OFF):
 +<code bash>
 +if [ "​$ACTION"​ = "​released"​ ]; then
 +  if [ "​$BUTTON"​ = "​BTN_0"​ ]; then
 +  uci set wireless.@wifi-device[0].disabled=1 && uci commit && wifi down
 +  fi
 +fi
 +</​code>​
 +
 +Now you can switch wifi on/off with the wlan switch :)
 +
 +
 +===== Compilation From Trunk =====
 +Device is suported in Trunk since 32682
 +<code bash>
 +svn co svn://​svn.openwrt.org/​openwrt/​trunk/​
 +cd trunk
 +make menuconfig
 +</​code>​
 +  * Select "​Target System"​ as (Ralink RT288x/​RT3xxx)
 +  * Select "​Subtarget"​ as (RT305x based boards)
 +  * Select ​ "​Target Profile"​ as (Default Profile)
 +  * Exit, and save.
 +  * Type:
 +<code bash>
 +make
 +</​code>​
 +  *After compilation the firmware file is in **/​bin/​ramips/​** folder named as "​openwrt-ramips-rt305x-3g-6200n-squashfs-sysupgrade.bin"​
 +
 +
 +===== To Do =====
 +  * <​del>​Ap-client (STA mode) doesn'​t work</​del>​ WORKS 8-)!
 +  * Failsafe not working...WIP
 +  * Find the way to flash the openwrt firmware from original edimax web interface ​
 +  * multi-ssid: ap only might work, for sta/ap setup perhaps https://​dev.openwrt.org/​ticket/​12133
 +
 +===== Links =====
 +Polish forum openrouter.info from which this device was hacked by Ahajda and Lgolebio users.
 +  * http://​openrouter.info/​forum/​viewtopic.php?​f=22&​t=320
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +
 +{{tag>​ramips rt3050 4flash 32ram}}