<?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>Arkham's Eyrie &#187; ubuntu</title>
	<atom:link href="http://ark.asengard.net/blog/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://ark.asengard.net/blog</link>
	<description>Where Doves Kill &#38; Ravens Die.</description>
	<lastBuildDate>Fri, 28 Oct 2011 09:09:23 +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>Trust WB-1400T webcam on Ubuntu</title>
		<link>http://ark.asengard.net/blog/2008/02/27/trust-wb-1400t-on-ubuntu-linux/</link>
		<comments>http://ark.asengard.net/blog/2008/02/27/trust-wb-1400t-on-ubuntu-linux/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 19:05:06 +0000</pubDate>
		<dc:creator>Arkham</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false">http://ark.asengard.net/blog/?p=24</guid>
		<description><![CDATA[Download the source here. Now open a root terminal and create the folder: mkdir -p /usr/src/modules Move the package to the new folder and move into it: mv &#60;gspcav1_package&#62; /usr/src/modules cd /usr/src/modules Extract and move into it: tar -xzvf &#60;gspcav1_package&#62; cd &#60;gspcav1_folder&#62; Compile and install: make &#38;&#38; make install Remove eventually previous version of the [...]]]></description>
			<content:encoded><![CDATA[<p>Download the source <a href="http://mxhaard.free.fr/download.html">here</a>.</p>
<p>Now open a root terminal and create the folder:</p>

<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: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>modules</pre></div></div>

<p>Move the package to the new folder and move into it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mv</span> <span style="color: #000000; font-weight: bold;">&lt;</span>gspcav1_package<span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>modules</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>src<span style="color: #000000; font-weight: bold;">/</span>modules</pre></div></div>

<p>Extract and move into it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">tar</span> <span style="color: #660033;">-xzvf</span> <span style="color: #000000; font-weight: bold;">&lt;</span>gspcav1_package<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">&lt;</span>gspcav1_folder<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Compile and install:</p>

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

<p>Remove eventually previous version of the module and load the new one:</p>

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

<p>Plug-in the webcam, and you should see something in dmesg.<br />
Now you can just test with</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mplayer</span> tv:<span style="color: #000000; font-weight: bold;">//</span> <span style="color: #660033;">-tv</span> <span style="color: #007800;">driver</span>=v4l:<span style="color: #007800;">width</span>=<span style="color: #000000;">352</span>:<span style="color: #007800;">height</span>=<span style="color: #000000;">288</span>:<span style="color: #007800;">device</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>video0</pre></div></div>

<p>or using programs like xawtv, camorama, amsn or skype. Have fun <img src='http://ark.asengard.net/blog/wp-content/plugins/smilies-themer/tango/face-wink.png' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ark.asengard.net/blog/2008/02/27/trust-wb-1400t-on-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Nvidia API Mismatch</title>
		<link>http://ark.asengard.net/blog/2008/02/19/nvidia-api-mismatch/</link>
		<comments>http://ark.asengard.net/blog/2008/02/19/nvidia-api-mismatch/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 22:50:18 +0000</pubDate>
		<dc:creator>Arkham</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ark.asengard.net/blog/2008/02/19/nvidia-api-mismatch/</guid>
		<description><![CDATA[I&#8217;ve installed the Nvidia driver from the binary package and when I restarted, X couldn&#8217;t start and gave me a nice blue welcome screen; the X log told me that my kernel module version was 1.0-7184 and my nvidia driver version was 1.0-9755. I tried with sudo apt-get remove --purge nvidia-kernel-common but the fine ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve installed the Nvidia driver from the binary package and when I restarted, X couldn&#8217;t start and gave me a nice blue welcome screen; the X log told me that my kernel module version was 1.0-7184 and my nvidia driver version was 1.0-9755.</p>
<p>I tried with</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 <span style="color: #660033;">--purge</span> nvidia-kernel-common</pre></div></div>

<p>but the fine ubuntu hugemetapackages&amp;&amp;weirddependencies system suggested me to remove all my restricted kernel modules.</p>
<p>So I ran</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;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>default<span style="color: #000000; font-weight: bold;">/</span>linux-restricted-modules-common</pre></div></div>

<p>and added nvidia to blacklist the restricted nvidia module.</p>
<p>Everything works fine now, btw.</p>
]]></content:encoded>
			<wfw:commentRss>http://ark.asengard.net/blog/2008/02/19/nvidia-api-mismatch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Ubuntu behind a HTTP Proxy</title>
		<link>http://ark.asengard.net/blog/2008/02/12/how-to-install-ubuntu-behind-a-http-proxy/</link>
		<comments>http://ark.asengard.net/blog/2008/02/12/how-to-install-ubuntu-behind-a-http-proxy/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 23:28:55 +0000</pubDate>
		<dc:creator>Arkham</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ark.asengard.net/blog/2008/02/12/how-to-install-ubuntu-behind-a-http-proxy/</guid>
		<description><![CDATA[1 ) Put a Ubuntu CD in your CD/DVD drive, reboot, and set the BIOS to boot from the CD drive. Wait until you see the Ubuntu desktop 2 ) Go to Applications -&#62; Accessories -&#62; Terminal and gain root priviledges with sudo su 3 ) Load your keyabord map with setxkbmap language_code Example: setxkbmap [...]]]></description>
			<content:encoded><![CDATA[<p>1 ) Put a Ubuntu CD in your CD/DVD drive, reboot, and set the BIOS to boot from the CD drive. Wait until you see the Ubuntu desktop</p>
<p>2 ) Go to Applications -&gt; Accessories -&gt; Terminal and gain root priviledges with</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;">su</span></pre></div></div>

<p>3 ) Load your keyabord map with</p>

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

<p>Example:</p>

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

<p>4 ) Create a new file with</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apt<span style="color: #000000; font-weight: bold;">/</span>apt.conf</pre></div></div>

<p>5 ) Write the line</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Acquire::http::Proxy <span style="color: #ff0000;">&quot;http://[user]:[pass]@[proxy_ip]:[port]&quot;</span>;</pre></div></div>

<p>Example:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Acquire::http::Proxy <span style="color: #ff0000;">&quot;http://camp:1234@192.168.10.4:3128&quot;</span>;</pre></div></div>

<p>6 ) Ctrl + O to save and Ctrl + X to exit</p>
<p>7 ) Go to System -&gt; Preferences -&gt; Network Proxy and fill the proxy settings (don&#8217;t forget to click on advanced, if the proxy requires authentication)</p>
<p>8 ) Launch the Ubuntu usual installer</p>
<p>9 ) Cross your fingers and pray thy Holy Shuttleworth to have pity for thy damned soul</p>
<p>Here you go! <img src='http://ark.asengard.net/blog/wp-content/plugins/smilies-themer/tango/face-wink.png' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ark.asengard.net/blog/2008/02/12/how-to-install-ubuntu-behind-a-http-proxy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install PDO on Ubuntu Edgy</title>
		<link>http://ark.asengard.net/blog/2007/04/16/how-to-install-pdo-on-ubuntu-edgy/</link>
		<comments>http://ark.asengard.net/blog/2007/04/16/how-to-install-pdo-on-ubuntu-edgy/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 00:33:05 +0000</pubDate>
		<dc:creator>Arkham</dc:creator>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://ark.asengard.net/blog/?p=14</guid>
		<description><![CDATA[Since PDO should be enabled by default on PHP >= 5.1 but it isn&#8217;t on X/K/ubuntu edgy, I had to go through some forums and tutorials to learn how. Firstly, install php-pear and some other dev packages: sudo apt-get install php-pear php5-dev libmysqlclient15-dev Then use the pecl command to install pdo &#038;&#038; pdo_mysql: sudo pecl [...]]]></description>
			<content:encoded><![CDATA[<p>Since PDO should be enabled by default on PHP >= 5.1 but it isn&#8217;t on X/K/ubuntu edgy, I had to go through some forums and tutorials to learn how.</p>
<p>Firstly, install <strong>php-pear</strong> and some other dev packages:</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> <span style="color: #c20cb9; font-weight: bold;">install</span> php-pear php5-dev libmysqlclient15-dev</pre></div></div>

<p>Then use the pecl command to install pdo &#038;&#038; pdo_mysql:</p>

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

<p>If you use a 64 bit system, an error message like</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">Fatal error: Allowed memory <span style="color: #c20cb9; font-weight: bold;">size</span> of <span style="color: #000000;">8388608</span> bytes exhausted <span style="color: #7a0874; font-weight: bold;">&#40;</span>tried to 
allocate <span style="color: #000000;">143</span> bytes<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #000000; font-weight: bold;">in</span> <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>php<span style="color: #000000; font-weight: bold;">/</span>PEAR<span style="color: #000000; font-weight: bold;">/</span>Builder.php on line <span style="color: #000000;">312</span></pre></div></div>

<p>probably will come out, and editing the php.ini files to increase the memory_limit size won&#8217;t work.<br />
Instead, edit the <strong>/usr/share/php/pearcmd.php</strong> file adding</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">@</span>ini_set<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #ff0000;">'memory_limit'</span>, <span style="color: #ff0000;">'16M'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>;</pre></div></div>

<p>Add the drivers to your <strong>/etc/php5/apache2/php.ini</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">extension</span>=pdo.so
<span style="color: #007800;">extension</span>=pdo_mysql.so</pre></div></div>

<p>Restart your apache server:</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: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre></div></div>

<p>Now you should be able to notice the pdo drivers installed in the phpinfo() page. Enjoy <img src='http://ark.asengard.net/blog/wp-content/plugins/smilies-themer/tango/face-wink.png' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ark.asengard.net/blog/2007/04/16/how-to-install-pdo-on-ubuntu-edgy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

