Iperf stress test in openwrt 23.05.2

Conducting iperf stress test [WiFi with ip 192.168.1.12] in in openwrt 23.05.02 with command,
iperf -s

In another Ubuntu PC running the below command,

iperf3 -c 192.168.1.12 -i 1 -w 256k -t 86400 -f M --logfile network-test.txt

After around 14 hrs OpenWRT reboots with Watchdog reset. Test never completed the 86400 seconds, but normally openwrt reboots within 11 to 14 hours.

For my customer I wanted it to complete without reboots. Can help ?

Do you have a question?? Are you looking to resolve this or is it just an FYI?

Yes please. I wanted it to complete without reboot . Can help ?

Not nearly enough information to help at this point....

Maybe start with the configs:

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/config/network
cat /etc/config/wireless
cat /etc/config/dhcp
cat /etc/config/firewall
root@ACA810:/# ubus call system board
{
        "kernel": "5.15.137",
        "hostname": "ACA810",
        "system": "MediaTek MT7628AN ver:1 eco:2",
        "model": "589-EKH0A-11N-11AC",
        "board_name": "ccc,589-ekh0a-11n-11ac",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "23.05.2",
                "revision": "r23630-842932a63d",
                "target": "ramips/mt76x8",
                "description": "OpenWrt 23.05.2 r23630-842932a63d"
        }
}
root@ACA810:/# cat /etc/config/network
config interface 'loopback'
        option device 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd0e:e56d:3eb2::/48'

config interface 'wan'
        option ifname 'wlan0'
        option proto 'dhcp'

config switch
        option name 'switch0'
        option reset '1'
        option enable_vlan '1'

config switch_vlan
        option device 'switch0'
        option vlan '1'
        option ports '1 2 3 4 0'

config interface 'lan'
        option proto 'dhcp'
        option defaults_applied '1'

config interface 'privlan'
        option device 'br0'
        option proto 'static'
        option ipaddr '10.42.0.1'
        option netmask '255.255.255.0'
        option defaults_applied '1'

config interface 'ahwlan'
        option ifname 'wlan1'
        option proto 'dhcp'
#       option proto 'static'
#       option ipaddr '192.168.1.1'
#       option netmask '255.255.255.0'
        option defaults_applied '1'


root@ACA810:/# cat /etc/config/wireless 

config wifi-device 'radio0'
        option type 'mac80211'
        option path 'platform/10300000.wmac'
        option channel '1'
        option band '2g'
        option htmode 'HT20'
        option disabled '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option mode 'ap'
        option encryption 'none'
        option disabled '1'
        option network 'lan ahwlan'
        option ssid 'OpenWrt-11n-'

config wifi-iface 'sta'
        option device 'radio0'
        option network 'wan'
        option ifname 'wlan0'
        option mode 'sta'
        option ssid 'Darknight'
        option key 'Dk@324567'
        option encryption 'psk2'

config wifi-device 'radio1'
        option type 'mac80211'
        option path 'pci0000:00/0000:00:00.0/0000:01:00.0'
        option channel '36'
        option band '5g'
        option htmode 'VHT80'
        option disabled '0'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option mode 'ap'
        option encryption 'none'
        option disabled '1'
        option network 'lan ahwlan'
        option ssid 'OpenWrt-11ac-'

config wifi-iface 'sta2'
        option device 'radio1'
        option network 'ahwlan'
        option ifname 'wlan1'
        option mode 'sta'
        option disabled '0'
        option ssid 'ACA81_5G'
        option key 'Qwe@1234'
        option encryption 'psk2'

config defaults 'data'
        option defaults_applied '1'

root@ACA810:/# 

root@ACA810:/# cat /etc/config/dhcp 

config dnsmasq
        option domainneeded '1'
        option boguspriv '1'
        option filterwin2k '0'
        option localise_queries '1'
        option rebind_protection '1'
        option rebind_localhost '1'
        option local '/lan/'
        option domain 'lan'
        option expandhosts '1'
        option nonegcache '0'
        option cachesize '1000'
        option authoritative '1'
        option readethers '1'
        option leasefile '/tmp/dhcp.leases'
        option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
        option nonwildcard '1'
        option localservice '1'
        option ednspacket_max '1232'
        option filter_aaaa '0'
        option filter_a '0'

config dhcp 'lan'
        option interface 'lan'
        option start '100'
        option limit '150'
        option leasetime '12h'
        option dhcpv4 'server'
        option dhcpv6 'server'
        option ra 'server'
        option ra_slaac '1'
        list ra_flags 'managed-config'
        list ra_flags 'other-config'

