小米AX6/AX3600安装libstdcpp6

2023 / 11 / 15

  • 首先解锁路由器ssh功能,教程网上很多

  • 更新opkg源:

    src/gz openwrt_base http://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/base src/gz openwrt_luci http://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/luci src/gz openwrt_packages http://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages src/gz openwrt_routing http://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/routing
  • 执行opkg update

  • 尝试安装speedtestcpp,报错找不到libstdcpp6,官方源里面没有

  • 在Openwrt官网snapshots里找到:

    https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/packages/libstdcpp6_12.3.0-4_aarch64_cortex-a53.ipk
  • 下载至路由器本地安装:

    root@XiaoQiang:/tmp# wget https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/packages/libstdcpp6_12.3.0-4_aarch64_cortex-a53.ipk --2023-11-15 10:19:56-- https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/packages/libstdcpp6_12.3.0-4_aarch64_cortex-a53.ipk Resolving downloads.openwrt.org... 2a01:4f8:251:321::2, 168.119.138.211 Connecting to downloads.openwrt.org|2a01:4f8:251:321::2|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 582943 (569K) [application/octet-stream] Saving to: 'libstdcpp6_12.3.0-4_aarch64_cortex-a53.ipk' libstdcpp6_12.3.0-4_aarch64_cortex-a53 100%[=========================================================================>] 569.28K 425KB/s in 1.3s 2023-11-15 10:19:59 (425 KB/s) - 'libstdcpp6_12.3.0-4_aarch64_cortex-a53.ipk' saved [582943/582943] root@XiaoQiang:/tmp# opkg install ./libstdcpp6_12.3.0-4_aarch64_cortex-a53.ipk Installing libstdcpp6 (12.3.0-4) to root... Configuring libstdcpp6.
  • 安装完成