在某寶上淘了一個TP-LINK WR841N V8,已經硬改成8M閃存和64M內存,還刷好了Uboot。可是賣家刷好的系統是第三方定製過的OpenWRT,集成了不少不須要用到的軟件,因此我要刷回官方原版。html
研究了一晚,終於知道怎麼刷了。瀏覽器
一、下載官網的固件:http://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.binide
二、路由器斷電spa
三、路由器全部網口拔開網線,僅讓一臺電腦鏈接LAN口htm
四、按住RESET鍵並通電,4秒後鬆開內存
五、電腦設置IP爲192.168.1.123,掩碼255.255.255.0ci
六、電腦瀏覽器訪問http://192.168.1.1,會出現刷機界面路由
七、上傳openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin刷入,等待路由器自動重啓v8
八、一切正常後,訪問http://192.168.1.1就是OpenWRT的登陸界面了。it
刷好後,LAN1纔是真的WAN口,WAN口就是LAN1了。LED燈和網口也不對應,那麼須要參考如下配置修改/etc/config/system:
----------------------------------------------分割線-----------------------------------------------
tl-wr841n-v8)
ucidef_set_led_netdev "wan""WAN" "tp-link:green:wan" "eth0"
ucidef_set_led_switch "lan1""LAN1" "tp-link:green:lan1" "switch0""0x02"
ucidef_set_led_switch "lan2""LAN2" "tp-link:green:lan2" "switch0""0x04"
ucidef_set_led_switch "lan3""LAN3" "tp-link:green:lan3" "switch0""0x08"
ucidef_set_led_switch "lan4""LAN4" "tp-link:green:lan4" "switch0""0x10"
ucidef_set_led_wlan "wlan""WLAN" "tp-link:green:wlan" "phy0tpt"
;;
-----------------------------------------------分割線------------------------------------------------
更多信息可參考http://www.right.com.cn/forum/thread-145184-1-1.html