OpenDNS on OpenWRT

I had an issue with my router and couldn’t find the information anywhere.  So maybe this will help anyone out there with the same issue.
Getting openDNS to work on an OpenWRT firmware is not at all obvious.  Searching through Google led me to all of these very complicated guides.  So here is the easy workaround.

Download putty, in hostname field, put your router IP address and port 22, then click open. Logon using root and your password.

How to use vi, http://wiki.openwrt.org/doc/howto/user.beginner.cli

Edit using vi, /tmp/resolv.conf and add these lines
nameserver 208.67.222.222
nameserver 208.67.220.220

Edit using vi, init.d/dnsmasq
Change the line that says DNS_SERVERS=”" to DNS_SERVERS=”208.67.222.222 208.67.220.220″

reboot router, and
Verify this worked by going to, https://store.opendns.com/settings//

default
Post Written by