Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
doc:openwrt [2013/05/19 01:58]
stwn +kategori paket
doc:openwrt [2016/07/16 03:49]
stwn +flashing stock firmware
Line 40: Line 40:
   * Mutakhirkan indeks paket. <​code>​opkg update</​code>​   * Mutakhirkan indeks paket. <​code>​opkg update</​code>​
   * Pasang paket. <​code>​opkg install wget-nossl terminfo libncurses screen</​code>​   * Pasang paket. <​code>​opkg install wget-nossl terminfo libncurses screen</​code>​
 +
 +===== Mengembalikan ke Firmware Bawaan =====
 +  * Download the factory original firmware from the official site. <​code>​$ wget -c http://​www.tp-link.com/​resources/​software/​TL-WR743ND_V2_131129.zip</​code>​
 +  * Save the hash of the archive. <​code>​$ sha1sum TL-WR743ND_V2_131129.zip > TL-WR743ND_V2_131129.zip.sha1</​code>​
 +  * Unzip the archive. <​code>​$ unzip TL-WR743ND_V2_131129.zip
 +Archive: ​ TL-WR743ND_V2_131129.zip
 +  inflating: wr743ndv2_en_3_17_0_up_boot(131129).bin
 +  inflating: How to upgrade TP-LINK Wireless ​ N Router.pdf</​code>​
 +  * Copy *.bin to the machine which we want to flash with scp. <​code>​scp *.bin root@192.192.168.1.1:</​code>​
 +  * Login to the machine with SSH. <​code>​$ ssh root@192.168.1.1
 +root@192.168.1.1'​s password:</​code><​code>#​ ls
 +wr743ndv2_en_3_17_0_up_boot(131129).bin</​code><​code>#​ df -h
 +Filesystem ​               Size      Used Available Use% Mounted on
 +rootfs ​                 640.0K ​   600.0K ​    ​40.0K ​ 94% /
 +/​dev/​root ​                ​2.3M ​     2.3M         0 100% /rom
 +tmpfs                    14.0M    536.0K ​    ​13.5M ​  4% /tmp
 +/​dev/​mtdblock3 ​         640.0K ​   600.0K ​    ​40.0K ​ 94% /overlay
 +overlayfs:/​overlay ​     640.0K ​   600.0K ​    ​40.0K ​ 94% /
 +tmpfs                   ​512.0K ​        ​0 ​   512.0K ​  0% /​dev</​code>​
 +   * Try to flash the firmware with mtd.<​code>#​ mtd -r write wr743ndv2_en_3_17_0_up_boot\(131129\).bin firmware</​code><​code>​Unlocking firmware ...
 +
 +Writing from wr743ndv2_en_3_17_0_up_boot(131129).bin to firmware ...  [e]Failed to erase block</​code>​
 +  * If it is failed, then use dd command first to skip the first 257 512-byte block.<​code>#​ mv wr743ndv2_en_3_17_0_up_boot\(131129\).bin orig.bin</​code><​code>#​ dd if=orig.bin of=tplink.bin skip=257 bs=512</​code><​code>​7680+0 records in
 +7680+0 records out</​code>​
 +  * Run to reflash the firmware again.<​code>#​ mtd -r write tplink.bin firmware</​code><​code>​Unlocking firmware ...
 +
 +Writing from tplink.bin to firmware ...     
 +Rebooting ...
 +Connection to 192.168.1.1 closed by remote host.
 +Connection to 192.168.1.1 closed.</​code>​
 ===== Daftar Bacaan ===== ===== Daftar Bacaan =====
   * [[http://​wiki.openwrt.org/​toh/​tp-link/​tl-mr3020|Wiki OpenWrt: TP-Link TL-MR3020]]   * [[http://​wiki.openwrt.org/​toh/​tp-link/​tl-mr3020|Wiki OpenWrt: TP-Link TL-MR3020]]
 
doc/openwrt.txt ยท Last modified: 2016/07/16 06:22 by stwn · [Old revisions]
Recent changes RSS feed Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki