1、下載安裝
訪問WR703N在OpenWrt的Wiki頁,然后在Flashing一節中找到下載鏈接:squashfs-factory.bin。
進入路由器管理界面,出廠配置為http://192.168.1.1,用戶名和密碼均為admin,然后進入固件更新,選擇下載的文件,然后更新。記錄路由的所有mac地址,最好到官網下載bin文件,http://www.luyoudashi.com/roms/vendor-13350.html參考bin鏈接 https://oldwiki.archive.openwrt.org/toh/tp-link/tl-wdr4310 http://blog.huatai.me/2014/10/26/upgrade-openwrt-for-tp-link-tl-wdr4310-router/ https://www.right.com.cn/forum/thread-162768-1-1.html pppoe配置https://www.jianshu.com/p/f6de111f3c34 變磚后http://www.583go.com/article-1964-1.html U-Boot 刷機方法大全https://www.right.com.cn/forum/thread-154561-1-1.html uboot下載:ftp://ftp.denx.de/pub/u-boot/ breed http://breed.tomato.org.cn/r1010%20[2017-04-16]/ breed-ar9344-ar8327n.bin 完整教程 https://blog.csdn.net/u014389786/article/details/52464349




等待一段時間(~~2min),然后重啟路由。
P.S. 官方固件不帶WebUI,所以需要對Linux系統較為熟悉,否則可以選擇國內有人編譯的帶LuCI和中文支持的版本,Google即可。
2、初始配置
首先用一根網線將703N的Lan口和你電腦相連,電腦上設置為DHCP模式。然后運行cmd.exe
輸入telent 192.168.1.1
成功后出現OpenWrt的歡迎界面:

然后更改root密碼:
輸入passwd
更改root密碼后dropbear(SSH 服務)就運行了,輸入exit退出telent
以后就可以通過ssh管理OpenWrt
3、網絡配置
OpenWrt官方的固件是不帶LuCl的,所以初始的網絡設定需要在命令行下完成
下載ssh連接工具putty
輸入192.168.1.1

點擊open,如果彈出什么窗口點是即可

輸入用戶名root回車 然后輸入你剛剛設定的密碼
然后用vi修改相關配置(不會用vim的同學悲劇了)。
首先修改/etc/config/wireless文件
輸入vi /etc/config/wireless回車

注釋掉# option disabled 1

進入此界面后按i進入修改模式,改成如圖所示
改好后按esc,然后輸入:wq保存退出
然后修改/etc/config/network文件。
首先修改lan接口配置,注釋掉此行:
# option ifname 'eth0'
然后增加wan接口,如果你上級網絡是DHCP的,則文件的末尾添加:
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
如果你上級網絡是靜態IP,則在文件的末尾添加:
config interface 'wan'
option ifname 'eth0'
option proto 'static'
option ipaddr '10.22.33.124'
option netmask '255.255.255.0'
option gateway '10.22.33.1'
option dns '202.113.16.10'

此圖為修改為靜態ip模式
然后將路由器的Lan/Wan口接到上級網絡中,重啟路由器。
這時便可以通過電腦尋找SSID為 OpenWrt的無線網絡,加入后電腦便可以通過703N上網了。
接着ssh 到路由器
登陸后輸入opkg update
opkg install luci
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start
就有luci(WEB)界面了~
完后就可以通過瀏覽器訪問192.168.1.1來配置路由器了
這樣就可以玩你的WR703N了
未完,待續
tplink wdr 4310 刷寫openwrt
參考論壇中的資料
1、在原有官方固件web下 更適合TPLINK wdr 4310 的固件
下載后的文件
先刷上這個openwrt-ar71xx-generic-tl-wdr4310-v1-squashfs-factory.bin
再刷這個openwrt-ar71xx-generic-tl-wdr4310-v1-squashfs-sysupgrade.bin
2、更新固件后路由器地址為192.168.1.1 無線不能使用
3、telnet登錄到 openwrt 路由器
4、修改密碼后開啟ssh
5、使用winsacp 上傳固件到 /tmp 目錄下
6 、使用命令 mtd -r write /tmp/openwrt-ar71xx-generic-tl-wdr4310-v1-squashfs-sysupgrade.bin firmware
10-20秒后重啟
7、重啟后 執行 步驟3 和步驟4
8、此時 web頁面無法打開
進入 /tmp目錄執行
opkg update
opkg install luci
進入/etc/init.d/目錄執行
./uhttpd enable
./uhttpd start
9、在瀏覽器上打開路由器頁面http://192.168.1.1 設置密碼
10、軟件包中搜索luci 安裝中文語言包
再刷這個openwrt-ar71xx-generic-tl-wdr4310-v1-squashfs-sysupgrade.bin
2、更新固件后路由器地址為192.168.1.1 無線不能使用
3、telnet登錄到 openwrt 路由器
4、修改密碼后開啟ssh
5、使用winsacp 上傳固件到 /tmp 目錄下
6 、使用命令 mtd -r write /tmp/openwrt-ar71xx-generic-tl-wdr4310-v1-squashfs-sysupgrade.bin firmware
10-20秒后重啟
7、重啟后 執行 步驟3 和步驟4
8、此時 web頁面無法打開
進入 /tmp目錄執行
opkg update
opkg install luci
進入/etc/init.d/目錄執行
./uhttpd enable
./uhttpd start
9、在瀏覽器上打開路由器頁面http://192.168.1.1 設置密碼
10、軟件包中搜索luci 安裝中文語言包
11、按需求安裝其他軟件
12 、重新刷寫編譯好支持openflow的固件
12 、重新刷寫編譯好支持openflow的固件
|
|
| 一時腦熱,作死了。
關鍵點:
直接WEB頁面刷入openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-factory.bin。
|
