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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
47,426 Views
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 Kudos
Reply
1 Solution
47,404 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please check your  firewall settings

View solution in original post

0 Kudos
Reply
3 Replies
47,405 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Please check your  firewall settings

0 Kudos
Reply
47,376 Views
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 Kudos
Reply
47,255 Views
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 Kudos
Reply