Do you want the GL router connects this primary WiFi which it does not have a DHCP server?
If it does not, it is the reason why can't GL router get IP.
If want to the GL router connects primary WiFi and does not have DHCP offer IP, you need to enter SSH to execute:
The purpose is to make GL-AR300M be a repeater to get
"Machines wifi" network and deliver it in ethernet cable
on lan/wan port to other network equipment
I tested it on my home network and it's plug and play
with dhcp it works very well, just do the repeater mode, enter the wifi network password and everything starts working, if you put a network cable in the lan port it gives an IP of the extended network
this was the behavior i wanted but without dhcp, everything with static ips
I have to dig a little more to see if it's possible to do it on a network with DHCP and then change the files and remove DHCP