Issue with Internet connectivity

Better reset the router to defaults.
If the gateway is giving settings with dhcp it will work immediately.
If not, then ask the adminstrator of the gateway for the proper settings. All you'll have to do is to change the protocol of the wan interface from dhcp client to static and add address (e.g 192.168.15.2/24) gateway (e.g 192.168.15.1) and DNS.