PPTP Debian/Ubuntu OpenVZ Setup Script

I have built this script for automated PPTP/PoPToP installation. PoPToP will be running on your OpenVZ VPS in a few of minutes. Port forwarding, server config, and authentication setup is all done for you. Manual install guide is available here: http://www.putdispenserhere.com/pptp-vpn-setup-guide-for-a-debian-openvz-vps/
Feedback is appreciated.

Make sure that your VPS has it’s PPP module working. To check, run:

cat /dev/ppp

If you receive this message, your PPP module is ready for use:

cat: /dev/ppp: No such device or address

To install the script, copy and paste this into your SSH client of choice:

wget http://www.putdispenserhere.com/wp-content/uploads/pptpinstall.sh
chmod +x pptpinstall.sh
./pptpinstall.sh

(more…)

OpenVPN Debian/Ubuntu Setup Script for OpenVZ

I have edited a script (credits below as well as a CentOS/RHEL version) for automated OpenVPN setup. OpenVPN server on your OpenVZ VPS can be set up in under a couple of minutes. Port forwarding, client config, key archiving, and config setup is all done for you. Note that setting the port to 53 can be used to bypass captive portals as an alternative to using iodine. Feedback is appreciated.

Make sure that your VPS has it’s TUN/TAP modules enabled by your provider first. To verify it is working, enter the command below:

cat /dev/net/tun

If you receive this message, your TUN/TAP device is ready for use:

cat: /dev/net/tun: File descriptor in bad state

If you receive this message, contact your provider for assistance:

cat: /dev/net/tun: No such file or directory

To install the script, copy and paste this into your SSH client of choice:

wget http://www.putdispenserhere.com/wp-content/uploads/openvpninstall.sh
chmod +x openvpninstall.sh
./openvpninstall.sh

(more…)

Rebuild Icon Cache Guide

1. Close any My Computer windows. This command will kill explorer.

2. Open the Start Menu, and type cmd in the search box and press enter (make sure you run as Administrator if you have UAC on).

3. In the command prompt, Copy and Paste the commands below:

For Windows Vista/2008/7/2008R2:

TASKKILL /IM explorer.exe /F
CD /d %LOCALAPPDATA%
DEL /A:H IconCache.db
explorer

For Windows NT/2000/XP/2003/2003R2:

TASKKILL /IM explorer.exe /F
CD /d %USERPROFILE%\Local Settings\Application Data
DEL /A:H IconCache.db
explorer

4. The IconCache.db file has now been rebuilt.

Bypassing Captive Portals/Airport Pay Restrictions with Iodine on a Debian VPS Guide

This guide is intended for those who want to set up a Iodine on a Debian or Ubuntu VPS. Lots of time has been spent through trial and error trying to figure it out. Insight and portions of this guide have been taken http://code.kryo.se/iodine/.

Server Setup:

1. Run one of the following scripts on your server below.
SSH into your server/VPS and run one of the below scripts:

1a. Ubuntu only installation!

cat >> /etc/apt/sources.list <<END
deb http://archive.ubuntu.com/ubuntu natty main restricted universe
END
apt-get update
apt-get -t natty install iodine
sed -i '$d' /etc/apt/sources.list

1b. Debian only installation!

cat >> /etc/apt/sources.list <<END
deb http://ftp.debian.org/debian sid main
END
apt-get update
apt-get -t sid install iodine
sed -i '$d' /etc/apt/sources.list

(more…)

Debian Nginx 0.7/PHP 5.3/MySQL 5.1 Install Guide

This script is based of 21Andy’s work, and Lowendbox’s work.

The main differences compared to Andy’s and Lowendbox’s work are:
PHP 5.3 vs 5.2
Nginx 0.7 vs 0.6
MySQL 5.1 vs 5.0
Cleaner repos (for those Debian templates with broken repositories)

To run this script, enter in:

wget http://www.putdispenserhere.com/wp-content/uploads/setup-cheap-debian.sh
bash setup-cheap-debian.sh

Afterward, run this to setup WordPress:

bash setup-debian.sh wordpress blog.example.com

Make sure you change blog.example.com to match your domain.

(more…)

PPTP VPN Setup Guide for a Debian OpenVZ VPS

This guide is intended for those who want to set up a PPTP VPN on OpenVZ with Debian or Ubuntu on a capable provider such as BuyVM.net. Lots of time has been spent through trial and error trying to figure it out. Insight and portions of this guide have been taken from howtogeek.com.

An automated script (written by me) is now available! http://www.putdispenserhere.com/pptp-debian-ubuntu-openvz-setup-script/

To verify PPP is working, run:

cat /dev/ppp

It should return this:

cat: /dev/ppp: No such device or address

Server Setup:

1. Install the pptp server package:

apt-get install pptpd

(more…)

Pentium 3 Autopsy

Here is something cool I found browsing the net:

Pentium 3

For teaching a course I needed to take a closer look at a CPU. I asked around and got my hands on an old P-III Coppermine that was about to get thrown out. I’ll start with a disclaimer: I know virtually nothing about CPUs, so if I claim something to be true, it probably isn’t.

The first challenge is to get the actual silicon processor chip off of the plastic bonding board. In the picture below, the blue thing you see is the back side of the processor chip. When the processor is finished, it is turned upside down and bonded to the green circuit board. This allows the metal pads on the silicon chip and the pads on the circuit board to join, creating a connection (this is one of those claims…). I believe that the CPU at that stage is heated up in order to melt the joints and thereby solder them together.

Click images for full-size. Especially the scanning electron microscope images below could be interesting to view in all its splendor.

Original Source: http://www.sciencystuff.com/?p=24

IPV6 Tunnel Setup Guide

This is my first attempt at editing and fixing someone else tutorial.

You will need a tunnel broker, and you can follow my guide and use Hurricane Electric. Once you have your account set up, you will need to create a regular tunnel, and all you have to do is enter in your public IP address which can be found at http://whatismyipaddress.com/.

With that set up, now you will need to get your tunnel info. Here is an example:

Server IPv4 Address: 216.218.226.238

Server IPv6 Address: 2001:480:a:40b::1/64

Client IPv4 Address: 123.456.789.101 (Your IP address here)

Client IPv6 Address: 2001:480:a:40b::2/64

Routed /64:2001:480:b:40b::/64

(more…)