<?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; ubuntu</title>
	<atom:link href="http://www.huanix.com/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huanix.com</link>
	<description>chown -R huanix /</description>
	<lastBuildDate>Sat, 03 Apr 2010 15:29:54 +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>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[Linux]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></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>
]]></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[Linux]]></category>
		<category><![CDATA[iphone]]></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>
<p>I’m looking for 5 testers that have a spare development machine and experience with installing operating systems (fedora &amp; ubuntu). Experience with subversion would be a plus, but I’m not sure I want to go that fancy. Email me at <a href="mailto:huanix@gmail.com">huanix@gmail.com</a></p>
<p>I’m also looking for 5 donations to my paypal account, also <a href="mailto:huanix@gmail.com">huanix@gmail.com</a> before we start testing. It takes a lot of time to do this and there is no substitute for monetary encouragement.</p>
<p>Current Tally (11/22/2008):<br />
Testers: 3/5<br />
Contributors: 4/5</p>
]]></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>
]]></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>
	</channel>
</rss>
