发布网友 发布时间:2022-05-15 16:44
共1个回答
热心网友 时间:2024-02-25 08:27
我的路由器是:tl-wr740n,电脑 win7
可以用,你要 修改一下源,命令:
vi /etc/opkg.conf
里面有一系列网址,用浏览器进去试试能不能打开,如果不能打开就修改下url,如下图红线部分去掉看看
http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/base
去掉后面的红线部分后发现可以访问这个网址
http://downloads.openwrt.org/snapshots/trunk/ar71xx/
然后顺藤摸瓜,得到这个网址:
http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base/
然后把里面的网址都按照对应的规律改一下就行了,你的文件里面可能只有一个网址,那就改一个就行了,我的有多个,每个都要改一下。
就是原来url中 ar71xx和 pacchages之间多了 generic,每个网址都加入
修改后的文件如下
st root /
st ram /tmp
sts_dir ext /var/opkg-lists
tion overlay_root /overlay
c/gz chaos_calmer_base http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/base
c/gz chaos_calmer_luci http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci
c/gz chaos_calmer_management http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/management
c/gz chaos_calmer_packages http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/packages
c/gz chaos_calmer_routing http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/routing
c/gz chaos_calmer_telephony http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/telephony
最后,执行opkg update 命令,更新源,成功了!!!