GLiNET-安裝內網iPerf3測速服務器
GLiNET-安裝內網iPerf3測速服務器

GLiNET-安裝內網iPerf3測速服務器

适用架构:ARMv8 Processor rev 4
使用芯片:IPQ5312
测试通过:OpenWrt 23.05-SNAPSHOT / LuCI Master git-26.031.39872-cd4e1db

iperf3官网:https://iperf.fr/iperf-download.php
介绍:iperf3是一个内网测速软件。

服务端:
路由器安装libiperf3_3.12-1_aarch64_cortex-a53.ipk
再安装iperf3_3.12-1_aarch64_cortex-a53.ipk
然后路由器进入ssh输入 iperf3 -s 开启服务端监听(默认5201端口)
注意:关掉终端后,进程会关闭,为了后台运行,你可以在命令后面加上&

root@ImmortalWrt:~# iperf3 -s &
———————————————————–
Server listening on 5201 (test #1)
———————————————————–

⚠️你需要自啟動的話請在启动项這裡添加iperf3 -s &
# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.

. /lib/functions/gl_util.sh
remount_ubifs

⚠️這個位置添加
iperf3 -s &

echo 3 > /proc/sys/vm/drop_caches
exit 0

手机客户端:
手机安装Termux,打开后输入
pkg install iperf3
安装好后,输入
iperf3 -c 192.168.1.1 (路由器IP地址)即可。

电脑客户端:
打开终端,输入
./iperf3.exe -c 192.168.1.1 (路由器IP地址)

發佈留言