<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Life in 0 and 1 &#187; Featured</title>
	<atom:link href="http://lifein0and1.com/category/featured/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifein0and1.com</link>
	<description>My IT notebook...</description>
	<lastBuildDate>Mon, 28 Jun 2010 23:04:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Digital Signing and Encrypting for Personal Use</title>
		<link>http://lifein0and1.com/2007/11/09/digital-signing-and-encrypting-for-personal-use/</link>
		<comments>http://lifein0and1.com/2007/11/09/digital-signing-and-encrypting-for-personal-use/#comments</comments>
		<pubDate>Fri, 09 Nov 2007 23:44:44 +0000</pubDate>
		<dc:creator>Mr. IT Guy</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[IT in General]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[digital signature]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://lifein0and1.com/2007/11/09/digital-signing-and-encrypting-for-personal-use/</guid>
		<description><![CDATA[Digital signing and encryption has been used to authenticate emails in many corporate environment to prevent spoofing. Here&#8217;s a simple guide to create a digital signature, import them and use them for personal use. My current choice of personal certificate is issued by Thawte. Thawte&#8217;s root certificate has been installed on most computer; therefore the [...]]]></description>
			<content:encoded><![CDATA[<p>Digital signing and encryption has been used to authenticate emails in many corporate environment to prevent spoofing. Here&#8217;s a simple guide to create a digital signature, import them and use them for personal use. My current choice of personal certificate is issued by Thawte.  Thawte&#8217;s root certificate has been installed on most computer; therefore the recipient do not need to install custom root certificate to confirm the authenticity.</p>
<p>The first thing that needs to be done is obtaining digital certificate. Thawte&#8217;s personal digital certificate can be obtained <a href="http://www.thawte.com/secure-email/personal-email-certificates/index.html" title="Personal Certificate" target="_blank">here</a>. After registration and verification, you can create your own certificate. The default options will allow both digital signing and encryption. Thawte also allows you to create multiple certificate for multiple accounts. Download, import and usage instructions available after the jump. <span id="more-20"></span></p>
<p>If you&#8217;re using Firefox, the certificate will be imported into the browser. You need to export them as a file then re-import them to your e-mail client of choice. To export the certificate from Firefox:</p>
<ol>
<li>Click Tools -&gt; Options  -&gt; Advanced</li>
<li>Click on View Certificates</li>
<li>Select the Certificate</li>
<li>Click Backup</li>
</ol>
<p>Now that you have downloaded the certificate you can now import it into your mail client. You will be asked to password protect the certificate. Remember the password that will be used to import the certificate to the mail client. <strong>IMPORTANT:</strong> Do <strong>NOT</strong>  send your certificate since it contains your private key for decrypting your e-mails. For more info on digital signing and encryption click <a href="http://lifein0and1.com/how-e-mail-digital-signing-and-encryption-work/" title="How E-mail Digital Signing and Encryption Works" target="_blank">here</a>.</p>
<p><strong>Importing to Thunderbird</strong></p>
<ol>
<li>Right click the account that is listed in the certificate and click Properties</li>
<li>Click the corresponding Security section</li>
<li>Click View Certificates</li>
<li>Click Import</li>
<li>Point to the certificate downloaded from Firefox then click OK</li>
<li>You will be asked to create password for &#8220;Security Devices&#8221; and the password to import the certificate</li>
<li>Under the section &#8220;Digital Signing&#8221; click select</li>
<li>Choose the certificate and click OK</li>
<li>Thunderbird will ask if you want to use the same certificate for encryption. Click Ok</li>
<li>Check &#8220;Digitally sign messages (by default)&#8221; then click Ok</li>
</ol>
<p><strong>Sending Signed/Encrypted E-mail withThunderbird</strong></p>
<ul>
<li>Signing
<ul>
<li>If you choose to sign by default as written in the guide, you don&#8217;t have to do anything</li>
<li>If not, when writing a new message  click on the downward triangle next to the &#8220;Security&#8221; (padlock icon) then choose  &#8220;Digitally Sign This Message&#8221;</li>
</ul>
</li>
<li>Encrypting
<ul>
<li>You have to receive an e-mail with the person&#8217;s digital signature</li>
<li>When writing a new message click on the  downward triangle next to the &#8220;Security&#8221; (padlock icon) then choose  &#8220;Encrypt This Message&#8221;</li>
<li>If you have not received any e-mail with the person&#8217;s digital signature, you won&#8217;t be able to encrypt the e-mail and an error message will be generated</li>
</ul>
</li>
</ul>
<p><strong>Importing to Microsoft Outlook</strong></p>
<ol>
<li>Click Tools -&gt; Options -&gt; Security</li>
<li>Click  Import/Export</li>
<li>Select &#8220;Import  existing Digital ID from a file&#8221; then click &#8220;Browse&#8230;&#8221;</li>
<li>Point to the certificate file exported from Firefox</li>
<li>Fill in the password at the text field and give a name for this particular certificate</li>
<li>Click OK</li>
<li>On the same &#8220;Security&#8221; tab, click on &#8220;Settings&#8230;&#8221;</li>
<li>Click on &#8220;Choose&#8221; for both signing and encryption certificate and choose the certificate you&#8217;ve just imported</li>
<li>Check &#8220;Send these certificates with signed message&#8221;</li>
<li>Click Ok</li>
<li>On the &#8220;Security&#8221; tab, also check the &#8220;Add digital signature to outgoing messages&#8221;</li>
<li>Also check &#8220;Send clear text signed message when sending signed messages&#8221;</li>
<li>Click ok</li>
</ol>
<p><strong>Sending Signed/Encrypted E-mail with Outlook</strong></p>
<ul>
<li>Signing
<ul>
<li>If you set it to send digital signature by default, all outgoing email will be automatically signed</li>
<li>If not, when writing a new message click on Options -&gt; Security Settings and check &#8220;Add digital signature to this message&#8221; and &#8220;Send this text message as clear text signed&#8221;</li>
<li>Alternatively, when writing a new message click on the envelope icon with the red and gold ribbon</li>
</ul>
</li>
<li>Encrypting
<ul>
<li>To send encrypted e-mail you have to receive an e-mail from that person with his/her digital signature</li>
<li>After you receive an email with the person&#8217;s digital signature, right click the name  and choose &#8220;Add to Outlook Contacts&#8221;. This will import the person&#8217;s certificate that&#8217;s needed to send out encrypted information to that person.</li>
<li>If you have not received any e-mail with the person&#8217;s digital signature and add the certificate to the contact, you won&#8217;t be able to encrypt the e-mail and an error message will be generated</li>
<li>When writing a new message  click on Options -&gt; Security Settings and check &#8220;Add digital signature to this message&#8221;, &#8220;Send this text message as clear text signed&#8221; and &#8220;Encrypt message contents and attachments&#8221;</li>
<li>Alternatively, when writing a new message click on the envelope icon with the blue padlock on the toolbar</li>
<li><strong>NOTE:</strong> In order to encrypt properly, the recipient should be added by click the &#8220;To:&#8221; button and choosing the contact from the address book</li>
</ul>
</li>
</ul>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F11%2F09%2Fdigital-signing-and-encrypting-for-personal-use%2F&amp;title=Digital%20Signing%20and%20Encrypting%20for%20Personal%20Use&amp;bodytext=Digital%20signing%20and%20encryption%20has%20been%20used%20to%20authenticate%20emails%20in%20many%20corporate%20environment%20to%20prevent%20spoofing.%20Here%27s%20a%20simple%20guide%20to%20create%20a%20digital%20signature%2C%20import%20them%20and%20use%20them%20for%20personal%20use.%20My%20current%20choice%20of%20personal%20certi" title="Digg"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Flifein0and1.com%2F2007%2F11%2F09%2Fdigital-signing-and-encrypting-for-personal-use%2F&amp;title=Digital%20Signing%20and%20Encrypting%20for%20Personal%20Use&amp;notes=Digital%20signing%20and%20encryption%20has%20been%20used%20to%20authenticate%20emails%20in%20many%20corporate%20environment%20to%20prevent%20spoofing.%20Here%27s%20a%20simple%20guide%20to%20create%20a%20digital%20signature%2C%20import%20them%20and%20use%20them%20for%20personal%20use.%20My%20current%20choice%20of%20personal%20certi" title="del.icio.us"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Digital%20Signing%20and%20Encrypting%20for%20Personal%20Use&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F11%2F09%2Fdigital-signing-and-encrypting-for-personal-use%2F" title="Slashdot"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Flifein0and1.com%2F2007%2F11%2F09%2Fdigital-signing-and-encrypting-for-personal-use%2F&amp;t=Digital%20Signing%20and%20Encrypting%20for%20Personal%20Use" title="Facebook"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.haohaoreport.com/submit.php?url=http%3A%2F%2Flifein0and1.com%2F2007%2F11%2F09%2Fdigital-signing-and-encrypting-for-personal-use%2F&amp;title=Digital%20Signing%20and%20Encrypting%20for%20Personal%20Use" title="Haohao"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/haohao.png" title="Haohao" alt="Haohao" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Flifein0and1.com%2F2007%2F11%2F09%2Fdigital-signing-and-encrypting-for-personal-use%2F&amp;title=Digital%20Signing%20and%20Encrypting%20for%20Personal%20Use" title="StumbleUpon"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="" title="TwitThis"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://lifein0and1.com/2007/11/09/digital-signing-and-encrypting-for-personal-use/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Triple Boot Mac OS X, Ubuntu and Windows XP on MacBook Pro Core 2 Duo (Part 3)</title>
		<link>http://lifein0and1.com/2007/09/04/triple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3/</link>
		<comments>http://lifein0and1.com/2007/09/04/triple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 06:45:13 +0000</pubDate>
		<dc:creator>Mr. IT Guy</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OSX]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Networking Product]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macbook pro]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://lifein0and1.com/2007/09/04/triple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3/</guid>
		<description><![CDATA[Out of the three parts, this is the part where I stumble upon the most &#8220;unexpected&#8221; issues. First of all, Live CD does not work on my 2nd-gen Macbook Pro (MBP). There seems to be some problem with the ATI drivers on the Live CD that prevents X from starting up. I have to use [...]]]></description>
			<content:encoded><![CDATA[<p>Out of the three parts, this is the part where I stumble upon the most &#8220;unexpected&#8221; issues. First of all, Live CD does not work on my 2nd-gen Macbook Pro (MBP). There seems to be some problem with the ATI drivers on the Live CD that prevents X from starting up. I have to use the Alternate CD with the text-based-installer. Also, GRUB will not install. Fortunately LILO will be offered and it installs just fine. Finally X will not work after the reboot and you need to install some drivers before it will work.</p>
<p><span id="more-19"></span> As a start, put in the CD, choose the CD installer from rEFIt then follow the instructions below:</p>
<ol>
<li> Proceed with the installation regularly until the HDD partitioning portion</li>
<li>Choose to install on /dev/sda3 and format as &#8220;reiserfs&#8221; with mount point &#8220;/&#8221;</li>
<li>After disk is formated, go to shell by pressing &#8220;Ctrl+Alt+F2&#8243;</li>
<li>Run the following commands:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>ubuntu
<span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda3 <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>ubuntu
<span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;"><span style="color: #000000; font-weight: bold;">if</span></span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>zero <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span>swap <span style="color: #007800;">bs</span>=<span style="color: #000000;">1024</span> <span style="color: #007800;">count</span>=<span style="color: #000000;">2097152</span>
swapon <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span>swap</pre></div></div>

</li>
<li>When asked for screen resolution, only press spacebar on 1440&#215;900 or lower</li>
<li>Continue until GRUB installation fails. Ignore the failure and install LILO when prompted.</li>
<li>Installation should complete and you should be able to boot into Ubuntu, without X Windows.</li>
<li>Login the run the following commands:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> linux-restricted-modules-$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #7a0874; font-weight: bold;">&#41;</span> linux-kernel-headers
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> dist-upgrade</pre></div></div>

<p><strong>NOTE: </strong> If you don&#8217;t know your kernel version number, run the command</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> $<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

</li>
<li>Reboot then run the following commands:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> dist-upgrade
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xorg-driver-fglrx
<span style="color: #c20cb9; font-weight: bold;">sudo</span> depmod <span style="color: #660033;">-a</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> aticonfig <span style="color: #660033;">--initial</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> aticonfig <span style="color: #660033;">--overlay-type</span>=Xv
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>gdm restart</pre></div></div>

</li>
<li>If you don&#8217;t hear a login sound, it means your speaker might not be enabled</li>
</ol>
<p><strong>Troubleshooting</strong></p>
<ol>
<li><strong> Some warning popup because there is no swap partition / swapon doesn&#8217;t work</strong><br />
Ignore it and it will work just fine</li>
<li><strong>There are no sound coming from speaker, but  sound is coming from the headphone jack</strong><br />
run the command</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">alsamixer</pre></div></div>

<p> from the terminal and un-mute the speaker. This is done by using the arrow keys to reach the Speakers and press M.</li>
<li><strong>If rEFIt suddenly becomes disabled and not working, boot into OS X and reinstalls it</strong></li>
</ol>
<p><strong> Extra Step to Enhance Linux-Macbook Pro</strong></p>
<p>This section will discuss issues like GLX on MBP, Wireless drivers, etc, to make Linux on MBP experience seems more natural.</p>
<p><em><strong>Installing Wifi Driver</strong></em></p>
<ol>
<li>sudo apt-get update</li>
<li>sudo apt-get install build-essential</li>
<li>sudo apt-get install module-assistant</li>
<li>m-a prepare</li>
<li>sudo apt-get install subversion</li>
<li>svn checkout http://svn.madwifi.org/trunk madwifi</li>
<li>cd madwifi</li>
<li>make clean</li>
<li>make</li>
<li>sudo make install</li>
<li>sudo modprobe ath_pci</li>
</ol>
<p><em><strong>Enabling Fn F-Key Combo</strong></em></p>
<ul>
<li>Run from terminal:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> pommed</pre></div></div>

</li>
<li>To enforce using hardware key only with Fn key combination, modify /etc/pommed.conf from <code>fnmode = 1</code> to <code>fnmode = 2</code></li>
<li>Restart pommed by running the command:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>pommed restart</pre></div></div>

</li>
</ul>
<p><em><strong>Fix Suspend Issue</strong></em></p>
<ul>
<li>Open /etc/default/acpi-support using text editor then set: <code>POST_VIDEO=false</code></li>
</ul>
<p><em><strong>Fix iSight Issue</strong></em></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> modprobe <span style="color: #660033;">-r</span> uvcvideo
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>modules<span style="color: #000000; font-weight: bold;">/</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>kernel<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>usbvideo<span style="color: #000000; font-weight: bold;">/</span>uvcvideo.ko <span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>modules<span style="color: #000000; font-weight: bold;">/</span>$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">/</span>kernel<span style="color: #000000; font-weight: bold;">/</span>ubuntu<span style="color: #000000; font-weight: bold;">/</span>media<span style="color: #000000; font-weight: bold;">/</span>usbvideo<span style="color: #000000; font-weight: bold;">/</span>uvcvideo.ko.original
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> update
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> libusb-<span style="color: #000000;">0.1</span>-<span style="color: #000000;">4</span> libusb-dev linux-headers-$<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #c20cb9; font-weight: bold;">uname</span> -r<span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>files.i-nz.net<span style="color: #000000; font-weight: bold;">/</span>projects<span style="color: #000000; font-weight: bold;">/</span>linux-kernel<span style="color: #000000; font-weight: bold;">/</span>isight<span style="color: #000000; font-weight: bold;">/</span>uvcvideo-isight.tar.gz
<span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> uvcvideo-isight.tar.gz
<span style="color: #7a0874; font-weight: bold;">cd</span> against-revision-<span style="color: #000000;">100</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
<span style="color: #c20cb9; font-weight: bold;">sudo</span> modprobe uvcvideo</pre></td></tr></table></div>

<p><em><strong>Enable XGL</strong></em></p>
<ol>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> xserver-xgl</pre></div></div>

</li>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'Xgl :1 -fullscreen -ac -accel xv:pbuffer -accel glx:pbuffer &amp;amp;
DISPLAY=:1
cookie=&quot;$(xauth -i nextract - :0 | cut -d '</span> <span style="color: #ff0000;">' -f 9)&quot;
xauth -i add :1 . &quot;$cookie&quot;
exec dbus-launch --exit-with-session gnome-session'</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>startxgl</pre></div></div>

</li>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>startxgl</pre></div></div>

</li>
<li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">'[Desktop Entry]
Encoding=UTF-8
Name=Xgl
Comment=Start an Xgl Session
Exec=/usr/bin/startxgl
Icon=
Type=Application'</span> <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>share<span style="color: #000000; font-weight: bold;">/</span>xsessions<span style="color: #000000; font-weight: bold;">/</span>xgl.desktop</pre></div></div>

</li>
</ol>
<p><em><strong>Two Finger Scroll Touchpad and More</strong></em><br />
This is my current xorg.conf setting for my touchpad. Sensitivity is set to medium and two finger scroll is working. Right click is emulated by using three-fingers-tap</p>

<div class="wp_syntax"><div class="code"><pre class="xorg_conf" style="font-family:monospace;"><span style="color: #b1b100;">Section</span> <span style="color: #0000ff;">&quot;InputDevice&quot;</span>
<span style="color: #990000;">Identifier</span>      <span style="color: #0000ff;">&quot;Synaptics Touchpad&quot;</span>
<span style="color: #990000;">Driver</span>          <span style="color: #0000ff;">&quot;synaptics&quot;</span>
<span style="color: #990000;">Option</span>          <span style="color: #0000ff;">&quot;SendCoreEvents&quot;</span>        <span style="color: #0000ff;">&quot;true&quot;</span>
<span style="color: #990000;">Option</span>          <span style="color: #0000ff;">&quot;Device&quot;</span>        <span style="color: #0000ff;">&quot;/dev/psaux&quot;</span>
<span style="color: #990000;">Option</span>          <span style="color: #0000ff;">&quot;Protocol&quot;</span>      <span style="color: #0000ff;">&quot;auto-dev&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;LeftEdge&quot;</span> <span style="color: #0000ff;">&quot;150&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;RightEdge&quot;</span> <span style="color: #0000ff;">&quot;1070&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;TopEdge&quot;</span> <span style="color: #0000ff;">&quot;100&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;BottomEdge&quot;</span> <span style="color: #0000ff;">&quot;310&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;FingerLow&quot;</span> <span style="color: #0000ff;">&quot;17&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;FingerHigh&quot;</span> <span style="color: #0000ff;">&quot;22&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;MaxTapTime&quot;</span> <span style="color: #0000ff;">&quot;120&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;MaxTapMove&quot;</span> <span style="color: #0000ff;">&quot;220&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;MaxDoubleTapTime&quot;</span> <span style="color: #0000ff;">&quot;180&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;HorizEdgeScroll&quot;</span> <span style="color: #0000ff;">&quot;0&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;VertEdgeScroll&quot;</span> <span style="color: #0000ff;">&quot;0&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;TapButton1&quot;</span> <span style="color: #0000ff;">&quot;1&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;TapButton2&quot;</span> <span style="color: #0000ff;">&quot;2&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;TapButton3&quot;</span> <span style="color: #0000ff;">&quot;3&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;LockedDrags&quot;</span> <span style="color: #0000ff;">&quot;off&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;VertScrollDelta&quot;</span> <span style="color: #0000ff;">&quot;20&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;VertTwoFingerScroll&quot;</span> <span style="color: #0000ff;">&quot;1&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;MinSpeed&quot;</span> <span style="color: #0000ff;">&quot;1.10&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;MaxSpeed&quot;</span> <span style="color: #0000ff;">&quot;1.30&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;AccelFactor&quot;</span> <span style="color: #0000ff;">&quot;0.08&quot;</span>
<span style="color: #990000;">Option</span> <span style="color: #0000ff;">&quot;SHMConfig&quot;</span> <span style="color: #0000ff;">&quot;on&quot;</span>
<span style="color: #b1b100;">EndSection</span></pre></div></div>

<p><strong><em>Installing Compiz-Fusion</em></strong></p>
<ul>
<li>Add the following repositories:

<div class="wp_syntax"><div class="code"><pre class="aptsources" style="font-family:monospace;">deb http://download.tuxfamily.org/3v1deb feisty eyecandy-amd64
deb-src http://download.tuxfamily.org/3v1deb feisty eyecandy-amd64</pre></div></div>

</li>
<li>Add the following key:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>download.tuxfamily.org<span style="color: #000000; font-weight: bold;">/</span>3v1deb<span style="color: #000000; font-weight: bold;">/</span>DD800CD9.gpg  <span style="color: #660033;">-O-</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-key</span> add -</pre></div></div>

</li>
<li>Run the following at terminal:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> compiz compiz-gnome compizconfig-settings-manager compiz-fusion-plugins-extra libcompizconfig-backend-gconf beryl-manager</pre></div></div>

</li>
<li>Run the command:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">beryl-manager</pre></div></div>

</li>
<li>Right click the &#8220;diamond&#8221; icon on the system tray and set &#8220;Rendering Path&#8221; to &#8220;Copy&#8221;</li>
<li>Test Compiz-Fusion by running the following command:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">compiz --replace<span style="color: #000000; font-weight: bold;">&amp;</span></pre></div></div>

</li>
<li>If everything is good, you can remove beryl-manager by issuing the command

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #660033;">--purge</span> remove beryl-manager</pre></div></div>

</li>
<li>And once everything is perfect, you can add the following entries to System -&gt; Preferences -&gt; Sessions<br />
<code>Name: Compiz Fusion<br />
Command: compiz --replace -c emerald</code><br />
and<br />
<code>Name: Emerald<br />
Command: emerald --replace</code></li>
<p><strong><em>Caps Lock Light and Num Lock Key Failuer</em></strong><br />
Run the command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> remove mouseemu</pre></div></div>

<p>Sources:</p>
<p>https://wiki.ubuntu.com/MacBookProFeisty</p>
<p>http://allostalk.com/showthread.php?p=2787472</ul>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F09%2F04%2Ftriple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3%2F&amp;title=Triple%20Boot%20Mac%20OS%20X%2C%20Ubuntu%20and%20Windows%20XP%20on%20MacBook%20Pro%20Core%202%20Duo%20%28Part%203%29&amp;bodytext=Out%20of%20the%20three%20parts%2C%20this%20is%20the%20part%20where%20I%20stumble%20upon%20the%20most%20%22unexpected%22%20issues.%20First%20of%20all%2C%20Live%20CD%20does%20not%20work%20on%20my%202nd-gen%20Macbook%20Pro%20%28MBP%29.%20There%20seems%20to%20be%20some%20problem%20with%20the%20ATI%20drivers%20on%20the%20Live%20CD%20that%20prevents%20X%20from%20s" title="Digg"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Flifein0and1.com%2F2007%2F09%2F04%2Ftriple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3%2F&amp;title=Triple%20Boot%20Mac%20OS%20X%2C%20Ubuntu%20and%20Windows%20XP%20on%20MacBook%20Pro%20Core%202%20Duo%20%28Part%203%29&amp;notes=Out%20of%20the%20three%20parts%2C%20this%20is%20the%20part%20where%20I%20stumble%20upon%20the%20most%20%22unexpected%22%20issues.%20First%20of%20all%2C%20Live%20CD%20does%20not%20work%20on%20my%202nd-gen%20Macbook%20Pro%20%28MBP%29.%20There%20seems%20to%20be%20some%20problem%20with%20the%20ATI%20drivers%20on%20the%20Live%20CD%20that%20prevents%20X%20from%20s" title="del.icio.us"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Triple%20Boot%20Mac%20OS%20X%2C%20Ubuntu%20and%20Windows%20XP%20on%20MacBook%20Pro%20Core%202%20Duo%20%28Part%203%29&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F09%2F04%2Ftriple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3%2F" title="Slashdot"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Flifein0and1.com%2F2007%2F09%2F04%2Ftriple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3%2F&amp;t=Triple%20Boot%20Mac%20OS%20X%2C%20Ubuntu%20and%20Windows%20XP%20on%20MacBook%20Pro%20Core%202%20Duo%20%28Part%203%29" title="Facebook"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.haohaoreport.com/submit.php?url=http%3A%2F%2Flifein0and1.com%2F2007%2F09%2F04%2Ftriple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3%2F&amp;title=Triple%20Boot%20Mac%20OS%20X%2C%20Ubuntu%20and%20Windows%20XP%20on%20MacBook%20Pro%20Core%202%20Duo%20%28Part%203%29" title="Haohao"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/haohao.png" title="Haohao" alt="Haohao" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Flifein0and1.com%2F2007%2F09%2F04%2Ftriple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3%2F&amp;title=Triple%20Boot%20Mac%20OS%20X%2C%20Ubuntu%20and%20Windows%20XP%20on%20MacBook%20Pro%20Core%202%20Duo%20%28Part%203%29" title="StumbleUpon"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="" title="TwitThis"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://lifein0and1.com/2007/09/04/triple-boot-mac-os-x-ubuntu-and-windows-xp-on-macbook-pro-core-2-duo-part-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sub Class C Subnet Reverse DNS &#8211; Bind9</title>
		<link>http://lifein0and1.com/2007/07/26/sub-class-c-subnet-reverse-dns/</link>
		<comments>http://lifein0and1.com/2007/07/26/sub-class-c-subnet-reverse-dns/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 23:16:54 +0000</pubDate>
		<dc:creator>Mr. IT Guy</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[IT in General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bind9]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[ISP]]></category>

		<guid isPermaLink="false">http://lifein0and1.com/2007/07/26/sub-class-c-subnet-reverse-dns/</guid>
		<description><![CDATA[If your ISP does allow you to host your own reverse DNS you have to create a zone file for the reverse DNS entry. This is a very easy thing to do if you have a class C subnet, but anything smaller than that or with different IP ranges, it gets complicated. Read more for a simple guide to forward reverse DNS smaller than class C.]]></description>
			<content:encoded><![CDATA[<p>Having your ISP delegating the reverse DNS maybe a YMMV scenario. Some will allow you and others will not. If your ISP does allow you to host your own reverse DNS you have to create a zone file for the reverse DNS entry. This is a very easy thing to do if you have a class C subnet, but anything smaller than that or with different IP ranges, it gets complicated. Here&#8217;s what they usually have to do on their end, and what you need to do on your end.</p>
<p><strong>ISP end </strong><br />
assuming the class C is 216.237.21.0/24 and the subnet you own is 216.237.21.64/26):<br />
<code> 21.237.216.in-addr.arpa   [SOA Entries]<br />
21.237.216.in-addr.arpa   [NS Servers]</p>
<p>;someone else's entry<br />
$GENERATE 1-63 $ IN PTR 216-237-21-$.orng.nextweb.net.</p>
<p>;start of your entry<br />
64-127 IN NS ns1.mydomain.net.<br />
64-127 IN NS ns2.mydomain.net.<br />
$GENERATE 64-127 $ CNAME $.64-127</p>
<p>;someone else's entry<br />
$GENERATE 128-255 $ IN PTR 216-237-21-$.orng.nextweb.net.</code><br />
<strong>Client Side</strong><br />
Create the following zone &#8220;64-255.21.237.216.in-addr.arpa&#8221; with the following entry:<br />
<span id="more-16"></span><br />
<code> $TTL 86400<br />
@ IN SOA [SOA Entries]<br />
@ IN NS [NS Servers]<br />
65 IN PTR gateway.mydomain.net.<br />
66 IN PTR mail.mydomain.net.<br />
67 IN PTR dns.mydomain.net.</p>
<p>$GENERATE 68-126 $ IN PTR $.dhcp.mydomain.net.</code><br />
<strong>Short explanation of $GENERATE:</strong><br />
<code> $GENERATE 68-70 $ IN PTR $.dhcp.mydomain.net.</code><br />
is equivalent to:<br />
<code> 68 IN PTR 68.dhcp.mydomain.net.<br />
69 IN PTR 69.dhcp.mydomain.net.<br />
70 IN PTR 70.dhcp.mydomain.net.</code></p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F07%2F26%2Fsub-class-c-subnet-reverse-dns%2F&amp;title=Sub%20Class%20C%20Subnet%20Reverse%20DNS%20-%20Bind9&amp;bodytext=If%20your%20ISP%20does%20allow%20you%20to%20host%20your%20own%20reverse%20DNS%20you%20have%20to%20create%20a%20zone%20file%20for%20the%20reverse%20DNS%20entry.%20This%20is%20a%20very%20easy%20thing%20to%20do%20if%20you%20have%20a%20class%20C%20subnet%2C%20but%20anything%20smaller%20than%20that%20or%20with%20different%20IP%20ranges%2C%20it%20gets%20complicated.%20Read%20more%20for%20a%20simple%20guide%20to%20forward%20reverse%20DNS%20smaller%20than%20class%20C." title="Digg"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Flifein0and1.com%2F2007%2F07%2F26%2Fsub-class-c-subnet-reverse-dns%2F&amp;title=Sub%20Class%20C%20Subnet%20Reverse%20DNS%20-%20Bind9&amp;notes=If%20your%20ISP%20does%20allow%20you%20to%20host%20your%20own%20reverse%20DNS%20you%20have%20to%20create%20a%20zone%20file%20for%20the%20reverse%20DNS%20entry.%20This%20is%20a%20very%20easy%20thing%20to%20do%20if%20you%20have%20a%20class%20C%20subnet%2C%20but%20anything%20smaller%20than%20that%20or%20with%20different%20IP%20ranges%2C%20it%20gets%20complicated.%20Read%20more%20for%20a%20simple%20guide%20to%20forward%20reverse%20DNS%20smaller%20than%20class%20C." title="del.icio.us"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Sub%20Class%20C%20Subnet%20Reverse%20DNS%20-%20Bind9&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F07%2F26%2Fsub-class-c-subnet-reverse-dns%2F" title="Slashdot"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Flifein0and1.com%2F2007%2F07%2F26%2Fsub-class-c-subnet-reverse-dns%2F&amp;t=Sub%20Class%20C%20Subnet%20Reverse%20DNS%20-%20Bind9" title="Facebook"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.haohaoreport.com/submit.php?url=http%3A%2F%2Flifein0and1.com%2F2007%2F07%2F26%2Fsub-class-c-subnet-reverse-dns%2F&amp;title=Sub%20Class%20C%20Subnet%20Reverse%20DNS%20-%20Bind9" title="Haohao"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/haohao.png" title="Haohao" alt="Haohao" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Flifein0and1.com%2F2007%2F07%2F26%2Fsub-class-c-subnet-reverse-dns%2F&amp;title=Sub%20Class%20C%20Subnet%20Reverse%20DNS%20-%20Bind9" title="StumbleUpon"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="" title="TwitThis"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://lifein0and1.com/2007/07/26/sub-class-c-subnet-reverse-dns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WPG2, NextGEN Gallery &amp; 1and1.com Unzip Utility</title>
		<link>http://lifein0and1.com/2007/06/21/wpg2-nextgen-gallery-1and1com-unzip-utility/</link>
		<comments>http://lifein0and1.com/2007/06/21/wpg2-nextgen-gallery-1and1com-unzip-utility/#comments</comments>
		<pubDate>Thu, 21 Jun 2007 18:23:30 +0000</pubDate>
		<dc:creator>Mr. IT Guy</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Hosting in General]]></category>
		<category><![CDATA[IT in General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[1and1]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[unzip]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://lifein0and1.com/2007/06/21/wpg2-nextgen-gallery-1and1com-unzip-utility/</guid>
		<description><![CDATA[I am working on my friend&#8217;s site yesterday. She wants to have a photo gallery and wordpress. I checked out Gallery2 and found that there&#8217;s a wordpress plugin for it. I installed both (including imagemagick to use with Gallery2) and added the WPG2 plugin. While trying to activate WPG2 on WordPress I kept on getting [...]]]></description>
			<content:encoded><![CDATA[<p>I am working on my friend&#8217;s site yesterday. She wants to have a photo gallery and wordpress. I checked out Gallery2 and found that there&#8217;s a wordpress plugin for it. I installed both (including imagemagick to use with Gallery2) and added the WPG2 plugin. While trying to activate WPG2 on WordPress I kept on getting the message &#8220;Plugin could not be activated because it triggered a fatal error&#8221;. I have made sure that I followed the instruction on the readme.txt to the dots, but nothing still comes up.</p>
<p>Therefore I try another plugin called NextGEN Gallery. Everything works great except for the slideshow. Once again I&#8217;m stumped on what&#8217;s the problem.<br />
When I look at the HTML code, the slideshow code is trying to read a file called &#8220;nggextractXML.php&#8221;. I try to type in the URL and gets a 404 message. I thought that it was a bug, but I found out that on the server it was listed as &#8220;nggextractxml.php&#8221;. I download the file to a Windows machine and unzip it using WinRAR. The file name is correct with the upper case.</p>
<p>At that moment, I realized that the problem lies with  1and1.com unzip utility. I have been using the &#8220;unzip&#8221; command from the CLI and it has always been extracting using the -C option. To solve this I create a &#8220;.bash_profile&#8221; file under my home directory and added the following line:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;"><span style="color: #c20cb9; font-weight: bold;">unzip</span></span>=<span style="color: #ff0000;">'/usr/bin/unzip'</span></pre></div></div>

<p>If you&#8217;re having the same problem as I do, you can either create the file by using the instruction above or run the following command from the SSH:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;alias unzip='/usr/bin/unzip'&quot;</span> <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> ~<span style="color: #000000; font-weight: bold;">/</span>.bash_profile</pre></div></div>

<p>Or, you could just also download, unzip and upload the <a href="http://lifein0and1.com/bash_profile.zip" title="Bash Profile">Bash Profile</a></p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F06%2F21%2Fwpg2-nextgen-gallery-1and1com-unzip-utility%2F&amp;title=WPG2%2C%20NextGEN%20Gallery%20%26%201and1.com%20Unzip%20Utility&amp;bodytext=I%20am%20working%20on%20my%20friend%27s%20site%20yesterday.%20She%20wants%20to%20have%20a%20photo%20gallery%20and%20wordpress.%20I%20checked%20out%20Gallery2%20and%20found%20that%20there%27s%20a%20wordpress%20plugin%20for%20it.%20I%20installed%20both%20%28including%20imagemagick%20to%20use%20with%20Gallery2%29%20and%20added%20the%20WPG2%20plu" title="Digg"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Flifein0and1.com%2F2007%2F06%2F21%2Fwpg2-nextgen-gallery-1and1com-unzip-utility%2F&amp;title=WPG2%2C%20NextGEN%20Gallery%20%26%201and1.com%20Unzip%20Utility&amp;notes=I%20am%20working%20on%20my%20friend%27s%20site%20yesterday.%20She%20wants%20to%20have%20a%20photo%20gallery%20and%20wordpress.%20I%20checked%20out%20Gallery2%20and%20found%20that%20there%27s%20a%20wordpress%20plugin%20for%20it.%20I%20installed%20both%20%28including%20imagemagick%20to%20use%20with%20Gallery2%29%20and%20added%20the%20WPG2%20plu" title="del.icio.us"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=WPG2%2C%20NextGEN%20Gallery%20%26%201and1.com%20Unzip%20Utility&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F06%2F21%2Fwpg2-nextgen-gallery-1and1com-unzip-utility%2F" title="Slashdot"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Flifein0and1.com%2F2007%2F06%2F21%2Fwpg2-nextgen-gallery-1and1com-unzip-utility%2F&amp;t=WPG2%2C%20NextGEN%20Gallery%20%26%201and1.com%20Unzip%20Utility" title="Facebook"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.haohaoreport.com/submit.php?url=http%3A%2F%2Flifein0and1.com%2F2007%2F06%2F21%2Fwpg2-nextgen-gallery-1and1com-unzip-utility%2F&amp;title=WPG2%2C%20NextGEN%20Gallery%20%26%201and1.com%20Unzip%20Utility" title="Haohao"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/haohao.png" title="Haohao" alt="Haohao" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Flifein0and1.com%2F2007%2F06%2F21%2Fwpg2-nextgen-gallery-1and1com-unzip-utility%2F&amp;title=WPG2%2C%20NextGEN%20Gallery%20%26%201and1.com%20Unzip%20Utility" title="StumbleUpon"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="" title="TwitThis"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://lifein0and1.com/2007/06/21/wpg2-nextgen-gallery-1and1com-unzip-utility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tunnel HTTP traffic through SSH</title>
		<link>http://lifein0and1.com/2007/03/29/tunnel-http-traffic-through-ssh/</link>
		<comments>http://lifein0and1.com/2007/03/29/tunnel-http-traffic-through-ssh/#comments</comments>
		<pubDate>Thu, 29 Mar 2007 23:07:40 +0000</pubDate>
		<dc:creator>Mr. IT Guy</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://lifeinzeroandone.com/?p=6</guid>
		<description><![CDATA[I just found out an easy way to beat most web/content-filtering system (provided SSH traffic is not blocked). SSH is a good choice because it&#8217;s natively installed on most Linux and Mac system. Windows user can download a small software called Putty, which can run without being installed. SSH server also available on almost all [...]]]></description>
			<content:encoded><![CDATA[<p>I just found out an easy way to beat most web/content-filtering system (provided SSH traffic is not blocked). SSH is a good choice because it&#8217;s natively installed on most Linux and Mac system. Windows user can download a small software called Putty, which can run without being installed. SSH server also available on almost all Linux server as well as some Linux based routers. Here&#8217;s how to do it in Windows:</p>
<ol>
<li>Download <a title="Download Putty" href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html">Putty</a> and Run</li>
<li>Type in the IP of Linux box or other SSH server you have access to and make sure the port is correct too</li>
<li>Under the tab &#8220;Connection &#8211;&gt; SSH &#8211;&gt; Tunnel&#8221; set a local source port *preferrably random number above 1024*</li>
<li>Under destination choose &#8220;Dynamic&#8221; and &#8220;<a href="http://www.carinsurancerates.com">Auto</a>&#8220;</li>
<li>Then click open</li>
<li>Open IE or Firefox and find the proxy configuartion</li>
<li>Set your localhost as the SOCKS proxy server and the port is the local source port you choose on Step 3<br />
NOTE: On Firefox choose SOCKS v5, and on IE include &#8220;localhost, 127.0.0.1&#8243; as the addresses exempted by the proxy</li>
</ol>
<p>That&#8217;s all needs to be done.</p>
<p><strong>UPDATE:</strong><br />
For those who wants to use it with IM services like MSN, here&#8217;s what you need to do:</p>
<ol>
<li>Goto Tools -&gt; Options -&gt; Connection</li>
<li>Click on Advanced Settings</li>
<li>On SOCKS type 127.0.0.1 and click Test</li>
</ol>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F03%2F29%2Ftunnel-http-traffic-through-ssh%2F&amp;title=Tunnel%20HTTP%20traffic%20through%20SSH&amp;bodytext=I%20just%20found%20out%20an%20easy%20way%20to%20beat%20most%20web%2Fcontent-filtering%20system%20%28provided%20SSH%20traffic%20is%20not%20blocked%29.%20SSH%20is%20a%20good%20choice%20because%20it%27s%20natively%20installed%20on%20most%20Linux%20and%20Mac%20system.%20Windows%20user%20can%20download%20a%20small%20software%20called%20Putty%2C%20" title="Digg"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Flifein0and1.com%2F2007%2F03%2F29%2Ftunnel-http-traffic-through-ssh%2F&amp;title=Tunnel%20HTTP%20traffic%20through%20SSH&amp;notes=I%20just%20found%20out%20an%20easy%20way%20to%20beat%20most%20web%2Fcontent-filtering%20system%20%28provided%20SSH%20traffic%20is%20not%20blocked%29.%20SSH%20is%20a%20good%20choice%20because%20it%27s%20natively%20installed%20on%20most%20Linux%20and%20Mac%20system.%20Windows%20user%20can%20download%20a%20small%20software%20called%20Putty%2C%20" title="del.icio.us"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Tunnel%20HTTP%20traffic%20through%20SSH&amp;url=http%3A%2F%2Flifein0and1.com%2F2007%2F03%2F29%2Ftunnel-http-traffic-through-ssh%2F" title="Slashdot"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Flifein0and1.com%2F2007%2F03%2F29%2Ftunnel-http-traffic-through-ssh%2F&amp;t=Tunnel%20HTTP%20traffic%20through%20SSH" title="Facebook"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.haohaoreport.com/submit.php?url=http%3A%2F%2Flifein0and1.com%2F2007%2F03%2F29%2Ftunnel-http-traffic-through-ssh%2F&amp;title=Tunnel%20HTTP%20traffic%20through%20SSH" title="Haohao"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/haohao.png" title="Haohao" alt="Haohao" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Flifein0and1.com%2F2007%2F03%2F29%2Ftunnel-http-traffic-through-ssh%2F&amp;title=Tunnel%20HTTP%20traffic%20through%20SSH" title="StumbleUpon"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="" title="TwitThis"><img src="http://lifein0and1.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://lifein0and1.com/2007/03/29/tunnel-http-traffic-through-ssh/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
