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
Next revisionBoth sides next revision
toh:edimax:3g-6200n [2012/07/09 17:25] lgolebiotoh:edimax:3g-6200n [2023/09/26 19:51] – [Hardware Highlights] wirelessfreedom
Line 1: Line 1:
 +====== Edimax 3G-6200N ======
  
 +{{section>meta:infobox:432_warning#infobox_for_dataentries&noheader&nofooter&noeditbutton}}
 +
 +===== Supported Versions =====
 +---- datatable ----
 +cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid
 +headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data
 +align   : c,c,c,c,c,c,c
 +filter  : Model*~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 =====
 +---- datatable ----
 +cols    : Model, Versions, CPU, CPU MHz, Flash MB_mbflashs, RAM MB_mbram, WLAN Hardware, WLAN 2.4Ghz, WLAN 5.0Ghz, Ethernet 100M ports_, Ethernet Gbit ports_, Modem, USB ports_
 +header  : Model, Version,SoC,CPU MHz,Flash MB,RAM MB,WLAN Hardware,WLAN2.4,WLAN5.0,100M ports,Gbit ports,Modem,USB
 +align   : c,c,c,c,c,c,c,c,c,c,c,c,c
 +filter  : Model*~R*21S
 +----
 +
 +
 +===== Installation =====
 +---- datatable ----
 +cols    : Model, Versions, Supported Current Rel, Firmware OpenWrt Install URL_url, Firmware OpenWrt Upgrade URL_url, Firmware OEM Stock URL_url
 +headers : Model, Version, Current Release, Firmware OpenWrt Install, Firmware OpenWrt Upgrade, Firmware OEM Stock
 +align   : c,c,c
 +filter  : Model*~3G-6200N
 +----
 +
 +-> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
 +
 +
 +**''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
 +
 +===== Hardware =====
 +==== Details ====
 +^ Architecture     | RAMIPS            |
 +^ Vendor           | RALINK            |
 +^ Bootloader       | U-Boot            |
 +^ System-On-Chip   | RT3050F           |
 +^ CPU Speed        | 320MHz            |
 +^ Flash-Chip       | MX29LV320T        |
 +^ Flash size       | 4MiB              |
 +^ RAM              | 32MiB             |
 +^ Wireless         | 802.11n (B/G/N)   |
 +^ Ethernet         | 10/100            |
 +^ USB              | Yes               |
 +^ Serial           | Yes               |
 +^ JTAG             | 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}}
 +
 +===== 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}}
  • Last modified: 2024/02/12 08:58
  • by 127.0.0.1