gpt4 book ai didi

router - OpenWRT:无法安装软件包 - 内存问题

转载 作者:行者123 更新时间:2023-12-03 00:18:07 32 4
gpt4 key购买 nike

我将我的:TP-Link TL-WR1043N/ND v1从默认固件切换到 OpenWrt,并且遇到无法安装任何新软件包的问题.

我做了什么:

  • Flash OpenWrt
  • 已安装 Luci(没问题)

当我尝试安装其他任何东西时我得到:

Collected errors:
* xsystem: wget: vfork: Out of memory.
* opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/luci/luci-app-wshaper_git-15.338.68695-3bae3c7-1_all.ipk, wget returned -1.
* opkg_install_pkg: Failed to download luci-app-wshaper. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package luci-app-wshaper.

重要的事情似乎是:* xsystem: wget: vfork: 内存不足。是的,我确实尝试了几次重新启动和“更新”。

但是在 Luci -> Software 下我可以看到:

enter image description here

这是我的 DF 输出:

root@OpenWrt:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2048 2048 0 100% /rom
tmpfs 14052 1128 12924 8% /tmp
/dev/mtdblock3 4736 936 3800 20% /overlay
overlayfs:/overlay 4736 936 3800 20% /
tmpfs 512 0 512 0% /dev
root@OpenWrt:~#

OpenWRT路由器链接: https://wiki.openwrt.org/toh/tp-link/tl-wr1043nd

制造商链接: http://www.tp-link.com/en/download/TL-WR1043ND_V1.html

请问有人知道可能导致此问题的原因吗?我知道解决方案可能是使用外部 USB,但我想不惜一切代价避免这种情况 + 我无法想象这个路由器会有空间只供 luci :)

最佳答案

进入/etc/opkg/distfeeds.conf 并注释掉除前两个 base 和 luci 之外的所有内容。

不知道为什么,但 opkg 开始使用大量 RAM,并且默认启用所有这些功能。

关于router - OpenWRT:无法安装软件包 - 内存问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34112053/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com