<?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>Inspirated &#187; Fedora</title>
	<atom:link href="http://inspirated.com/tag/fedora/feed" rel="self" type="application/rss+xml" />
	<link>http://inspirated.com</link>
	<description>krkhan&#039;s blog</description>
	<lastBuildDate>Mon, 02 Jan 2012 20:58:28 +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>There and Back Again &#8212; Google Summer of Code 2011</title>
		<link>http://inspirated.com/2011/04/26/there-and-back-again-google-summer-of-code-2011</link>
		<comments>http://inspirated.com/2011/04/26/there-and-back-again-google-summer-of-code-2011#comments</comments>
		<pubDate>Mon, 25 Apr 2011 22:43:01 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[arm]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[EFF]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[GSoC]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[Summer of Code]]></category>
		<category><![CDATA[Tor]]></category>

		<guid isPermaLink="false">http://inspirated.com/?p=338</guid>
		<description><![CDATA[After completing my project for last year&#8216;s Summer of Code my degree was delayed for a while because of flunking a few courses. Glass half full, this gave me the chance to participate once more before I finally graduate this summer &#8212; Deo volente. In a repeat of last year I once again became a [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p style="text-align: center"><a href="http://code.google.com/soc/"><img src="http://inspirated.com/uploads/gsoc-11.jpg" alt="GSoC 2011 Logo" /></a></p>
<p>After completing my project for <a href="http://inspirated.com/2010/04/27/finally-there-google-summer-of-code-2010">last year</a>&#8216;s Summer of Code my degree was delayed for a while because of flunking a few courses. Glass half full, this gave me the chance to participate once more before I finally graduate this summer &#8212; Deo volente.</p>
<p>In a repeat of last year I once again became a duplicate student as my proposals for both Fedora and Tor projects ended up in top slots. Both organizations were really nice in the de-duplication process and inquired about my preference which inclined towards Tor since it allowed me to contribute to fields of privacy and anonymity. In words of <a href="http://www.fsf.org/news/2010-free-software-awards-announced">Free Software Foundation</a>:</p>
<blockquote><p>Using free software, Tor has enabled roughly 36 million people around the world to experience freedom of access and expression on the Internet while keeping them in control of their privacy and anonymity. Its network has proved pivotal in dissident movements in both Iran and more recently Egypt.</p></blockquote>
<p>This by no means implies any lesser significance for Fedora in my life and I would have been as much enthused had it been my mentoring organization for the summer instead of EFF. However, since I <em>had</em> to make a choice I went for the option where I would be contributing more directly to privacy enhancing technologies.</p>
<p>My project this summer revolves around improving the excellent <a href="http://www.atagar.com/arm/">Anonymizing Relay Monitor</a> (arm) which is used by the Tor community to monitor and control bridges and relays. The complete proposal can be read <a href="https://docs.google.com/viewer?a=v&#038;pid=explorer&#038;chrome=true&#038;srcid=0B55i8hMIrEj_ODc2ZjdjN2QtNTE5Mi00Y2NhLThhMTgtZDQ2YzcxZDBhMjE0&#038;hl=en">here</a> (or via the <a href="http://inspirated.com/uploads/tor-gsoc-11.pdf">original PDF</a>). It contains nitty-gritty details of my summer aspirations as well as non-technical stuff like why I want to contribute to this particular field.</p>
<p>I Know What I Did Last Summer, and I&#8217;m looking forward to doing it again. Quoting myself from <a href="http://en.flossmanuals.net/GSoCStudentGuide/ch002_why-should-i-apply/">FLOSS Manuals</a>:</p>
<blockquote><p>&#8220;Summer of Code is about much more than just code. The sheer fun of integrating with the open-source community and your mentoring organization can in fact outweigh the gratification of actual coding. &#8220;</p></blockquote>
<div class="shr-publisher-338"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2011/04/26/there-and-back-again-google-summer-of-code-2011">Permalink</a> |
<a href="http://inspirated.com/2011/04/26/there-and-back-again-google-summer-of-code-2011#comments">2 comments</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/arm" rel="tag">arm</a>, <a href="http://inspirated.com/tag/code" rel="tag">Code</a>, <a href="http://inspirated.com/tag/eff" rel="tag">EFF</a>, <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/google" rel="tag">Google</a>, <a href="http://inspirated.com/tag/gsoc" rel="tag">GSoC</a>, <a href="http://inspirated.com/tag/open-source" rel="tag">Open Source</a>, <a href="http://inspirated.com/tag/rants" rel="tag">Rants</a>, <a href="http://inspirated.com/tag/summer-of-code" rel="tag">Summer of Code</a>, <a href="http://inspirated.com/tag/tor" rel="tag">Tor</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2011/04/26/there-and-back-again-google-summer-of-code-2011/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GSmolt: A GTK+ frontend for Smolt</title>
		<link>http://inspirated.com/2011/03/30/gsmolt-a-gtk-frontend-for-smolt</link>
		<comments>http://inspirated.com/2011/03/30/gsmolt-a-gtk-frontend-for-smolt#comments</comments>
		<pubDate>Tue, 29 Mar 2011 20:46:03 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[GSmolt]]></category>
		<category><![CDATA[GTK+]]></category>
		<category><![CDATA[GUI]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[Smolt]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://inspirated.com/?p=333</guid>
		<description><![CDATA[Smolt is a hardware profiler for Linux distributions which makes it easier for end-users to report back their machine configurations to a centralized database. Mike McGrath provides an excellent backend for developing Smolt GUIs which I have coupled with GTK+ for GSmolt: (Click on the thumbnails for larger versions.) The script can be found at [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="https://fedorahosted.org/smolt/">Smolt</a> is a hardware profiler for Linux distributions which makes it easier for end-users to report back their machine configurations to a centralized database. Mike McGrath provides an excellent backend for developing Smolt GUIs which I have coupled with GTK+ for GSmolt:</p>
<p style="text-align: center; font-size: x-small"><a href="http://inspirated.com/uploads/gsmolt.png"><img src="http://inspirated.com/uploads/gsmolt-thumb.jpg" alt="GSmolt Screenshot" /></a><br />
<a href="http://inspirated.com/uploads/gsmolt-send.png"><img src="http://inspirated.com/uploads/gsmolt-send-thumb.jpg" alt="GSmolt Send Screenshot" /></a><br />
(Click on the thumbnails for larger versions.)</p>
<p>The script can be found at the <a href="https://github.com/krkhan/gsmolt">gsmolt repository</a> on GitHub. Things on todo list include profile reporting in a separate thread and better error handling. I&#8217;ll provide RPM and Deb packages when the code is ready for a public release.</p>
<p>As a side note, this is the first project I have tracked using GitHub (as opposed to <a href="https://code.launchpad.net/~inspirated">Launchpad</a> + Bazaar). While Launchpad has its added advantage of PPAs which make it easier to push out public releases for Debian derivatives, I&#8217;m liking the Git experience so far. Hopefully some day <a href="http://fedoraproject.org/wiki/Category:Copr">Copr</a> shall mature to a point where it can be the end-all, be-all Launchpad alternative for Fedora users.</p>
<div class="shr-publisher-333"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2011/03/30/gsmolt-a-gtk-frontend-for-smolt">Permalink</a> |
<a href="http://inspirated.com/2011/03/30/gsmolt-a-gtk-frontend-for-smolt#comments">No comment</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/code" rel="tag">Code</a>, <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/git" rel="tag">Git</a>, <a href="http://inspirated.com/tag/github" rel="tag">GitHub</a>, <a href="http://inspirated.com/tag/gsmolt" rel="tag">GSmolt</a>, <a href="http://inspirated.com/tag/gtk" rel="tag">GTK+</a>, <a href="http://inspirated.com/tag/gui" rel="tag">GUI</a>, <a href="http://inspirated.com/tag/linux" rel="tag">Linux</a>, <a href="http://inspirated.com/tag/open-source" rel="tag">Open Source</a>, <a href="http://inspirated.com/tag/opensuse" rel="tag">openSUSE</a>, <a href="http://inspirated.com/tag/smolt" rel="tag">Smolt</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2011/03/30/gsmolt-a-gtk-frontend-for-smolt/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Access PSN on PS3 3.55 firmwares through Fedora</title>
		<link>http://inspirated.com/2011/02/14/howto-access-psn-on-ps3-3-55-firmwares-through-fedora</link>
		<comments>http://inspirated.com/2011/02/14/howto-access-psn-on-ps3-3-55-firmwares-through-fedora#comments</comments>
		<pubDate>Sun, 13 Feb 2011 22:17:58 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Backups]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[NetworkManager]]></category>
		<category><![CDATA[Piracy]]></category>
		<category><![CDATA[Playstation 3]]></category>
		<category><![CDATA[PS3]]></category>
		<category><![CDATA[PSGroove]]></category>
		<category><![CDATA[PSN]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Workaround]]></category>

		<guid isPermaLink="false">http://inspirated.com/?p=331</guid>
		<description><![CDATA[After a day of extensive Wireshark voyeurism I was finally able to connect to PSN on my 3.55 custom firmware through my Fedora box. This guide documents the procedure I used. Requirements The PC side of things: Fedora 14. Any other Linux distro or even Windows machines can work, but since my primary OS is [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>After a day of extensive Wireshark voyeurism I was finally able to connect to PSN on my 3.55 custom firmware through my Fedora box. This guide documents the procedure I used.</p>
<h3>Requirements</h3>
<p>The PC side of things:</p>
<ul>
<li>Fedora 14. Any other Linux distro or even Windows machines can work, but since my primary OS is Fedora that&#8217;s what the guide shall be focusing on.</li>
<li>Internet connectivity on a separate interface than the one you&#8217;ll be connecting PS3 on. For example, my laptop connects through internet wirelessly while the PS3 is connecting to laptop through Ethernet.</li>
</ul>
<p>The console side of things:</p>
<ul>
<li>A custom firmware installed <em>without</em> level 2 patch. kmeaw is recommended.</li>
</ul>
<p>Basic familiarity with Linux can be helpful. Please note that the guide requires you to mess with the flash memory of your PS3. If you aren&#8217;t paying attention you can end up with a FUBAR clinker.</p>
<h3>Setting up the firewall</h3>
<p>On Fedora, go to &#8220;Administration&#8221; > &#8220;Firewall&#8221; and provide the root password. In &#8220;Trusted Services&#8221;, enable the following:</p>
<table align="center" summary="Intro" width="75%">
<tr>
<td align="center" colspan="2" class="cell">
DNS
</td>
<td align="center" colspan="2" class="cell">
53/tcp, 53/udp
</td>
</tr>
<tr>
<td align="center" colspan="2" class="cell">
DNS
</td>
<td align="center" colspan="2" class="cell">
53/tcp, 53/udp
</td>
</tr>
<tr>
<td align="center" colspan="2" class="cell">
Multicast DNS (mDNS)
</td>
<td align="center" colspan="2" class="cell">
5353/udp
</td>
</tr>
<tr>
<td align="center" colspan="2" class="cell">
Secure WWW (HTTPS)
</td>
<td align="center" colspan="2" class="cell">
443/tcp
</td>
</tr>
<tr>
<td align="center" colspan="2" class="cell">
WWW (HTTP)
</td>
<td align="center" colspan="2" class="cell">
80/tcp
</td>
</tr>
</table>
<p>In &#8220;Other Ports&#8221;, click on &#8220;Add&#8221; and select port 8888 for tcp.</p>
<h3>Setting up a shared connection between Fedora and PS3</h3>
<p>On Fedora:</p>
<ol>
<li>Connect to your wireless network.</li>
<li>Right click on the Network Manager icon in the system tray and click on &#8220;Edit Connections&#8221;.</li>
<li>Under the &#8220;Wired&#8221; tab, click on &#8220;Add&#8221;.</li>
<li>Under the &#8220;IPv4 Settings&#8221; tab, select &#8220;Shared to other computers&#8221; as the method.</li>
<li>Ensure that the &#8220;Connect automatically&#8221; box is checked.</li>
<li>Click on apply.</li>
</ol>
<p>On PS3:</p>
<ol>
<li>Under XMB, go to &#8220;Settings&#8221; > &#8220;Network Settings&#8221; > &#8220;Internet Connection Settings&#8221;.</li>
<li>Select &#8220;Custom&#8221;.</li>
<li>Select &#8220;Wired Connection&#8221;.</li>
<li>Select &#8220;Auto-Detect for operation mode.</li>
<li>Select &#8220;Automatic&#8221; for IP Address Setting.</li>
<li>Select &#8220;Do Not Set&#8221; for DHCP host name.</li>
<li>Select &#8220;Automatic&#8221; for DNS Setting.</li>
<li>Select &#8220;Automatic&#8221; for MTU.</li>
<li>Select &#8220;Do Not Use&#8221; for Proxy Server.</li>
<li>Select &#8220;Enable&#8221; for UPnP.</li>
<li>Connect the Ethernet cable and test the connection.</li>
</ol>
<p>At this point, you should get the following result:</p>
<blockquote><p>Obtain IP Address: Succeeded<br />
Internet Connection: Succeeded<br />
(A system software update is required. Go to [Settings] > [System Update] and perform the update.</p></blockquote>
<p>To verify everything is working correctly, go to &#8220;System&#8221; > &#8220;Network Settings&#8221; >&#8221;Settings and Connection Status List&#8221;. You should see the following:</p>
<blockquote><p>IP Address: 10.42.43.10<br />
Subnet Mask: 255.255.255.0<br />
Default Router: 10.42.43.1</p></blockquote>
<p>Similarly, if you right click on the Network Manager icon in Fedora and click on &#8220;Connection Information&#8221;, you&#8217;ll see the following information for the shared connection:</p>
<blockquote><p>IP Address: 10.42.43.1<br />
Broadcast Address: 10.42.43.255<br />
Subnet Mask: 255.255.255.0</p></blockquote>
<p>As one last step for verification launch the Internet Browser on PS3 and see if it works.</p>
<h3>Installing the proxy server</h3>
<ol>
<li>Login as root.

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">su</span> -</pre></div></div>

</li>
<li>Download <a href="http://www.charlesproxy.com/download/">Charles</a> for Linux.

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>www.charlesproxy.com<span style="color: #000000; font-weight: bold;">/</span>assets<span style="color: #000000; font-weight: bold;">//</span>release<span style="color: #000000; font-weight: bold;">/</span>3.5.2<span style="color: #000000; font-weight: bold;">/</span>charles.tar.gz</pre></div></div>

</li>
<li>Extract the tarball:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">tar</span> xvzf charles.tar.gz</pre></div></div>

</li>
<li>Change into the binary directory for Charles and add execute permissions to the launcher script:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #7a0874; font-weight: bold;">cd</span> charles<span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span>
$ <span style="color: #c20cb9; font-weight: bold;">chmod</span> a+x charles.sh</pre></div></div>

</li>
<li>Launch Charles:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ .<span style="color: #000000; font-weight: bold;">/</span>charles.sh</pre></div></div>

</li>
<li>Cancel the Firefox proxy configuration dialog. It isn&#8217;t needed for PS3.</li>
<li>Go to &#8220;Tools&#8221; > &#8220;Proxy Settings&#8221; and ensure the HTTP Proxy is listening on port 8888.</li>
</ol>
<p>On PS3:</p>
<ol>
<li>Launch &#8220;Settings&#8221; > &#8220;Network Settings&#8221; > &#8220;Internet Connection Settings&#8221; again.</li>
<li>Use the same settings as before but under &#8220;Proxy Server&#8221; specify 10.42.43.1 as the address and 8888 as the port number.</li>
<li>Test the connection. Charles should display a prompt about PS3 accessing the Internet, select &#8220;Allow&#8221;.</li>
</ol>
<p>Just like before, ensure you can use the Internet Browse on PS3.</p>
<h3>Finding the addresses of authorization and update servers</h3>
<p>Restart your PS3 and try to sign in on PSN. Under the &#8220;Structure&#8221; tab in Charles you&#8217;ll see a server your console has communicated with during the process. For example, the &#8220;authentication&#8221; server is <code>https://auth.np.ac.playstation.net:443/</code>. In the list you&#8217;ll find the &#8220;update&#8221; server for your console (which differs from region to region). In my case, the update server was <code>http://feu01.ps3.update.playstation.net/</code>. Fire a console and find the IP addresses for both of these servers:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">dig</span> auth.np.ac.playstation.net</pre></div></div>

<blockquote><p>; &lt;&lt;&gt;&gt; DiG 9.7.2-P3-RedHat-9.7.2-5.P3.fc14 &lt;&lt;&gt;&gt; auth.np.ac.playstation.net<br />
;; global options: +cmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 8848<br />
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0</p>
<p>;; QUESTION SECTION:<br />
;auth.np.ac.playstation.net.	IN	A</p>
<p>;; ANSWER SECTION:<br />
auth.np.ac.playstation.net. 2893 IN	A	<strong>199.108.4.73</strong></p>
<p>;; Query time: 46 msec<br />
;; SERVER: 203.82.48.3#53(203.82.48.3)<br />
;; WHEN: Mon Feb 14 00:45:40 2011<br />
;; MSG SIZE  rcvd: 60
</p></blockquote>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">dig</span> feu01.ps3.update.playstation.net</pre></div></div>

<blockquote><p>; &lt;&lt;&gt;&gt; DiG 9.7.2-P3-RedHat-9.7.2-5.P3.fc14 &lt;&lt;&gt;&gt; feu01.ps3.update.playstation.net<br />
;; global options: +cmd<br />
;; Got answer:<br />
;; -&gt;&gt;HEADER&lt;&lt;- opcode: QUERY, status: NOERROR, id: 16539<br />
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 0</p>
<p>;; QUESTION SECTION:<br />
;feu01.ps3.update.playstation.net. IN	A</p>
<p>;; ANSWER SECTION:<br />
feu01.ps3.update.playstation.net. 3600 IN CNAME	a01.cdn.update.playstation.org.edgesuite.net.<br />
a01.cdn.update.playstation.org.edgesuite.net. 54582 IN CNAME playstation.sony.akadns.net.<br />
playstation.sony.akadns.net. 300 IN	CNAME	a192.d.akamai.net.<br />
a192.d.akamai.net.	20	IN	A	<strong>195.95.193.10</strong><br />
a192.d.akamai.net.	20	IN	A	<strong>195.95.193.100</strong></p>
<p>;; Query time: 952 msec<br />
;; SERVER: 203.82.48.4#53(203.82.48.4)<br />
;; WHEN: Mon Feb 14 00:49:07 2011<br />
;; MSG SIZE  rcvd: 203</p></blockquote>
<p>Jot down the server names and their IP addresses:</p>
<table align="center" summary="Intro" width="75%">
<tr>
<td align="center" colspan="2" class="cell">
auth.np.ac.playstation.net
</td>
<td align="center" colspan="2" class="cell">
199.108.4.73
</td>
</tr>
<tr>
<td align="center" colspan="2" class="cell">
feu01.ps3.update.playstation.net
</td>
<td align="center" colspan="2" class="cell">
195.95.193.10<br />
195.95.193.10
</td>
</tr>
</table>
<h3>Configuring the proxy server</h3>
<p>In Charles:</p>
<ol>
<li>Goto &#8220;Proxy&#8221; > &#8220;Reverse Proxies&#8221; and add two entries like this:
<p style="text-align: center; font-size: x-small"><a href="http://inspirated.com/uploads/charles-reverse-proxies.png"><img src="http://inspirated.com/uploads/charles-reverse-proxies-thumb.jpg" alt="Charles Reverse Proxies Screenshot" /></a><br />
(Click on the thumbnail for larger version.)</p>
</li>
<li>Download a spoofed <a href="http://inspirated.com/uploads/ps3-updatelist.txt">ps3-updatelist.txt</a>.</li>
<li>Goto &#8220;Tools&#8221; > &#8220;Map Local&#8221; and add the following entry (&#8220;Local Path&#8221; should point to the <code>ps3-updatelist.txt</code> you downloaded in the previous step):
<p style="text-align: center; font-size: x-small"><a href="http://inspirated.com/uploads/charles-map-local-add.png"><img src="http://inspirated.com/uploads/charles-map-local-add-thumb.jpg" alt="Charles Map Local Add Dialog Screenshot" /></a> <br />
<a href="http://inspirated.com/uploads/charles-map-local.png"><img src="http://inspirated.com/uploads/charles-map-local-thumb.jpg" alt="Charles Map Local Screenshot" /></a><br />
(Click on the thumbnails for larger version.)</p>
</li>
<li>Goto &#8220;Tools&#8221; > &#8220;Rewrite&#8221;, check &#8220;Enable Rewrite&#8221; and add a new set.</li>
<li>Use the following settings for location:
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/charles-rewrite-add-location.jpg" alt="Charles Rewrite Add Location Screenshot" /></p>
</li>
<li>And the following for rules:
<p style="text-align: center; font-size: x-small"><a href="http://inspirated.com/uploads/charles-rewrite-add-rule.png"><img src="http://inspirated.com/uploads/charles-rewrite-add-rule-thumb.jpg" alt="Charles Rewrite Add Rule Screenshot" /></a><br />
(Click on the thumbnail for larger version.)</p>
</li>
<li>The rewrite settings should now look like this:
<p style="text-align: center; font-size: x-small"><a href="http://inspirated.com/uploads/charles-rewrite.png"><img src="http://inspirated.com/uploads/charles-rewrite-thumb.jpg" alt="Charles Rewrite Screenshot" /></a><br />
(Click on the thumbnail for larger version.)</p>
</li>
<li>Go to &#8220;Proxy&#8221; > &#8220;Proxy Settings&#8221; > &#8220;SSL&#8221; and add the entry <code>auth.np.ac.playstation.net</code> in locations table.</li>
</ol>
<h3>Rebuilding Network Manager to mask PSN IPs</h3>
<p>This can be a PITA for Linux newbies. Network Manager uses <code>dnsmasq</code> but hardcodes the configuration. Leaving us without any way of affecting the shared connection&#8217;s behavior without recompiling the RPM. If people are really having trouble with this part I&#8217;ll upload the patched RPMs.</p>
<ol>
<li>Login as root:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">su</span> -</pre></div></div>

</li>
<li>Install build dependencies for Network Manager:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ yum-builddep NetworkManager</pre></div></div>

</li>
<li>Download and install the source RPM for NetworkManager:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ yumdownloader <span style="color: #660033;">--source</span> NetworkManager</pre></div></div>

</li>
<li>Install the source RPM:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ rpm <span style="color: #660033;">-ivh</span> NetworkManager-0.8.1-<span style="color: #000000;">10</span>.git20100831.fc14.src.rpm</pre></div></div>

<p>This will create a <code>rpmbuild</code> directory under the home directory for root.</p>
</li>
<li>Go to the <code>SOURCES</code> directory and download the patches:

<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>rpmbuild<span style="color: #000000; font-weight: bold;">/</span>SOURCES<span style="color: #000000; font-weight: bold;">/</span>
$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>inspirated.com<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span>nm-applet-remove-dialog-sep.patch
$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>inspirated.com<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span>nm-psn-access.patch</pre></div></div>

<p>The first patch is a minor bugfix which causes compile errors. The second patche spoofs the authentication server&#8217;s IP address to 10.42.43.1 instead of 199.108.4.73. If you got a different IP address for <code>auth.np.ac.playstation.net</code> earlier with the <code>dig</code> command edit the second patch accordingly.</p>
</li>
<li>Download and build the spec file:

<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>rpmbuild<span style="color: #000000; font-weight: bold;">/</span>SPECS<span style="color: #000000; font-weight: bold;">/</span>
$ <span style="color: #c20cb9; font-weight: bold;">wget</span> http:<span style="color: #000000; font-weight: bold;">//</span>inspirated.com<span style="color: #000000; font-weight: bold;">/</span>uploads<span style="color: #000000; font-weight: bold;">/</span>NetworkManager.spec
$ rpmbuild <span style="color: #660033;">-ba</span> NetworkManager.spec</pre></div></div>

<p>If everything goes fine, the built RPMs shall appear in <code>~/rpmbuild/RPMS/&lt;arch&gt;</code> directory.</p>
</li>
<li>Install the RPM:

<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>rpmbuild<span style="color: #000000; font-weight: bold;">/</span>RPMS<span style="color: #000000; font-weight: bold;">/</span>x86_64<span style="color: #000000; font-weight: bold;">/</span>
$ rpm <span style="color: #660033;">-Uvh</span> <span style="color: #660033;">--force</span> NetworkManager-0.8.1-<span style="color: #000000;">10</span>.git20100831.fc14.x86_64.rpm</pre></div></div>

</li>
<li>Restart Network Manager:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ service NetworkManager restart</pre></div></div>

</li>
</ol>
<h3>Installing the spoofed certificate on PS3</h3>
<p>The spoofed certificate Charles uses to intercept SSL traffic is in the docs directory of the tarball (<code>charles-proxy-ssl-proxying-certificate.crt</code>). Rename it to <code>CA02.cer</code>, put it on a USB stick and then head over to your console.</p>
<ol>
<li>Install the AsbestOS installer and Comgenie&#8217;s Awesome Filemanager.</li>
<li>Restart your PS3, launch the AsbestOS installer.</li>
<li>The installer shall quit with an error about lack of level 2 access, press X to exit to XMB.</li>
<li>Launch Comgenie&#8217;s Awesome Filemanager. You&#8217;ll see a new device called <code>/dev_rwflash</code> which is providing read/write support to PS3&#8242;s internal flash.</li>
<li>Move to <code>/dev_flash/data/cert</code>, backup <code>CA02.cer</code> on your USB drive and replace it with the Charles certificate.</li>
<li>Restart your PS3.</li>
</ol>
<h3>Gluing it all together</h3>
<p>So far:</p>
<ul>
<li>Fedora is sharing the Internet connection with PS3.</li>
<li>PS3 is using Charles as the proxy server.</li>
<li>Charles is all set to replace <code>ps3-updatelist.txt</code> as well as rewrite authentication headers.</li>
<li>NetworkManager is patched to mask the authentication server&#8217;s IP address to 10.42.43.1.</li>
<li>The <code>CA02.cer</code> certificate on PS3&#8242;s flash has been replaced by Charles&#8217; spoofed certificate.</li>
</ul>
<p>Try signing in to PSN now. You should see <code>ps3-updatelist.txt</code> file being mapped to the local version and <code>03.55</code> being replaced with <code>03.56</code> in the <code>auth.np.ac.playstation.net header</code>. If everything goes according to plan, this will be the result:</p>
<p style="text-align: center; font-size: x-small"><a href="http://inspirated.com/uploads/psn-ssl-trick.jpg"><img src="http://inspirated.com/uploads/psn-ssl-trick-thumb.jpg" alt="PSN SSL Trick Screenshot" /></a><br />
(Click on the thumbnail for larger version.)</p>
<div class="shr-publisher-331"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2011/02/14/howto-access-psn-on-ps3-3-55-firmwares-through-fedora">Permalink</a> |
<a href="http://inspirated.com/2011/02/14/howto-access-psn-on-ps3-3-55-firmwares-through-fedora#comments">2 comments</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/backups" rel="tag">Backups</a>, <a href="http://inspirated.com/tag/dns" rel="tag">DNS</a>, <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/networkmanager" rel="tag">NetworkManager</a>, <a href="http://inspirated.com/tag/piracy" rel="tag">Piracy</a>, <a href="http://inspirated.com/tag/playstation-3" rel="tag">Playstation 3</a>, <a href="http://inspirated.com/tag/ps3" rel="tag">PS3</a>, <a href="http://inspirated.com/tag/psgroove" rel="tag">PSGroove</a>, <a href="http://inspirated.com/tag/psn" rel="tag">PSN</a>, <a href="http://inspirated.com/tag/sony" rel="tag">Sony</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a>, <a href="http://inspirated.com/tag/workaround" rel="tag">Workaround</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2011/02/14/howto-access-psn-on-ps3-3-55-firmwares-through-fedora/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Beta Repository for making Firefox 4 coexist peacefully with 3.6 on Fedora 13</title>
		<link>http://inspirated.com/2010/07/18/beta-repository-for-making-firefox-4-coexist-peacefully-with-3-6-on-fedora-13</link>
		<comments>http://inspirated.com/2010/07/18/beta-repository-for-making-firefox-4-coexist-peacefully-with-3-6-on-fedora-13#comments</comments>
		<pubDate>Sun, 18 Jul 2010 16:45:07 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Repository]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Yum]]></category>

		<guid isPermaLink="false">http://inspirated.com/?p=306</guid>
		<description><![CDATA[Firefox 4 offers some compelling features such as HTML 5 improvements and a new add-on manager. Since it&#8217;s quite painstaking to compile the beta from source and quite messy to place pre-compiled binaries in system default folders (not to mention the compatibility checks and upgrade chores that would interrupt at each launch if you go [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Firefox 4 offers some compelling features such as HTML 5 improvements and a new add-on manager. Since it&#8217;s quite painstaking to compile the beta from source and quite messy to place pre-compiled binaries in system default folders (not to mention the compatibility checks and upgrade chores that would interrupt at each launch if you go back and forth between different versions), I created a repository at <a href="http://repo.inspirated.com/">repo.inspirated.com</a> which can be used to test the beta version without touching any 3.6 stable release already installed on the system:</p>
<p style="text-align: center; font-size: x-small;"><img src="http://inspirated.com/uploads/firefox-beta-menu.jpg" alt="Firefox 4 Beta 1 Menu Shortcut" /></p>
<p>To use the repository, issue the following commands:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">$ <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'wget http://repo.inspirated.com/inspirated.repo -O /etc/yum.repos.d/inspirated.repo'</span>
$ <span style="color: #c20cb9; font-weight: bold;">su</span> <span style="color: #660033;">-c</span> <span style="color: #ff0000;">'yum install firefox-beta'</span></pre></div></div>

<p>The beta refuses to run if an instance of old Firefox is already active. Therefore, close the older Firefox and then launch the 4.0b1 version using <code>firefox-beta</code> command or the &#8220;Firefox Beta&#8221; shortcut in the applications menu. A new profile shall be created at <code>~/.mozilla/firefox/beta/</code> in order to leave your older profile&#8217;s settings, bookmarks and extensions etc. intact.</p>
<p style="text-align: center; font-size: x-small"><a href="http://inspirated.com/uploads/firefox-beta-intro.png"><img src="http://inspirated.com/uploads/firefox-beta-intro-thumb.jpg" alt="Firefox 4 Beta 1 Screenshot" /></a><br />
(Click on the thumbnail for larger version.)</p>
<div class="shr-publisher-306"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2010/07/18/beta-repository-for-making-firefox-4-coexist-peacefully-with-3-6-on-fedora-13">Permalink</a> |
<a href="http://inspirated.com/2010/07/18/beta-repository-for-making-firefox-4-coexist-peacefully-with-3-6-on-fedora-13#comments">4 comments</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/beta" rel="tag">Beta</a>, <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/firefox" rel="tag">Firefox</a>, <a href="http://inspirated.com/tag/open-source" rel="tag">Open Source</a>, <a href="http://inspirated.com/tag/repository" rel="tag">Repository</a>, <a href="http://inspirated.com/tag/rpm" rel="tag">RPM</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a>, <a href="http://inspirated.com/tag/yum" rel="tag">Yum</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2010/07/18/beta-repository-for-making-firefox-4-coexist-peacefully-with-3-6-on-fedora-13/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Bookmark Undertaker v0.3 &#8212; Picking up the threads</title>
		<link>http://inspirated.com/2010/02/21/bookmark-undertaker-v0-3-picking-up-the-threads</link>
		<comments>http://inspirated.com/2010/02/21/bookmark-undertaker-v0-3-picking-up-the-threads#comments</comments>
		<pubDate>Sun, 21 Feb 2010 15:09:55 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Beautiful Soup]]></category>
		<category><![CDATA[Bookmark Undertaker]]></category>
		<category><![CDATA[Bookmarks]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Deb]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PyGTK]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Threading]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://inspirated.com/?p=265</guid>
		<description><![CDATA[Threads are love. Threads are speed. And more often than not, threads are a consistent PITA. However, I&#8217;ve had an accidental epiphany just a few hours ago: &#8220;When in doubt When you need to communicate among threads, use synchronized Queues.&#8221; There. This magic mantra will solve more issues in your life than you can ever [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Threads are love. Threads are speed. And more often than not, threads are a consistent <abbr title="Pain in the Ass">PITA</abbr>. However, I&#8217;ve had an accidental epiphany just a few hours ago:</p>
<blockquote><p>&#8220;<del datetime="2010-02-21T14:27:15+00:00">When in doubt</del> When you need to communicate among threads, use synchronized <a href="http://docs.python.org/library/queue.html">Queue</a>s.&#8221;</p></blockquote>
<p>There. This magic mantra will solve more issues in your life than you can ever imagine, and certainly more than I expected.</p>
<p>Getting back to the topic at hand, adding threading support to the program has sped up the bookmark checking process by a factor of about 435895234. Coupled with fixing of some parsing bugs, <a href="https://launchpad.net/bmundertaker/trunk/0.3">Bookmark Undertaker v0.3</a> is finally capable of providing a quick, stable and consistent way of sanitizing your Firefox favorites:</p>
<p style="text-align: center"><img src="http://inspirated.com/uploads/bmundertaker-0.3.jpg" alt="Boomark Undertaker v0.3 Screenshot" /></p>
<p>This time, I&#8217;ve also tried to provide <a href="http://launchpad.net/bmundertaker/trunk/0.3/+download/bmundertaker_0.3-1_all.deb">Deb</a> and <a href="http://launchpad.net/bmundertaker/trunk/0.3/+download/bmundertaker-0.3-1.noarch.rpm">RPM</a> packages on the release page for easy installation by the Debian/Ubuntu/Fedora populace.</p>
<p>Ushering in the era of communist applications:</p>
<blockquote><p>&#8220;If everyone gives one thread, the poor person will have a shirt.&#8221; &#8212; <em>Russian Proverb</em></p></blockquote>
<div class="shr-publisher-265"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2010/02/21/bookmark-undertaker-v0-3-picking-up-the-threads">Permalink</a> |
<a href="http://inspirated.com/2010/02/21/bookmark-undertaker-v0-3-picking-up-the-threads#comments">No comment</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/beautiful-soup" rel="tag">Beautiful Soup</a>, <a href="http://inspirated.com/tag/bookmark-undertaker" rel="tag">Bookmark Undertaker</a>, <a href="http://inspirated.com/tag/bookmarks" rel="tag">Bookmarks</a>, <a href="http://inspirated.com/tag/code" rel="tag">Code</a>, <a href="http://inspirated.com/tag/deb" rel="tag">Deb</a>, <a href="http://inspirated.com/tag/debian" rel="tag">Debian</a>, <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/firefox" rel="tag">Firefox</a>, <a href="http://inspirated.com/tag/mozilla" rel="tag">Mozilla</a>, <a href="http://inspirated.com/tag/open-source" rel="tag">Open Source</a>, <a href="http://inspirated.com/tag/pygtk" rel="tag">PyGTK</a>, <a href="http://inspirated.com/tag/python" rel="tag">Python</a>, <a href="http://inspirated.com/tag/red-hat" rel="tag">Red Hat</a>, <a href="http://inspirated.com/tag/rpm" rel="tag">RPM</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a>, <a href="http://inspirated.com/tag/threading" rel="tag">Threading</a>, <a href="http://inspirated.com/tag/ubuntu" rel="tag">Ubuntu</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2010/02/21/bookmark-undertaker-v0-3-picking-up-the-threads/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOWTO: Use PyS60&#8242;s Bluetooth Console on Fedora/Ubuntu/Debian Linux</title>
		<link>http://inspirated.com/2009/10/31/howto-use-pys60s-bluetooth-console-on-fedoraubuntudebian-linux</link>
		<comments>http://inspirated.com/2009/10/31/howto-use-pys60s-bluetooth-console-on-fedoraubuntudebian-linux#comments</comments>
		<pubDate>Sat, 31 Oct 2009 18:03:50 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Bluetooth]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Debugging]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Flag 42]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PyS60]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Series 60]]></category>
		<category><![CDATA[Symbian]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://inspirated.com/?p=250</guid>
		<description><![CDATA[While developing PyS60 apps is one of the most fun things you could do with your Nokia phone, debugging them isn&#8217;t as zippy as one would hope for in a Py development environment. To make up for that, PyS60 gives the developers an option for directly connecting to the interpreter through Bluetooth. Doesn&#8217;t sound very [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>While developing PyS60 apps is one of the most fun things you could do with your Nokia phone, debugging them isn&#8217;t as zippy as one would hope for in a Py development environment. To make up for that, PyS60 gives the developers an option for directly connecting to the interpreter through Bluetooth. Doesn&#8217;t sound very appealing? How about this: You connect your laptop with the cellphone, jump in at some place in the code while your app is executing and then use lappy&#8217;s big keyboard for exploiting different code and values in the interpreter. Sounds better?</p>
<p>To accomplish this on a Linux distro, you will need the following packages installed on your system:</p>
<table align="center" summary="Required packages" cellspacing="3" cellpadding="3">
<tr>
<th align="center" style="font-size: small; border: 1px dotted">Name</th>
<th align="center" style="font-size: small; border: 1px dotted">Links</th>
</tr>
<tr>
<td align="center" style="font-size: small; border: 1px dotted"><code>gnome-bluetooth</code></td>
<td align="center" style="font-size: small; border: 1px dotted">
<ul>
<li><a href="https://admin.fedoraproject.org/pkgdb/packages/name/gnome-bluetooth">Fedora</a></li>
<li><a href="http://packages.ubuntu.com/karmic/gnome-bluetooth">Ubuntu</a></li>
<li><a href="http://packages.debian.org/lenny/gnome-bluetooth">Debian</a></li>
</ul>
</td>
</tr>
<tr>
<td align="center" style="font-size: small; border: 1px dotted"><code>uucp</code>/<code>cu</code></td>
<td align="center" style="font-size: small; border: 1px dotted">
<ul>
<li><a href="https://admin.fedoraproject.org/pkgdb/packages/name/uucp">Fedora</a></li>
<li><a href="http://packages.ubuntu.com/karmic/cu">Ubuntu</a></li>
<li><a href="http://packages.debian.org/lenny/cu">Debian</a></li>
</ul>
</td>
</tr>
</table>
<p>After making sure that both are present on your system, <a href="http://wiki.opensource.nokia.com/projects/Installing_PyS60">install PyS60</a> on your phone if you haven&#8217;t already done so.</p>
<p>Now the fun part:</p>
<ol>
<li>Switch on Bluetooth in the cellphone.
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-mobile-1.jpg" alt="PyS60 Bluetooth HOWTO, Mobile screenshot #1" /></p>
</li>
<li>Launch <code>bluetooth-properties</code> and click on &#8220;Setup New Device&#8221;.
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-pc-1.jpg" alt="PyS60 Bluetooth HOWTO, PC screenshot #1" /></p>
</li>
<li>Select your cellphone.
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-pc-2.jpg" alt="PyS60 Bluetooth HOWTO, PC screenshot #2" /></p>
</li>
<li>You will be shown a pin.
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-pc-3.jpg" alt="PyS60 Bluetooth HOWTO, PC screenshot #3" /></p>
</li>
<li>Enter the pin when queried on the cellphone.
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-mobile-2.jpg" alt="PyS60 Bluetooth HOWTO, Mobile screenshot #2" /></p>
</li>
<li>The phone should be successfully paired.
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-pc-4.jpg" alt="PyS60 Bluetooth HOWTO, PC screenshot #4" /></p>
</li>
<li>Authorize your Linux system to make automatic connections to the phone.
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-mobile-3.jpg" alt="PyS60 Bluetooth HOWTO, Mobile screenshot #3" /></p>
</li>
<li>As <code>root</code>, run <a href="http://inspirated.com/uploads/rfcomm-listen.sh">this</a> shell script:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>orthanc ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ./rfcomm-listen.sh</span></pre></div></div>

<blockquote><p>Serial Port service registered<br />
Waiting for connection on channel 2
</p></blockquote>
</li>
<li>Launch PyS60 interpreter and select &#8220;Bluetooth Console&#8221; from the application menu.
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-mobile-4.jpg" alt="PyS60 Bluetooth HOWTO, Mobile screenshot #4" /></p>
</li>
<li>Select your Linux machine.
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-mobile-5.jpg" alt="PyS60 Bluetooth HOWTO, Mobile screenshot #5" /></p>
<p>The command you ran in previous step should have <strong>new</strong> output:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>orthanc ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ./rfcomm-listen.sh</span></pre></div></div>

<blockquote><p>Serial Port service registered<br />
Waiting for connection on channel 2<br />
<strong>Connection from 00:17:4B:B6:35:31 to /dev/rfcomm0<br />
Press CTRL-C for hangup</strong>
</p></blockquote>
<p>The cellphone screen should be showing something like this:</p>
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-mobile-6.jpg" alt="PyS60 Bluetooth HOWTO, Mobile screenshot #6" /></p>
</li>
<li>As <code>root</code> again, open a new terminal and run:

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>orthanc ~<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># cu -l /dev/rfcomm0</span></pre></div></div>

<blockquote><p>Connected.</p></blockquote>
</li>
<li>Hit Enter till prompt (<code>>>></code>) appears, then type:<br />
<blockquote><p>&gt;&gt;&gt; import appuifw<br />
&gt;&gt;&gt; appuifw.query(u&#39;Hello World&#39;, &#39;text&#39;)</p></blockquote>
</li>
<li>Viola, you should have an input box on the mobile screen:
<p style="text-align: center; font-size: x-small"><img src="http://inspirated.com/uploads/pys60-rfcomm-mobile-7.jpg" alt="PyS60 Bluetooth HOWTO, Mobile screenshot #7" /></p>
</li>
<li>Enter any text and press the OK key. It should be show up in the terminal you were using to type in code:<br />
<blockquote><p>&gt;&gt;&gt; import appuifw<br />
&gt;&gt;&gt; appuifw.query(u&#39;Hello World&#39;, &#39;text&#39;)<br />
<strong>u&#8217;Finally&#8217;</strong></p></blockquote>
</li>
<li>Exit the interpreter by typing <code>CTRL+D</code> on an empty line:<br />
<blockquote><p>&gt;&gt;&gt; import appuifw<br />
&gt;&gt;&gt; appuifw.query(u&#39;Hello World&#39;, &#39;text&#39;)<br />
u&#8217;Finally&#8217;<br />
&gt;&gt;&gt;<br />
<strong>Interactive interpreter finished.<br />
cu: Got hangup signal</strong></p>
<p><strong>Disconnected.</strong>
</p></blockquote>
</li>
</ol>
<p>Pat yourself on the back. Now, you can use your Bluetooth console to <code>import</code> your modules, execute some stuff and then jump in the middle to test some extra lines or values. In fact, I found it to be a pretty darned good way of learning about PyS60&#8242;s API. Res secundae!</p>
<div class="shr-publisher-250"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2009/10/31/howto-use-pys60s-bluetooth-console-on-fedoraubuntudebian-linux">Permalink</a> |
<a href="http://inspirated.com/2009/10/31/howto-use-pys60s-bluetooth-console-on-fedoraubuntudebian-linux#comments">4 comments</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/bluetooth" rel="tag">Bluetooth</a>, <a href="http://inspirated.com/tag/code" rel="tag">Code</a>, <a href="http://inspirated.com/tag/debian" rel="tag">Debian</a>, <a href="http://inspirated.com/tag/debugging" rel="tag">Debugging</a>, <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/flag-42" rel="tag">Flag 42</a>, <a href="http://inspirated.com/tag/linux" rel="tag">Linux</a>, <a href="http://inspirated.com/tag/mobile" rel="tag">Mobile</a>, <a href="http://inspirated.com/tag/nokia" rel="tag">Nokia</a>, <a href="http://inspirated.com/tag/open-source" rel="tag">Open Source</a>, <a href="http://inspirated.com/tag/pys60" rel="tag">PyS60</a>, <a href="http://inspirated.com/tag/python" rel="tag">Python</a>, <a href="http://inspirated.com/tag/series-60" rel="tag">Series 60</a>, <a href="http://inspirated.com/tag/symbian" rel="tag">Symbian</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a>, <a href="http://inspirated.com/tag/tutorial" rel="tag">Tutorial</a>, <a href="http://inspirated.com/tag/ubuntu" rel="tag">Ubuntu</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2009/10/31/howto-use-pys60s-bluetooth-console-on-fedoraubuntudebian-linux/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Fedora Software Patents FAQ</title>
		<link>http://inspirated.com/2009/08/18/fedora-software-patents-faq</link>
		<comments>http://inspirated.com/2009/08/18/fedora-software-patents-faq#comments</comments>
		<pubDate>Tue, 18 Aug 2009 15:48:45 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Patents]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://inspirated.com/?p=237</guid>
		<description><![CDATA[Going through the Planet Fedora feed, I spotted this excellent write-up which tries to explain Fedora-related patent questions such as &#8220;why the $*#@ won&#8217;t Red Hat give us MP3 playback support&#8220;. I would be straight-down lying if I said that the article offered nothing new to me. In fact, some answers, such as this one [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Going through the Planet Fedora feed, I spotted <a href="http://fedoraproject.org/wiki/Software_Patents">this</a> excellent write-up which tries to explain Fedora-related patent questions such as &#8220;<em>why the $*#@ won&#8217;t Red Hat give us MP3 playback support</em>&#8220;. I would be straight-down lying if I said that the article offered nothing new to me. In fact, some answers, such as this one &#8230; :</p>
<blockquote><p>Patent licenses are usually granted via payment of royalty based on the number of users. Since Fedora is free and open source software, the effective number of users is essentially unrestricted. Patent holders are generally unwilling to give a blanket patent license for unlimited use, and the royalty payments for these licenses would be too high to purchase them outright. Proprietary operating systems like Microsoft Windows include the cost of the patent license as part of the product being sold to the end users. Fedora is not sold commercially, so there is no way to recoup these substantial expenses. Even assuming funds are available to do so, licenses such as the GPL require a written patent grant (in regions where software patents are enforced) compatible with royalty free distribution and modification. Since meeting this requirement effectively nullifies the effect of a patent, patent holders are also generally unwilling to do this.</p></blockquote>
<p>&#8230; clarified in my mind a few long-held confusions about Fedora&#8217;s reluctance regarding patent infringement. For the general user, <a href="http://rpmfusion.org/">RPM Fusion</a> works around all that crap; but a read of the linked FAQ is recommended nevertheless for having an idea about the issues inherently involved with seemingly simple tasks such as playing DVDs.</p>
<div class="shr-publisher-237"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2009/08/18/fedora-software-patents-faq">Permalink</a> |
<a href="http://inspirated.com/2009/08/18/fedora-software-patents-faq#comments">No comment</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/linux" rel="tag">Linux</a>, <a href="http://inspirated.com/tag/open-source" rel="tag">Open Source</a>, <a href="http://inspirated.com/tag/patents" rel="tag">Patents</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2009/08/18/fedora-software-patents-faq/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The highs and lows of Leonidas &#8212; This. Is. Fedora!</title>
		<link>http://inspirated.com/2009/06/27/the-highs-and-lows-of-leonidas-this-is-fedora</link>
		<comments>http://inspirated.com/2009/06/27/the-highs-and-lows-of-leonidas-this-is-fedora#comments</comments>
		<pubDate>Fri, 26 Jun 2009 19:43:00 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Leonidas]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PulseAudio]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://www.inspirated.com/wordpress/?p=223</guid>
		<description><![CDATA[There is a reason why I never evangelize Fedora much: it&#8217;s far from perfect. There is also a reason why I use Fedora for my everyday Linux-ing: it&#8217;s good when it starts working. The two seemingly conflicting viewpoints are not mutually exclusive, since Fedora&#8217;s instability as well as its appeal can be termed in one [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>There is a reason why I never evangelize Fedora much: it&#8217;s <em>far</em> from perfect. There is also a reason why I use Fedora for my everyday Linux-ing: it&#8217;s good when it starts working. The two seemingly conflicting viewpoints are not mutually exclusive, since Fedora&#8217;s instability as well as its appeal can be termed in one word: <em>bleeding-edge</em>.</p>
<p>The biannual cycle of backup-reinstall-reconfigure for each new Fedora release works fine for me. It takes a day or two to get everything back to the way want them to be, but the trade-off is almost always worth it. Consider this, upgrading from a Fedora version to the next will almost <em>never</em> work seamlessly. Nevertheless, the re-installation mantra allowed me to use PulseAudio&#8217;s &#8220;perfect&#8221; setup much before most of the other distros&#8217; users. The fact that I got a clean start for the new sound architecture also explains why I never had any incompatibility issues with it and consequently, my status as one of its huge fans.</p>
<p>Another reason why I&#8217;m still hanging on to Fedora is because of the familiarity factor, as I no longer have the ample time for trying out newer distributions just for the sake of it. Linux From Scratch was a mighty fun experience, but keeping it up-to-date was nothing short of a Herculean task. Gentoo sounds very appealing, but I don&#8217;t want to download a DVD, go through the hassle of installing and getting familiar with the new distro and then <code>emerge</code> a whole universe of updates on an internet connection as reliable as Fedora on Hurd. The perfect solution would be to install a new release of Gentoo but unfortunately, it&#8217;s been over an year now since I started waiting for one.</p>
<p>Which brings us to Fedora 11 &#8212; lovingly nicknamed after everyone&#8217;s favorite Spartan king.</p>
<p>The predominant aspects of the new release which affect me as a user are the <a href="https://fedoraproject.org/wiki/Features/Ext4DefaultFs">Ext4 filesystem</a> and the <a href="https://fedoraproject.org/wiki/Features/IntelKMS">Kernel Modesetting</a> feature. So far, I am not even using the former. Yes, yes, I know I bragged about bleeding-edge before, but let me explain why I did not go for it in this particular case:</p>
<ul>
<li>Filesystem is the most critical aspect of a system for me. I can toy around and experiment with everything but this holy grail. If my audio fails, I can try fixing it. If X stops working, ditto. If my data is corrupted, I&#8217;m FUBAR.</li>
<li>Anaconda crashed when I tried to update the boot-loader configuration for a system with Ext4 partitions.</li>
<li>I couldn&#8217;t find a way to use Ext4 without using the Logical Volume Manager. I like my partitions as <code>/dev/sdaX</code> and entries such as <code>/dev/mapper/yourmom/blahblahblah/finallythedrive</code> in the <code>fstab</code> file turn me off.</li>
</ul>
<p>Nevertheless, KMS made up for the Ext4 &#8212; or lack thereof.</p>
<ul>
<li>Booting is now prettier.</li>
<li>Working in runlevel 3 is so much more efficient because of all the extra space provided by higher resolution.</li>
<li>Switching virtual terminals and X sessions is a breeze.</li>
<li>Suspend/Resume is a bit more stable.</li>
</ul>
<p>Other significant changes include Xfce 4.6,  Firefox 3.5 and the reworked volume management in Pulse. Overall, I&#8217;m pretty satisfied with my decision to upgrade, and here&#8217;s to the hoping that the next 6 months will go as smooth as the previous ones.</p>
<div class="shr-publisher-223"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2009/06/27/the-highs-and-lows-of-leonidas-this-is-fedora">Permalink</a> |
<a href="http://inspirated.com/2009/06/27/the-highs-and-lows-of-leonidas-this-is-fedora#comments">One comment</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/leonidas" rel="tag">Leonidas</a>, <a href="http://inspirated.com/tag/linux" rel="tag">Linux</a>, <a href="http://inspirated.com/tag/open-source" rel="tag">Open Source</a>, <a href="http://inspirated.com/tag/pulseaudio" rel="tag">PulseAudio</a>, <a href="http://inspirated.com/tag/red-hat" rel="tag">Red Hat</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2009/06/27/the-highs-and-lows-of-leonidas-this-is-fedora/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Video: The Centenary Rant &#8212; X11tasy</title>
		<link>http://inspirated.com/2009/03/19/video-the-centenary-rant-x11tasy</link>
		<comments>http://inspirated.com/2009/03/19/video-the-centenary-rant-x11tasy#comments</comments>
		<pubDate>Thu, 19 Mar 2009 14:10:43 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Compiz-Fusion]]></category>
		<category><![CDATA[Cube]]></category>
		<category><![CDATA[Eye-candy]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[X]]></category>
		<category><![CDATA[X.org]]></category>
		<category><![CDATA[Youtube]]></category>

		<guid isPermaLink="false">http://www.inspirated.com/wordpress/?p=202</guid>
		<description><![CDATA[The 100th post, and considering that the most popular ones on the blog so far have been screencasts, there wouldn&#8217;t have been a better way to commemorate the occasion than editing a short music-video which would demonstrate the prowess of Linux on desktop. Permalink &#124; One comment Post tags: Compiz-Fusion, Cube, Eye-candy, Fedora, Linux, Open [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>The 100th post, and considering that the most popular ones on the blog so far have been screencasts, there wouldn&#8217;t have been a better way to commemorate the occasion than editing a short music-video which would demonstrate the prowess of Linux on desktop.</p>
<div style="text-align:center"><object type="application/x-shockwave-flash" style="width: 425px; height: 350px;" data="http://www.youtube.com/v/jSUtUhaQTv4"><param name="movie" value="http://www.youtube.com/v/jSUtUhaQTv4"></param></object></div>
<div class="shr-publisher-202"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2009/03/19/video-the-centenary-rant-x11tasy">Permalink</a> |
<a href="http://inspirated.com/2009/03/19/video-the-centenary-rant-x11tasy#comments">One comment</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/compiz-fusion" rel="tag">Compiz-Fusion</a>, <a href="http://inspirated.com/tag/cube" rel="tag">Cube</a>, <a href="http://inspirated.com/tag/eye-candy" rel="tag">Eye-candy</a>, <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/linux" rel="tag">Linux</a>, <a href="http://inspirated.com/tag/open-source" rel="tag">Open Source</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a>, <a href="http://inspirated.com/tag/video" rel="tag">Video</a>, <a href="http://inspirated.com/tag/x" rel="tag">X</a>, <a href="http://inspirated.com/tag/xorg" rel="tag">X.org</a>, <a href="http://inspirated.com/tag/youtube" rel="tag">Youtube</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2009/03/19/video-the-centenary-rant-x11tasy/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HOWTO: Use USB devices in Virtual Machine Manager with QEMU</title>
		<link>http://inspirated.com/2009/03/15/howto-use-usb-devices-in-virtual-machine-manager-with-qemu</link>
		<comments>http://inspirated.com/2009/03/15/howto-use-usb-devices-in-virtual-machine-manager-with-qemu#comments</comments>
		<pubDate>Sun, 15 Mar 2009 10:09:03 +0000</pubDate>
		<dc:creator>krkhan</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Nokia]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[PC Suite]]></category>
		<category><![CDATA[QEMU]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[Virtual Machine Manager]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.inspirated.com/wordpress/?p=200</guid>
		<description><![CDATA[Every once a while, I need to take the backup of my Nokia N72 using PC Suite. Since the task had to be performed on Windows, I expected my virtualized machine to be able to do so. Unfortunately, Virtual Machine Manager does not provide any option in its interface which would allow me to use [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Every once a while, I need to take the backup of my Nokia N72 using PC Suite. Since the task had to be performed on Windows, I expected my virtualized machine to be able to do so. Unfortunately, <a href="http://virt-manager.et.redhat.com/">Virtual Machine Manager</a> does not provide any option in its interface which would allow me to use my USB devices in virtualized machines. Going through the documentation though, here&#8217;s the method through which I was able to solve my issue.</p>
<p>First of all, you should have the vendor and product ID&#8217;s of the USB device you want to use. Sounds alien? Use the command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>user<span style="color: #000000; font-weight: bold;">@</span>host ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ lsusb</pre></div></div>

<p>Which will show you something like:</p>
<blockquote><p>Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
Bus 004 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)<br />
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
Bus 003 Device 003: ID <strong>0421:04c4</strong> Nokia Mobile Phones<br />
Bus 003 Device 002: ID 09da:000a A4 Tech Co., Ltd Port Mouse<br />
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub</p></blockquote>
<p>The <strong>bold</strong> numbers in the line containing &#8220;<em>Nokia Mobile Phones</em>&#8221; are the vendor and product IDs respectively. Once you&#8217;ve noted them down for your required device (in my case: <code>0x421</code> and <code>0x4c4</code>), list the virtual machines&#8217; configuration files:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>user<span style="color: #000000; font-weight: bold;">@</span>host ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>libvirt<span style="color: #000000; font-weight: bold;">/</span>qemu</pre></div></div>

<blockquote><p>networks  windoze.xml</p></blockquote>
<p>My virtual machine was named &#8220;windoze&#8221;, so windoze.xml is the file that I need to edit:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>user<span style="color: #000000; font-weight: bold;">@</span>host ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> gedit <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>libvirt<span style="color: #000000; font-weight: bold;">/</span>qemu<span style="color: #000000; font-weight: bold;">/</span>windoze.xml</pre></div></div>

<p>In the editor, add the <strong>highlighted</strong> <code>hostdev</code> lines under the devices section (replacing the vendor and product IDs with the ones noted down from <code>lsusb</code> output):</p>
<blockquote><p>  &lt;devices&gt;<br />
    &lt;emulator&gt;/usr/bin/qemu-kvm&lt;/emulator&gt;<br />
<strong>    &lt;hostdev mode=&#39;subsystem&#39; type=&#39;usb&#39;&gt;<br />
      &lt;source&gt;<br />
        &lt;vendor id=&#39;<em>0&#120;0421</em>&#39; /&gt;<br />
        &lt;product id=&#39;<em>0&#120;04c4</em>&#39; /&gt;<br />
      &lt;/source&gt;<br />
    &lt;/hostdev&gt;</strong></p></blockquote>
<p>Save and close the file. Restart the service:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>user<span style="color: #000000; font-weight: bold;">@</span>host ~<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">sudo</span> service libvirtd restart</pre></div></div>

<p>If everything went smoothly, the USB device should now be accessible from within the virtual machine:</p>
<p style="text-align: center; font-size: x-small"><a href="http://inspirated.com/uploads/virt-pc-suite.png"><img src="http://inspirated.com/uploads/virt-pc-suite-thumb.jpg" alt="Screenshot of Nokia PC Suite connected to a USB device in virtualized Windows" /></a><br />
(Click on the thumbnail for larger version.)</p>
<div class="shr-publisher-200"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><hr />
<p><small><a href="http://inspirated.com/2009/03/15/howto-use-usb-devices-in-virtual-machine-manager-with-qemu">Permalink</a> |
<a href="http://inspirated.com/2009/03/15/howto-use-usb-devices-in-virtual-machine-manager-with-qemu#comments">11 comments</a>
<br/>
Post tags: <a href="http://inspirated.com/tag/fedora" rel="tag">Fedora</a>, <a href="http://inspirated.com/tag/kvm" rel="tag">KVM</a>, <a href="http://inspirated.com/tag/linux" rel="tag">Linux</a>, <a href="http://inspirated.com/tag/nokia" rel="tag">Nokia</a>, <a href="http://inspirated.com/tag/open-source" rel="tag">Open Source</a>, <a href="http://inspirated.com/tag/pc-suite" rel="tag">PC Suite</a>, <a href="http://inspirated.com/tag/qemu" rel="tag">QEMU</a>, <a href="http://inspirated.com/tag/technology" rel="tag">Technology</a>, <a href="http://inspirated.com/tag/tutorial" rel="tag">Tutorial</a>, <a href="http://inspirated.com/tag/usb" rel="tag">USB</a>, <a href="http://inspirated.com/tag/virtual-machine-manager" rel="tag">Virtual Machine Manager</a>, <a href="http://inspirated.com/tag/virtualization" rel="tag">Virtualization</a>, <a href="http://inspirated.com/tag/windows" rel="tag">Windows</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>http://inspirated.com/2009/03/15/howto-use-usb-devices-in-virtual-machine-manager-with-qemu/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 2.176 seconds -->

