Need help with rollback

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.)
Goto page Previous  1, 2
Author Message
SurprisedItWorks
DD-WRT Guru


Joined: 04 Aug 2018
Posts: 933
Location: Appalachian mountains, USA

PostPosted: Fri Aug 31, 2018 3:04    Post subject: Reply with quote
Tried adding the DNSmasq option (and the crontab entry). Doesn't get out of the trap on booting. Perhaps the server= thing is applied too early somehow? Because if I finally give up watching the log spitting out Jan 1 entries and just hit apply on the Services>Services GUI page, which is where the DNSmasq stuff (incl the new option) lives, time is finally established and DNS service takes off. Certainly it's a simpler hand intervention than before, but it's still a hand intervention. Further thoughts?
Sponsor
spuriousoffspring
DD-WRT Guru


Joined: 05 Apr 2017
Posts: 982
Location: South of Heaven, USA

PostPosted: Fri Aug 31, 2018 3:42    Post subject: Reply with quote
These may help:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=309071

https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=308785

_________________
DD-WRT Installation & Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=311117

WRT32X DD-WRT Installation Procedure
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=315569

IPVanish OpenVPN Client Setup TUTORIAL
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=308565

FIRMWARE: OpenWrt SNAPSHOT r8217-2cc821e / LuCI Master (git-18.276.41146-280dd33)
MODEM: ARRIS SURFBoard SB8200
ROUTER: Linksys WRT32X
USB NAS: Western Digital BLACK 1 TB Hardrive + Startech USB 3.0 External SATA III Enclosure
SurprisedItWorks
DD-WRT Guru


Joined: 04 Aug 2018
Posts: 933
Location: Appalachian mountains, USA

PostPosted: Fri Aug 31, 2018 19:51    Post subject: Reply with quote
Thanks for the links. It seems though that what worked for them does not work for me, and I'm guessing that dd-wrt's evolution since then is somehow involved. Here's the current situation:

A. I changed the crontab line to

1 * * * * root ntpclient pool.ntp.org

so that ntpclient would run when the system clock indicates a time of 00:01, thirty seconds or so after the system comes up, per its unset clock. This indeed sets the time correctly, and within another 10-20 sec, dnscrypt refetches the certificate, this time accepting it as valid.

B. Before the above time-sync step, internet sites cannot be pinged from ash in the router (ssh connection). After the time is synced, sites can be pinged from the router but not from systems connected to the router.

C. DNS only functions for systems connected to the router once two "apply" steps are applied in the GUI: (1) the services>services page where dnsmasq is configured and (2) the setup>basic page. The latter is where the ntp server is specified, but it appears that is not what's relevant.

D. Either apply step alone fails to solve the problem. Establishing full functionality definitely requires both, in either order.

If I knew what daemons need restarting by those apply steps and how to do it from the command line; I'd simply put the restarts into the cron line, perhaps separated by some modest sleeps to outwait any potential race conditions.

I tried sending SIGHUPs to each of dnsmasq and dnscrypt-proxy in hopes of triggering needed restarts. Either that did nothing or did too little, as nothing was solved by it.

FWIW, my GUI dnsmasq settings are currently:

Enabled - DNSMasq
Enabled - Encrypt DNS
D0wn resolver USA - DNS Crypt Resolver
Disable - Cache DNSSEC data
Enabled - Validate DNS Replies (DNSSEC) #I have doubts about this one
Disable - Check unsigned DNS replies
Disable - Local DNS #maybe someday
Enabled - No DNS Rebind
Enabled - Query DNS in Strict Order
Disable - Add Requestor MAC to DNS Query

Additional DNSMasq Options: server=/pool.ntp.org/8.8.8.8

I'm hoping, though ironically with little hope, that something in here will trigger an "Aha!" in someone. Failing that, I'll be googling and kludgeing semi-randomly.
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Marvell MVEBU based Hardware (WRT1900AC etc.) All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum