iperf3: error - unable to send control message: Bad file descriptor

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

iperf3: error - unable to send control message: Bad file descriptor

跳至解决方案
47,427 次查看
tanoue
Contributor III

Hi.

I would like to measure Wi-Fi throughput with i.MX8M Plus EVK.

I tried to measure it with iperf3 but the following message was shown.

iperf3: error - unable to send control message: Bad file descriptor

 

My measurement environment here.

[client]

i.MX8M Plus EVK

iperf 3.9 (cJSON 1.7.13)

IP:192.168.128.125

command:# iperf3 -c 192.168.128.143 -p 5201

 

[server]

PC:ubuntu 20.04

iperf 3.7 (cJSON 1.5.2)

IP 192.168.128.143

command:# iperf3 -s

 

On server, I done tcp and udp port openning.

What should I do on client?

Anything else?

 

Best Regards.

Tanoue.

0 项奖励
回复
1 解答
47,405 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please check your  firewall settings

在原帖中查看解决方案

0 项奖励
回复
3 回复数
47,406 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please check your  firewall settings

0 项奖励
回复
47,377 次查看
tanoue
Contributor III

Hi, @Zhiming_Liu 

Sorry, I don't have any information about firewall setting.

Please let me know how to open firewall on i.MX8M Plus EVK?

If possible, also on Ubuntu.

 

Best Regards.

Tanoue.

0 项奖励
回复
47,256 次查看
tanoue
Contributor III

I could run iperf3 after setting firewall.

It's procedure is written the following.

$ iptables -A INPUT -p tcp -i eth0 --dport 5201 -j ACCEPT
$ iptables-save > /etc/iptables/iptables.rules

Thank you, @Zhiming_Liu 

 

Best Regards.

Tanoue

0 项奖励
回复