<?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>Fernandez de Quilon &#187; openSuSe</title>
	<atom:link href="http://www.jefferyfernandez.id.au/category/linux/opensuse/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jefferyfernandez.id.au</link>
	<description>between flat screens and grey matter</description>
	<lastBuildDate>Sat, 28 Aug 2010 04:28:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Arduino IDE on 64bit openSUSE</title>
		<link>http://www.jefferyfernandez.id.au/2008/04/21/arduino-ide-on-64bit-opensuse/</link>
		<comments>http://www.jefferyfernandez.id.au/2008/04/21/arduino-ide-on-64bit-opensuse/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 23:34:12 +0000</pubDate>
		<dc:creator>Jeffery</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[openSuSe]]></category>
		<category><![CDATA[arduino]]></category>
		<category><![CDATA[ftdi]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[rxtx]]></category>
		<category><![CDATA[ser2net]]></category>
		<category><![CDATA[usbserial]]></category>

		<guid isPermaLink="false">http://www.jefferyfernandez.id.au/?p=69</guid>
		<description><![CDATA[Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It&#8217;s an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software &#8230; <a href="http://www.jefferyfernandez.id.au/2008/04/21/arduino-ide-on-64bit-opensuse/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a title="Arduino" href="http://www.arduino.cc/" target="_blank"><img class="align-left alignleft" style="float: left;" title="Arduino Board" src="http://www.jefferyfernandez.id.au/wp-content/uploads/2008/02/arduino.jpg" alt="Arduino Board" width="200" height="139" />Arduino</a> is a tool for making computers that can sense and control more of the physical world than your desktop computer. It&#8217;s an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board.</p>
<p>Unfortunately the serial port  communication driver (RXTX) which comes with the arduino download is not 64 bit compatible. I will describe here how I successfully compiled &amp; installed the driver  to get the Arduino IDE running on a 64 bit openSUSE installation. Most of the instructions should be pretty straight forward to be replicated on an other rpm based distribution. For ubuntu/debain based distributions, you can find the <a title="Arduino IDE on 64 bit Ubuntu Gutsy" href="http://myy.helia.fi/~karte/arduino_editor_on_64_bit_ubuntu_gutsy.html" target="_blank">instructions provided by Tero Karvinen</a> useful.</p>
<h3>Packages Required for Arduino IDE</h3>
<p>The following packages are required to run the Arduino IDE:</p>
<ul>
<li> java-1_5_0-sun</li>
<li> cross-avr-gcc</li>
<li> cross-avr-binutils</li>
<li> avr-libc</li>
</ul>
<h3>Linux USB Serial Converter Driver</h3>
<p>Besides the above software, you will also need a compatible kernel. This means version 2.6.x or at least 2.4.30. For example, it needs USB serial support with the <a title="Future Technology Devices International" href="http://ftdi-usb-sio.sourceforge.net/" target="_blank">FTDI</a> driver. After connecting an Arduino board to your computer via an <a title="Types of USB Connectors" href="http://en.wikipedia.org/wiki/Universal_Serial_Bus#Types_of_USB_connectors" target="_blank">AB USB cable</a>, it should load the ftdi modules automatically. Ensure <em>ftdi_sio</em> and <em>usbserial</em> modules are loaded by executing:</p>
<pre class="usercommand">lsmod | grep ftdi</pre>
<p>It should return output similar to whats shown below:</p>
<pre class="shelloutput">ftdi_sio               54280  0
usbserial              52688  1 ftdi_sio
usbcore               156456  6 ftdi_sio,usbserial,usbhid,ohci_hcd,ehci_hcd</pre>
<p>If not, as root, run:</p>
<pre class="rootcommand">modprobe ftdi_sio</pre>
<p>If there are no errors from the above command, then the module is loaded successfully.</p>
<h3>System Requirements</h3>
<p>The Arduino IDE is java based and RXTX [2] is a native java library providing serial and parallel communication for the Java Development Toolkit. The RXTX lib uses lock files by default. So Before you use lock files you need to do one of two things:</p>
<ol>
<li>Be the <strong>root</strong> or <strong>uucp</strong> user on your machine whenever you use rxtx</li>
<li>Or add the specific user that needs to use rxtx to the group uucp. (preferred)</li>
</ol>
<p>Add your user account to the <strong>uucp</strong> group by going to <strong>yast2</strong> &gt; <strong>Security and Users</strong> &gt; <strong>User Management</strong>. Once you have added yourself to the group, you will need to restart your session to make it affective. Once you are in the new session, verify that your account belongs to the uucp group by executing &#8220;groups&#8221; on the shell. It should give return you a list of groups your account belongs to.</p>
<h3><span id="more-69"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-5896900602713932";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-10-07: general
google_ad_channel = "5562041263";
//-->
</script><br />
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>Packages required for building rxtx-java</h3>
<ul>
<li>autoconf</li>
<li>automake</li>
<li>libtool</li>
<li>gnu make</li>
<li>gcc</li>
<li>jdk &gt; 1.3 or java-1_5_0-sun-devel</li>
<li>checkinstall (optional)</li>
</ul>
<p>After installing the necessary libraries, you can download and start building the library with the following commands:</p>
<pre class="usercommand">wget http://rxtx.qbang.org/pub/rxtx/rxtx-2.1-7r2.zip</pre>
<pre class="usercommand">unzip rxtx-2.1-7r2.zip</pre>
<pre class="usercommand">cd rxtx-2.1-7r2</pre>
<pre class="usercommand">export JAVA_HOME=/usr/lib64/jvm/java-1.5.0-sun/</pre>
<pre class="usercommand">./configure</pre>
<pre class="usercommand">make</pre>
<p>Once the libraries are built, you can install them by following either one of the following two methods:</p>
<ol>
<li>Build an RPM package with the help of <a title="Checkinstall to the rescue" href="http://www.jefferyfernandez.id.au/2006/05/19/checkinstall-to-the-rescue/" target="_blank">checkinstall<br />
</a>(preferred)</li>
<li>Copy the libs to the arduino libs folder.</li>
</ol>
<p>If you are opting for the checkinstall method, I suggest to name the package rxtx-java. You can then install the package using normal rpm commands. Once you have done that, you need to determine the path to the libraries. Execute the following to obtain the Path to the rxtx libraries:</p>
<pre>rpm -ql librxtx-java | grep RXTXcomm.jar
/usr/java/jdk1.5.0_06/jre/lib/ext/RXTXcomm.jar</pre>
<p>We will now remember to add the path (&#8216;/usr/java/jdk1.5.0_06/jre/&#8217;) to the arduino bootstrap script.</p>
<p>To install the libraries the second way, you can copy the compiled RXTXcomm.jar and librxtxSerial.so files to the arduino lib directory. The libs are built and placed into &#8220;x86_64-unknown-linux-gnu/.libs/&#8221; folder while the jar file should be in the same folder you are in.</p>
<h3>Setting up the Arduino IDE</h3>
<p>Download and untar the Arduino IDE from <a title="Arduino IDE" href="http://www.arduino.cc/en/Main/Software" target="_blank">Arduino Software page</a></p>
<pre class="usercommand">wget http://www.arduino.cc/files/arduino-0010-linux.tgz &amp;&amp; \
tar -xvzf arduino-0010-linux.tgz</pre>
<p>In the arduino/tools directory, make symlinks:</p>
<pre class="usercommand">cd arduino-0010/hardware/tools</pre>
<pre class="usercommand"> ln -s /opt/cross/bin/avr-gcc avr-gcc &amp;&amp; \
ln -s /opt/cross/bin/avr-g++ avr-g++ &amp;&amp; \
ln -s /opt/cross/bin/avr-objcopy avr-objcopy &amp;&amp; \
ln -s /opt/cross/bin/avr-objdump avr-objdump &amp;&amp; \
ln -s /opt/cross/bin/avr-size avr-size</pre>
<p>Copy the compiled RxTx-java libray into the arduino-0010/lib folder. Before doing so rename the existing libraries.</p>
<pre class="usercommand">cd ../../lib/</pre>
<pre class="usercommand">mv librxtxSerial.so librxtxSerial.so.DISABLED</pre>
<pre class="usercommand">mv RXTXcomm.jar RXTXcomm.jar.DISABLED</pre>
<p>Now copy the freshly compiled rxtx libraries into this folder</p>
<pre class="usercommand">cp ../../rxtx-2.1-7r2/x86_64-unknown-linux-gnu/.libs/librxtxSerial.so .</pre>
<pre class="usercommand">cp ../../rxtx-2.1-7r2/RXTXcomm.jar .</pre>
<p>Once you have copied the library and jar file, you are ready to execute the arduino bootstrap script to launch the Arduino IDE.</p>
<pre class="usercommand">./arduino
Experimental:  JNI_OnLoad called.
Stable Library
=========================================
Native lib Version = RXTX-2.1-7
Java lib Version   = RXTX-2.1-7</pre>
<h3>The Arduino IDE</h3>
<p><img class="align-center" title="Arduino IDE" src="http://www.jefferyfernandez.id.au/wp-content/uploads/2008/02/arduino_ide.png" alt="Arduino IDE" width="500" height="600" /></p>
<h4>Resources</h4>
<ol>
<li><a title="Arduino" href="http://www.arduino.cc" target="_blank">http://www.arduino.cc</a></li>
<li><a title="RXTX" href="http://www.rxtx.org" target="_blank">http://www.rxtx.org</a></li>
<li><a title="Future Technology Devices International" href="http://ftdi-usb-sio.sourceforge.net/" target="_blank">http://ftdi-usb-sio.sourceforge.net/</a></li>
<li><a title="Future Technology Devices International" href="http://www.ftdichip.com/Drivers/3rdPartyDrivers.htm" target="_blank">http://www.ftdichip.com/Drivers/3rdPartyDrivers.htm</a></li>
<li>serproxy: <a title="Serial Proxy" href="http://www.lspace.nildram.co.uk/freeware.html" target="_blank">http://www.lspace.nildram.co.uk/freeware.html</a></li>
<li>ser2net: <a title="ser2net" href="http://ser2net.sourceforge.net" target="_blank">http://ser2net.sourceforge.net</a></li>
<li>Java Comm Serial API How-To for Linux: <a title="Java Comm Serial API How-To for Linux" href="http://wass.homelinux.net/howtos/Comm_How-To.shtml" target="_blank">http://wass.homelinux.net/howtos/Comm_How-To.shtml</a></li>
</ol>
<div style="float:left;margin:0px 0px 0px 0px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jefferyfernandez.id.au/2008/04/21/arduino-ide-on-64bit-opensuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openSUSE &#8220;Packaging Day II&#8221;</title>
		<link>http://www.jefferyfernandez.id.au/2008/03/15/opensuse-packaging-day-ii/</link>
		<comments>http://www.jefferyfernandez.id.au/2008/03/15/opensuse-packaging-day-ii/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 09:45:27 +0000</pubDate>
		<dc:creator>Jeffery</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[openSuSe]]></category>
		<category><![CDATA[openSUSE build service]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://www.jefferyfernandez.id.au/?p=73</guid>
		<description><![CDATA[Ever had problems finding a package for your favorite application for your favorite distro? Are you an application developer or project contributor, and want to learn how to provide binary packages for all the popular distros (including openSUSE) automatically? Using &#8230; <a href="http://www.jefferyfernandez.id.au/2008/03/15/opensuse-packaging-day-ii/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="https://build.opensuse.org/"><img style="float: left;" src="http://www.jefferyfernandez.id.au/wp-content/uploads/2008/03/logo-buildservice.png" rel="attachment wp-att-74" alt="openSUSe Build Service logo" title="openSUSe Build Service logo" class="align-left alignleft" height="75" width="127" /></a>Ever had problems finding a package for your favorite application for your favorite distro? Are you an application developer or project contributor, and want to learn how to provide binary packages for all the popular distros (including <a target="_blank" title="openSUSE Linux Distribution" href="http://en.opensuse.org/Welcome_to_openSUSE.org">openSUSE</a>) automatically?</p>
<p>Using the <a target="_blank" title="openSUSE Build Service" href="http://build.opensuse.org">openSUSE Build Service</a>, you can provide software packages for most popular Linux distros using one single service. Rather than maintaining separate systems to build packages, you can take advantage of the openSUSE Build Service and let it do most of the work.</p>
<p>To learn how to leverage the build service, join the openSUSE community on April 4th and 5th on <a target="_blank" title="Internet Relay Chat" href="http://en.wikipedia.org/wiki/IRC">IRC</a> to hone your package building skills. The <i><b>Packaging Days II</b></i> event will be held on Freenode at #opensuse-buildservice. Community members will be standing by to provide support and answer questions about using the build service and creating packages.</p>
<p>Find out more about the <i><b>Packaging Days II</b></i> event at: <a target="_blank" href="http://en.opensuse.org/Packaging/Packaging_Day" title="http://en.opensuse.org/Packaging/Packaging_Day">http://en.opensuse.org/Packaging/Packaging_Day</a></p>
<div style="float:left;margin:0px 0px 0px 0px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jefferyfernandez.id.au/2008/03/15/opensuse-packaging-day-ii/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>qBittorrent v1.0.0 Release</title>
		<link>http://www.jefferyfernandez.id.au/2007/10/28/qbittorrent-v100-release/</link>
		<comments>http://www.jefferyfernandez.id.au/2007/10/28/qbittorrent-v100-release/#comments</comments>
		<pubDate>Sun, 28 Oct 2007 00:32:33 +0000</pubDate>
		<dc:creator>Jeffery</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Packages]]></category>
		<category><![CDATA[RPM]]></category>
		<category><![CDATA[openSuSe]]></category>

		<guid isPermaLink="false">http://www.jefferyfernandez.id.au/2007/10/28/qbittorrent-v100-release/</guid>
		<description><![CDATA[qBittorrent is a Bittorrent client using C++ / libtorrent and a Qt4 Graphical User Interface. Its been under heavy development for a full year now and finally its maturing into one of the best torrent clients out there. I am &#8230; <a href="http://www.jefferyfernandez.id.au/2007/10/28/qbittorrent-v100-release/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.jefferyfernandez.id.au/wp-content/uploads/2007/10/qbt-v100-splash-screen-002.thumbnail.png" alt="qBittorrent v1.0.0 Release" align="left" />qBittorrent is a Bittorrent client using C++ / libtorrent and a Qt4 Graphical User Interface. Its been under heavy development for a full year now and finally its maturing into one of the best torrent clients out there. I am the Project Consultant + Packager of the application for my distro of choice: <a href="http://en.opensuse.org/Welcome_to_openSUSE.org" title="openSUSE Home" target="_blank">openSUSE</a>. Packages for other distributions are available (<a href="http://qbittorrent.sourceforge.net/download.php" title="qBittorrent Downloads" target="_blank">qBittorrent Downloads</a>) and a Windows port is coming soon.</p>
<p>Packages for openSUSE 10.2 and 10.3 can be obtained from my <a href="https://build.opensuse.org" title="openSUSE build farm" target="_blank">openSUSE build farm</a> account at : <a href="http://download.opensuse.org/repositories/home:/jefferyfernandez" title="openSUSE build farm home:jefferyfernandez" target="_blank">home:jefferyfernandez</a>. If you encounter any bugs in the package or the application itself, please report them at:  <a href="https://bugs.launchpad.net/qbittorrent/" title="qBittorrent Bugs" target="_blank">qBittorrent Bug-tracker</a>. Happy torrenting <img src='http://www.jefferyfernandez.id.au/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>qBittorrent Home: <a href="http://www.qbittorrent.org" title="qBittorrent Home" target="_blank">http://www.qbittorrent.org</a></p>
<div style="float:left;margin:0px 0px 0px 0px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jefferyfernandez.id.au/2007/10/28/qbittorrent-v100-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Could not find the OpenSUSE installation CD</title>
		<link>http://www.jefferyfernandez.id.au/2007/10/02/could-not-find-the-opensuse-installation-cd/</link>
		<comments>http://www.jefferyfernandez.id.au/2007/10/02/could-not-find-the-opensuse-installation-cd/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 12:38:04 +0000</pubDate>
		<dc:creator>Jeffery</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[openSuSe]]></category>

		<guid isPermaLink="false">http://jefferyfernandez.id.au/2007/10/02/could-not-find-the-opensuse-installation-cd/</guid>
		<description><![CDATA[If you have a Core 2 Duo/Quad capable motherboard and are getting an error message about the OpenSUSE installer not being able to find the CD/DVD after you have already booted from it, the problem is likely with your IDE &#8230; <a href="http://www.jefferyfernandez.id.au/2007/10/02/could-not-find-the-opensuse-installation-cd/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.jefferyfernandez.id.au/wp-content/uploads/2007/10/welcome.thumbnail.jpg" alt="OpenSUSE DVD ROM" align="left" />If you have a <a href="http://www.intel.com/products/processor/core2quad/" title="Core 2 Quad" target="_blank">Core 2 Duo/Quad</a> capable motherboard and are getting an error message about the OpenSUSE installer not being able to find the CD/DVD after you have already booted from it, the problem is likely with your IDE controller. In some modern motherboards, the parallel ATA controller has been taken out of the chipset and moved to a third-party drive controller. That third party driver is produced by <a href="http://www.jmicron.com/" title="JMicron Driver" target="_blank">JMicron</a>, and this problem most famously occurs in the Asus P5B motherboard, though other brands and models can be affected as well. In my case it was the <a href="http://www.gigabyte.com.tw/Products/Motherboard/Products_Overview.aspx?ClassValue=Motherboard&amp;ProductID=2532&amp;ProductName=GA-P35-DQ6" title="Gigabyte GA-P35-DQ6 mobo" target="_blank">Gigabyte GA-P35-DQ6 board</a>.</p>
<h3>Onboard SATA/IDE Ctrl Mode</h3>
<p>First, it will help to do a quick work around in your BIOS. Press the Del, F1, or F2 key to get into your system BIOS just after powering it on. Proceed to the  &#8220;Integrated Peripherals&#8221; section. Under &#8220;Onboard SATA/IDE Ctrl Mode&#8221;, set it to AHCI mode, then save and exit the BIOS setup utility. The Advanced Host Controller Interface (AHCI) is an interface specification that allows the storage driver to enable advanced Serial ATA features such as Native Command Queuing and hot plug. Here is a list of <a href="http://www.intel.com/support/chipsets/imst/sb/CS-012304.htm" title="Intel chipsets that support AHCI" target="_blank">Intel chipsets that support AHCI</a>.<br />
<span id="more-57"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-5896900602713932";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-10-07: general
google_ad_channel = "5562041263";
//-->
</script><br />
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<h3>Load the Kernel module drivers</h3>
<p>Now boot from the openSUSE CD 1 or DVD. You&#8217;ll should still get the same message, but now you&#8217;re set to work around it:</p>
<ol>
<li>Press Enter to get past the error message, then choose your language in the following screen. That will bring you to the main menu.</li>
<li>Use the down arrow key to select the Kernel Modules option and press Enter.</li>
<li>In the next screen press Enter again to select the default option for IDE/RAID/SCSI Modules.</li>
<li>In the long list that follows, find both the JMicron and the Generic IDE drivers, select them, press Enter, then press Enter again when you&#8217;re asked for special options to pass to them. <strong>You will have to do this twice, one time for each driver</strong>.</li>
<li>When you return to the kernel module screen, use the Tab or arrow keys to select Back, and press Enter.That should put you back into the Main Menu.</li>
<li>Now select the option for Start Installation or System and press Enter, then select Start Installation or Update and press Enter.</li>
<li>And lastly select the CD-ROM as the source and press Enter. The normal graphical installation procedure should now commence.</li>
</ol>
<p>If the above does not work, write down the installation source mirror addresses from the openSUSE website and use it to install openSUSE over FTP. The only difference in the procedure will be to change the above instructions to select FTP instead of CD-ROM as the source. Good-luck!</p>
<p><font color="#ff0000"><strong>WARNING</strong></font>. If you are a Windows user, you can&#8217;t just jump into the BIOS and enable AHCI. It changes the way the bus communicates and it will cause a &#8220;Blue Screen of Death&#8221;. You&#8217;ll need to reinstall if you want to use AHCI</p>
<div style="float:left;margin:0px 0px 0px 0px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jefferyfernandez.id.au/2007/10/02/could-not-find-the-opensuse-installation-cd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Software Tools for the Freedom lovers</title>
		<link>http://www.jefferyfernandez.id.au/2007/08/20/software-tools-for-the-freedom-lovers/</link>
		<comments>http://www.jefferyfernandez.id.au/2007/08/20/software-tools-for-the-freedom-lovers/#comments</comments>
		<pubDate>Mon, 20 Aug 2007 13:44:28 +0000</pubDate>
		<dc:creator>Jeffery</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[openSuSe]]></category>

		<guid isPermaLink="false">http://jefferyfernandez.id.au/2007/08/31/software-tools-for-the-freedom-lovers/</guid>
		<description><![CDATA[Over the years of being a Linux user, I must admit that I will never turn back to being a Windows user again. If I want to do get something done on my favorite Linux distribution, there is a tool &#8230; <a href="http://www.jefferyfernandez.id.au/2007/08/20/software-tools-for-the-freedom-lovers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="margin: 12px 0px; text-indent: 0px"><img src="http://www.jefferyfernandez.id.au/wp-content/uploads/2007/08/computer_bits.thumbnail.jpg" alt="Free Software" align="left" />Over the years of being a Linux user, I must admit that I will never turn back to being a Windows user again. If I want to do get something done on my favorite <a href="http://en.wikipedia.org/wiki/Linux_distribution" title="Linux Distro" target="_blank">Linux distribution</a>, there is a tool or tools already out there to help me with it. Almost every week I discover some new software tool to play with, something which helps improve my everyday experience&#8230; not always ;o)</p>
<p style="margin: 12px 0px; text-indent: 0px">There are lots of people out there writing software these days. In the olden days software was mostly written for Windows only. But nowadays the trend is to write software to be compatible with the three main players, Windows + Macintosh + Linux so that its gets better penetration into the Market. It even gets better when the Software you love to use, is <a href="http://en.wikipedia.org/wiki/Open_source" title="Open Source Software" target="_blank">Open Source</a>. Starting this spring of 2007, I shall endeavor to blog about the software tools  I discover each week. Hope these entries will keep you amused and turn your interest into Open Source Software.</p>
<p><span id="more-46"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-5896900602713932";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-10-07: general
google_ad_channel = "5562041263";
//-->
</script><br />
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<h3>VYM &#8211; Mind Mapping software collaborating over the Network</h3>
<p style="margin: 12px 0px; text-indent: 0px"><a href="http://www.insilmaril.de/vym/" target="_blank" title="View Your Mind Home page">VYM (View Your Mind)</a> is a tool to generate and manipulate maps which show your thoughts. Such maps can help you to improve your creativity and effectiveness. You can use them for time management, to organize tasks, to get an overview over complex contexts, to sort your ideas etc.</p>
<p style="margin: 12px 0px; text-indent: 0px">vym is not another drawing software, but a tool to store and modify information in an intuitive way. For example you can reorder parts of the map by pressing a key or add various information like a complete email by a simple mouse click. Grab the software from the <a href="http://sourceforge.net/project/showfiles.php?group_id=127802" title="View Your Mind" target="_blank">View Your Mind Sourceforge Project Page</a>. I saw a <a href="http://blip.tv/file/287624" title="Lighting Talk by Uwe Drechsel">Lightning talk by the Author</a> of this tool, which demonstrates that you can collaborate your thoughts using this tool with other clients connected over the Network. Now that is coolness.</p>
<h3>soapUI &#8211; Webservices User Interface</h3>
<p style="margin: 12px 0px; text-indent: 0px">This tool is God Send. <a href="http://www.soapui.org/" title="soapUI Webservices User Interface" target="_blank">soapUI</a> is a free and open source desktop application for inspecting, invoking, developing, simulating/mocking and functional/load/compliance testing of web services over HTTP. If you are a Web-developer, who has written a Web service and want to test if its functional, then I recommend you download and use it as a debugging tool for your web services.</p>
<p style="margin: 12px 0px; text-indent: 0px">Its available as a FREE download as well as a Pro version which you can pay for support. Its got a very good <a href="http://www.soapui.org/features.html" title="soapUI Features" target="_blank">feature set</a> including the ability to do a &#8220;Web Service Simulation&#8221;, &#8220;Load Testing&#8221;, &#8220;Functional Testing&#8221; and more.</p>
<div style="float:left;margin:0px 0px 0px 0px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jefferyfernandez.id.au/2007/08/20/software-tools-for-the-freedom-lovers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A security policy in place prevents mounting of volumes.</title>
		<link>http://www.jefferyfernandez.id.au/2007/07/26/a-security-policy-in-place-prevents-mounting-of-volumes/</link>
		<comments>http://www.jefferyfernandez.id.au/2007/07/26/a-security-policy-in-place-prevents-mounting-of-volumes/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 04:18:59 +0000</pubDate>
		<dc:creator>Jeffery</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[openSuSe]]></category>

		<guid isPermaLink="false">http://jefferyfernandez.id.au/2007/07/26/a-security-policy-in-place-prevents-mounting-of-drives/</guid>
		<description><![CDATA[If you happen to access a CD-ROM device or USB device which results in the following error: A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had &#8230; <a href="http://www.jefferyfernandez.id.au/2007/07/26/a-security-policy-in-place-prevents-mounting-of-volumes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p> If you happen to access a CD-ROM device or USB device which results in the following error:</p>
<blockquote><p>A security policy in place prevents this sender from sending this message to this recipient, see message bus configuration file (rejected message had interface &#8220;org.freedesktop.Hal.Device.Volume&#8221; member &#8220;Mount&#8221; error name &#8220;(unset)&#8221; destination &#8220;org.freedesktop.Hal&#8221;)</p></blockquote>
<p>&#8230;.. I have a fix for you. This is caused by the <a href="http://en.wikipedia.org/wiki/HAL_%28software%29" title="Hardware Abstraction Layer daemon">hal daemon</a> not allowing you to access the device because of a security policy. The hal daemons security policy resides in a file at &#8220;/etc/dbus-1/system.d/hal.conf&#8221;. Lets open and see whats in there.</p>
<p><span id="more-42"></span><br />
<script type="text/javascript"><!--
google_ad_client = "pub-5896900602713932";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as";
google_ad_type = "text_image";
//2007-10-07: general
google_ad_channel = "5562041263";
//-->
</script><br />
<script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<pre class="textinput">
&lt; !DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"&gt;
&lt;busconfig&gt;

  &lt;!-- This configuration file specifies the required security policies
       for the HAL to work. --&gt;

  &lt;!-- Only root or user haldaemon can own the HAL service --&gt;
  &lt;policy user="haldaemon"&gt;
    &lt;allow own="org.freedesktop.Hal"/&gt;
  &lt;/policy&gt;
  &lt;policy user="root"&gt;
    &lt;allow own="org.freedesktop.Hal"/&gt;
  &lt;/policy&gt;

  &lt;!-- Allow anyone to invoke methods on the Manager and Device interfaces --&gt;
  &lt;policy context="default"&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Manager"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device"/&gt;

    &lt;allow receive_interface="org.freedesktop.Hal.Manager"
           receive_sender="org.freedesktop.Hal"/&gt;
    &lt;allow receive_interface="org.freedesktop.Hal.Device"
           receive_sender="org.freedesktop.Hal"/&gt;
  &lt;/policy&gt;

  &lt;!-- Default policy for the exported interfaces --&gt;
  &lt;policy context="default"&gt;
    &lt;deny send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/&gt;
    &lt;deny send_interface="org.freedesktop.Hal.Device.LaptopPanel"/&gt;
    &lt;deny send_interface="org.freedesktop.Hal.Device.Volume"/&gt;
    &lt;deny send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/&gt;
  &lt;/policy&gt;

  &lt;!-- This will not work if pam_console support is not enabled --&gt;
  &lt;policy at_console="true"&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.Volume"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/&gt;
  &lt;/policy&gt;

  &lt;!-- You can change this to a more suitable user, or make per-group --&gt;
  &lt;policy user="0"&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.Volume"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/&gt;
  &lt;/policy&gt;

&lt;/busconfig&gt;
&lt;/pre&gt;</pre>
<p>If you observer this config file you will see there are the following sections:</p>
<ul>
<li>Owners of tha HAL service</li>
<li>Permissions for anyone to invoke the Manager and Device interfaces</li>
<li>Default policy for the exported interfaces</li>
<li>Policy for Console Interface</li>
<li>Policies for Users or Groups</li>
</ul>
<p>In our error message, the problem was with the &#8220;org.freedesktop.Hal.Device.Volume&#8221; security policy. In our policy file shown above, we do not have a policy allowing <em>any</em> user to use the <em>Volume</em> devices. However towards the end of the policy config file, you can see there is a policy set for the &#8220;root&#8221; user. The <em>user=&#8221;0&#8243;</em> attribute, means that its referencing the root user. Therefore as the policy says, only the root user has access to the <em>Volume</em> device. It also states in the comment, that we can change this policy or add an other one to suit our needs.</p>
<p>So we can add a new policy for the group called &#8220;plugdev&#8221; or &#8220;cdrom&#8221; or whatever group you feel like. Make sure you have the group created before adding the policy. In my case I added the group &#8220;plugdev&#8221; and added my user account to belong to that group. Now lets add the new policy:</p>
<pre class="textinput">
  &lt;policy group="plugdev"&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.Volume"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/&gt;
  &lt;/policy&gt;</pre>
<p>Once you have added the new policy, restarting X would be a good idea to make the changes affective. I don&#8217;t know if this is in fact the case for everyone but do so if you are still get the the error. On the other hand you could also try restarting the hal daemon by executing:</p>
<p><code class="rootcommand">/etc/init.d/haldaemon restart</code></p>
<p>Another way of fixing the problem is to just add the policies to the <strong>Permissions for anyone to invoke the Manager and Device interfaces</strong> section of the config. That way you don&#8217;t have to add a group and specify to which group you are allowing access to the <em>Volume</em> devices. So that section will look like:</p>
<pre class="textinput">
  &lt;!-- Allow anyone to invoke methods on the Manager and Device interfaces --&gt;
  &lt;policy context="default"&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Manager"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device"/&gt;

    &lt;allow receive_interface="org.freedesktop.Hal.Manager"
           receive_sender="org.freedesktop.Hal"/&gt;
    &lt;allow receive_interface="org.freedesktop.Hal.Device"
           receive_sender="org.freedesktop.Hal"/&gt;

    &lt;allow send_interface="org.freedesktop.Hal.Device.SystemPowerManagement"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.LaptopPanel"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.Volume"/&gt;
    &lt;allow send_interface="org.freedesktop.Hal.Device.Volume.Crypto"/&gt;

  &lt;/policy&gt;</pre>
<p>I haven&#8217;t test this method of allowing Volume access. So if you have and got it working, your feedback is welcome.</p>
<div style="float:left;margin:0px 0px 0px 0px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jefferyfernandez.id.au/2007/07/26/a-security-policy-in-place-prevents-mounting-of-volumes/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Powered by Linux signature</title>
		<link>http://www.jefferyfernandez.id.au/2007/06/28/powered-by-linux-signature/</link>
		<comments>http://www.jefferyfernandez.id.au/2007/06/28/powered-by-linux-signature/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 10:25:13 +0000</pubDate>
		<dc:creator>Jeffery</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[openSuSe]]></category>

		<guid isPermaLink="false">http://jefferyfernandez.id.au/2007/06/28/powered-by-linux-signature/</guid>
		<description><![CDATA[I use this little snippet of code which generates my signature for all my out-going emails. I am just trying to be an Open Source advocate and spreading the word about Linux #!/bin/bash powered="$(head -n 1 /etc/SuSE-release)" kernel=`uname -r` echo &#8230; <a href="http://www.jefferyfernandez.id.au/2007/06/28/powered-by-linux-signature/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I use this little snippet of code which generates my signature for all my out-going emails. I am just trying to be an Open Source advocate and spreading the word about Linux</p>
<pre class="usercommand">#!/bin/bash

powered="$(head -n 1 /etc/SuSE-release)"

kernel=`uname -r`
echo "Powered by $powered Kernel: $kernel"

kde=`kde-config -v | grep KDE`
echo $kde

uptime</pre>
<p>I use KDE and hook this script in kmail via the &#8220;Identities&#8221; > &#8220;Signature&#8221; tab</p>
<p>And here is a more generic version without KDE or OpenSuSe specific calls</p>
<pre class="usercommand">#!/bin/bash
powered="$(lsb_release -d | awk -F':' '{print $2}')"

kernel=`uname -r`
echo "Powered by $powered Kernel: $kernel"

uptime</pre>
<div style="float:left;margin:0px 0px 0px 0px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jefferyfernandez.id.au/2007/06/28/powered-by-linux-signature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>openSuSe 10.2 Reference Manual</title>
		<link>http://www.jefferyfernandez.id.au/2007/06/15/opensuse-102-reference-manual/</link>
		<comments>http://www.jefferyfernandez.id.au/2007/06/15/opensuse-102-reference-manual/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 04:39:17 +0000</pubDate>
		<dc:creator>Jeffery</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[openSuSe]]></category>

		<guid isPermaLink="false">http://www.jefferyfernandez.id.au/2007/06/15/opensuse-102-reference-manual/</guid>
		<description><![CDATA[If you haven&#8217;t known about it yet, grab it. Its not the most comprehensive of manuals but it has got me unstuck a few times. You can download the openSuSe 10.2 Reference Manual from my files repository. The online version &#8230; <a href="http://www.jefferyfernandez.id.au/2007/06/15/opensuse-102-reference-manual/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t known about it yet, grab it. Its not the most comprehensive of manuals but it has got me unstuck a few times. You can download the <a href='http://www.jefferyfernandez.id.au/wp-content/uploads/2007/06/opensuse102_reference.pdf' title='openSuSe 10.2 Reference Manual'>openSuSe 10.2 Reference Manual</a> from my files repository. The online version can be viewed at <a href="http://www.novell.com/documentation/opensuse102/index.html" target="_blank">Novell&#8217;s Website</a>, which also includes few other manuals.</p>
<div style="float:left;margin:0px 0px 0px 0px;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.jefferyfernandez.id.au/2007/06/15/opensuse-102-reference-manual/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
