Downloads in browser fail with openwrt on my WDR3600 V1.5

I updated openwrt on my router (WDR3600 V1.5) from 17.01.4 to the latest version without keeping the settings.I set up PPPoE wan and when I try to download a file from the browser it hangs and then fails every time .I am using ethernet for the connection to my windows pc .
Any help will be appreciated

What does "when I try to download a file from the browser" exactly means?

Did you enable the MSS clamping setting in the firewall overview page? If not, try enabling it for the WAN zone.

i have mss clamping enabled on my wan zone

I mean that although wan seems to work when I try to download a file at some point it hangs and then fails .I dont know how to troubleshoot this problem .

here is a system log:

Tue Oct 16 12:44:14 2018 daemon.info pppd[1108]: No response to 5 echo-requests
Tue Oct 16 12:44:14 2018 daemon.notice pppd[1108]: Serial link appears to be disconnected.
Tue Oct 16 12:44:14 2018 daemon.info pppd[1108]: Connect time 10.9 minutes.
Tue Oct 16 12:44:14 2018 daemon.info pppd[1108]: Sent 9602451 bytes, received 373743177 bytes.
Tue Oct 16 12:44:14 2018 daemon.err odhcp6c[1443]: Failed to send RS (Permission denied)
Tue Oct 16 12:44:14 2018 daemon.err odhcp6c[1443]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Tue Oct 16 12:44:14 2018 daemon.notice netifd: Network device 'pppoe-wan' link is down
Tue Oct 16 12:44:14 2018 daemon.notice netifd: Network alias 'pppoe-wan' link is down
Tue Oct 16 12:44:14 2018 daemon.notice netifd: Interface 'wan_6' has link connectivity loss
Tue Oct 16 12:44:14 2018 daemon.notice pppd[1108]: Connection terminated.
Tue Oct 16 12:44:14 2018 daemon.info pppd[1108]: Connect time 10.9 minutes.
Tue Oct 16 12:44:14 2018 daemon.info pppd[1108]: Sent 9603471 bytes, received 373793905 bytes.
Tue Oct 16 12:44:14 2018 daemon.info pppd[1108]: Sent PADT
Tue Oct 16 12:44:14 2018 daemon.notice netifd: Interface 'wan_6' is disabled
Tue Oct 16 12:44:15 2018 daemon.notice netifd: Interface 'wan' has lost the connection
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: reading /tmp/resolv.conf.auto
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: using local addresses only for domain test
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: using local addresses only for domain onion
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: using local addresses only for domain localhost
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: using local addresses only for domain local
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: using local addresses only for domain invalid
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: using local addresses only for domain bind
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: using local addresses only for domain lan
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: using nameserver fe80::1%eth0.2#53
Tue Oct 16 12:44:15 2018 daemon.info pppd[1108]: Exit.
Tue Oct 16 12:44:15 2018 daemon.notice netifd: wan_6 (1443): Command failed: Permission denied
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: read /etc/hosts - 4 addresses
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: read /tmp/hosts/odhcpd - 1 addresses
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq[1658]: read /tmp/hosts/dhcp.cfg01411c - 3 addresses
Tue Oct 16 12:44:15 2018 daemon.info dnsmasq-dhcp[1658]: read /etc/ethers - 0 addresses
Tue Oct 16 12:44:15 2018 daemon.notice netifd: Interface 'wan' is now down
Tue Oct 16 12:44:15 2018 daemon.notice netifd: Interface 'wan' is setting up now
Tue Oct 16 12:44:15 2018 daemon.err odhcp6c[1443]: Failed to send DHCPV6 message to ff02::1:2 (Permission denied)
Tue Oct 16 12:44:15 2018 daemon.err insmod: module is already loaded - slhc
Tue Oct 16 12:44:15 2018 daemon.err insmod: module is already loaded - ppp_generic
Tue Oct 16 12:44:15 2018 daemon.err insmod: module is already loaded - pppox
Tue Oct 16 12:44:15 2018 daemon.err insmod: module is already loaded - pppoe
Tue Oct 16 12:44:16 2018 daemon.info pppd[2141]: Plugin rp-pppoe.so loaded.
Tue Oct 16 12:44:16 2018 daemon.info pppd[2141]: RP-PPPoE plugin version 3.8p compiled against pppd 2.4.7
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: pppd 2.4.7 started by root, uid 0
Tue Oct 16 12:44:16 2018 daemon.info pppd[2141]: PPP session is 24901
Tue Oct 16 12:44:16 2018 daemon.warn pppd[2141]: Connected to a8:0c:0d:28:d0:e1 via interface eth0.2
Tue Oct 16 12:44:16 2018 kern.info kernel: [  676.380348] pppoe-wan: renamed from ppp0
Tue Oct 16 12:44:16 2018 daemon.info pppd[2141]: Using interface pppoe-wan
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: Connect: pppoe-wan <--> eth0.2
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: PAP authentication succeeded
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: peer from calling number A8:0C:0D:28:D0:E1 authorized
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: local  LL address fe80::251c:9103:fc7a:349f
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: remote LL address fe80::aa0c:0dff:fe28:d0e1
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: local  IP address 
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: remote IP address 
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: primary   DNS address 
Tue Oct 16 12:44:16 2018 daemon.notice pppd[2141]: secondary DNS address 
Tue Oct 16 12:44:17 2018 daemon.notice netifd: Network device 'pppoe-wan' link is up
Tue Oct 16 12:44:17 2018 daemon.notice netifd: Interface 'wan_6' is enabled
Tue Oct 16 12:44:17 2018 daemon.notice netifd: Network alias 'pppoe-wan' link is up
Tue Oct 16 12:44:17 2018 daemon.notice netifd: Interface 'wan_6' has link connectivity
Tue Oct 16 12:44:17 2018 daemon.notice netifd: Interface 'wan_6' is setting up now
Tue Oct 16 12:44:17 2018 daemon.notice netifd: Interface 'wan' is now up
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: reading /tmp/resolv.conf.auto
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using local addresses only for domain test
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using local addresses only for domain onion
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using local addresses only for domain localhost
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using local addresses only for domain local
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using local addresses only for domain invalid
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using local addresses only for domain bind
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using local addresses only for domain lan
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using nameserver 8.8.8.8#53
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using nameserver 8.8.4.4#53
Tue Oct 16 12:44:17 2018 daemon.info dnsmasq[1658]: using nameserver fe80::1%eth0.2#53
Tue Oct 16 12:44:17 2018 user.notice firewall: Reloading firewall due to ifup of wan (pppoe-wan)
Tue Oct 16 12:44:18 2018 user.notice firewall: Reloading firewall due to ifupdate of wan (pppoe-wan)
Tue Oct 16 12:44:22 2018 daemon.notice netifd: Interface 'wan_6' is now up
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: reading /tmp/resolv.conf.auto
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using local addresses only for domain test
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using local addresses only for domain onion
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using local addresses only for domain localhost
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using local addresses only for domain local
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using local addresses only for domain invalid
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using local addresses only for domain bind
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using local addresses only for domain lan
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using nameserver 8.8.8.8#53
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using nameserver 8.8.4.4#53
Tue Oct 16 12:44:22 2018 daemon.info dnsmasq[1658]: using nameserver fe80::1%eth0.2#53
Tue Oct 16 12:44:22 2018 user.notice firewall: Reloading firewall due to ifup of wan_6 (pppoe-wan)
Tue Oct 16 12:44:24 2018 daemon.info dnsmasq[1658]: read /etc/hosts - 4 addresses
Tue Oct 16 12:44:24 2018 daemon.info dnsmasq[1658]: read /tmp/hosts/odhcpd - 2 addresses
Tue Oct 16 12:44:24 2018 daemon.info dnsmasq[1658]: read /tmp/hosts/dhcp.cfg01411c - 3 addresses
Tue Oct 16 12:44:24 2018 daemon.info dnsmasq-dhcp[1658]: read /etc/ethers - 0 addresses

Your internet connection (or more specifically, the PPPoE connection) is going down and back up again... Let's start by disabling LCP on the WAN connection setup page, and see what happens.

in the setup page there are two options
LCP echo failure threshold is set to 0
LCP echo interval is set to 5
but i found this https://github.com/openwrt/luci/issues/2112
and I removed from etc/ppp/options the lines
lcp-echo-failure 5
lcp-echo-interval 1
and then I added in the /etc/config/network the line
option keepalive
in the wan section
Is that what you asked me to do ?

Yes, please try that. Or you could increase the parameters, 5 / 5 seem more adequate.