How to hide (protect) your IP address on Bittorrent

You might be reading this because you have received a DMCA (Copyright) notice about downloading a copyrighted file on your computer. Disclaimer: I do not condone downloading pirated movies or TV show episodes; you can find how to watch content at www.wheretowatch.com

To protect your privacy and hide your IP address when using Bittorrent, you can sign up at www.privateinternetaccess.com. They provide a 24/7 private network (VPN) that can be set up on your computer in just a few minutes. The method I’m describing in this post goes over how to set up qBittorrent to use a SOCKS5 proxy from www.privateinternetaccess.com, instead of connecting your entire computer’s network to the VPN.

Sign up for VPN Access

private2Visit www.privateinternetaccess.com and sign up for the monthly or yearly VPN access plan. I went with the $39.95 option for one year, which turns out to be only $3.33 per month.

Follow their instructions for generating a SOCKS5 username and password.  You’ll need this username/password a bit later.

Download and Install qBittorrent

You could use almost any other bittorrent client like uTorrent or Vuze, but this guide will be for qBittorrent.

Ubuntu/Debian users can simply run this at the console to install:

sudo apt-get install qbittorrent

Configure Proxy Settings in qBittorrent

qbittorrent1

  1. Open the options/settings dialog.
  2. Go to the “Connection” button/tab/section.
  3. Under the Proxy Server section, choose Type: SOCKS5
  4. For the host, enter proxy-nl.privateinternetaccess.com and enter 1080 for the Port.
  5. Check Use proxy for peer connections
  6. Check Disable connections not supported by proxies
  7. Uncheck Use proxy only for torrents.
  8. Check Authentication
  9. Enter your username & password you generated earlier.

Now open the Bittorrent panel/tab/section.

qbittorrent2

  1. For Encryption mode, choose Require encryption. This ensures your traffic cannot be decoded and tracked.
  2. Check Enable anonymous mode.

Click Apply/OK to save the settings, quit qBittorrent and relaunch it to make sure it’s using the new proxy settings.

Testing your proxy and privacy

Now that you have everything configured, you want to see if it’s really working. There’s an easy way to do that:

  1. Visit IP Magnet (http://dev.cbcdn.com/ipmagnet/)
    1. This is a really nice tool that gives you a custom torrent url to download, and the page will auto-update with all the IPs serving it.
      proxy1
  2. Copy & paste the magnet link it gives you, and stay on the web page, don’t close the tab!
  3. In qBittorrent, choose File -> Add Torrent Link (Or press Ctrl Shift O)
  4. Click Download and choose a location to store it (it’s hardly any data so don’t worry about the location)
  5. Now when it starts downloading, check the ipMagnet page that you kept open before.
  6. It will start showing IP addresses serving the file.
  7. If your proxy is set up correctly, none of the IP addresses will match your real IP address, which is listed at the top of the page next to FYI.

That’s it, you’re done!

Guide to Running RetroArch (Playstation Emulator) on Ubuntu 14.04

This has been tested with Ubuntu 14.04 but should also work with 13.10, 14.10, and 15.X.  These directions are geared towards running Playstation (PSX) games on RetroArch, which uses the Mednafen PSX driver internally to emulate the playstation with incredible accuracy, but the same general steps can be used to run SNES/NES/N64/Genesis as well.

Continue reading

Bind a key in Linux to Increase/Decrease the Volume

Using these instructions I was able to set Shift + Page Up to increase the volume, and Shift + Page Down to decrease the volume. These instructions are for Ubuntu 13.04 with XFCE but should work with Unity or other distributions. The code below also works if you want to control the volume via a shell script or program.

Open the Keyboard control panel and choose the Keyboard Shortcuts tab

Click Add

Enter the command:

amixer -D pulse sset Master 5%-

Press OK, then it will ask you to type the desired keyboard shortcut. I pressed Shift + Page Down.

Create another one, this time enter for Volume Up:

amixer -D pulse sset Master 5%+

And then press another shortcut, I used Shift + Page Up.

How to add your signature to any PDF for Free!

Are you digitally filling out a housing lease or work employment contract and need to sign your PDF and e-mail it? If you’re like me, you’re tired of having to deal with printing and mailing contracts. Here’s how to insert your signature on a PDF using completely free software.

1. Download the free GIMP software

GIMP stands for “GNU Image Manipulation Program”, and is similar to Photoshop. The user interface is not as nice but it doesn’t cost anything, works on multiple platforms, and performs most of the typical functions you would need.

Continue reading

How to listen to Spotify for a long time without ads

Here is a quick and easy way to listen to Spotify for long periods of time without listening to ads and without paying for the PRO service. Note: Only applies if you like DJ mixes of Trance, House, and other genres of Electronic Dance Music.

  • Search spotify for the word “continuous”
  • Sort by Duration, Descending.

You’ll get a long list of full continuous DJ mixes over 1 hour long (some as long as 79 minutes). You can listen to these tracks in full with no ad interruptions. Sometimes you can listen to two of them consecutively before hearing an advertisement! Continue reading

How to Rotate a Multi Page PDF in Ubuntu Linux

So you have a PDF file that might be one or more pages, but you want to rotate the pages? Use these simple steps from your Ubuntu Linux command line terminal:

  1. Run sudo apt-get install python-pypdf (you need this to modify PDFs with Python)
  2. Create a text document to contain this python code:
    #!/usr/bin/env python
    import sys
    from pyPdf import PdfFileWriter, PdfFileReader
    input = PdfFileReader(sys.stdin)
    output = PdfFileWriter()
    for i in range(0,input.getNumPages()):
        output.addPage(input.getPage(i).rotateClockwise(90))
        output.write(sys.stdout)

    You can change 90 to -90 to rotate the other direction (left instead of right).

  3. Save & Close the file as rotatepdf.py
  4. Run chmod 755 rotatepdf.py to make it executable
  5. Run ./rotatepdf.py < input.pdf > output.pdf

Input.pdf is your original PDF file that is not rotated. Output.pdf is the PDF after rotation is applied (do not use the same filename for both).

Install Google Wallet on a Verizon Galaxy Nexus with Android Jelly Bean 4.1

I have a Verizon Wireless (VZW) Galaxy Nexus and upgraded it to Jelly Bean 4.1 as soon as I got my hands on it. But I couldn’t get Google Wallet installed on it because Verizon is stupid. It’s hidden from the Google Play store if you’re on Verizon, and often loading APK copied onto the device didn’t work for me either. But this post did the trick for me!

Steps:

  • UPDATE 2 for Sept 14, 2012: Verizon has blocked Google Wallet again! But luckily there’s a simple solution for Verizon Galaxy Nexus ICS & Jelly Bean owners: Download and run this updated APK file (if the file is no longer available, Google search for “Wallet_1.5-R79-v5.apk” and you should find it somewhere). Follow steps below to install it.
  • >Download the APK file from this post< (you have to register on the forum to download it =(
  • UPDATE: If that APK does not work for you, try the one >in this post< (thanks Tory Silvers)
  • In Root Explorer (ES File Explorer works too if you enable Root browsing), copy the apk file you want to put in /system/app
  • Navigate to the /system/app directory
  • Tap the Mount R/W button on the top right (not applicable with ES File Explorer)
  • Tap Paste
  • Scroll down to the pasted apk, long press on it and select Permissions (you’ll see 9 check boxes when you do this)
  • Check the Read and Write buttons for User
  • Check only the Read box next to Group and Others, then tap OK (once you’re done, the read/write permissions under the app name should be the same as all the other apps listed (rw-r–r–))
  • Reboot the phone

How to Set Up Logitech M510 USB Mouse on Ubuntu 12.04

Logitech has a great selection of USB mice for all operating systems and they often work without installing any software. Sometimes to get the most out of it however, you can configure your xorg.conf file on Ubuntu 12.04 and some previous Ubuntus. After plugging in the Logitech M510 USB wireless laser mouse, make sure the batteries are in and it is turned on. Then put this code into your /etc/X11/xorg.conf file:


Section "InputDevice"
Identifier "Logitech Mouse"
Driver "evdev"
Option "Protocol" "evdev"
Option "Name" "Logitech USB Optical Mouse"
Option "Phys" "usb-*/input0"
Option "Device" "/dev/input/by-id/usb-Logitech_USB_Receiver-mouse"
Option "Buttons" "8"
Option "ZAxisMapping" "4 5"
Option "Resolution" "1200"
Option "CorePointer"
EndSection

Note: If your xorg.conf file already has a section labeled “InputDevice”, replace it with this one.

It is recommended that you copy your current xorg.conf file to another one using the “cp” command before using this code. After it is done, restart your computer (logout/login might also work).