Hi. I believe that I found a bug in openwrt when configured as a relay extender in bridge mode
I installed it this way with different openwrt Versions (23.05.3 to latest 24.10.x] on netgear ex6120 and ex6130 hardware and get the same missbehavior with every openwrt version. At the beginning, it seems everything works as expected. Wireless clients (Android Mobiles, Lenovo Thinkpad etc. get dhcp addresses from my isc-dhpc-server server behind the wlan router and then, suddenly after a couple of hours, none of the clients get dhcp addresses anymore ? the connection hangs on "IP address is retrieved".... I checked all, the config, the logfiles and it should be working but it doesn't, addresses are requested but not offered back from the dhcp server. Why does this works normally only a couple of hours ? who can help ?
The authentication process seems ok [EAPOL-4WAY-HS-COMPLETED] but the connection won' come up but why ?
logfiles:
Tue Apr 15 17:01:01 2025 daemon.notice wpa_supplicant[944]: phy1-sta0: RSN: Group rekeying completed with 7e:ac:b9:b4:6d:3e [GTK=CCMP]
Tue Apr 15 17:01:01 2025 daemon.notice wpa_supplicant[944]: phy1-sta0: Unknown event 37
Tue Apr 15 17:03:10 2025 daemon.notice wpa_supplicant[944]: phy1-sta0: CTRL-EVENT-BEACON-LOSS
Tue Apr 15 17:04:23 2025 daemon.info hostapd: phy1-ap0: STA a8:9c:ed:f3:7f:56 IEEE 802.11: authenticated
Tue Apr 15 17:04:23 2025 daemon.info hostapd: phy1-ap0: STA a8:9c:ed:f3:7f:56 IEEE 802.11: associated (aid 1)
Tue Apr 15 17:04:23 2025 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED a8:9c:ed:f3:7f:56 auth_alg=open
Tue Apr 15 17:04:23 2025 daemon.info hostapd: phy1-ap0: STA a8:9c:ed:f3:7f:56 WPA: pairwise key handshake completed (RSN)
Tue Apr 15 17:04:23 2025 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED a8:9c:ed:f3:7f:56
Tue Apr 15 17:04:42 2025 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED a8:9c:ed:f3:7f:56
Tue Apr 15 17:04:44 2025 daemon.info hostapd: phy1-ap0: STA a8:9c:ed:f3:7f:56 IEEE 802.11: authenticated
Tue Apr 15 17:04:44 2025 daemon.info hostapd: phy1-ap0: STA a8:9c:ed:f3:7f:56 IEEE 802.11: associated (aid 1)
Tue Apr 15 17:04:44 2025 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED a8:9c:ed:f3:7f:56 auth_alg=open
Tue Apr 15 17:04:44 2025 daemon.info hostapd: phy1-ap0: STA a8:9c:ed:f3:7f:56 WPA: pairwise key handshake completed (RSN)
Tue Apr 15 17:04:44 2025 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED a8:9c:ed:f3:7f:56
Tue Apr 15 17:05:03 2025 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED a8:9c:ed:f3:7f:56
Tue Apr 15 17:05:05 2025 daemon.info hostapd: phy1-ap0: STA a8:9c:ed:f3:7f:56 IEEE 802.11: authenticated
Tue Apr 15 17:05:05 2025 daemon.info hostapd: phy1-ap0: STA a8:9c:ed:f3:7f:56 IEEE 802.11: associated (aid 1)
Tue Apr 15 17:05:05 2025 daemon.notice hostapd: phy1-ap0: AP-STA-CONNECTED a8:9c:ed:f3:7f:56 auth_alg=open
Tue Apr 15 17:05:05 2025 daemon.info hostapd: phy1-ap0: STA a8:9c:ed:f3:7f:56 WPA: pairwise key handshake completed (RSN)
Tue Apr 15 17:05:05 2025 daemon.notice hostapd: phy1-ap0: EAPOL-4WAY-HS-COMPLETED a8:9c:ed:f3:7f:56
Tue Apr 15 17:05:24 2025 daemon.notice hostapd: phy1-ap0: AP-STA-DISCONNECTED a8:9c:ed:f3:7f:56
dhcp:
config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option ignore '1'
option dynamicdhcp '0'
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'
config dnsmasq
option rebind_protection '0'
option localservice '0'
firewall:
config defaults
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option family 'ipv4'
list network 'lan'
list network 'wwan'
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 'fdc1:2621:30fc::/48'
config device
option name 'br-lan'
option type 'bridge'
list ports 'eth0'
option ipv6 '0'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.5.1'
option netmask '255.255.255.0'
option ip6assign '60'
option delegate '0'
list dns '192.168.1.2'
list dns_search 'network.local'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '0'
config interface 'wwan'
option proto 'static'
option ipaddr '192.168.1.230'
option netmask '255.255.255.0'
option gateway '192.168.1.2'
list dns '192.168.1.2'
config interface 'relay_bridge'
option proto 'relay'
option ipaddr '192.168.1.230'
list network 'lan'
list network 'wwan'
option gateway '192.168.1.2'
config device
option name 'phy1-ap0'
option ipv6 '0'
config device
option name 'eth0'
option ipv6 '0'
config device
option name 'phy1-sta0'
option ipv6 '0'
wireless:
config wifi-device 'radio0'
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 '1'
config wifi-device 'radio1'
option type 'mac80211'
option path 'platform/10180000.wmac'
option channel 'auto'
option band '2g'
option htmode 'HT20'
option cell_density '0'
option country 'DE'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'EX-6120'
option encryption 'psk2'
option key 'passwordxxx!'
config wifi-iface 'wifinet2'
option device 'radio1'
option mode 'sta'
option network 'wwan'
option ssid 'my_wlan'
option encryption 'psk2'
option key 'passwordxxxx'
hope someone can help.
Regards,
Frank