I just wanted to let you know that despite configuring as described above it looked like I was still leaking dns queries (at least according to: https://www.dnsleaktest.com). What appears to have fixed it for me was setting:
option noresolv '1'
in the config dnsmasq section of /etc/config/dhcp.
Not sure if that's correct or not, but wanted to let you know. Thanks!
Thanks for the instructions. I will give it a shot.
One observation though, I flashed the latest firmware but I did not configure DNSCrypt at all and I noticed the followings:
Under "services" there is no DNSCrypt-Proxy anymore. Is this expected? ( you said that DNSCrypt versio 2 is built-in in the latest firmware. Do I still need to install it before I follow your instructions listed above?
I was able to connect but without internet connection at all. When I checked the connection information I found that the Primary DNS for the client was 192.168.1.1 which is the router's IP. Do you think that websites did not resolve because DNSCrypt was not configured yet?
For #1 that is correct. Luci-app-dnscrypt-proxy is for version 1 (hence not installed).
For #2 It sounds like the problem may be several things, so it is hard to say. For now, your clients can be manually set up to use 22.214.171.124, for example, and it should work normally until dnscrypt-proxy2 is configured.
Sorry for the newb question, but Google is failing me:
Everything works fine running r10899 with dns-proxy2. When I upgrade to a newer version with saving settings, I lose the internet connection. E.g., ping 126.96.36.199 returns:
ping: sendto: Network unreachable
Any help on where to start debugging is appreciated. Thanks.
Sorry, just a very very little issue, but the "Local Time" is not shown correctly on the "Overview"-Page in LuCi. I have chosen the timezone Europe/Berlin and it is shown correctly on the "System"-Tab, but the Overview-Page shows the actual time +1h.
Hi all. I just put this on my 1900ACSv2 a few days ago and today was attempting to setup an openVPN server as per the OpenWRT Openvpn basic setup guide.
It fails when attempting to delete the /etc/easy-rsa/pki directory with this-
# Remove and re-initialize the PKI directory
easyrsa --batch init-pki
Has an I/O error, exactly as per this thread-
When re-doing the whole openVPN basic guide setup instead using /tmp, I found I could copy everything to that pki directory except the reqs and private directories (which after the I/O error didn't exist, and threw the I/O error attempting a cp -fr of those 2 directories from tmp).
So I did a factory reset, and sure enough, there is a pki directory with empty reqs and private directories in the default OpenWRT factory default image, and it does not like letting one delete those I presume.
Don't know if this is specific to this (yesterday/recent) builds, or a general OpenWRT issue yet (still on a steep learning curve here).
Still fiddling here, wondering if I should attempt this OpenVPN(server) setup via luci instead of following the OpenVPN basic guide.
edit: If I followed every step in that guide except the "init-pki", it seems to create the files required and starts the server.
I have an issue with name resolution after upgrading to r11398. I've been using dnscrypt-proxy v2 for a long time. After upgrading to r11398, things work fine for a number of hours. Then, name resolution simply starts timing out:
root@OpenWrt:/etc/dnscrypt-proxy2# nslookup cnn.com
;; connection timed out; no servers could be reached
I didn't see anything in the dnscrypt-proxy log or the system log which indicates why I am having this problem. I needed to roll back to r11266. Any ideas for what is causing this issue?
I followed the instructions you listed but I am still having the same issue. Nothing is being resolved before or after I made the changes from your instructions.
Here is what I did:
I reset my router to factory settings from within Luci
I flashed the latest firmware " *r11398"
I edited the .toml file and the following changes
listen_addresses = ['127.0.0.1:5300']
server_names = ['cloudflare']
restarted /etc/init.d/dnscrypt-proxy restart
Then I edited /etc/config/dhcp and added list dhcp_option '6,192.168.1.1' under LAN and added ist server '127.0.0.1#5300' under "config dnsmasq"
restarted /etc/init.d/dnsmasq restart and I got a message that it was failing ( see attached screenshot)
But still nothing was being resolved. I restarted my clients and restarted the router but it did not help.
Even if I remove the line (list server '127.0.0.1#5300') from dnsmasq and restart the service it did not make any difference.
In fact, I've never used the firmware provided by Linksys for anything other than flashing OpenWRT.
When using that image, I get significantly better 5ghz performance than I did using David's build. I did not test performance for the 2.4ghz radio, I may or may not have had similar performance patterns on the 2.4ghz radio, but I never tested. When I say "significantly better performance" I am referring to the crocodile pattern mentioned by @sunarowicz. Not only do I see a crocodile pattern with David's build, but an increase in lost packets, and overall throughput is much lower as well.
I don't know why my 5ghz performance is significantly better with the stable mainstream OpenWRT image (linked to above) than it is with Davidc502's build. I was speculating when I said that it might be that a new driver provided by David's build doesn't work well for my router. I thought that one of the features that David provides is the latest drivers. However, @davidc502 said this:
This is the same Wifi Driver. Expect Zero difference between the 2. You are welcome to try it out, but wifi is sketchy for some.
And I think that means that he doesn't pack a newer driver than the firmware that is linked to above.
Like @sunarowicz, I have very little (like zero) interference from other 5ghz routers in my neighborhood. My problems could not have been caused by that kind of interference. I basically have line of sight with my only 5ghz client (It's a server that I want to keep very fast).
I guess it could have been wild coincidence that I happened to have worse performance with David's build than with the stock openwrt (again, linked to above) build. But it did start when I installed and ran David's build, and stopped immediately when I switched back to the stock/stable openwrt image (you guessed it, linked to above).
How does one go about forking this build to the EA9500v1.1? The only difference is the 1900's and 3200's are Marvell and the the EA9500's are BCM. There is a build for it but It's what I deem bloated and not really what I am looking for in a OpenWRT build. Does anyone have any insight on this at all? Thanks in advance.