我决定用 OpenWRT 固件刷新路由器。 化合物 I 用于 PPTP,而“盒子”不支持 PPTP。 已设置向路由器发送数据包,但安装错误。 究竟如何解决?
root@OpenWrt:/# opkg install kmod-pptp_3.18.17-1_ar71xx.ipk
Installing kmod-pptp (3.18.17-1) to root...
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod- pptp:
* kernel (= 3.18.17-1-5dcb66d04a38219f7fd91c748f0e9a32) * kmod-gre *
* opkg_install_cmd: Cannot install package kmod-pptp.
答案1
您下载的软件包适用于不同版本的 OpenWrt。您可以通过查看登录消息或来查看您安装的是哪个版本/etc/openwrt_release
。它看起来像这样:
DISTRIB_ID="OpenWrt"
DISTRIB_RELEASE="14.07"
DISTRIB_REVISION="r42625"
DISTRIB_CODENAME="barrier_breaker"
DISTRIB_TARGET="ar71xx/generic"
DISTRIB_DESCRIPTION="OpenWrt Barrier Breaker 14.07"
DISTRIB_TAINTS=""
然后您可以转到https://downloads.openwrt.org/$DISTRIB_CODENAME/$DISTRIB_RELEASE/$DISTRIB_TARGET/packages
(在此示例中https://downloads.openwrt.org/barrier_breaker/14.07/ar71xx/generic/packages/
:)来获取与您的设置兼容的包。
为了轻松获取 URL,您可以使用以下命令:
source /etc/openwrt_release
echo https://downloads.openwrt.org/$DISTRIB_CODENAME/$DISTRIB_RELEASE/$DISTRIB_TARGET/packages