Hi,
I have two ax3000t devices, one router+ap, and the other, trying to set as a WDS client.
I followed https://openwrt.org/docs/guide-user/network/wifi/wifiextenders/wds exactly, and it seems that initially a simple ping test works, but immediately when I try to initiate some more traffic (e.g. visit google.com), the connection drops, the PC (client, connected by wire to the WDS client) loses IP address, and it takes 20-40 seconds for everything to be back up.
this happens over and over again, and if no usage is done at all, it will still happen every few minutes.
essentially, this setup is not usable at all at its current state.
unfortunately, nothing meaningful to me shows up in the logs. I marked the disconnection points of time in <DISCONNECTION>
.
logs from the main AP:
Sun Jul 7 21:14:48 2024 kern.info kernel: [516943.617634] device phy1-ap0.sta1 entered promiscuous mode
Sun Jul 7 21:14:48 2024 kern.info kernel: [516943.623557] br-lan: port 10(phy1-ap0.sta1) entered blocking state
Sun Jul 7 21:14:48 2024 kern.info kernel: [516943.630038] br-lan: port 10(phy1-ap0.sta1) entered forwarding state
Sun Jul 7 21:14:48 2024 daemon.notice netifd: Network device 'phy1-ap0.sta1' link is up
Sun Jul 7 21:14:48 2024 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED 46:f7:70:13:c2:1f auth_alg=open
Sun Jul 7 21:14:48 2024 daemon.info hostapd: phy1-ap0: STA 46:f7:70:13:c2:1f WPA: pairwise key handshake completed (RSN)
Sun Jul 7 21:14:48 2024 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED 46:f7:70:13:c2:1f
Sun Jul 7 21:15:06 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sun Jul 7 21:15:06 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 44 names
Sun Jul 7 21:15:06 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 4 names
Sun Jul 7 21:15:06 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sun Jul 7 21:15:18 2024 user.notice pbr: Reloading pbr wan6 interface routing due to ifupdate of wan6 (wan)
Sun Jul 7 21:15:53 2024 daemon.notice hostapd: phy0-ap1: AP-STA-POLL-OK b4:60:ed:45:62:8b
Sun Jul 7 21:16:01 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sun Jul 7 21:16:01 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 44 names
Sun Jul 7 21:16:01 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 8 names
Sun Jul 7 21:16:01 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sun Jul 7 21:16:02 2024 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan.1) 0c:37:96:81:69:d6
Sun Jul 7 21:16:02 2024 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan.1) 192.168.1.170 0c:37:96:81:69:d6
Sun Jul 7 21:16:02 2024 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan.1) 192.168.1.170 0c:37:96:81:69:d6
Sun Jul 7 21:16:02 2024 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan.1) 192.168.1.170 0c:37:96:81:69:d6 user
<DISCONNECTION>
Sun Jul 7 21:19:58 2024 user.notice pbr: Reloading pbr wan6 interface routing due to ifupdate of wan6 (wan)
Sun Jul 7 21:20:49 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sun Jul 7 21:20:49 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 44 names
Sun Jul 7 21:20:49 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 4 names
Sun Jul 7 21:20:49 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
Sun Jul 7 21:20:50 2024 daemon.info dnsmasq[1]: read /etc/hosts - 12 names
Sun Jul 7 21:20:50 2024 daemon.info dnsmasq[1]: read /tmp/hosts/dhcp.cfg01411c - 44 names
Sun Jul 7 21:20:50 2024 daemon.info dnsmasq[1]: read /tmp/hosts/odhcpd - 8 names
Sun Jul 7 21:20:50 2024 daemon.info dnsmasq-dhcp[1]: read /etc/ethers - 0 addresses
logs from the WDS client:
Sun Jul 7 21:15:29 2024 kern.info kernel: [ 61.830290] mt7530-mdio mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Sun Jul 7 21:15:29 2024 kern.info kernel: [ 61.838515] br-lan: port 1(lan2) entered blocking state
Sun Jul 7 21:15:29 2024 kern.info kernel: [ 61.843994] br-lan: port 1(lan2) entered listening state
Sun Jul 7 21:15:29 2024 daemon.notice netifd: Network device 'lan2' link is up
Sun Jul 7 21:15:37 2024 kern.info kernel: [ 70.235180] br-lan: port 1(lan2) entered learning state
Sun Jul 7 21:15:45 2024 kern.info kernel: [ 78.555229] br-lan: port 1(lan2) entered forwarding state
Sun Jul 7 21:15:45 2024 kern.info kernel: [ 78.560900] br-lan: topology change detected, propagating
<DISCONNECTION>
Sun Jul 7 21:17:52 2024 daemon.err uhttpd[1869]: [info] luci: accepted login on / for root from 192.168.1.170
Sun Jul 7 21:20:24 2024 kern.info kernel: [ 356.963371] mt7530-mdio mdio-bus:1f lan2: Link is Down
Sun Jul 7 21:20:24 2024 kern.info kernel: [ 356.968833] br-lan: port 1(lan2) entered disabled state
Sun Jul 7 21:20:24 2024 daemon.notice netifd: Network device 'lan2' link is down
Sun Jul 7 21:20:26 2024 kern.info kernel: [ 359.346226] mt7530-mdio mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control rx/tx
Sun Jul 7 21:20:26 2024 kern.info kernel: [ 359.354463] br-lan: port 1(lan2) entered blocking state
Sun Jul 7 21:20:26 2024 kern.info kernel: [ 359.359944] br-lan: port 1(lan2) entered listening state
Sun Jul 7 21:20:26 2024 daemon.notice netifd: Network device 'lan2' link is up
Sun Jul 7 21:20:35 2024 kern.info kernel: [ 367.779427] br-lan: port 1(lan2) entered learning state
Sun Jul 7 21:20:43 2024 kern.info kernel: [ 376.096946] br-lan: port 1(lan2) entered forwarding state
Sun Jul 7 21:20:43 2024 kern.info kernel: [ 376.102620] br-lan: topology change detected, propagating
I thought it might be related to STP, I tried following WDS network - setting STP right - #4 by trendy but didn't help.
AP configurations:
root@AP:~# 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 'fd93:427f:522f::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
option stp '1'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.20'
option netmask '255.255.255.0'
option ip6assign '60'
list dns '192.168.1.1'
option gateway '192.168.1.1'
root@AP:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'platform/18000000.wifi'
option channel '2'
option band '2g'
option htmode 'HE40'
option country 'PA'
option cell_density '0'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/18000000.wifi+1'
option channel '100'
option band '5g'
option htmode 'HE160'
option country 'PA'
option cell_density '0'
config wifi-iface 'wifinet2'
option device 'radio1'
option mode 'sta'
option network 'lan'
option ssid 'AP_SSID'
option encryption 'psk2'
option key 'AP_KEY'
option wds '1'
root@AP:~# cat /etc/config/dhcp
config dnsmasq
option domainneeded '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option local '/lan/'
option domain 'lan'
option expandhosts '1'
option cachesize '1000'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.d/resolv.conf.auto'
option localservice '1'
option ednspacket_max '1232'
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
option loglevel '4'
root@AP:~# cat /etc/config/firewall
config defaults
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
option flow_offloading '1'
option flow_offloading_hw '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
any help is appreciated