Mango won't connect to network as repeater but other devices work

Hi.

I’m attempting to connect to a network with the mango device as a repeater. I’ve tested the device on other widi networks and it works as expected, however this specific network doesn’t. It’s a public WiFi connection which I suspect is blocking repeaters somehow.

Logread from after connection

Sun Apr  9 12:30:47 2023 daemon.info lua: (.../ipkg-mipsel_24kc/gl-sdk4-repeater/usr/sbin/repeater:1360) prepare connect 'Public Wifi(e6:63:da:b7:ca:67)', WPA2PSK/TKIPAES channel 11
Sun Apr  9 12:30:47 2023 daemon.info lua: (.../ipkg-mipsel_24kc/gl-sdk4-repeater/usr/sbin/repeater:1458) connecting 'Public Wifi e6:63:da:b7:ca:67'...
Sun Apr  9 12:30:47 2023 daemon.notice netifd: Wireless device 'mt7628' is now down
Sun Apr  9 12:30:47 2023 daemon.notice netifd: bridge 'br-lan' link is down
Sun Apr  9 12:30:47 2023 daemon.notice netifd: Interface 'lan' has link connectivity loss
Sun Apr  9 12:30:48 2023 daemon.notice netifd: Network device 'apcli0' link is up
Sun Apr  9 12:30:48 2023 daemon.notice netifd: Interface 'wwan' is enabled
Sun Apr  9 12:30:48 2023 daemon.notice netifd: Interface 'wwan' has link connectivity
Sun Apr  9 12:30:48 2023 daemon.notice netifd: Interface 'wwan' is setting up now
Sun Apr  9 12:30:49 2023 daemon.notice netifd: wwan (6851): udhcpc: started, v1.35.0
Sun Apr  9 12:30:49 2023 daemon.notice netifd: bridge 'br-lan' link is up
Sun Apr  9 12:30:49 2023 daemon.notice netifd: Interface 'lan' has link connectivity
Sun Apr  9 12:30:49 2023 daemon.notice netifd: wwan (6851): udhcpc: broadcasting discover
Sun Apr  9 12:30:49 2023 daemon.notice netifd: Wireless device 'mt7628' is now up
Sun Apr  9 12:30:49 2023 daemon.notice netifd: Network device 'ra0' link is up
Sun Apr  9 12:30:52 2023 daemon.notice netifd: wwan (6851): udhcpc: broadcasting discover
Sun Apr  9 12:30:55 2023 daemon.notice netifd: wwan (6851): udhcpc: broadcasting discover
Sun Apr  9 12:30:58 2023 daemon.info lua: (.../ipkg-mipsel_24kc/gl-sdk4-repeater/usr/sbin/repeater:1239) connected to 'Public Wifi(E6:63:DA:B7:CA:67)' channel: 11, spent 8s
Sun Apr  9 12:31:08 2023 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.8.174 5e:c1:c0:a6:e3:60
Sun Apr  9 12:31:08 2023 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.8.174 5e:c1:c0:a6:e3:60 OnePlus-12
Sun Apr  9 12:31:13 2023 daemon.err lua: (.../ipkg-mipsel_24kc/gl-sdk4-repeater/usr/sbin/repeater:1260) NO IP for long time, down/up apcli0
Sun Apr  9 12:31:13 2023 daemon.notice netifd: Network device 'apcli0' link is down
Sun Apr  9 12:31:13 2023 daemon.notice netifd: Interface 'wwan' has link connectivity loss
Sun Apr  9 12:31:13 2023 daemon.notice netifd: wwan (6851): udhcpc: read error: Network is down, reopening socket
Sun Apr  9 12:31:14 2023 daemon.notice netifd: Network device 'apcli0' link is up
Sun Apr  9 12:31:14 2023 daemon.notice netifd: Interface 'wwan' has link connectivity
Sun Apr  9 12:31:14 2023 daemon.notice netifd: wwan (6851): udhcpc: received SIGTERM
Sun Apr  9 12:31:14 2023 daemon.notice netifd: wwan (6851): udhcpc: entering released state
Sun Apr  9 12:31:14 2023 daemon.notice netifd: wwan (6851): Command failed: ubus call network.interface notify_proto { "action": 0, "link-up": false, "keep": false, "interface": "wwan" } (Permission denied)
Sun Apr  9 12:31:14 2023 daemon.notice netifd: Interface 'wwan' is now down
Sun Apr  9 12:31:14 2023 daemon.notice netifd: Interface 'wwan' is disabled
Sun Apr  9 12:31:14 2023 daemon.notice netifd: Interface 'wwan' is enabled
Sun Apr  9 12:31:14 2023 daemon.notice netifd: Interface 'wwan' is setting up now
Sun Apr  9 12:31:15 2023 daemon.notice netifd: wwan (7314): udhcpc: started, v1.35.0
Sun Apr  9 12:31:15 2023 daemon.notice netifd: wwan (7314): udhcpc: broadcasting discover
Sun Apr  9 12:31:16 2023 user.notice mwan3[7278]: Execute ifdown event on interface wwan (unknown)
Sun Apr  9 12:31:18 2023 daemon.notice netifd: wwan (7314): udhcpc: broadcasting discover
Sun Apr  9 12:31:19 2023 user.notice firewall: Reloading firewall due to ifdown of wwan ()
Sun Apr  9 12:31:21 2023 daemon.notice netifd: wwan (7314): udhcpc: broadcasting discover
Sun Apr  9 12:31:31 2023 authpriv.info dropbear[7897]: Child connection from 192.168.8.174:43400
Sun Apr  9 12:31:37 2023 authpriv.info dropbear[7972]: Child connection from 192.168.8.174:43408
Sun Apr  9 12:31:41 2023 authpriv.info dropbear[7897]: Exit before auth from <192.168.8.174:43400>: Exited normally
Sun Apr  9 12:31:43 2023 authpriv.info dropbear[7972]: Exit before auth from <192.168.8.174:43408>: (user 'root', 0 fails): Exited normally
Sun Apr  9 12:31:43 2023 authpriv.info dropbear[8068]: Child connection from 192.168.8.174:58912
Sun Apr  9 12:31:45 2023 authpriv.notice dropbear[8068]: Password auth succeeded for 'root' from 192.168.8.174:58912

The logs tell me that there is no DHCP address for your repeater, this should be the issue.
Try to change the MAC to a known device / set a static IP for repeater.

Thank you. Adding a static IP and the DHCP details made the connection work… I wonder why the device isn’t getting the details itself though? All other devices on the network do? I’m worried as soon as the lease on this IP expires, the device won’t connect again.

Static IPs don’t have a lease, so it won’t expire.

Ok…but why wouldn’t DHCP reply with an IP when it appears to for every other device? Thanks for your help…the device is working brilliantly.

Maybe MAC address block for GL.iNet devices or any other rules - can happen sometimes.