<?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>huanix &#187; Linux</title>
	<atom:link href="http://www.huanix.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huanix.com</link>
	<description>chown -R huanix /</description>
	<lastBuildDate>Sat, 31 Dec 2011 14:53:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to use rsync backup for Android to make incremental backups of your Android phone</title>
		<link>http://www.huanix.com/2010/12/10/how-to-use-rsync-backup-for-android-to-make-incremental-backups-of-your-android-phone/</link>
		<comments>http://www.huanix.com/2010/12/10/how-to-use-rsync-backup-for-android-to-make-incremental-backups-of-your-android-phone/#comments</comments>
		<pubDate>Sat, 11 Dec 2010 05:18:07 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=412</guid>
		<description><![CDATA[Automatically backing up the contents of your Android phone is important for several reasons: You can automatically save ROM images to a safe location in case your phone disappears. You can save pictures, videos, and sound recordings to your desktop without intervention. You can have near-instant access to resources from your phone on your desktop. [...]]]></description>
			<content:encoded><![CDATA[<p>Automatically backing up the contents of your Android phone is important for several reasons:</p>
<ul>
<li>You can automatically save ROM images to a safe location in case your phone disappears.</li>
<li>You can save pictures, videos, and sound recordings to your desktop without intervention.</li>
<li>You can have near-instant access to resources from your phone on your desktop.</li>
</ul>
<p>It took me about an hour to get this set up the first time. It is pretty easy, but I think it&#8217;s also worth documenting visually for others.</p>
<p>My configuration:
</ul>
<li>Ubuntu Linux (any version of linux will work)</li>
<li>An android phone &#8211; i am using a Nexus One, but this should apply to the droid and other phones as well. I have to use a rooted image to create screen shots for this tutorial, but this should work on an unrooted device as well.</li>
</ul>
<div id="attachment_442" class="wp-caption aligncenter" style="width: 160px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/rsync_fo_android.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/rsync_fo_android.png" alt="rsync for android by Michał Kowalczuk" title="rsync for android by Michał Kowalczuk" width="150" height="150" class="size-full wp-image-442" /></a><p class="wp-caption-text">rsync for android by Michał Kowalczuk</p></div>
<p>1. Install <a href="http://www.appbrain.com/app/rsync-backup-for-android/eu.kowalczuk.rsync4android"><strong>rsync backup for Android</strong> by Michal Kowalczuk from the Android Market</a><br />
<div id="attachment_417" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/1_install.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/1_install.png" alt="rsync backup for Android" title="rsync backup for Android" width="240" height="400" class="size-full wp-image-417" /></a><p class="wp-caption-text">rsync backup for Android</p></div></p>
<p>2. Open the application, download the binaries when prompted.<br />
<div id="attachment_419" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/2_binaries.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/2_binaries.png" alt="download binaries for rsync" title="download binaries for rsync" width="240" height="400" class="size-full wp-image-419" /></a><p class="wp-caption-text">download binaries for rsync</p></div></p>
<p>3. Press the menu button on the phone, and choose &#8220;Generate Keys&#8221;.<br />
<div id="attachment_420" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/3_generate_keys.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/3_generate_keys.png" alt="Generate public and private rsa keys for android" title="Generate public and private rsa keys for android" width="240" height="400" class="size-full wp-image-420" /></a><p class="wp-caption-text">Generate public and private rsa keys for android</p></div></p>
<p>4. Private key will be stored in /sdcard/dss_key, public as /sdcard/dss_key.pub. After generation you will be asked how to send your public key. (Press &#8220;OK&#8221;)<br />
<div id="attachment_421" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/4_key_storage.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/4_key_storage.png" alt="Storing Keys" title="Storing Keys" width="240" height="400" class="size-full wp-image-421" /></a><p class="wp-caption-text">Storing Keys</p></div></p>
<p>5. It will take several seconds to generate the keys, then you will be asked, &#8220;How do you want to send you your generated public key?&#8221;<br />
<div id="attachment_422" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/5_send_public_key.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/5_send_public_key.png" alt="How do you want to send you your generated public key?" title="How do you want to send you your generated public key?" width="240" height="400" class="size-full wp-image-422" /></a><p class="wp-caption-text">How do you want to send you your generated public key?</p></div></p>
<p>6. I&#8217;ll choose to send it to myself with gmail.<br />
<div id="attachment_423" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/6._public_key.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/6._public_key.png" alt="Sending the Android Public RSA key over gmail" title="Sending the Android Public RSA key over gmail" width="240" height="400" class="size-full wp-image-423" /></a><p class="wp-caption-text">Sending the Android Public RSA key over gmail</p></div></p>
<p>7. We&#8217;re going to set the Android phone down for awhile now and work at the Ubuntu Linux Desktop (Any distro will work). You should have <strong>openssh-server</strong> installed. It&#8217;s okay to attempt to re-install it if you&#8217;re not sure:<br />
 <code>sudo apt-get install openssh-server</code></p>
<p>8. After you install ssh, you should be able to navigate into a hidden directory in your home path <strong>(If this path doesn&#8217;t exist, you&#8217;ll need to create it)</strong>:<br />
<code>cd ~/.ssh/</code></p>
<p>9. Now we add the public key that we sent to ourselves to a new line in the <strong>authorized_keys</strong> file, which may or may not already exist.<br />
<code>gedit authorized_keys</code></p>
<p>10. If the file already has text, skip to the beginning of the next line and paste all of the text from the email you sent yourself. Save and close the editor. (There are a hundred ways to add the key, I was just trying to make it easy.)</p>
<p>11. The public key is now installed on your desktop, and <strong>rsync backup for Android</strong> is ready to establish a connection. Go back to the Android phone and press the menu button in rsync backup for Android. Choose &#8220;Add Profile&#8221;:<br />
<a href="http://www.huanix.com/wp-content/uploads/2010/12/7_add_profile.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/7_add_profile.png" alt="" title="7_add_profile" width="240" height="400" class="aligncenter size-full wp-image-426" /></a></p>
<p>12. Enter data into the setup fields. There are advanced configuration options a the bottom of the screen that are not shown here &#8211; you can leave them all blank for now. I did not have to create the ~/android_sync/ directory on my desktop &#8211; rsync created it for me when I began the backup. YMMV. (Be sure you add a trailing slash to your destination directory! -thanks Bill!)<br />
<div id="attachment_427" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/9_configuration.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/9_configuration.png" alt="The rsync configuration shot" title="The rsync configuration shot" width="240" height="400" class="size-full wp-image-427" /></a><p class="wp-caption-text">The rsync configuration shot</p></div></p>
<p>13. Choose the key from /mnt/sdcard/dss_key (This screenshot is the result of pressing the &#8220;Browse&#8230;&#8221; button in step 12. It may seem a little out of place.<br />
<strong>NOTE: if you do not have a file explorer installed, the rsync backup for android will prompt you to install one. Just go with it..</strong><br />
<div id="attachment_428" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/file_navigator.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/file_navigator.png" alt="Navigate to /mnt/sdcard/dss_key" title="Navigate to /mnt/sdcard/dss_key" width="240" height="400" class="size-full wp-image-428" /></a><p class="wp-caption-text">Navigate to /mnt/sdcard/dss_key</p></div></p>
<p>14. When you have completed the configuration, save the profile.</p>
<p>15. On the main screen, you can now choose the profile:<br />
<div id="attachment_432" class="wp-caption aligncenter" style="width: 250px"><a href="http://www.huanix.com/wp-content/uploads/2010/12/10_select-the-profile-you-created.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/10_select-the-profile-you-created.png" alt="Choose the profile you created" title="Choose the profile you created" width="240" height="400" class="size-full wp-image-432" /></a><p class="wp-caption-text">Choose the profile you created</p></div></p>
<p>16. Here is sample output from a successful sync. The .android_secure directory is off-limits to rsync and will show an error.<br />
<a href="http://www.huanix.com/wp-content/uploads/2010/12/sync-works.png"><img src="http://www.huanix.com/wp-content/uploads/2010/12/sync-works.png" alt="" title="sync works" width="240" height="400" class="aligncenter size-full wp-image-429" /></a></p>
<p>17. How about making a paypal contribution to the developer, michal@kowalczuk.eu ?</p>
<h4>Incoming search terms:</h4><ul><li>rsync android</li><li>android rsync</li><li>rsync for android</li><li>android rsync backup</li><li>rsync backup for android</li><li>rsync backup android</li><li>android backup linux</li><li>rsync android tutorial</li><li>android rsync server</li><li>android incremental backup</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2010/12/10/how-to-use-rsync-backup-for-android-to-make-incremental-backups-of-your-android-phone/feed/</wfw:commentRss>
		<slash:comments>29</slash:comments>
		</item>
		<item>
		<title>Creating a Dell partition with Ubuntu to reinstall Windows on a new or blank hard drive with the recovery disk</title>
		<link>http://www.huanix.com/2009/12/10/creating-a-dell-partition-with-ubuntu-to-reinstall-windows-on-a-new-or-blank-hard-drive-with-the-recovery-disk/</link>
		<comments>http://www.huanix.com/2009/12/10/creating-a-dell-partition-with-ubuntu-to-reinstall-windows-on-a-new-or-blank-hard-drive-with-the-recovery-disk/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 05:44:57 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Dell rescue]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=362</guid>
		<description><![CDATA[Here's the scenario: You have a Dell and you have somehow lost and/or destroyed the hard drive with Windows on it and you need to reinstall Windows. I think there are various solutions that require downloading and or purchasing tools, but I've been able to use fdisk under Ubuntu linux to create this partition quickly and easily!]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s the scenario: You have a Dell and you have somehow lost and/or destroyed the hard drive with Windows on it and you need to reinstall Windows. I think there are various solutions that require downloading and or purchasing tools, but I&#8217;ve been able to use fdisk under Ubuntu linux to create this partition quickly and easily!</p>
<p>When you restore a Dell computer with a restore disk it may give the error:</p>
<p>Windows could not start becuase of a computer disk hardware configuration problem.<br />
Could not read from the selected boot disk. Check boot path and disk hardware.<br />
Please check the Windows documentation about hardware disk configuration and your hardware reference manuals for additional information.</p>
<p>The Dell expected to find a special Dell Partition at the beginning of the hard drive, and a newly formatted drive will not have this partition.</p>
<p>The process for creating this partition really is simple &#8211; I&#8217;m going to give a simple overview, and then more detailed instructions. The key here is not to overthink things. The GOOD news is, if you&#8217;re starting with a blank hard drive, you have nothing to lose!</p>
<p><span style="text-decoration: underline;">Simple Overview</span></p>
<p>(If you are familiar with booting into a live linux environment and fdisk, this should be all you need!)</p>
<ol>
<li>delete the existing partition table</li>
<li>create a new dell partiton spanning the first 7 cylinders. (1-7)</li>
<li>create a second partition for windows spanning the rest of the drive. (8-default max)</li>
<li>set the first partition to type &#8220;de&#8221; (dell partition)</li>
<li>set the second partiton to type 7 (NTFS)</li>
<li>write the changes</li>
<li>exit, and install windows</li>
</ol>
<p><span style="text-decoration: underline;">Detailed process</span> (all command line language is in <em>italics</em>)</p>
<ol>
<li>Download an <a href="http://www.ubuntu.com/GetUbuntu/download">Ubuntu Desktop CD</a></li>
<li>Boot with the CD</li>
<li> F12 is the &#8220;one time boot menu on my computer; choose CD/DVD Drive &#8211; if this doesn&#8217;t work for you, enter BIOS and change the first boot device to the CD drive.</li>
<li> When the CD menu opens choose your language</li>
<li> Select &#8220;Try Ubuntu without any change to your computer&#8221;</li>
<li>Wait a minute while the CD loads. When it is done, you will see an ubuntu desktop.</li>
<li> Choose Applications &gt; Accessories &gt; Terminal</li>
<li> At the command line type: <em>sudo bash</em> (any linux nerd will tell you this can lead to trouble &#8211; we need to become the root user so we can modify the partition table)</li>
<li> <em>fdisk -l</em> (this tells fdisk to list your partitions. note the name under &#8220;Device&#8221; that you want to work with)</li>
<li> The target device will look something like &#8220;/dev/sd?&#8221;, where &#8220;?&#8221; represents a letter of the alphabet)</li>
<li> <em>fdisk /dev/sda</em> (instead of &#8220;/dev/sda&#8221;, use the correct name of the device listed in fdisk -l; do NOT add the number at the end of the device)</li>
<li> You are now in the fdisk utility. My instructions cannot fit every case perfectly, so you may need to improvise, but it&#8217;s easy. Type <em>m</em> if you need some guidance in fdisk. Protip: None of the changes you make will be written until you choose to write them. If you quit without writing, no changes (damage) will be done!</li>
<li> d (delete the existing partition table)</li>
<li>If you have multiple partitions you will be asked which one to delete. Delete them all one at a time. IF you only have one, it will automatically select it. Continue when you can type  <em>fdisk -l</em> and see a blank partition table.</li>
<li>Time to create the dell partition:<br />
Type <strong><em>n </em></strong>to create a new parition.<br />
Type <em><strong>p</strong> </em>to make this a primary partition.<br />
Type <em><strong>1 </strong></em>to make it the first partition.<br />
Type  <em><strong>1</strong></em> to make the paritition start at the first cylinder.<br />
Type  <em><strong>7</strong></em> to end the partition at cylinder 7.</li>
<li>Now we label the partition as a Dell partition:<br />
Type <strong><em>t</em></strong> to change the type of the partition.<br />
Type<em><strong> de</strong></em> to change the partition to type Dell.</li>
<li>Time to create the Windows partition:<br />
Type <strong><em>n </em></strong>to create a new parition.<br />
Type <em><strong>p</strong> </em>to make this a primary partition.<br />
Type <em><strong>2 </strong></em>to make it the second partition.<br />
Type  <em><strong>8 </strong></em>to make the paritition start at the first cylinder.<br />
Press <em><strong>Enter</strong></em> to end the partition at the last available cylinder of the hard drive.</li>
<li>Now we label the partition as a NTFS partition:<br />
Type <strong><em>t</em></strong> to change the type of the partition.<br />
Type <em><strong>2</strong></em> to select the second partition.<br />
Type<em><strong> 7</strong></em> to change the partition to type NTFS.</li>
<li>Now all you have to do is press <strong>w</strong> to write your changes and exit. If you do not write your changes before you exit, you will probably spend a long time trying to figure out why things didn&#8217;t work.</li>
<li>I always run <strong><em>fdisk -l</em></strong> one last time before I exit the command line to make sure I did everything right!</li>
<li>Shut down the computer.</li>
<li>Reboot the computer using the Dell Rescue CD and install windows.</li>
</ol>
<p>If you try this and it doesn&#8217;t work the first time, I suggest retrying. One common mistake is to run fdisk on /dev/sda1 (<span style="color: #ff0000;">wrong</span>) rather than /dev/sda (<span style="color: #339966;">right!</span>). Be sure you&#8217;re fdisking the correct volume! I have also talked to people that exit fdisk without writing the changes. If you exit without writing, it was just a dry run &#8211; nothing happened!</p>
<p>I am attaching some sequential screenshots &#8211; they are not complete, but they may help you understand the process if you&#8217;re having difficulty!</p>
<p><a href="http://www.huanix.com/wp-content/uploads/2009/12/fdisk.png"><img class="alignnone size-medium wp-image-363" title="fdisk" src="http://www.huanix.com/wp-content/uploads/2009/12/fdisk-300x203.png" alt="fdisk" width="300" height="203" /></a><a href="http://www.huanix.com/wp-content/uploads/2009/12/create_new_fdisk.png"><img class="alignnone size-medium wp-image-364" title="create_new_fdisk" src="http://www.huanix.com/wp-content/uploads/2009/12/create_new_fdisk-300x225.png" alt="create_new_fdisk" width="300" height="225" /></a><a href="http://www.huanix.com/wp-content/uploads/2009/12/writing-new-partitions-fdisk.png"><img class="alignnone size-medium wp-image-365" title="writing new partitions fdisk" src="http://www.huanix.com/wp-content/uploads/2009/12/writing-new-partitions-fdisk-300x225.png" alt="writing new partitions fdisk" width="300" height="225" /></a></p>
<h4>Incoming search terms:</h4><ul><li>dell partition table</li><li>dell recovery partition ubuntu</li><li>dell reinstall hdd dell partition</li><li>fdisk mark partition as type de dell recovery</li><li>install ubuntu on dell partition disc</li><li>install ubuntu on dell recovery partition</li><li>partition ubuntu on dell</li><li>ubuntu dell recovery disk</li><li>using dell recovery partition with ubuntu</li><li>dell xp recovery cd options</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2009/12/10/creating-a-dell-partition-with-ubuntu-to-reinstall-windows-on-a-new-or-blank-hard-drive-with-the-recovery-disk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The future of syncing iPod and iPhone on Linux</title>
		<link>http://www.huanix.com/2008/12/04/the-future-of-syncing-ipod-and-iphone-on-linux/</link>
		<comments>http://www.huanix.com/2008/12/04/the-future-of-syncing-ipod-and-iphone-on-linux/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 23:30:03 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=310</guid>
		<description><![CDATA[I started a wiki to track the different methods that we might successfully sync our 4th generation iPod, iPod touch, and iPhone in Linux. http://www.huanix.com/sync-in-linux I am actually working on getting iTunes to work in wine: http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine For the record: I am not currently working on this project. You are free to use the resources [...]]]></description>
			<content:encoded><![CDATA[<p>I started a wiki to track the different methods that we might successfully sync our 4th generation iPod, iPod touch, and iPhone in Linux.</p>
<p><a title="http://www.huanix.com/sync-in-linux" href="http://www.huanix.com/sync-in-linux">http://www.huanix.com/sync-in-linux</a></p>
<p>I am actually working on getting iTunes to work in wine: http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine</p>
<p><strong>For the record: I am not currently working on this project. You are free to use the resources or ask questions, but I am moving on! I will be glad to share access on the wiki with anyone that wants to work on this. -hb</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/12/04/the-future-of-syncing-ipod-and-iphone-on-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iTunes 8 running in Virtualbox 2.0 allows USB sync with iPhone and iPod Touch</title>
		<link>http://www.huanix.com/2008/11/22/itunes-8-running-in-virtualbox-20-allows-usb-sync-with-iphone-and-ipod-touch/</link>
		<comments>http://www.huanix.com/2008/11/22/itunes-8-running-in-virtualbox-20-allows-usb-sync-with-iphone-and-ipod-touch/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 21:19:32 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[virtualbox itunes iphone ipod touch sync]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=275</guid>
		<description><![CDATA[virtualbox-iphone-r8.sh 11/22/2008- STOP! DO NOT use this fix. The problem addressed by this script has been corrected in VirtualBox 2.0.6. You are welcome to try it if nothing else works for you- it won&#8217;t damage your installation and could possibly help. This is a script that will modify the Ubuntu 8.10 (or other Debian) environment [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong><a href="http://www.huanix.com/wp-content/uploads/2008/11/virtualbox-iphone-r8.sh">virtualbox-iphone-r8.sh</a></strong></p>
<p style="text-align: left;"><strong><span style="color: #ff0000;">11/22/2008- STOP! DO NOT use this fix. The problem addressed by this script has been corrected in VirtualBox 2.0.6</span><span style="color: #ff0000;">. You are welcome to try it if nothing else works for you- it won&#8217;t damage your installation and could possibly help.</span><br />
</strong></p>
<p style="text-align: center;">
<p style="text-align: left;">This is a script that will modify the Ubuntu 8.10 (or other Debian) environment to allow you to sync your iPhone, iPod Touch, or iPod in a Windows XP VirtualBox VM.  Earlier versions of the script have high success rates. This fix solves two problems:</p>
<p>1. USB doesn’t work at all because there’s no mount point; edit /etc/fstab to fix it.<br />
2. For the iPhone to sync, MAX_USBFS_BUFFER_SIZE needs to be modified in drivers/usb/core/devio.c</p>
<p>This version of the script will actually complete several steps:</p>
<ol>
<li>Check for the correct version of VirtualBox-2.0 and install it if the need arises.</li>
<li>Correctly modify the /etc/fstab file to assign the usb mount point to the virtualbox group (thanks tauchris@gmail.com)</li>
<li>Download the correct kernel source, patch it, and update the kernel.</li>
<li>Re-initialize VirtualBox to recognize the new USB configuration.</li>
</ol>
<p>I really believe this will simplify things for many folks. I think the greatest add on is the detection and installation of the correct Virtualbox version &#8211; it will add Virtualbox to your sources.list and add the key for you!</p>
<p>If the script works for you, please comment with your OS and details. If the script fails for you, PLEASE be very specific about what OS you are running and what did or didn’t happen. Comments without details don’t help anyone. If you see an exit code with a line number please include it.<strong></strong></p>
<p><strong>You will need to re-run this script each time the Kernel is updated. The script now knows what to update and what to leave alone.<br />
</strong></p>
<p><strong>These instructions are based on my test environment. You do not have to follow them to the letter! Go ahead and try the script if you know what you’re doing!!!</strong></p>
<p>1. You do not have to have VirtualBox pre-installed. The script will do that for you if it needs to.</p>
<p>2. Download the script to your Desktop and open a terminal window.</p>
<p>3. Set the script to executable, and run it as root.</p>
<ul>
<li>chmod +x virtualbox-iphone-r8.sh</li>
<li>sudo [path to]/virtualbox-iphone-r8.sh</li>
</ul>
<p>4. Run the script:<strong><a href="http://www.huanix.com/wp-content/uploads/2008/11/virtualbox-iphone-r8.sh">virtualbox-iphone-r8.sh</a></strong><strong> <a class="wpsulink_none" href="http://www.stumbleupon.com/url/http://www.huanix.com/wp-content/uploads/2008/11/virtualbox-iphone-r7.sh" target="_blank"></a></strong></p>
<p>5. Reboot.</p>
<ul>
<li>The script downloads the kernel source, and will take approximately 400 mb and several minutes of processing to run properly.</li>
</ul>
<p>6. In the settings tab for the virtual machine, check to be sure that USB and USB 2.0 are enabled.</p>
<p>7. When you run windows as a virtual machine, you will have to connect the device, then go to the “Devices” tab in VirtualBox and enable the device in “USB Devices”</p>
<p>These steps should set the stage for everything to work correctly on Ubuntu 8.10. If you have difficulties, please be VERY specific!</p>
<p><strong>Note: At this time I am no longer working toward making this script available in Fedora and Suse. However, the kernel fix contained inside the script will work if you extract and implement it. -hb</strong></p>
<h4>Incoming search terms:</h4><ul><li>itunes</li><li>virtualbox itunes usb</li><li>virtualbox usb itunes</li><li>virtualbox itunes sync</li><li>virtualbox ipod usb</li><li>itunes virtualbox usb</li><li>virtual box itunes usb</li><li>vbox ituns</li><li>virtualbox cant mount iPod</li><li>vbox itunes</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/11/22/itunes-8-running-in-virtualbox-20-allows-usb-sync-with-iphone-and-ipod-touch/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>iTunes 8 running in Wine recognizes iPod in Ubuntu Linux!</title>
		<link>http://www.huanix.com/2008/11/12/itunes-8-running-in-wine-recognizes-ipod/</link>
		<comments>http://www.huanix.com/2008/11/12/itunes-8-running-in-wine-recognizes-ipod/#comments</comments>
		<pubDate>Thu, 13 Nov 2008 04:16:58 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[wine]]></category>
		<category><![CDATA[ipod itunes wine iphone sync]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=250</guid>
		<description><![CDATA[UPDATE: 6/18/2009: I am not actively working on this project but you are welcome to check out the resources. UPDATE: 12/7/2008: I have documented the method and am actively soliciting help to get this working at http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine I am not sure if anyone else has accomplished this yet &#8211; i know some people have run [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_252" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.huanix.com/wp-content/uploads/2008/11/itunes_8_ipod_wine.png"><img class="size-medium wp-image-252" title="itunes_8_ipod_wine" src="http://www.huanix.com/wp-content/uploads/2008/11/itunes_8_ipod_wine-300x225.png" alt="iTunes 8 running in wine recognizing an iPod" width="300" height="225" /></a><p class="wp-caption-text">iTunes 8 running in wine recognizing an iPod</p></div>
<p><strong>UPDATE: 6/18/2009: I am not actively working on this project but you are welcome to check out the resources.</strong></p>
<p><strong>UPDATE: 12/7/2008: I have documented the method and am actively soliciting help to get this working at <a title="http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine" href="http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine">http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine</a></strong></p>
<p>I am not sure if anyone else has accomplished this yet &#8211; i know some people have run iTunes 8 in wine, but tonight I was able to get iTunes 8 running in Wine to recognize an iPod. I saw that this was kind of possible with iTunes 7.6, but it was infeasible because of incredibly slow and erroneous transfer speeds.</p>
<p>Anyway, I have been hammering away at this constantly for more 40 hours now and I believe I am getting closer. To tell the truth, since this screenshot I have not been able to replicate the connection (okay, i just figured out how to replicate it). And there happens to be this tiny little secret&#8230; I&#8217;ve never really used Wine before last week and I really don&#8217;t know what I&#8217;m doing.</p>
<p>My ultimate goal, however unlikely it may seem, is to sync my iPhone in iTunes through wine without complication. This will allow many of us to finally get rid of the windows install that has been slowing us down!</p>
<p><strong>Update 11/13/2008: </strong>I was asked how I would distribute this if it works; It will be distributed as a free shell script under GPL to give complete transparency to the process. The fix will likely require kernel driver modifications as well as Wine source modifications. Any potential fix will free; but let&#8217;s be realistic about the chances (slim).</p>
<p><strong>Update 11/14/2008: If you were reading the comments you&#8217;ll note that I was stuck on the iPhone hash algorithm, and I referred to http://bluwiki.com/go/Ipodhash. Unfortunately, that site has received a takedown notice from Apple while attempting to decrypt the algorithm</strong>. <strong>While I don&#8217;t agree with laws that reduce the flow of information, I do honor them.  I think I&#8217;m moving on, but i&#8217;m also realizing that the search was probably a red herring. I&#8217;m not trying to decrypt the iTunes algorithm, I need to get the usb interface to communicate properly&#8230;<br />
</strong></p>
<h4>Incoming search terms:</h4><ul><li>itunes wine</li><li>wine itunes</li><li>itunes on wine</li><li>itunes in wine</li><li>wine itunes ipod</li><li>itunes wine ipod</li><li>itunes with wine</li><li>running itunes in wine</li><li>WINE ITUNES IPHONE</li><li>run itunes in wine</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/11/12/itunes-8-running-in-wine-recognizes-ipod/feed/</wfw:commentRss>
		<slash:comments>28</slash:comments>
		</item>
		<item>
		<title>iTunes 8 running natively in Ubuntu 8.10 with Wine</title>
		<link>http://www.huanix.com/2008/11/07/itunes-8-running-natively-in-ubuntu-810-with-wine/</link>
		<comments>http://www.huanix.com/2008/11/07/itunes-8-running-natively-in-ubuntu-810-with-wine/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 03:17:15 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[geek]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wine]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=209</guid>
		<description><![CDATA[Here&#8217;s a screenshot of iTunes 8 running on Ubuntu 8.10 Intrepid Ibex: wine-116-itunes-no-devices.sh (right-click the link to download this script) to run it: save the script to your desktop or home folder open a terminal (Applications &#62; Accessories &#62; Terminal), navigate to the same directory as the script. type: chmod 777 wine-116-itunes-no-devices.sh (hit enter) then [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Here&#8217;s a screenshot of iTunes 8 running on Ubuntu 8.10 Intrepid Ibex:</p>
<p style="text-align: center;"><a href="http://www.huanix.com/wp-content/uploads/2008/11/itunes_ubuntu.jpg"><img class="aligncenter size-thumbnail wp-image-212" title="itunes_ubuntu" src="http://www.huanix.com/wp-content/uploads/2008/11/itunes_ubuntu-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p style="text-align: center;"><strong><a href="http://www.huanix.com/wp-content/uploads/2008/11/wine-116-itunes-no-devices.sh">wine-116-itunes-no-devices.sh</a></strong><br />
(right-click the link to download this script)</p>
<p style="text-align: left;"><strong>to run it:</strong><br />
save the script to your desktop or home folder<br />
open a terminal (Applications &gt; Accessories &gt; Terminal), navigate to the same directory as the script.<br />
type: chmod 777 wine-116-itunes-no-devices.sh (hit enter)<br />
then type: ./wine-116-itunes-no-devices.sh (hit enter)</p>
<p>This script will build a custom version of wine 1.1.6 that will run iTunes 8.0.1 on Ubuntu 8.10. The resulting installation of wine will *NOT* (?) recognize iPhones or iPods. This installation will <strong>NOT</strong> conflict with your existing wine installation &#8211; it is separate!!!</p>
<p>Expect to download 500+ mb of stuff and compile for 2+ hours. I may find a way to simplify it later, but my goal now is to get it working reliably and predictably for everyone running Ubuntu 8.10.</p>
<p>Please leave detailed feedback including your operating system and version of iTunes as well as other information (i expect people to try lots of different things). &#8220;it worked&#8221; or &#8220;it didn&#8217;t work&#8221; are not useful comments!!<br />
As far as getting devices to work, my best shot was Marteen  Lankhorst&#8217;s rejected patches (<a title="http://www.winehq.org/pipermail/wine-patches/2008-May/054483.html" href="http://www.winehq.org/pipermail/wine-patches/2008-May/054483.html" target="_blank">http://www.winehq.org/pipermail/wine-patches/2008-May/054483.html</a>), but i haven&#8217;t gotten them to work with iTunes 8 (not sure why). Just in case you weren&#8217;t clear: This version WILL run iTunes 8, but it will NOT recognize your iPod/iPhone.  My current solution for that is with VirtualBox: <a title="http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/" href="http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/" target="_self">http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/</a></p>
<p><strong>For the latest developments on this, go to the wiki at : <a title="http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine" href="http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine">http://www.huanix.com/sync-in-linux/index.php/ITunes_8_through_modified_Wine</a></strong></p>
<h4>Incoming search terms:</h4><ul><li>itunes ubuntu</li><li>UBUNTU ITUNES</li><li>Wine ubuntu</li><li>ubuntu wine</li><li>itunes wine iphone</li><li>itunes ubuntu wine</li><li>itunes on ubuntu</li><li>itunes for ubuntu</li><li>ubuntu itunes wine</li><li>ubuntu itunes iphone</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/11/07/itunes-8-running-natively-in-ubuntu-810-with-wine/feed/</wfw:commentRss>
		<slash:comments>57</slash:comments>
		</item>
		<item>
		<title>Fixing USB on VirtualBox to allow iPhone Sync with an Ubuntu host running Windows XP</title>
		<link>http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/</link>
		<comments>http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 00:42:44 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[8.10]]></category>
		<category><![CDATA[intrepid ibex]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[VirtualBox]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=186</guid>
		<description><![CDATA[An update has been released. Please click this link to see virtualbox-iphone-r8.sh Updated to virtualbox-iphone-r7.sh on 11/11/2008, 3:25 CST. Removed check for ubuntu, since this will work on far more systems. Improved the check for /etc/fstab with a grep instead of a question. Started package cleanup; it&#8217;s not the best yet. Still no exit points [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong><a href="http://www.huanix.com/wp-content/uploads/2008/11/virtualbox-iphone-r7.sh"></a></strong><em><a href="http://www.huanix.com/2008/11/22/itunes-8-running-in-virtualbox-20-allows-usb-sync-with-iphone-and-ipod-touch/">An update has been released. Please click this link to see virtualbox-iphone-r8.sh</a></em></p>
<p style="text-align: left;"><span><strong>Updated to virtualbox-iphone-r7.sh </strong>on 11/11/2008, 3:25 CST.<br />
</span></p>
<ul>
<li><span>Removed check for ubuntu, since this will work on far more systems.</span></li>
<li><span>Improved the check for /etc/fstab with a grep instead of a question.</span></li>
<li><span>Started package cleanup; it&#8217;s not the best yet.<br />
</span></li>
<li><span>Still no exit points <img src='http://www.huanix.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </span></li>
<li><span>Still only accepts simple responses (y).</span></li>
<li><span>Planning to add support for Suse &amp; Fedora soon.</span></li>
</ul>
<p style="text-align: left;">
<p style="text-align: center;">
<p style="text-align: left;">This is a script that will modify the Ubuntu (or other Debian) environment to allow you to sync your iPhone, iPod Touch, or iPod in a Windows XP Virtual machine. This fix solves two problems:</p>
<p>1. USB doesn&#8217;t work at all because there&#8217;s no mount point; edit /etc/fstab to fix it.<br />
2. For the iPhone to sync, MAX_USBFS_BUFFER_SIZE needs to be modified in drivers/usb/core/devio.c</p>
<p>If the script works for you, please comment with your OS and details. If the script fails for you, PLEASE be very specific about what OS you are running and what did or didn&#8217;t happen. Comments without details don&#8217;t help anyone.</p>
<p><strong>UPDATE: I&#8217;m not sure if i pointed out that you will need to re-run this script each time the Kernel is updated. The script now knows what to update and what to leave alone.<br />
</strong></p>
<p><strong>These instructions are based on my test environment. You do not have to follow them to the letter! Go ahead and try the script if you know what you&#8217;re doing!!!</strong></p>
<p>This fix works on Ubuntu 8.10 Intrepid Ibex running VirtualBox-2.0 installed through apt-get. It also works on older versions of Ubuntu, and possibly many other distros. Be creative, but be careful.</p>
<p>Install virtualbox-2.0 through through apt-get:</p>
<p>1. edit your /etc/apt/sources.list file and add the following source:<br />
deb http://download.virtualbox.org/virtualbox/debian intrepid non-free<br />
(intrepid is not listed on the wiki, but the source is working!)</p>
<p>2. Run &#8220;wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | sudo apt-key add -&#8221;</p>
<p>3. Run &#8220;sudo apt-get update&#8221;</p>
<p>4. Run &#8220;sudo apt-get install virtualbox-2.0&#8243;</p>
<p>Restart your computer to make sure the vboxusers group initializes properly.</p>
<p>Run the script:<br />
(be sure to chmod +x and run as root!)</p>
<p>Change the permissions to allow execution (chmod +x virtualbox-iphone.sh) and run it as root.<br />
The script downloads the kernel source, and will take approximately 400 mb and several minutes of processing to run properly.</p>
<p>Restart again to initialize the modified kernel. (not sure if these restarts are necessary, but i&#8217;m trying to be safe!)</p>
<p>In the settings tab for the virtual machine, check to be sure that USB is enabled.</p>
<p>When you run windows as a virtual machine, you will have to connect the device, then go to the &#8220;Devices&#8221; tab in VirtualBox and enable the device in &#8220;USB Devices&gt;&#8221;</p>
<p>These steps should set the stage for everything to work correctly on Ubuntu 8.10. If you have difficulties, please be VERY specific!</p>
<p>&#8212;-</p>
<p>Some people are having trouble with the USB settings.. make yours look like this. Your iphone may already be here, and it may not &#8211; i deleted mine to keep people from panicking if they didn&#8217;t see theirs.</p>
<p><a href="http://www.huanix.com/wp-content/uploads/2008/11/usb_settings.png"><img class="alignnone size-thumbnail wp-image-266" title="usb_settings" src="http://www.huanix.com/wp-content/uploads/2008/11/usb_settings-150x150.png" alt="" width="150" height="150" /></a></p>
<p>&#8212;-</p>
<p>11/16/2008: I am aware of an issue where version 2.6.27-7 of the kernel goes through &#8220;make&#8221; while version 2.6.27-8 goes through update-initramfs. I am working on the script to address this. The result is that running the script works fine, but USB doesn&#8217;t connect. I think this only happens to people that have updated to 2.6.27-8, which appears to have been pulled back. A possible solution is to run &#8220;sudo grub-update&#8221; and boot into the 2.6.27-8 kernel, OR (i would do try this) &#8220;sudo apt-get remove linux-image-2.6.27-8-generic &amp;&amp; sudo apt-get remove linux-headers-2.6.27-8-generic &#8220;. I have only confirmed this once (thanks Brandon) and cannot reproduce it because 2.6.27-8 is not available. Please confirm a solution if you have one. This is the relevant output from the virtuabox script&#8230;</p>
<p>(i need a good code highligher!)<br />
<code lang="”bash”">Building modules, stage 2.<br />
MODPOST 1 modules<br />
CC      /home/user/linux-source-2.6.27/drivers/usb/core/usbcore.mod.o<br />
LD [M]  /home/user/linux-source-2.6.27/drivers/usb/core/usbcore.ko<br />
make: Leaving directory `/usr/src/<strong>linux-headers-2.6.27-7-generic'</strong><br />
update-initramfs: Generating /boot/<strong>initrd.img-2.6.27-8-generic</strong><br />
Do you want to get rid of the source and installed files?</code><br />
&#8212;-</p>
<p>I’m working on virtualbox-iphone-v8.sh ; this release is intended to run on both Ubuntu and Fedora 10. I’d like to release it on November 25, 2008 &#8211; the same day Fedora 10 (Final) is released.</p>
<h4>Incoming search terms:</h4><ul><li>virtualbox iPhone</li><li>virtualbox iphone usb</li><li>virtualbox usb iphone</li><li>ubuntu virtualbox iphone</li><li>virtualbox iphone recovery mode</li><li>virtualbox iphone sync</li><li>connect iphone to virtualbox</li><li>Virtual Box iPhone</li><li>virtual box iphone usb connection</li><li>iphone in virtualbox</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/feed/</wfw:commentRss>
		<slash:comments>76</slash:comments>
		</item>
		<item>
		<title>Making an iPhone and iTunes work in an XP Virtualbox machine through ubuntu</title>
		<link>http://www.huanix.com/2008/10/31/making-itunes-work-in-an-xp-virtualbox-machine-through-ubuntu/</link>
		<comments>http://www.huanix.com/2008/10/31/making-itunes-work-in-an-xp-virtualbox-machine-through-ubuntu/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 05:13:07 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Intrepid]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[VirtualBox]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=171</guid>
		<description><![CDATA[virtualbox_iphone.sh (click the link above to download) This post is depreciated! Please check out the current version: http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/ There&#8217;s an excellent thread on the virtualbox forum (http://www.virtualbox.org/ticket/491) about getting an iPhone to be recognized by iTunes in a Windows XP virtualbox on an Ubuntu host. Someone shared a fix that required the user to modify [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong><br />
<strong><del datetime="2008-11-04T01:06:25+00:00">virtualbox_iphone.sh</del></strong><br />
(click the link above to download)</p>
<p><strong>This post is depreciated! Please check out the current version: <a title="http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/" href="http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/" target="_self">http://www.huanix.com/2008/11/03/fixing-usb-on-virtualbox-to-allow-iphone-sync-with-an-ubuntu-host-running-windows-xp/</a><br />
</strong></p>
<p>There&#8217;s an excellent thread on the virtualbox forum (<a title="http://www.virtualbox.org/ticket/491" href="http://www.virtualbox.org/ticket/491" target="_blank">http://www.virtualbox.org/ticket/491</a>) about getting an iPhone to be recognized by iTunes in a Windows XP virtualbox on an Ubuntu host. Someone shared a fix that required the user to modify the kernel, and i know a lot of people are uncomfortable with that. I automated the process with a shell script.</p>
<p>I am a novice shell scripter, but i did test this and it did work. I will continue to improve it until it is fixed in a release of VirtualBox, supposedly 2.1.</p>
<p>I do not claim the fix &#8211; i think it was provided by &#8220;remainder&#8221; on the virtualbox forum; i only took an effective fix and put it in a shell script.</p>
<p>For the VERY new user:<br />
1. Be careful. Back up your data. If something breaks you&#8217;re on your own.<br />
2. Save the file to your computer.<br />
3. Open a shell and run it as root, it will probably look something like:</p>
<p>$chmod +x virtualbox_iphone.sh<br />
$sudo virtualbox_iphone.sh</p>
<p>The script may take a long time to download files from the internet and it will reboot your computer when it&#8217;s done.</p>
<p>It&#8217;s always smart to look at a shell script in a text editor before you run it. At a very basic level, look for a call to &#8220;rm&#8221;, that will delete files that you may not want deleted!</p>
<h4>Incoming search terms:</h4><ul><li>iphone virtualbox</li><li>itunes virtualbox</li><li>virtualbox itunes</li><li>virtualbox itunes iphone</li><li>itunes in virtualbox</li><li>iphone itunes virtualbox</li><li>iphone on virtualbox</li><li>ubuntu virtualbox itunes</li><li>itunes virtualbox linux</li><li>itunes linux virtualbox</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2008/10/31/making-itunes-work-in-an-xp-virtualbox-machine-through-ubuntu/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>mod_rewrite for Apache2 in Ubuntu Linux Gutsy Gibbon 7.10</title>
		<link>http://www.huanix.com/2007/12/10/mod_rewrite-for-apache2-in-ubuntu-linux-gutsy-gibbon-710/</link>
		<comments>http://www.huanix.com/2007/12/10/mod_rewrite-for-apache2-in-ubuntu-linux-gutsy-gibbon-710/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 02:30:40 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Gutsy Gibbon]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/12/10/mod_rewrite-for-apache2-in-ubuntu-linux-gutsy-gibbon-710/</guid>
		<description><![CDATA[mod_rewrite is a module for the Apache webserver that allows apache to dynamically change the url of a site using php (or other scripting languages). It seems like a difficult/confusing task at first, but it actually only takes 2 steps in Ubuntu. I initially wrote this quick tutorial for Feisty Fawn 7.04, and I just [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.penguin-soft.com/penguin/man/8/a2enmod.html">mod_rewrite</a> is a module for the <a href="http://apache.org/httpd">Apache webserver</a> that allows apache to dynamically change the url of a site using php (or other scripting languages). It seems like a difficult/confusing task at first, but it actually only takes 2 steps in <a href="http://ubuntu.com">Ubuntu</a>. I initially wrote this quick tutorial for Feisty Fawn 7.04, and I just checked, and it works great in Gutsy Gibbon, 7.10 also. This should also work well for Edgy 6.10 and Dapper 6.06 without any issues. Any code snippets should be typed into a terminal. &#8220;sudo&#8221; commands require a password, that&#8217;s a given.</p>
<ol>
<li>Enable mod_rewrite in Apache<br />
<code> sudo a2enmod rewrite </code></li>
<li>Edit the configuration file.
<ol>
<li><code>sudo gedit  /etc/apache2/sites-available/default </code></li>
<li>line 12 says &#8220;AllowOverride none&#8221; ;</li>
<li>change it to &#8220;AllowOverride all&#8221;</li>
<li>save and close</li>
</ol>
</li>
<li>Okay&#8230; one last step &#8212; you have to manually restart Apache (or restart your computer!)</li>
<p><code>sudo apache2 -k restart </code></ol>
<p>All done! now Apache and php can create URL&#8217;s on the fly &#8211; pretty neato!</p>
<h4>Incoming search terms:</h4><ul><li>apache2 linux mod rewrite</li><li>apache2 xubuntu enable mod rewrite</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/12/10/mod_rewrite-for-apache2-in-ubuntu-linux-gutsy-gibbon-710/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slow nslookup and slow dns hosting?</title>
		<link>http://www.huanix.com/2007/12/03/slow-nslookup-and-slow-dns-hosting/</link>
		<comments>http://www.huanix.com/2007/12/03/slow-nslookup-and-slow-dns-hosting/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 03:44:34 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[Apache2]]></category>
		<category><![CDATA[dns host]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.huanix.com/2007/12/03/slow-nslookup-and-slow-dns-hosting/</guid>
		<description><![CDATA[I&#8217;m running my server on a &#8220;static&#8221; dhcp address on my home server, and I&#8217;m using the domain name server lookup provided by freedns.org. I am more than appreciative for the FREE service provided by the fellow at freedns, but I&#8217;ve noticed that the biggest problem with any of the sites on my server is [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m running my server on a &#8220;static&#8221; dhcp address on my home server, and I&#8217;m using the domain name server lookup provided by freedns.org. I am more than appreciative for the FREE service provided by the fellow at freedns, but I&#8217;ve noticed that the biggest problem with any of the sites on my server is SLOW name server lookup.</p>
<p>Here&#8217;s the deal: I want to improve my nslookup time (not the time derived from my local cache, but my &#8220;fresh look&#8221; time) and I just can&#8217;t seem to figure it out. Turns out most folks who run their own server rely on local-server based dns, but I figure that would be AT LEAST as slow as freedns. I wish I could find some ranking of domain name servers so I could make a more informed choice, but I just don&#8217;t know how to attack it.</p>
<p>Oh.. and one more thing.. I don&#8217;t pay.. for anything. That is, I don&#8217;t pay for anything I can use ingenuity to get for free. That&#8217;s why RMS and Linus are my heroes! I&#8217;d love to hear your suggestions.</p>
<h4>Incoming search terms:</h4><ul><li>nslookup slow</li><li>nslookup slow dns</li><li>linux nslookup slow</li><li>aix nslookup delay</li><li>ubuntu nslookup slow</li><li>slow nslookup</li><li>nslookup slow respose</li><li>nslookup linux slow</li><li>freedns slow</li><li>dns slow nslookup</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2007/12/03/slow-nslookup-and-slow-dns-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

