• First, unlock the SSH function of the router, there are many tutorials online

  • Update the opkg source:

    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
    
  • Execute opkg update

  • Attempt to install speedtestcpp, error occurs due to inability to find libstdcpp6, which is not available in the official repository

  • Found on Openwrt official website snapshots:

    https://downloads.openwrt.org/snapshots/targets/ipq807x/generic/packages/libstdcpp6_12.3.0-4_aarch64_cortex-a53.ipk
    
  • Download to the router for local installation:

    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.
    
  • Installation complete