Hi, I'm working on adding support for Edimax 3G-6200N router to trunk. I almost finished the job, but I need someone who hasn't flash his router with openwrt. Currently the only image file that works is "openwrt-ramips-rt305x-v22rw-2x2-squashfs-sysupgrade.bin" but the problem is that it deletes the partition where the wan MAC address is stored and also many things just doesn't work properly. [s]I need the dump form "cimage" partition cause I erased mine .[/s]
Can anyone help ?
All you need is to:
1. Open your browser go to http://router_ip/syscmd.asp
2. In input box enter: /usr/sbin/telnetd -l /bin/ash and click apply
3. Close web browser, and open terminal, open telnet session =>"telnet router_ip"
[s]a) cd /tmp
b) cat /dev/mtd5 > /tmp/cimage.bin
c) And post here the output of "cat /tmp/cimage.bin"[/s]
a) post the output of
flash all
[s]
There will be a lot of garbage, but that's ok, only thing I need to know if I'm 100% sure about mac stored in this partition.
Or, you can install the firmware I prepared, which shouldn't delete that partition, cause it creates "cimage" with the same size and offset as original. Post it with hexdump or send it via mail.
1. Do the same as above from 1 to 3 (up to telnet).
cd /tmp
wget http://dl.dropbox.com/u/7157357/My-file … pgrade.bin
wget http://dl.dropbox.com/u/7157357/My-files/mtd
chmod +x mtd
./mtd -r write openwrt-ramips-rt305x-3g-6200n-squashfs-sysupgrade.bin Kernel:RootFS
2. telnet to edimax on 192.168.1.1
dd if=/dev/mtd6 of=/tmp/cimage.img /*it is now mtd6 not mtd5, but it is still the same size on on the same offset*/
scp /tmp/cimage.bin to your linux PC
for example:
scp /tmp/cimage.bin root@your_pc_ip:/home_dir
post cimage.bin on forum or send it via mail[/s]
(Last edited by lgolebio on 21 Jun 2012, 18:06)