Monday, April 29, 2013

100 tips for speeding up your computer

There are probably a lot of great tweaks and performance hacks that I’ve missed here, so feel free to chime in with comments.

For information about tweaking your network and TCP/IP settings for increasing your internet connection speed, check out the article "Speed".




1. Defragment your computer hard disk using free tools like SmartDefrag or UltraDefrag.

2. You should also defragment your Windows pagefile and registry.

3. Clean up hard drive disk space being taken up by temporary files, the recycle bin, hibernation and more. You can also use a tool like TreeSize to determine what is taking up space on your hard drive.

4. Load up Windows faster by using Startup Delayer, a free program that will speed up the boot time of Windows by delaying the startup of programs.

5. Speaking of startup programs, many of them are useless and can be turned off. Use the MSCONFIG utility to disable startup programs.

6. By default, the size of the paging file is controlled by Windows, which can cause defragmentation. Also, the paging file should be on a different hard drive or partition than the boot partition. Read here on the rules for best paging file performance.

7. In Windows XP and Vista, the Windows Search indexing service is turned on for all local hard drives. Turning off indexing is a simple way to increase performance.

8. If you don’t care about all the fancy visual effects in Windows, you can turn them off by going to Performance Options.

9. You can optimize the Windows boot time using a free program called Bootvis from Microsoft.

10. Clean your registry by removing broken shortcuts, missing shared DLLs, invalid paths, invalid installer references and more. Read about the 10 best and free registry cleaners.

11. One of the main reasons why PC’s are slow is because of spyware. There are many programs to remove spyware including Ad-Aware, Giant Antispyware, SUPERAntiSpyware, and more.

12. If you have a deeper spyware infection that is very hard to remove, you can use HijackThis to remove spyware.

13. Remove unwanted pre-installed software (aka junk software) from your new PC using PC Decrapifier.

14. Disable unnecessary Windows services, settings, and programs that slow down your computer.

15. Tweak Windows XP and tweak Windows Vista settings using free programs

16. Disable UAC (User Account Control) in Windows Vista

17. Tweak your mouse settings so that you can copy and paste faster, scroll faster, navigate quickly while browsing and more. Read here to learn how to tweak your mouse.

18. Delete temporary and unused files on your computer using a free program like CCleaner. It can also fix issues with your registry.

19. Delete your Internet browsing history, temporary Internet files, cookies to free up disk space.

20. Clean out the Windows prefetch folder to improve performance.

21. Disable the XP boot logo to speed up Windows boot time.

22. Reduce the number of fonts that your computer has to load up on startup.

23. Force Windows to unload DLLs from memory to free up RAM.

24. Run DOS programs in separate memory spaces for better performance.

25. Turn off system restore only if you regularly backup your Windows machine using third party software.

26. Move or change the location of your My Documents folder so that it is on a separate partition or hard drive.

27. Turn off default disk performance monitors on Windows XP to increase performance.

28. Speed up boot time by disabling unused ports on your Windows machine.

29. Use Process Lasso to speed up your computer by allowing it to make sure that no one process can completely overtake the CPU.

30. Make icons appear faster while browsing in My Computer by disabling search for network files and printers.

31. Speed up browsing of pictures and videos in Windows Vista by disabling the Vista thumbnails cache.

32. Edit the right-click context menu in Windows XP and Vista and remove unnecessary items to increase display speed.

33. Use the Windows Performance Toolkit and the trace logs to speed up Windows boot time.

34. Speed up your Internet browsing by using an external DNS server such as OpenDNS.

35. Improve Vista performance by using ReadyBoost, a new feature whereby Vista can use the free space on your USB drive as a caching mechanism.

36. If you have a slow Internet connection, you can browse web pages faster using a service called Finch, which converts it into simple text.

37. Use Vista Services Optimizer to disable unnecessary services in Vista safely.

38. Also, check out my list of web accelerators, which are programs that try to prefetch and cache the sites you are going to visit.

39. Speed up Mozilla Firefox by tweaking the configuration settings and by installing an add-on called FasterFox.

40. Learn how to build your own computer with the fastest parts and best hardware.

41. Use a program called TeraCopy to speed up file copying in Windows XP and Vista.

42. Disable automatic Last Access Timestamp to speed up Windows XP.

43. Speed up the Start Menu in Vista by hacking the MenuShowDelay key in the registry.

44. Increase the FileSystem memory cache in Vista to utilize a system with a large amount of RAM.

45. Install more RAM if you are running XP with less than 512 MB or Vista with less than 1 GB of RAM.

46. Shut down XP faster by reducing the wait time to kill hung applications.

47. Make sure that you have selected “Adjust for best performance” on the Performance tab in System Properties.

48. If you are reinstalling Windows, make sure that you partition your hard drives correctly to maximize performance.

49. Use Altiris software virtualization to install all of your programs into a virtual layer that does not affect the registry or system files.

50. Create and install virtual machines for free and install junk program, games, etc into the virtual machines instead of the host operating system. Check out Sun openxVM.

51. Do not clear your paging file during shutdown unless it is needed for security purposes. Clearing the paging file slows down shutdown.

52. If your XP or Vista computer is not using NFTS, make sure you convert your FAT disk to the NTFS file system.

53. Update all of your drivers in Windows, including chipset and motherboard drivers to their latest versions.

54. Every once in a while run the built-in Windows Disk Cleanup utility.

55. Enable DMA mode in Windows XP for IDE ATA/ATAPI Controllers in Device Manager.

56. Remove unnecessary or old programs from the Add/Remove dialog of the Control Panel.

57. Use a program click memtest86 or Prime95 to check for bad memory on your PC.

58. Determine your BIOS version and check the manufactures website to see if you need to update your BIOS.

59. Every once in a while, clean your mouse, keyboard and computer fans of dust and other buildup.

60. Replace a slow hard drive with a faster 7200 RPM drive, SATA drive, or SAS drive.

61. Changing from Master/Slave to Cable Select on your hard drive configuration can significantly decrease your boot time.

62. Perform a virus scan on your computer regularly. If you don’t want to install virus protection, use some of the free online virus scanners.

63. Remove extra toolbars from your Windows taskbar and from your Internet browser.

64. Disable the Windows Vista Sidebar if you’re not really using it for anything important. All those gadgets take up memory and processing power.

65. If you have a SATA drive and you’re running Windows Vista, you can speed up your PC by enabling the advanced write caching features.

66. Learn how to use keyboard shortcuts for Windows, Microsoft Word, Outlook, or create your own keyboard shortcuts.

67. Turn off the Aero visual effects in Windows Vista to increase computer performance.

68. If you are technically savvy and don’t mind taking a few risks, you can try to overclock your processor.

69. Speed up the Send To menu in Explorer by typing “sendto” in the Run dialog box and deleting unnecessary items.

70. Make sure to download all the latest Windows Updates, Service Packs, and hot fixes as they “normally” help your computer work better.

71. Make sure that there are no bad sectors or other errors on your hard drive by using the ScanDisk orchkdsk utility.

72. If you are not using some of the hardware on your computer, i.e. floppy drive, CD-ROM drive, USB ports, IR ports, Firewire, etc, then go into your BIOS and disable them so that they do not use any power and do not have to be loaded during boot up.

73. If you have never used the Recent Documents feature in Windows, then disable it completely as a long list can affect PC performance.

74. One basic tweak that can help in performance is to disable error reporting in Windows XP

75. If you don’t care about a pretty interface, you should use the Windows Classic theme under Display Properties.

76. Disable short filenames if you are using NTFS by running the following command: fsutil behavior set disable8dot3 1. It will speed up the file creation process.

77. If you have lots of files in a single folder, it can slow down Explorer. It’s best to create multiple folders and spread out the files between the folders.

78. If you have files that are generally large, you might want to consider increasing the cluster size on NTFS to 16K or even 32K instead of 4K. This will help speed up opening of files.

79. If you have more than one disk in your PC, you can increase performance by moving your paging file to the second drive and formatting the volume using FAT32 instead of NTFS.

80. Turn off unnecessary features in Vista by going to Control Panel, choosing Uninstall a program, and then clicking on Turn Windows features on and off. You can turn off Remote Differential Compression, Tablet PC components, DFS replication service, Windows Fax & Scan, Windows Meeting Space, and lots more.

81. Install a free or commercial anti-virus program to help protect against viruses, etc. Make sure to use an anti-virus program that does not hog up all of your computer resources.

82. Completely uninstall programs and applications using a program like Revo Uninstaller. It will get rid of remnants left behind by normal uninstalls.

83. If you know what you are doing, you can install several hard drives into your machine and set them up in RAID 0, RAID 5, or other RAID configurations.

84. If you are using USB 1.0 ports, upgrade to 2.0. If you have a Firewire port, try to use that instead of a USB port since Firewire is faster than USB right now.

85. Remove the drivers for all old devices that may be hidden in Device Manager that you no longer use.

86. A more extreme option is to choose a faster operating system. If you find Vista to be slow, go with Windows XP. Switching to Mac or Linux is also an option.

87. One of the easiest ways to speed up your PC is to simply reformat it. Of course, you want to backup your data, but it is the best way to get your computer back to peak performance.

88. Speed up Internet browsing in IE by increasing the number of max connections per server in the registry.

89. If you use uTorrent to download torrents, you can increase the download speeds by tweaking the settings.

90. If you have a desktop background, make sure it’s a small and simple bitmap image rather than a fancy picture off the Internet. The best is to find a really small texture and to tile it.

91. For the Virtual Memory setting in Windows (right-click on My Computer, Properties, Advanced, Performance Settings, Advanced, Virtual Memory), make sure the MIN and MAX are both the same number.

92. If you search on Google a lot or Wikipedia, you can do it much faster on Vista by adding them to the Vista Start Menu Instant Search box.

93. If you have a custom built computer or a PC that was previously used, make sure to check the BIOS for optimal settings such as enabled CPU caches, correctly set IDE/SATA data transfer modes, memory timings, etc. You can also enable Fast/Quick boot if you have that option.

94. If you have a SCSI drive, make sure the write cache is enabled. You can do so by opening the properties of the SCSI drive in Windows.

95. If you have a machine with an older network card, make sure to enable the onboard processor for the network card, which will offload tasks from the CPU.

96. If you are using Windows Vista, you can disable the Welcome Center splash screen that always pops up.

97. If you already have anti-spyware software installed, turn off Windows Defender protection.

98. If you are running a 32-bit version of Windows and have 4GB of RAM or more, you can force Windows to see and use all of the RAM by enabling PAE.
99. Many optimizations can automatically be done with tools like CCleaner (free) or TuneUp Utilities (not free).
100. Get a solid state disk (SSD) in addition to your hard drive. Install your operating system onto that SSD, and you won't notice loading times anymore. (best speed tweak ever!)

How to Clear Java and Flash cache

Clear Java Cache
Clearing the Java Plug-in cache forces the browser to load the latest versions of web pages and programs, and ensures that all traces of your ISP given IP is removed.
Be sure to also use CCleaner to clear all kinds of cache and trackable data.

 To clear the Java Plug-in cache:
  1. Click Start > Control Panel.
  2. Double-click the Java icon in the control panel.
    The Java Control Panel appears.

  1. Click Settings under Temporary Internet Files.
    The Temporary Files Settings dialog box appears.

Java Control Panel
 
  1. Click Delete Files.
    The Delete Temporary Files dialog box appears.
 

Temporary Files Settings dialog box
 
  1. Click OK on Delete Temporary Files window.
    Note: This deletes all the Downloaded Applications and Applets from the cache.
  2. Click OK on Temporary Files Settings window.
    Note: If you want to delete a specific application and applet from the cache,
          click on View Application and View Applet options respectively
Delete Temporary Files dialog box
  
  



.


Clear Adobe Flash Cache


Much like Java, forces the browser to load the latest versions of webpages and programs,
and ensures that all traces of your ISP given IP is removed.


1. To get started, simply visit this page. This will take you to the Settings Manager for the Flash Player.
It should also take you directly to the Website Storage Settings section.
If it doesn’t, simply click the Website Storage Settings button (see screenshot on the right)
to bring that section up. Towards the bottom of that window, you’ll see a section with a list
of all the sites that have left some piece of Flash on your computer.



2. We want to delete all of the sites that Flash has saved – click the Delete all sites button.


3. You’ll be prompted to confirm this action. Click Confirm.

4. And now your computer is free of the history of sites that you have visted with Flash content.
That’s it! It is of course important to note that the next time you visit a site that you had
previously deleted, it will re-appear in you Flash history list.

Bypassing VPN on per IP basis DD-WRT

Once a router is connected to HMA OpenVPN every device using that connection goes through the tunnel. If you want to filter devices to connect via the ISP's IP address, do this:

Transient solution

A- Go to ADMINISTRATION - COMMANDS - COMMAND SHELL and get the value of wan_gateway running this command: nvram get wan_gateway
B- Run a couple more commands:
ip route add default via (what you got in A) table 10 e. g. ip route add default via 173.234.216.1 table 10
ip rule add from (IP address you want to filter) table 10 e. g. ip rule add from 192.168.1.10 table 10

Permanent solution that survives reboots

1. Do the 4 Easy Steps Tutorial (http://forum.hidemya...ial/#entry16142) or run the HMA auto-installer (http://wiki.hidemyas...WRT_and_OpenWRT)

2. Go to ADMINISTRATION - COMMANDS - COMMAND SHELL and create a nvram variable wich will contain a list of the IP Addresses you want to filter, like this:

nvram set no_vpn_lst="192.168.1.11 192.168.1.12 192.168.1.13 "
nvram commit

As you can see, there's a space between every IP address, and a final space before the closing quotation mark. Customize the list to match the IP addresses you want to filter taking care of using the aforementioned spaces.

3. Download a script from http://pastebin.com/....php?i=nttcdVX3

4. Copy the script contents, paste to COMMANDS - COMMAND SHELL and click Save Custom Script



5. Reboot

6. That's it. Now the devices on your list will be routed outside the OpenVPN tunnel.

To set up static IP addresses these links tell you how (IT IS SAFE TO SKIP PORT FORWARDING SECTION, IT IS NOT NECESSARY, UNLESS YOU NEED IT OF COURSE).

http://www.dd-wrt.co...php/Static_DHCP

http://www.howtogeek...-dd-wrt-router/

How to Setup Tomato L2TP

Tomato L2TP Setup

Jump to: navigation, search

Flashing instructions with ASUS RT-N16

There is an official tutorial for installing Tomato firmware on Asus routers: http://tomatousb.org/tut:installing-on-asus-rt-n16
And below you'll find usermade instructions for this purpose:
  • At this point you still have the original firmware on your router installed.
  • First you need to install the DD-WRT firmware to be able to flash Tomato firmware later.
  • E.g. install dd-wrt.v24-15778_NEWD-2_K2.6_mini_RT-N16.trx using the webconfiguration of the router.
  • Now your router is flashed with DD-WRT firmware.
  • Now do a hard reset (30-30-30).
  • Change the .trx suffix [tomato-K26USB-1.28.9054MIPSR2-beta-vpn3.6.trx] to .bin [tomato-K26USB-1.28.9054MIPSR2-beta-vpn3.6.bin].
  • Use the DD-WRT webconfiguration to flash the Tomato Firmware onto the router.
  • Do a hard reset (30-30-30)
  • Perform a thorough NVRAM erase (Administration > Configuration: Restore Default Configuration) by selecting [Erase all data in NVRAM memory (thorough)]. Make sure to click OK.
  • Set the routers IP address similar to your gateway router/DSL modem (e.g. if gateway is 192.168.0.1, set the router to 192.168.0.2 or 192.168.1.1) (Basic > Network: LAN)
  • Set the IP Address Range accordingly.
  • Click Save.
  • Click Reboot.

Note: You must first install DD-WRT firmware before you can flash Tomato firmware. Flashing Tomato firmware over a router original firmware will most likely not work.

  
 

VPN configuration


Go to the Tomato routers web configuration, usually by typing 192.168.1.1 in your browser
Now in the menu, go to Basic / Network
Here, please set:
  • Type: L2TP
  • Username: Your VPN account username
  • Password: Your PPTP password (not account password. Get the PPTP password in the VPN control panel under "PPTP servers")
  • L2TP Server: The L2TP server IPs can be found @ http://hidemyass.com/vpn-config/l2tp/
  • Use DHCP: Check
  • Use Default Gateway on Remote Network: Check
  • Subnet Mask: 255.255.255.0
  • Options: Leave blank
  • Connect mode: Keep alive
  • Check Interval: 30
  • MTU: Manual – 1460

After you have entered the settings from above hit “Save”.
The router will apply the settings and you will be connected to VPN.

You can always check if your IP has changed at http://whatismyipaddress.com/

 

How to Setup Tomato PPTP

flashing instructions with ASUS RT-N16

There is an official tutorial for installing Tomato firmware on Asus routers: http://tomatousb.org/tut:installing-on-asus-rt-n16
And below you'll find usermade instructions for this purpose:
  • At this point you still have the original firmware on your router installed.
  • First you need to install the DD-WRT firmware to be able to flash Tomato firmware later.
  • E.g. install dd-wrt.v24-15778_NEWD-2_K2.6_mini_RT-N16.trx using the webconfiguration of the router.
  • Now your router is flashed with DD-WRT firmware.
  • Now do a hard reset (30-30-30).
  • Change the .trx suffix [tomato-K26USB-1.28.9054MIPSR2-beta-vpn3.6.trx] to .bin [tomato-K26USB-1.28.9054MIPSR2-beta-vpn3.6.bin].
  • Use the DD-WRT webconfiguration to flash the Tomato Firmware onto the router.
  • Do a hard reset (30-30-30)
  • Perform a thorough NVRAM erase (Administration > Configuration: Restore Default Configuration) by selecting [Erase all data in NVRAM memory (thorough)]. Make sure to click OK.
  • Set the routers IP address similar to your gateway router/DSL modem (e.g. if gateway is 192.168.0.1, set the router to 192.168.0.2 or 192.168.1.1) (Basic > Network: LAN)
  • Set the IP Address Range accordingly.
  • Click Save.
  • Click Reboot.
Note: You must first install DD-WRT firmware before you can flash Tomato firmware. Flashing Tomato firmware over a router original firmware will most likely not work.




Tomato related links:
 


Tomato OpenVPN Setup


  • Please open Tomato WebConfig by navigating to http://192.168.1.1/ in your browser.
  • Please proceed to Administration > Scripts and enter the following command:

echo USERNAME > /tmp/userpass.conf
echo PASSWORD >> /tmp/userpass.conf
chmod 600 /tmp/userpass.conf

  • Replace the “USERNAME” and “PASSWORD” with your account details. (the same that you use to login to the VPN control panel @ http://vpn.hidemyass.com )
  • Press “Save





  • Please proceed to VPN Tunneling > Client > Basic
  • In the basic settings do the following:

Start with WAN: Check
Interface Type: TUN
Protocol: Choose between TCP and UDP
Server IP address/Port: Enter the IP address of the server you wish to connect to
(e.g. you can use the IPs from the bottom of the config files at http://hidemyass.com/vpn-config/ -
or use the "PPTP servers" list from the VPN control panel, they're the same servers.)

Port:
For UDP enter 53 and for TCP 443
Firewall: Automatic
Authentication mode: TSL
Extra HMAC Authorisation: Disabled
Create NAT on tunnel: check

  • Press “Save






  • You may proceed to VPN Tunneling > Client > Advanced
  • Use the following settings:

Poll interval: 0
Redirect traffic: Uncheck
Accept DNS configuration: Disabled
Encryption cipher: BF-CBC
Compression: Disabled
TSL Regeneration Time: -1
Connection retry: 30 (or you may set -1 for infinite)

  • In Custom Configuration please enter the following:

ns-cert-type server
auth-user-pass /tmp/userpass.conf

  • Press “Save





  • You may proceed to VPN Tunneling > Client > Keys
  • In Certificate Authority please enter the content of “ca.crt
  • In Client Certificate please enter the content of “hmauser.crt
  • In Client Key please enter the content of “hmauser.key
    (you can get all those files from http://hidemyass.com/vpn-config/keys/ )
  • Press “Save






  • Your router is configured for OpenVPN.
  • You may proceed to VPN Tunneling > Client > Status
  • Simply press the “Start Now” button to connect.







  • If you are successfully connected you should see something like this:




Well done, you have configured your router for OpenVPN.

How to configure HMA OpenVPN on a OpenWRT router

This tutorial assumes that you have OpenWRT with the luci webif (web interface) installed. Visit OpenWrt.org for more information.

I know most of you are Windows users, So I wrote this tutorial assuming you are using Windows OS.

log into the luci webif
go to system->software
click "Update package lists"
paste "luci-app-openvpn" into the "Download and install package" box and click "OK"

[Image: 86357142.gif]

While still in the luci webif
go to Network->Interface
type "vpn" in the box and click "Add entry"

[Image: 40462062.gif]

Protocol: none
Bride interface: unchecked
Interface: tun0 (drop down menu then select custom and type in "tun0")
Create / Assign firewall-zone: wan

[Image: 81409237.gif]

Download the vpn-config.zip from here:
http://hidemyass.com/vpn-config/vpn-config.zip

Extract the contents of the vpn-config.zip to a new folder of your choosing. I extracted mine to a folder called vpn-config which is on my Desktop. Inside my new folder named vpn-conf are many *.ovpn config files and a "keys" folder containing 3 key files (ca.crt, hmauser.crt, and hmauser.key)

The *.ovpn config file I'm going to choose for this example is:

Russia.Moscow.ovpn

Choose the one that is best for you.

For convenience, move your *.ovpn config file to your keys folder. In this case, it's the Russia.Moscow.ovpn I am moving.

Now we are going to be creating and editing text files. We need a text editor that is capable of saving text files in UNIX file format. In other words Do NOT use windows notepad or word-pad. I would recommend using “TextPad” or "NotePad PlusPlus".

You can download TextPad from here:
ftp://download.textpad.com/pub/textpad5.4/txpeng542.exe

Using "TextPad" or similar create a new text file and put your user-name in line 1 and your pass in line 2 and save it as "pass.txt". Make sure you choose UNIX file format when saving!! (See Screen Shot Below) Put the pass.txt in your keys folder as well.

[Image: 46185589.gif]

Using "TextPad" or similar edit your *.ovpn file, In this case, it's the Russia.Moscow.ovpn

edit the line

"auth-user-pass"

and change it to

"auth-user-pass ./pass.txt"

also edit the lines

ca ./keys/ca.crt
cert ./keys/hmauser.crt
key ./keys/hmauser.key

to

ca ./ca.crt
cert ./hmauser.crt
key ./hmauser.key

[Image: 64214201.gif]

Inside your keys folder you should now have the following files:

ca.crt
hmauser.crt
hmauser.key
Russia.Moscow.ovpn (or whatever vpn server config you choose)
pass.txt

Next download WinSCP from here:
http://winscp.net/download/winscp433setup.exe

Launch WinSCP

Host name: your router's ip (it's 192.168.1.1 unless you changed it)
Port number: 22
User Name: root
Password: your password to your router
Private key file: just leave it blank
File protocol: SCP

[Image: 75815378.gif]

Click "Login" (Ignore the error about user groups.)

Using WinSCP transfer your:

ca.crt
hmauser.crt
hmauser.key
Russia.Moscow.ovpn (or whatever vpn server config you choose)
pass.txt

to the

/etc/openvpn directory of your router.

I find it is easiest to just drag and drop while using WinSCP.

[Image: 58470728.gif]

Now it's time to run the hma vpn service on the router. We do this by issuing commands via the SSH protocol.

I would recommend the SSH client puTTY.

Download puTTY from here:
http://the.earth.li/~sgtatham/putty/late.../putty.exe

Launch puTTY,

Host Name: your router's ip (192.168.1.1 unless you changed it)
Port: 22
Connection type: SSH

Click "Open"

login as: "root"
enter your routers password

[Image: 85548507.gif]

In the puTTY terminal type:

cd /etc/openvpn/
openvpn --config Russia.Moscow.ovpn (change this to the *.opvn you choose)

Your vpn service should now be up and running. YOU MUST GET THE "Initialization Sequence Completed" message before proceeding!!

[Image: 53619651.gif]

If you didn't get the Sequence Completed" message, you made a mistake while editing your *.opvn file. Find the mistake and fix it.

Test your connection:

Open a web browser and go to a web site. http://www.google.com for example.

If it works, your done

If not.... (and I'm betting not) See below...

Trouble Shooting:

If you go to http://www.google.com and you get a web site not found error, try typing 64.233.169.91 into the address bar instead. If the Google page now comes up, you have a DNS problem. (like I did.)

The easiest way I have found to fix the DNS problem is to go here:
http://theos.in/windows-xp/free-fast-pub...rver-list/

(Tip: Ctrl+C to stop vpn or reboot router so you can go to the above public-dns-server-list address.)

and select a DNS server from the list.

I would recommend you ping each one to find the one that is fastest for you.

For this example I will choose the DnsAdvantage.

DnsAdvantage's ip is 156.154.70.1

Go back to your luci webif
go to Network->Interfaces
click on the edit button  for your vpn (small icon to the far right)

From the "Additional field" drop down menu select DNS-Server click "Add"
paste in your DNS-Server's IP (In this case it's 156.154.70.1 which is DnsAdvantage)
click Save and Apply.

That should fix any DNS problem.

Script:HMA startup script for routers

If your modem/router has the option to allow the execution of a custom startup script, you can use the following below to get Hidemyass configured.

Just add the whole script block to your startup script (adjust your userid/password and remote-address). You might also need to adjust the routing script (hidemyass-up.sh) to match your own network configs.




Code:
 
cd /tmp

/usr/sbin/echo "client
dev tun
proto tcp
script-security 2 execve
ifconfig-noexec
up /tmp/hidemyass-up.sh
resolv-retry infinite
ping 5
ping-exit 30