問題
默認源在國內訪問速度普遍比較慢。
PS: 本篇理論上應該幾年前就寫的……以前經常用臺灣省的網絡,沒發現,現在補一篇。
解決
- 更換清華大學源
<code>sed -i 's/downloads\\.openwrt\\.org/mirrors\\.tuna\\.tsinghua\\.edu\\.cn\\/openwrt/g' /etc/opkg/distfeeds.conf
opkg update/<code>
- 使用 https
<code>opkg install libustream-mbedtls
sed -i 's/http:/https:/g' /etc/opkg/distfeeds.conf/<code>
相關
如果您想把整個軟件源下載到本地,可以參考:https://github.com/UMU618/openwrt-opkg-cache
閱讀更多 量子邪穌 的文章