2018年12月23日 星期日

TP-link archer c50v4 刷openwrt

因為國外工廠出錯區碼,需要一台全頻道5G AP的來測試哪些頻道可以工作

使用的AP是TP-Link Archer C50v4,但是在openwrt上只能看到v4
原本以為沒機會了找到這篇文章
https://forum.openwrt.org/t/support-for-archer-c50-v4/20174



這邊有編譯好的firmware (不包含Luci)
https://niklas.theis-web.eu/2018/12/12/openwrt-on-archer-c50v4/

刷好韌體之後,LAN端會啟動DHCP Server插上網路線到NB設定自動取得
使用SSH連接192.168.1.1 帳號root 沒有密碼直接按Enter就可以登入了

安裝Luci
#opkg update
#opkg install luci
#opkg install luci-i18n-base-zh-tw

啟動服務
#/etc/init.d/uhttpd start

完成之後就可以使用瀏覽器連上WebUI了
其他操作可參考
https://oldwiki.archive.openwrt.org/doc/howto/luci.essentials#


1. 如果WebUI出現錯誤訊息
"/usr/lib/lua/luci/dispatcher.lua:247":  unable to find section 'main'
試著啟動rpcd服務
#/etc/init.d/rpcd start

2. opkg並沒有像yum一樣可以一次全部套件升級
需要執行 opkg list-upgradable | cut -f 1 -d ' ' | xargs opkg upgrade
P.S 套件base-files無法升級是正常的
https://unix.stackexchange.com/questions/400231/how-do-i-upgrade-all-of-my-installed-packages-in-lede


3. 如果發生設定完成之後重開機設定無法保留
可試著執行firestboot來重設試試看
https://forum.openwrt.org/t/lede-settings-lost-after-reboot/9209
https://blog.wawajohn.net/530.html


4. 如果遇到StartUp功能無法正常作用,造成WebUI重開機不會自動啟動
需要手動設定/etc/rc.local 加上
/etc/init.d/rpcd start
/etc/init.d/uhttpd start

沒有留言:

張貼留言