Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenWrt one-line script cannot run on newer snapshot builds because they use apk instead of opkg #53

Open
sppmasterspp opened this issue Jan 13, 2025 · 0 comments

Comments

@sppmasterspp
Copy link

OpenWrt one-line script cannot run on newer snapshot builds because they use apk package manager by default incited of opkg.
Please update the one-line script so it can run on latest OpenWrt snapshot builds too.
Current output is


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

Redirecting output to 'wget-log'.
ls: /tmp/opkg-lists/: No such file or directory
/dev/fd/64: line 22: opkg: not found

Packages:
/dev/fd/64: line 27: opkg: not found
Installed wg...
/dev/fd/64: line 31: opkg: not found
/dev/fd/64: line 34: opkg: not found
Installed iperf3...
/dev/fd/64: line 38: opkg: not found
/dev/fd/64: line 41: opkg: not found
Installed ip-full...
/dev/fd/64: line 45: opkg: not found
/dev/fd/64: line 48: opkg: not found
Installed kmod-veth...
/dev/fd/64: line 52: opkg: not found
/dev/fd/64: line 55: opkg: not found
Installed psmisc...
/dev/fd/64: line 59: opkg: not found

Router details:
{
        "kernel": "6.6.71",
        "hostname": "QNAP",
        "system": "ARMv8 Processor rev 4",
        "model": "QNAP 301w",
        "board_name": "qnap,301w",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "revision": "r28667-fad29aac0e",
                "target": "qualcommax/ipq807x",
                "description": "OpenWrt SNAPSHOT r28667-fad29aac0e",
                "builddate": "1736405570"
        }
}
Connecting to host 169.254.200.2, port 4242
[  5] local 169.254.200.1 port 35592 connected to 169.254.200.2 port 4242
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  79.5 MBytes   666 Mbits/sec    0    353 KBytes
[  5]   1.00-2.00   sec  78.6 MBytes   660 Mbits/sec    0    390 KBytes
[  5]   2.00-3.00   sec  78.5 MBytes   659 Mbits/sec    0    418 KBytes
[  5]   3.00-4.00   sec  77.8 MBytes   652 Mbits/sec    0    418 KBytes
[  5]   4.00-5.00   sec  78.4 MBytes   657 Mbits/sec    0    418 KBytes
[  5]   5.00-6.00   sec  79.2 MBytes   665 Mbits/sec    0    440 KBytes
[  5]   6.00-7.00   sec  78.2 MBytes   657 Mbits/sec    0    440 KBytes
[  5]   7.00-8.00   sec  79.5 MBytes   667 Mbits/sec    0    440 KBytes
[  5]   8.00-9.00   sec  79.4 MBytes   666 Mbits/sec    0    440 KBytes
[  5]   9.00-10.00  sec  79.6 MBytes   668 Mbits/sec    0    440 KBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec   789 MBytes   662 Mbits/sec    0             sender
[  5]   0.00-10.00  sec   788 MBytes   661 Mbits/sec                  receiver

iperf Done.
exec of "fuser" failed: No such file or directory
root@QNAP:~#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant