Wi-Fi iperf example error

eli_az
Posts: 16
Joined: Tue Jun 05, 2018 11:30 am

Wi-Fi iperf example error

Postby eli_az » Mon Nov 26, 2018 4:50 pm

Hi,

I am trying to test the Wi-Fi link from the ESP32 to my router.
I started with the iperf example to simplify things.

at the iperf example i type:
sta network_name (network_name = ssid)
iperf -c 192.168.1.1 (router ip)

the output of this client request is "tcp client connect error, error 104: connection reset by peer"

I tried setting up one ESP32 as AP and the other as station and the example worked.
I also tried open the 5001 port in my router and it didn't help.

anyone had this problem?

ESP_Sprite
Posts: 9016
Joined: Thu Nov 26, 2015 4:08 am

Re: Wi-Fi iperf example error

Postby ESP_Sprite » Tue Nov 27, 2018 2:09 am

Do you also have iperf running on your router?

eli_az
Posts: 16
Joined: Tue Jun 05, 2018 11:30 am

Re: Wi-Fi iperf example error

Postby eli_az » Tue Nov 27, 2018 8:07 am

So i made a mistake and tried to run iperf on my router ip with iperf tool running on windows..
Thanks for the help.

Who is online

Users browsing this forum: llzzdd and 126 guests