OpenWRT + Dnscrypt On TP-Link WDR3600

Because my ISP using a dns transparent, some website are blocked, to fix this problem im using a dnscrypt in my computer, but it is annoying, because i have to start dnscrypt and it use more resource on my computer, so i have to find a way to make dnscrypt to run on my router, after searching on google, theres a way to run dnscrypt on my tplink router with opwnrt firmware, and today i’m trying to flash my TP-Link WDR-3600 wireless router to OpenWRT and setup dncsrypt to run on it

Here’s the step i take

  1. Download the openwrt firmware for wdr 3600 ini here and find openwrt-15.05-ar71xx-generic-tl-wdr3600-v1-squashfs-factory.bin
  2. Rename it so the filename is not too long
  3. Login to router and do factory reset
  4. Go to upgrade firmware, select the file that already downloaded, and then upgrade
  5. It will take a while, after finish, refresh your network and then login to router using this address http://192.168.1.1
  6. Dont forget to change the password, in default theres no password
  7. Done flashing to openwrt
  8. Let’s install dnscrypt
  9. Go to System>Software
  10. Find dnscrypt, if theres no dnscrypt package, update the page first
  11. After dnscrypt installed Login to the router using ssh
  12. Edit
    1
    /etc/config/dnscrypt-proxy using vi or other editor
  13. 1
    2
    3
    4
    5
    6
    config dnscrypt-proxy
    option address '127.0.0.1'
    option port '5353'
    # option resolver 'cisco'
    # option resolvers_list '/usr/share/dnscrypt-proxy/dnscrypt-resolvers.csv'
    # option ephemeral_keys '1'
  14. edit the config as necesary
  15. Go to System>Startup
  16. put this code before exit 0
  17. 1
    2
    3
    /etc/init.d/dnscrypt-proxy enable
    sleep 10
    /etc/init.d/dnscrypt-proxy start
  18. Using ssh again and edit
    1
    /etc/config/dhcp
  19. 1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    config dnsmasq
    option domainneeded 1
    option boguspriv 1
    option filterwin2k 0
    option localise_queries 1
    option rebind_protection 1
    option rebind_localhost 1
    option local '/lan/'
    option domain 'lan'
    option expandhosts 1
    option nonegcache 0
    option authoritative 1
    option readethers 1
    option leasefile '/tmp/dhcp.leases'
    # option resolvfile '/tmp/resolv.conf.auto'
    option noresolv 1
    list server '127.0.0.1#5353'
    list server '/pool.ntp.org/208.67.222.222'
  20. Restart your router or restart the dnsmasq using /etc/init.d/dnsmasq restart
  21. Done and Good Luck!

ASP.NET Core RC2 To RTM

So today i try to migrate from asp.net core RC2 to RTM, here’s the step i do when migrating

1. Uninstall all Microsoft.NET Core RC2 Runtime, SDK, and Tooling Preview 1
2. Install the new Microsoft.NET Core RTM, SDK, and Tooling Preview 2
3. Change all version in project.json from 1.0.0-rc2-final to 1.0.0
4. Change all version in project.json from 1.0.0-preview1-final to 1.0.0-preview2-final
5. Find global.json in your solution root, and change it from 1.0.0-preview1-002702 to 1.0.0-preview2-003121
6. Done rebuilt the solution!
7. Good Luck!!

Back Online

Well, today when i want to check my site, i can’t access it, so i contact my hosting provider, and after chatting with them, i found that i didnt check my email for update from them. So basicly the hosting is changing the ip address and i didnt update it. But now all is back online again.

Another first post in 2016, just to inform this news 😀

Install Microsoft .NET Framework 3.5 Offline in Windows 8/8.1

To install .NET Framework 3 in offline mode on Windows 8, you need your installation iso / flashdisk drive with the windows installation or windows installation cd, then type this on Command Prompt with admin

1
Dism /online /enable-feature /featurename:NetFx3 /All /Source:F:\sources\sxs /LimitAccess

type the drive where your windows installation is located, for my case it’s in drive F.

Give it a try 😀

Identity Jump on MS SQL Server 2012 and up

I got problem when MS SQL Service got sudden shutdown or restart the identity is jump by 1000.
To solve this problem use “-T272”

1. Open “SQL Server Configuration Manager”
2. Click “SQL Server Services” on the left pane
3. Right-click on your SQL Server instance name on the right pane
4. Click “Properties”
5. Click “Startup Parameters”
6. On the “specify a startup parameter” textbox type “-T272”
7. Click “Add”
8. Confirm the changes

I hope this can solve the problem.