<?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>Bandos&#039; Arcade &#187; Linux</title>
	<atom:link href="http://www.nuwanbando.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nuwanbando.com</link>
	<description>&#34;It&#039;s not about how it is, but how I see it &#34; - Stranger Than Fiction</description>
	<lastBuildDate>Thu, 02 Feb 2012 08:52:48 +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>Linux Then and Now</title>
		<link>http://www.nuwanbando.com/2011/08/linux-then-and-now/</link>
		<comments>http://www.nuwanbando.com/2011/08/linux-then-and-now/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 17:05:57 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=687</guid>
		<description><![CDATA[Wanted to share it even though its already in TechCrunch]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2011%2F08%2Flinux-then-and-now%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2011%2F08%2Flinux-then-and-now%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Wanted to share it even though its <a href="http://techcrunch.com/2011/08/17/infographic-linux-then-and-now/?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+Techcrunch+%28TechCrunch%29">already in TechCrunch</a> <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img class="alignnone" title="linux" src="http://tctechcrunch2011.files.wordpress.com/2011/08/linux_thenandnow.png" alt="" width="558" height="2137" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2011/08/linux-then-and-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux for human beings</title>
		<link>http://www.nuwanbando.com/2010/05/linux-for-human-beings/</link>
		<comments>http://www.nuwanbando.com/2010/05/linux-for-human-beings/#comments</comments>
		<pubDate>Mon, 17 May 2010 15:53:01 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[FOSS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=461</guid>
		<description><![CDATA[This is a post that should have been written few days back, On April 29th Ubuntu 10.04 &#8211; (Lucid Lynx) was released, and I was counting days till it did but couldn&#8217;t try it out because of the release work I was doing in my machine. Last weekend (even the work wasn&#8217;t quite over) my [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Flinux-for-human-beings%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2010%2F05%2Flinux-for-human-beings%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is a post that should have been written few days back, On April 29th <a href="http://www.ubuntu.com/products/whatisubuntu/1004features" target="_blank">Ubuntu 10.04</a> &#8211; (Lucid Lynx) was released, and I was counting days till it did but couldn&#8217;t try it out because of the release work I was doing in my machine. Last weekend (even the work wasn&#8217;t quite over) my anxiousness couldn&#8217;t rest. I installed the new beast keeping my /home safe. To tell you the truth, the installation process was hardly &#8220;linux like&#8221;. There were no screens showing any commands executing, nor view of the terminal. What you see is a breath taking slide show (very much <a href="http://www.microsoft.com/windows/" target="_blank">windows</a> like, but much sweeter) trying to show off the beauty <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  and market itself.</p>
<div id="attachment_463" class="wp-caption aligncenter" style="width: 883px"><a href="http://www.nuwanbando.com/wp-content/uploads/2010/05/1004header.jpg"><img class="size-full wp-image-463" title="1004header" src="http://www.nuwanbando.com/wp-content/uploads/2010/05/1004header.jpg" alt="" width="873" height="194" /></a><p class="wp-caption-text">Ubuntu - 10.04 (Lucid Lynx)</p></div>
<p style="text-align: center;">
<p>Well I know many of you already have tried Lucid, and there is nothing new for me to mention, hence I thought of writing few words about Ubuntu&#8217;s slogan &#8220;Linux For Human Beings&#8221;. My history as a Linux user is not that ancient, even though I have used it side by side with a  Windows OS, I&#8217;ve never gone total Linux, There were reasons behind. {1} I was afraid it will all break down in the middle of something. {2} It looked like a dark cave with alot of never ending tunnels {3} It was hard for me to troubleshoot on my own (I was a novice). But thanks to <a href="http://sandaru1.com" target="_blank">Sandaruwan</a> and the never ending virus problems, performance degradation with time in windows, I jumped in to the deep-end. Ever since am a happy man <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Before Ubuntu, I have tried <a href="http://www.debian.org/" target="_blank">Debian</a> and <a href="http://www.opensuse.org/en/" target="_blank">Suse</a>, but with Ubuntu I felt quite safe. There were number of reasons, among them, <a href="http://www.canonical.com/" target="_blank">Canonical</a> released frequent updates and bug fixes (mainly fixes related to hardware drivers). Ubuntu&#8217;s is doing major release twice a year with a considerable amount of improvements, and nevertheless its Virus free, ultra fast and very stable for a software development environment.</p>
<p>Being those my reasons, I believe Linux is the answer for many 3rd world countries, to obtain a high IT literacy rate. When Microsoft and other proprietary software vendors are investing in millions and billions to put a full-stop to software piracy (Which as a software engineer I encourage), and when personal computers are sold with these proprietary software pre installed (Ofcause not for free) with prices automatically goes sky high, resulting a normal user to look at a computer as if it is a Jet plane <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>But for some (many) reason free and open source software is hidden to the normal user world. Of-cause there are few myths associated, One popular myth is that Open source and free software doesn&#8217;t come up to the standard of proprietary software, If we forget for an instance that I work for a 100% <a href="http://wso2.org" target="_blank">open source company</a> <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  , and look at <a href="http://apache.org" target="_blank">Apache software foundation</a>, where there are plenty of great products (<a href="http://httpd.apache.org/" target="_self">Apache HTTP server</a>, <a href="http://tomcat.apache.org/" target="_blank">Tomcat</a>, <a href="http://maven.apache.org/" target="_blank">Maven</a>, <a href="http://synapse.apache.org/" target="_blank">Synapse</a> et al.), but normally the argument is &#8220;A normal user doesn&#8217;t care about the server space. What does free software offer for them ?, to listen to music, edit some photos, check email and browse internet&#8221; ? And as far as I see this is where Ubuntu places itself. I believe this is why it displays a pretty screen while its being installed and I think so far <a href="http://www.ubuntu.com/products/whatisubuntu/1004features" target="_blank">Ubuntu</a> had done a great Job, and it is ready with a strong and shiny armour, to battle with any proprietary operating system and make it&#8217;s mark.</p>
<p>So if you are a normal user reading this article, try new Ubuntu, and when you are buying your next personal computer, ask you computer supplier to give the machine with Ubuntu. I promises you, you will save a hell a lot of money, and it will set you free. <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2010/05/linux-for-human-beings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert from HTML to XML with HTML Tidy</title>
		<link>http://www.nuwanbando.com/2009/09/convert-from-html-to-xml-with-html-tidy/</link>
		<comments>http://www.nuwanbando.com/2009/09/convert-from-html-to-xml-with-html-tidy/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 06:37:18 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Tidy]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=199</guid>
		<description><![CDATA[For few days I was involved with WSO2 Mashup Server 2.0 release documentation, giving a hand to the mashup team. Documentation is a painful task, but when comes to open source what matters mostly is documentation . Last night I had to convert a bunch of html files (some Java Api Docs) to xml in-order [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2009%2F09%2Fconvert-from-html-to-xml-with-html-tidy%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2009%2F09%2Fconvert-from-html-to-xml-with-html-tidy%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>For few days I was involved with <a href="http://wso2.org/projects/mashup">WSO2 Mashup Server</a> 2.0 release documentation, giving a hand to the mashup team. Documentation is a painful task, but when comes to open source what matters mostly is documentation <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> .<br />
Last night I had to convert a bunch of html files (some Java Api Docs) to xml in-order to port into maven site. Formatting 30+ html files to xml !@#$%^&amp;*@% <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . So I was googleing for a tool to automate the task. With few clicks here and there I found a nice article in <a href="http://www.ibm.com">Big Blue</a>&#8216;s developer works site, a tool called &#8220;<a href="http://tidy.sourceforge.net/">Tidy</a>&#8220;. When I tried to download and use I figure out that you can straight away apt-get the package and use. So,</p>
<pre name="code" class="xml">sudo apt-get install tidy</pre>
<p>and your box is now equiped with the tool, and can be accessed via the shell.</p>
<pre name="code" class="xml">tidy -asxhtml -numeric < index.html > index.xml</pre>
<p>but who wants to convert file by file when you have such a nice tool, so I spent few minutes in writing a tiny shell script to get the job done, the snippet is, </p>
<pre name="code" class="xml">
#!/bin/bash
for file in $(find $1 -type f -iname '*.html'); do
	myf=`echo $file | sed 's/html/xml/g'`
	tidy -asxhtml -numeric < $file > $myf
done
</pre>
<p>All looked good, worked fine. However in my Api Docs I had, had few special tags, custom to our Mashup Apis (&lt;imconfig&gt;, &lt;yahoo&gt;, &lt;mail:config&gt;). Tidy gave error for these files since the tags are not recognized. </p>
<p>In such a case you can train Tidy for new tags, by adding few lines to the tidy configuration file. (/etc/tidy.config &#8211; You can also give your own config file at the prompt)</p>
<pre name="code" class="xml">new-pre-tags: imconfig, yahoo, msn, aim, icq, jabber, username, password</pre>
<p>There are whole bunch of tweeks you can do with tidy, [<a href="http://www.ibm.com/developerworks/library/x-tiptidy.html">1</a>], [<a href="http://tidy.sourceforge.net/">2</a>] and [<a href="http://tidy.sourceforge.net/docs/tidy_man.html">3</a>] are some useful links that you can read up when using the tool.</p>
<p>[1] : <a href="http://www.ibm.com/developerworks/library/x-tiptidy.html">http://www.ibm.com/developerworks/library/x-tiptidy.html</a><br />
[2] : <a href="http://tidy.sourceforge.net/">http://tidy.sourceforge.net/</a><br />
[3] : <a href="http://tidy.sourceforge.net/docs/tidy_man.html">http://tidy.sourceforge.net/docs/tidy_man.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/09/convert-from-html-to-xml-with-html-tidy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lesson learnt the hard way</title>
		<link>http://www.nuwanbando.com/2009/09/lesson-learnt-the-hard-way/</link>
		<comments>http://www.nuwanbando.com/2009/09/lesson-learnt-the-hard-way/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 15:54:33 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[About Me]]></category>
		<category><![CDATA[FOSS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.nuwanbando.com/?p=195</guid>
		<description><![CDATA[Terminator was running in four segments, top left was a maven build, top right was a svn update, in one of other two an apt-get was running and I was playing on the smaller one left in bottom right. My notebook was running on battery power and I forgot to plug it in to AC, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2009%2F09%2Flesson-learnt-the-hard-way%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2009%2F09%2Flesson-learnt-the-hard-way%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a href="https://launchpad.net/terminator/" target="_blank">Terminator</a> was running in four segments, top left was a maven build, top right was a svn update, in one of other two an apt-get was running and I was playing on the smaller one left in bottom right. My notebook was running on battery power and I forgot to plug it in to AC, before the box got hibernate. Once I reboot it with AC power my X-Server was gone !! I couldn&#8217;t see the log-in screen and it just left me with the console in full screen.</p>
<p>I am not a linux guru, but i tried few commands, &#8220;startx / dkpg -reconfigure / nvidia-config / etc&#8221;. I had to run to our <a href="http://saguide.wordpress.com/">sys admin</a> since he is considered the guru <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . with few commands at flash speed he got the x-server running again. but it was all broken here and there. couldn&#8217;t hear sound, installed apps were not working and above all when I reboot, I had to type &#8220;startx&#8221; each time to see the display (Which was a pain and made me itchy <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> ). Chamith&#8217;s idea was even if he could get the x-server running in normal mode, some errors that am getting wont be able to fix. so the best option to make all smooth is to re install the OS and he said &#8220;No probs <em>ne machan</em> (sinhala way of saying dude / bro <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), ur home is in a different partition right ? so its a matter of ten minutes to restore the root in the other partition.&#8221; &#8211; OH CRAP NOOO my /home was also in the same partition and I only had one single big partition. <img src='http://www.nuwanbando.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>SO yeah I had no other option left, I had to back up 20GB of my /home dir and re-install ubuntu 9.04. (Coping 20GB from here and there is a crappy and a messy job) I was struggling with the fix till today morning and finally got everything smooth again.</p>
<p>SO the lesson from all of this is. keep your /home mounted in a different partition. I learnt the lesson, the hard way.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2009/09/lesson-learnt-the-hard-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UNIX / LINUX based Client &amp; a Server application</title>
		<link>http://www.nuwanbando.com/2007/06/unixlinux-based-client-a-server-application/</link>
		<comments>http://www.nuwanbando.com/2007/06/unixlinux-based-client-a-server-application/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 04:08:10 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[TCP/UDP]]></category>

		<guid isPermaLink="false">http://nuwanbando.com/?p=34</guid>
		<description><![CDATA[Okey so am writing after some time about some valuable thing !! This is about some thing I happened to do as an assignment for one of my degree modules (Network Application Development). The Assignment is to implement a server and a client using both TCP and UDP. The functionalities expected were, a centralized server [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F06%2Funixlinux-based-client-a-server-application%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F06%2Funixlinux-based-client-a-server-application%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Okey so am writing after some time about some valuable thing !! This is about some thing I happened to do as an assignment for one of my degree modules (Network Application Development). The Assignment is to implement a server and a client using both TCP and UDP. The functionalities expected were, a centralized server which keeps records of the online connected buddies in the network (Subscription)<span id="more-34"></span><!--more--><!--more--><!--more--></p>
<p>A Client to communicate and retrieve the buddy list from the central central server and directly connect to the buddy (peer 2 peer)</p>
<p>message broadcasting among groups.</p>
<p>So here I go with some details about the application level protocol  and I will atach the C codes if any one needs to download and modify please feel free.</p>
<p><strong>Application Level Protocol</strong></p>
<p>The application level protocol is mainly implements two applications, the central server and the p2p<br />
client.</p>
<p><strong>Basic functionality of the central server</strong></p>
<ul>
<li>User(client) subscription</li>
<li>Keep records of the users</li>
<li>Update records on new subscription and un-subscription</li>
<li>Broadcast the record table to all the online clients.</li>
</ul>
<p></br></br><br />
<strong>Basic p2p client functionality</strong></p>
<ul>
<li>Retrieve the user table from the central server.</li>
<li>Broadcast messages to all peers</li>
<li>Talk with each peer separately</li>
</ul>
<p></br></br><br />
<strong>Server protocol</strong></p>
<p>Centralized server is using a TCP connection to connect to all its peers. The Server binds to a socket<br />
and keeps listening to all incoming TCP connections.<br />
When a new client is connected to the server’s port number server accepts the client connection and<br />
open up a new thread for that client.<br />
The server maintains a table of clients containing client information.<br />
In side the newly created thread the server updates the count of clients and inserts new client data in<br />
to its table.<br />
The connection between the server and the client will not be closed.<br />
The server in its main process will keep on listening to new incoming TCP connections.<br />
The server is declaring a thread pool (an array of threads) where it will create a separate new thread<br />
for each connected client and will do all the communication with that client in that separate thread.<br />
The server keeps the number of clients and the client table as global data. And they are shared with<br />
each thread.<br />
As soon as the numbers of clients are changed (a user is newly subscribed or unsubscribed)<br />
the<br />
server will send the updated table of clients to all clients using the connected threads.</p>
<p><strong>p2p Client protocol</strong></p>
<p>Client connects to the server using a TCP connection.<br />
Client is maintaining UDP server and a UDP client for the peer-to-peer<br />
communication.<br />
At first when the client is run with the server port as a command line argument it prompts for the<br />
UDP port where it’s UDP server will be listening for incoming messages from the fellow peers. The<br />
UDP server Port will be send to the central server for subscription.<br />
A child process will be invoked inside the main process for UDP activities (UDP server and client)<br />
The UDP client will prompt for the host address and the port of the fellow peer to start a<br />
conversation. This can be provided by referencing to the clients table, sent by the server.<br />
Then the UDP client will establish a connection with the fellow peer using the given host addresses<br />
and the port.<br />
If a message has to be broadcast the UDP client will connect to all hosts and send the message.</br></br><br />
<a href="http://www.nuwanbando.com/ServerClient.zip">Download</a> the C code, make and run</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2007/06/unixlinux-based-client-a-server-application/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Accessrunner-based USB ADSL modems &#8211; Get it to work on Ubuntu Dapper/Edgy</title>
		<link>http://www.nuwanbando.com/2007/02/accessrunner-based-usb-adsl-modems-get-it-to-work-on-ubuntu-dapperedgy/</link>
		<comments>http://www.nuwanbando.com/2007/02/accessrunner-based-usb-adsl-modems-get-it-to-work-on-ubuntu-dapperedgy/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 08:31:38 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nuwanbando.com/?p=19</guid>
		<description><![CDATA[This is one wide area that no clear online article is available as a help document. I my self had a huge problem in searching and making my modem to work with Edgy. When you google for the Conexant AccessRunner driver you get the driver file as sources from the sourceforge, http://accessrunner.sourceforge.net/index.shtml where you have [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Faccessrunner-based-usb-adsl-modems-get-it-to-work-on-ubuntu-dapperedgy%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Faccessrunner-based-usb-adsl-modems-get-it-to-work-on-ubuntu-dapperedgy%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>This is one wide area that no clear online article is available as a help document. I my self had a huge problem in searching and making my modem to work with <em>Edgy. </em>When you google for the Conexant AccessRunner driver you get the driver file as sources from the sourceforge,</p>
<p>http://accessrunner.sourceforge.net/index.shtml</p>
<p>where you have to add those files to the kernel  source tree and recompile the kernel  creating a great deal of work.  But yet luckily the new kernels (after 2.6.10) have this driver inbuilt (Ubuntu Dapper/edgy) so you don&#8217;t have to mess up recompiling the kernel.</p>
<p>Any how you have to manually add the firmware, otherwise the modem will not work. (The LEDs wont Blink) for this you have to do few things, things I gathered from many online forums/blogs and help guides.</p>
<p>you have to extract the <em>CnxEtU.sys</em> file from the CD which you got from the vendor of your modem, and have to place it in /lib/firmware directory to make the firmware working. The step by step guide as follows.</p>
<p>for this purpose since we do not have the <em>extract</em> command, we have to download the package that Nicholas Wheeler created. from <a href="http://revu.tauware.de/details.py?upid=2426">http://revu.tauware.de/details.py?upid=2426</a> there are several files but what you have to take is  <a href="http://revu.tauware.de/revu1-incoming/cxacrufw-0606131307/cxacrufw_1.2.orig.tar.gz">cxacrufw_1.2.orig.tar.gz</a> and  <a href="http://revu.tauware.de/revu1-incoming/cxacrufw-0606131307/cxacrufw_1.2-1.diff">cxacrufw_1.2-1.diff</a> .</p>
<p>After downloading these two files unzip the .gz and copy the .diff file in to that folder, and being inside that folder through the terminal patch it using<br />
<em> patch < cxacrufw_1.2-1.diff<br />
</em></p>
<p>then type <em>make</em> and <em>make install</em>. now you mush be havening a command called  <em>cxacru-fw. </em>now your ready to extract the firmware.<em>  </em></p>
<p>insert the CD you got from the modem vendor and using the terminal type the following commands.</p>
<p><em>cp /media/cdrom/driver/ADSL/Wan/CnxEtU.sys ~/ </em></p>
<p>(the above path can be different according to your settings so adjust the folder path)</p>
<p>then</p>
<p><em>cxacru-fw ~/CnxEtU.sys ~/cxacru-fw.bin </em><br />
<em>sudo cp ~/cxacru-fw.bin /lib/firmware</em></p>
<p>Make sure that the firmware is installed as /lib/firmware/cxacru-fw.bin or else the LED wont light up.</p>
<p>restart your computer and thats it you must be seeing the modem is working fine with the LED lighten up. anyhow though you have attached the modem to the computer and if your ISP is providing you a PPPoE protocol you will still have problems connecting your modem to Internet</p>
<p>there are few sites I saw some details which i think will be useful so just visit till I post a topic on HOW TO configure PPPoE</p>
<p>http://www.tldp.org/HOWTO/DSL-HOWTO/configure.html#BRIDGEVSPPP</p>
<p>and if any one who knows on PPPoE please leave a comment&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2007/02/accessrunner-based-usb-adsl-modems-get-it-to-work-on-ubuntu-dapperedgy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Gnome(cairo)-Dock</title>
		<link>http://www.nuwanbando.com/2007/02/installing-gnome-dock-cairo/</link>
		<comments>http://www.nuwanbando.com/2007/02/installing-gnome-dock-cairo/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 16:23:01 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Aiglx]]></category>
		<category><![CDATA[Beryl]]></category>
		<category><![CDATA[Cairo]]></category>
		<category><![CDATA[Cario-dock]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Gnome-dock]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nuwanbando.com/?p=16</guid>
		<description><![CDATA[Today while i was surfing the net (digging new gadgets for my Gnome desktop) i saw some interesting screenshots of a universal dock something which is similar to the OSX making me hunt down this new feature to my desktop. i googled for &#8220;Gnome dock&#8221; and found a post in ubuntu forums where i followed [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Finstalling-gnome-dock-cairo%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Finstalling-gnome-dock-cairo%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Today while i was surfing the net (digging new gadgets for my Gnome desktop) i saw some interesting screenshots of a universal dock something which is similar to the OSX making me hunt down this new feature to my desktop.  i  googled  for <em>&#8220;Gnome dock</em>&#8221; and found a post in ubuntu forums where i followed the installation  process  and at last.. yes !! I got the DOCK but there were no application images seen in the DOCK. i solved this problem by editing the .svg files and the cairo-dock.c file. but the biggest problem i encountered was that when i added this to the sesion and restarted my X-server. I crashed or rather I didn&#8217;t see my desktop at all. (well for some wired reason it crashes only the desktop.) I think this happens when the Gnome session loads Beryl-manager, Beryl, Gdesklets and the cairo-dock at the same time it might get overloded and crashes the desktop.</p>
<p>Anyhow as a solution i delayed the loading process of each of these applications through a shell script. so on this post I will describe how to install <em>cairo-dock</em> and make it work hand to hand with <em>beryl</em>.</p>
<p>You can follow the instructions on the <a href="http://ubuntuforums.org/showthread.php?t=302570">Ubuntu forum</a> for the installation process. since it describes well I will write what is missing.</p>
<p>At the step 5 before download <a href="http://ubuntuforums.org/attachment.php?attachmentid=19718&#038;d=1164073465">cairo-dock.tar.gz</a> i signed up for the ubuntu forum.</p>
<p>At last after the installation process is done when you run cairo-dock it will appear in the bottom of your desktop with almost no images for the named applications.  These application icons are saved as .SVG files in the cairo directory what you have to do is open each of these files and replace the link to the image with your application icon&#8217;s path.</p>
<p align="center">xlink:href=&#8221;/<strong>usr/share/pixmaps/firefox.png</strong>&#8221;<br />
sodipodi:absref=&#8221;<strong>/usr/share/pixmaps/firefox.png</strong>&#8221;</p>
<p align="left">replace the highlighted link with your icon&#8217;s path and secondly you can add/remove applications from the dock by edition the cairo-dock.c file.  there in the specified section you have to add the name of the .SVG file, name of the application and the command to launch that application and <em>make</em> it. this is the simple way to make the DOCK running  with the applications you want in your desktop. If at the end when you add the DOCK to the session and restart and if then your Desktop crashes, simply write a shell script and save in /usr/bin/ and add that script to run on the beginning of the each session.</p>
<p align="left">my scripted looked like this.</p>
<p align="left">#!/bin/bash<br />
beryl-manager<br />
sleep 5<br />
beryl<br />
sleep 7<br />
cd /opt/cairo-dock<br />
./cairo-dock &#8211;no-glitz &#038;</p>
<p align="left">restart your X and you must be smoothly working !!! Enjoy&#8230;</p>
<p><strong>Credits :</strong></p>
<p align="left"><a href="http://nuwanbando.com/www.sandaru1.com">Sandaru1</a> &#038; Kasun</p>
<p align="left">
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2007/02/installing-gnome-dock-cairo/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Umbrello &#8211; UML Modeller for Linux</title>
		<link>http://www.nuwanbando.com/2007/02/umbrello-uml-modeller-for-linux/</link>
		<comments>http://www.nuwanbando.com/2007/02/umbrello-uml-modeller-for-linux/#comments</comments>
		<pubDate>Thu, 15 Feb 2007 16:53:55 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://nuwanbando.com/?p=15</guid>
		<description><![CDATA[Since I haven&#8217;t used or haven&#8217;t heard that &#8220;Rational rose&#8221; working on LINUX (on WINE) and of cause for modeling purposes I had to switch to Windows making a headache, I was searching a solution or more likely an alternative within Linux. I was just peeping in the add/remove menu and under the programming category, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Fumbrello-uml-modeller-for-linux%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Fumbrello-uml-modeller-for-linux%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<style type="text/css">-- 		@page { size: 8.5in 11in; margin: 0.79in } 		P { margin-bottom: 0.08in } 	--> 	</style>
<p align="justify">Since I haven&#8217;t used or haven&#8217;t heard that <em>&#8220;Rational rose&#8221; </em>working on LINUX <em>(on WINE) </em>and of cause for modeling purposes I had to switch to Windows making a headache, I was searching a solution or more likely an alternative within Linux. I was just peeping in the <em>add/remove</em> menu and under the programming category, I found two modeling softwares for Linux. one which failed to install (<em>Gaphor</em>) and the one which i installed (Umbrello 1.5.5).</p>
<p align="justify" style="margin-bottom: 0in">What made me surprised is that this software almost had all the functionality that was there in &#8220;<em>Rational rose</em>&#8221; sometimes even more. the software is very much easy to use. simple and well featured.</p>
<p align="justify" style="margin-bottom: 0in">The software supports forward Engineering as well as Reverse Engineering, meaning when the Model is designed the code structure can be created and vice versa (supporting 12 different programming languages).</p>
<p align="justify" style="margin-bottom: 0in">Anyhow I would like to say that Umbrello brings an easy approach for UML modelling.</p>
<p align="justify" style="margin-bottom: 0in">
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2007/02/umbrello-uml-modeller-for-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AiGLX  and Beryl On Ubuntu Edgy</title>
		<link>http://www.nuwanbando.com/2007/02/aiglx-and-beryl-on-ubuntu-edgy-intel-i915/</link>
		<comments>http://www.nuwanbando.com/2007/02/aiglx-and-beryl-on-ubuntu-edgy-intel-i915/#comments</comments>
		<pubDate>Sat, 10 Feb 2007 16:29:08 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Aiglx]]></category>
		<category><![CDATA[Beryl]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nuwanbando.com/?p=13</guid>
		<description><![CDATA[Haah !!! after few days of playing on Ubuntu I decided to write some thing on things what I did to make my Gnome desktop more eye catching&#8230; I have heard of XGL working on Gnome providing a surprising effects !!! But also I have heard and seen that XGL effects works in much slower [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Faiglx-and-beryl-on-ubuntu-edgy-intel-i915%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Faiglx-and-beryl-on-ubuntu-edgy-intel-i915%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Haah !!! after few days of playing on Ubuntu I decided to write some thing on things what I did to make my Gnome desktop more eye catching&#8230; I have heard of XGL working on Gnome providing a surprising effects !!!  But also  I have  heard and seen that XGL effects works in much slower motion in most of Intel  on board  graphic cards (intel i915),  so due to this fact I was  searching for alternatives  and found  AiGLX which comes  bundled  with  Ubuntu  Edgy&#8230; I decided to try this  hence  many Online articles have recommended AiGLX + Beryl combination works well in intell chipset.</p>
<p>What I did was simple configured the AiGLX as shown in the <a href="http://wiki.beryl-project.org/wiki/Install_Beryl_on_Ubuntu_Edgy_with_AIGLX">wiki</a>  and installed beryl !!! And yes As it says It works well&#8230;. but small suggestion when you make a session and load that in the start-up the ubuntu start-up gets much slower !!! So my idea is to place a small shell script to load the beryl manager and beryl and make it run in the start-up.. this will make the system faster than defining a separate session. my friend <a href="http://www.sandaru1.com">sandaruwan</a> have described of this method in a detail manner.</p>
<p>for the Intel i915 chipset users now have AiGLX+beryl to have the same experience where you will get by adding XGL !!!! As the last word for the post I would like to say&#8230;Now my Ubuntu OS is incomparable with the Windows in anyway of its appearance.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2007/02/aiglx-and-beryl-on-ubuntu-edgy-intel-i915/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A wise choice &#8230;.</title>
		<link>http://www.nuwanbando.com/2007/02/a-wise-choice/</link>
		<comments>http://www.nuwanbando.com/2007/02/a-wise-choice/#comments</comments>
		<pubDate>Sun, 04 Feb 2007 17:35:51 +0000</pubDate>
		<dc:creator>Nuwan Bandara</dc:creator>
				<category><![CDATA[FOSS]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://nuwanbando.com/?p=12</guid>
		<description><![CDATA[As i have said in my last post.. few days ago I shifted most of my work to Linux (Ubuntu Edgy Eft) I had many reasons to do this, 1. I was sick choosing good anti virus programs/add ware removers/spy ware detectors for my win XP OS coz there were plenty of viruses/add wares/spy wares [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Fa-wise-choice%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.nuwanbando.com%2F2007%2F02%2Fa-wise-choice%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>As i have said in my last post.. few days ago I shifted most of my work to Linux (Ubuntu Edgy Eft) I had many reasons to do this,</p>
<p>1. I was sick choosing good anti virus programs/add ware removers/spy ware detectors for my     win XP OS coz there were plenty of viruses/add wares/spy wares making the whole system slowing down.</p>
<p>2. I needed some change in how things look and feel.</p>
<p>3. for the sake of adding some thing to the open source movement.</p>
<p>Any how I had my reasons&#8230; but what I am writing here is to justify that my decision was not disappointing at all.. There are many Linux Vs Windows comparisons on the net.  some have proved that windows has a better UI and linux does not well thats not true to me&#8230; in the case of Ubuntu (6.10) it comes with GNOME 2.14 and for me its awesome !!! any how u have a choice between GNOME and KDE &#8230;. and yet thats also customizable !!! so what else a user need..</p>
<p>Any how there is a some kind of a lack in 3rd party software still for Linux but yet the number of choices getting more and more day by day. most of the popular Java IDEs have their own Linux distributions and this is same for C/C++ (Anjuta/KDeveloper).. yet only problem is for .NET even though MONO had made .NET development possible in Linux platform there are no good workforce Gathering IDEs Such as Visual Studio .NET any how I must say apart form .NET for any other development Linux brings a whole new meaning and a good experience.</p>
<p>Talking about IMs as in the long RUN Gaim Imitated many Internet messengers partially at  least. and now for MSN in Linux you can use aMSN as an alternative. the newest version is bug fixed and working fine.</p>
<p>Any how all that was about what I found out in last few days sooo am still discovering&#8230; meaning I will make a separate entry in my blogg for Linux&#8230;..</p>
<p>Cheers !!!!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nuwanbando.com/2007/02/a-wise-choice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

