wg-bench icon indicating copy to clipboard operation
wg-bench copied to clipboard

Unable to run wg-bench test on OpenWrt

Open sppmasterspp opened this issue 9 months ago • 5 comments

I cannot run this test on OpenWrt. I get this error https://forum.openwrt.org/t/a-wireguard-comparison-db/187586/145?u=sppmaster Additionally even after running cleanup I have this remaining. I believe it was created by the script and will disappear after reboot but I think it's better to be removed by the cleanup too. image

I've tried to run one-line script too unsuccessfully. Got this error.

root@QNAP:~# sh <(wget -O - https://raw.githubusercontent.com/cyyself/
wg-bench/master/openwrt-benchmark.sh)

Redirecting output to 'wget-log'.

Packages:
Wireguard already installed
Iperf3 already installed
ip-full already installed
kmod-veth already installed
Installed psmisc...
Installing psmisc (23.7-r1) to root...
Downloading https://downloads.openwrt.org/snapshots/packages/aarch64_cortex-a53/packages/psmisc_23.7-r1_aarch64_cortex-a53.ipk
Configuring psmisc.

Routers details:
{
        "kernel": "6.6.30",
        "hostname": "QNAP",
        "system": "ARMv8 Processor rev 4",
        "model": "QNAP 301w",
        "board_name": "qnap,301w",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r26276+1-ac6cd6a535",
                "target": "qualcommax/ipq807x",
                "description": "OpenWrt SNAPSHOT r26276+1-ac6cd6a535"
        }
}
Cannot open init namespace: No such file or directory
RTNETLINK answers: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
setting the network namespace "wg-bench" failed: Invalid argument
iperf3: error - unable to connect to server - server may have stopped running or use a different port, firewall issue, etc.: Operation timed out
setting the network namespace "wg-bench" failed: Invalid argument
root@QNAP:~#

Is there a way to troubleshoot this?

sppmasterspp avatar May 09 '24 21:05 sppmasterspp