i hooked up to modems one is normaly connected to dsl and the other is connected to the first by wan.
i can connect to the both of them first works perfectily fine but the second one have no internet but i can still conect to it by lan from my pc and it works i do not know what to do help
This is a double NAT configuration. It should work, but you'll have issues with game servers and web pages due to being behind two network translation IP addresses.
To do this properly, the 2nd router needs to be set to access point mode(if it has that setting), this will disable the DHCP and make it get addresses from the main router. Then plug an ethernet cable from the 4 port switch of the main router to the 4 port switch of the secondary wifi access point.
I literally told you how to fix it. Did you do that?
This is a free advice forum, no one is charging you a dime and you get help for free. You sound very entitled with your response, people really shouldn't help you since you don't appreciate people taking their time to do so.