config dhcp 'wan'
        option interface 'wan'
        option ignore '1'

config odhcpd 'odhcpd'
        option maindhcp '0'
        option leasefile '/tmp/hosts/odhcpd'
        option leasetrigger '/usr/sbin/odhcpd-update'
        option loglevel '4'

root@ACA810:/# 

root@ACA810:/# cat /etc/config/firewall
config defaults
        option syn_flood '1'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'REJECT'

config rule
        option name 'Allow-DHCP-Renew'
        option src 'wan'
        option proto 'udp'
        option dest_port '68'
        option target 'ACCEPT'
        option family 'ipv4'

config rule
        option name 'Allow-Ping'
        option src 'wan'
        option proto 'icmp'
        option icmp_type 'echo-request'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-IGMP'
        option src 'wan'
        option proto 'igmp'
        option family 'ipv4'
        option target 'ACCEPT'

config rule
        option name 'Allow-DHCPv6'
        option src 'wan'
        option proto 'udp'
        option dest_port '546'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-MLD'
        option src 'wan'
        option proto 'icmp'
        option src_ip 'fe80::/10'
        list icmp_type '130/0'
        list icmp_type '131/0'
        list icmp_type '132/0'
        list icmp_type '143/0'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Input'
        option src 'wan'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        list icmp_type 'router-solicitation'
        list icmp_type 'neighbour-solicitation'
        list icmp_type 'router-advertisement'
        list icmp_type 'neighbour-advertisement'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-ICMPv6-Forward'
        option src 'wan'
        option dest '*'
        option proto 'icmp'
        list icmp_type 'echo-request'
        list icmp_type 'echo-reply'
        list icmp_type 'destination-unreachable'
        list icmp_type 'packet-too-big'
        list icmp_type 'time-exceeded'
        list icmp_type 'bad-header'
        list icmp_type 'unknown-header-type'
        option limit '1000/sec'
        option family 'ipv6'
        option target 'ACCEPT'

config rule
        option name 'Allow-IPSec-ESP'
        option src 'wan'
        option dest 'lan'
        option proto 'esp'
        option target 'ACCEPT'

config rule
        option name 'Allow-ISAKMP'
        option src 'wan'
        option dest 'lan'
        option dest_port '500'
        option proto 'udp'
        option target 'ACCEPT'

config forwarding 'mmrouter'
        option src 'ahwlan'
        option dest 'privlan'
        option enabled '0'

config forwarding 'mmextender'
        option src 'privlan'
        option dest 'ahwlan'
        option enabled '0'

config zone 'lan'
        option name 'lan'
        option network 'lan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'
        option leasetime '12h'
        option masq '0'

config zone 'ahwlan'
        option name 'ahwlan'
        option network 'ahwlan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'
        option masq '1'
        option leasetime '12h'

config zone 'privlan'
        option name 'privlan'
        option network 'privlan'
        option input 'ACCEPT'
        option output 'ACCEPT'
        option forward 'ACCEPT'
        option masq '1'
        option leasetime '12h'

config defaults 'data'
        option defaults_applied '1'
root@ACA810:/#

It appears you are using firmware that is not from the official OpenWrt project.

When using forks/offshoots/vendor-specific builds that are "based on OpenWrt", there may be many differences compared to the official versions (hosted by OpenWrt.org). Some of these customizations may fundamentally change the way that OpenWrt works. You might need help from people with specific/specialized knowledge about the firmware you are using, so it is possible that advice you get here may not be useful.

You may find that the best options are:

  1. Install an official version of OpenWrt, if your device is supported (see https://firmware-selector.openwrt.org).
  2. Ask for help from the maintainer(s) or user community of the specific firmware that you are using.
  3. Provide the source code for the firmware so that users on this forum can understand how your firmware works (OpenWrt forum users are volunteers, so somebody might look at the code if they have time and are interested in your issue).

If you believe that this specific issue is common to generic/official OpenWrt and/or the maintainers of your build have indicated as such, please feel free to clarify.

Sure, will check and get back. Thank you.

You have to deal with your OpenWrt clone provider.
Try to get better ground in the match-off:

First try doubling/maximising wdog timeout, before disabling it.
Monitor temperatures
Monitor network drops

If you find similarisdue on a cots device supported it is worth looking at and stabilising, but here it is diy for you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.