本帖最後由 南瓜hk 於 2010-9-16 10:41 編輯
安裝 OPEN- WRT 方法
http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd
Open-WRT
最好是有serial, 或是有recovery mode, 如果有JTAG 就最好, 因為一有差錯, 真的要用上以些那些方法. 另外最好對*nix 有一點觀念.
你可以先用一個basic, precompile 的OpenWRT, 再用opkg install 你想要的, 前題還是最好有serial/recovery mode, 否則一brick 就救不回來, 特別是flash firmware 時
347#
1. 從網上獲知, TP-LINK 1043ND 原裝firmware 有兩個section 如下 :
0x00000 -> 0x20200 = Header + Uboot
0x20200 -> 0x7E01FF = Header + Firmware
2. 如果用 DD for Windows v0.5 去除原裝firmware 內的 first 0x20200 bytes, 便應可以去除 “Header + Uboot”, Command line 如下 :
DD if= wr1043nv1_en_3_9_17_up_boot(091118).bin of=without_header_uboot.bin skip=257 bs=512
Remark : wr1043nv1_en_3_9_17_up_boot(091118).bin =原裝firmware
http://www.chrysocome.net/downloads/dd-0.5.zip
3. 之後用 windows XP 的 tftp client 將without_header_uboot.bin Flash 去 TP-LINK 1043ND, procedure 跟command line 如下 :
Windows 2000/XP TFTP Client short Instructions :
- Open two command windows (Start-Run-Enter "cmd")
- In one window, type "ping -t -w 10 192.168.1.1" and press enter. 192.168.1.1 is the router IP.
- Ping will continuously try to contact the wrt with 10 ms timeout instead of default 4000 ms. Keep this running
- In the other window, prepare the tftp command "tftp -i 192.168.1.1 PUT without_header_uboot.bin". Do not press enter yet!
- Now you may plug in the router (unplug it first if it was plugged).
- In the ping window it will start saying "Hardware Error"
- Return to the tftp window. As soon as the ping window starts to answer again, press enter in the tftp window.
- The image should now be flashed without multiple tries.
- If ping starts with "Hardware Error", then starts to answer, and then returns to "Hardware Error" again for a short moment, you waited too long.
其他資訊:
http://wiki.openwrt.org/toh/tp-link/tl-wr1043nd?s=tplink
http://www.pczone.com.tw/vbb3/thread/29/150684/ |