Posted: Wed Jul 17, 2019 23:43 Post subject: WNDR3700v4 crashing when modem reconnects
I use these as switch / WiFi access point / ovpn server / QoS on upload / Dual Stack / Guest network on br1 / PPPoE connection to modem
Why do all recent builds (I've tried most builds back to back to r39572) crash if my PPPoE modem loses connection to my ISP??
The crash occurs after the connection returns just after the internet light on the router turns from orange to green and, I think, only occurs if my ISPs dynamic IP policy has assigned me a new IP address.
Surely this cannot be how dd-wrt is supposed to work in this case?
Please can anyone confirm or refute this behaviour with dd-wrt?
Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Posted: Thu Aug 01, 2019 22:44 Post subject:
The only specific thing I recall since the one kong commit regarding ppp wan connections is updating pppd and rp-pppoe. How either would've broken the base code in DD-WRT, there is no telling. I literally would need a multi-80-inch-monitor setup to review point a to be without getting a headache.
Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Posted: Fri Aug 02, 2019 0:39 Post subject:
Well, you must be in the minority using a PPPoE wan connection, or, people have figured out a workaround. Unfortunately, <Kong> only builds IPQ Qualcomm stuff. But I was trying to put my finger on a cause, a specific repository commit, etc.
Well, you must be in the minority using a PPPoE wan connection, or, people have figured out a workaround. Unfortunately, <Kong> only builds IPQ Qualcomm stuff. But I was trying to put my finger on a cause, a specific repository commit, etc.
What other way is there of connecting a modem?
You could just use ethernet with DHCP but that does not cope with dynsmic IP, you would have to msnually reboot the router if your ISP changed your IP address.
Last edited by bdg2 on Mon Aug 05, 2019 11:12; edited 2 times in total
Joined: 08 May 2018 Posts: 14221 Location: Texas, USA
Posted: Mon Aug 05, 2019 11:23 Post subject:
bdg2 wrote:
What other way is there of connecting a modem?
You could just use ethernet with DHCP but that does not cope with dynsmic IP, you would have to msnually reboot the router if your ISP changed your IP address.
Depends on the provider. When I had DSL, it was DHCP, no PPPoE required, that I recall. The only problem I had was OpenBSD networking and packet filter didn't quite like it when they changed my WAN IP address, so I had to devise a script to check things and restart things on the fly. Most providers I know that use DHCP, it's usually a static lease, but it can be 100% dynamic, and Linux isn't usually affected, or used to not be. I *never* had issues with my Slackware box that was connected to the cable modem if the WAN ip address changed, but TrinityOS firewall was probably more forgiving, perhaps.
In regards to ntpclient in DD-WRT, after my most recent crash/brick, I left the field blank, but if I were to enter anything, it would be an IP address. Otherwise, the hard-coded ntp server(s) are ok, but if you choose the wrong time zone setting, it may not give the correct time. I think this problem possibly relates to the folks wanting local syslog times, and I will leave my thoughts on that out for now.