<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Andri Laras Blog</title>
	<atom:link href="http://andrilaras.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://andrilaras.wordpress.com</link>
	<description>Personal sites</description>
	<lastBuildDate>Tue, 08 Dec 2009 17:27:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='andrilaras.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Andri Laras Blog</title>
		<link>http://andrilaras.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://andrilaras.wordpress.com/osd.xml" title="Andri Laras Blog" />
	<atom:link rel='hub' href='http://andrilaras.wordpress.com/?pushpress=hub'/>
		<item>
		<title></title>
		<link>http://andrilaras.wordpress.com/2009/12/08/109/</link>
		<comments>http://andrilaras.wordpress.com/2009/12/08/109/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 17:27:29 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/2009/12/08/109/</guid>
		<description><![CDATA[Posted in Uncategorized<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=109&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img style="visibility:hidden;width:0;height:0;" border="0" width="0" height="0" src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bHQ9MTI2MDI5MzE1MjI*MyZwdD*xMjYwMjkzMjQ2MDE3JnA9MTgwMzEmZD*mbj13b3JkcHJlc3MmZz*xJm89ZWU4ODg4NmEzODRkNDE4NzhkN2M5NmQwYjlmMjg5ZWU=.gif" /><iframe frameborder="0" width="408" height="108" src="http://wpcomwidgets.com/?width=400&amp;height=100&amp;src=http%3A%2F%2Fandrilaras.net%2Fmp3%2Fplaylist_player.swf&amp;quality=high&amp;flashvars=xmlPath%3Dhttp%3A%2F%2Fandrilaras.net%2Fmp3%2Fembed_xml.php%3Fembedid%3DTWE5OW5hIC0gRGVuZ2FubXUgQWt1IEJhaGFnaWEgQ2QgUmlw%7C%7C15feda&amp;wmode=transparent&amp;_tag=gigya&amp;_hash=ff93cf95a60d375a96e3588e572dd375" id="ff93cf95a60d375a96e3588e572dd375"></iframe></p>
<br />Posted in Uncategorized  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/109/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/109/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/109/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=109&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2009/12/08/109/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>

		<media:content url="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bHQ9MTI2MDI5MzE1MjI*MyZwdD*xMjYwMjkzMjQ2MDE3JnA9MTgwMzEmZD*mbj13b3JkcHJlc3MmZz*xJm89ZWU4ODg4NmEzODRkNDE4NzhkN2M5NmQwYjlmMjg5ZWU=.gif" medium="image" />
	</item>
		<item>
		<title>Fix Linux when it won&#8217;t start</title>
		<link>http://andrilaras.wordpress.com/2008/11/01/fix-linux-when-it-wont-start/</link>
		<comments>http://andrilaras.wordpress.com/2008/11/01/fix-linux-when-it-wont-start/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 20:19:52 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[tips trik]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/?p=85</guid>
		<description><![CDATA[No matter how much you adore your Linux machine, there will come a time when you will have to rescue your installation. Yes, even a Linux machine could suffer from a disaster: Whether it&#8217;s because of a corrupt video configuration, a kernel update gone wrong, or a misconfigured init script, it&#8217;s inevitable. I&#8217;ve seen it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=85&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>No matter how much you adore your Linux machine, there will come a time when you will have to rescue your installation.</p>
<p>Yes, even a Linux machine could suffer from a disaster: Whether it&#8217;s because of a corrupt video configuration, a kernel update gone wrong, or a misconfigured init script, it&#8217;s inevitable. I&#8217;ve seen it happen on a number of occasions &#8212; even on my own machines, mostly from corrupt X configurations &#8212; and it&#8217;s frustrating.</p>
<p>The best rescue plan, in my opinion, doesn&#8217;t have to involve reinstalling. Sometimes the best rescue plan doesn&#8217;t even involve booting up a rescue disk. This article is going to offer up some tips and tricks on how to avoid failure and help you create the tools you need to recover a dead Linux machine.</p>
<p>Start with the right runlevel<br />
<span id="more-85"></span><br />
After installing a new Linux system, I immediately take steps to ensure disaster won&#8217;t strike easily. One of the first steps is to edit the system&#8217;s runlevel. The runlevel tells the system how far to take the boot process. The runlevel is broken down into six levels:</p>
<p>|&gt; 0: halt (do not set initdefault to this)<br />
|&gt; 1: Single user mode<br />
|&gt; 2: Multiuser, without NFS (the same as 3, if you do not have networking)<br />
|&gt; 3: Full multiuser mode<br />
|&gt; 4: unused<br />
|&gt; 5: X11<br />
|&gt; 6: reboot (do not set initdefault to this)</p>
<p>Newer Linux distributions almost always default to runlevel 5 (X11), which means that your system will stop at the graphical log-in screen when boot is complete. This is fine until something (or someone) hoses your X configuration; you will then have to find a means to log in. You could press [Ctrl][Alt][F7] to get a text-based virtual screen, but why go through that hassle? Instead, I always change my runlevel to 3 in the file /etc/inittab. The line you change is:<br />
id:5:initdefault:</p>
<p>which will change to:<br />
id:3:initdefault:</p>
<p>This is a very simple method of saving yourself when X doesn&#8217;t work properly.</p>
<p>Multiple kernels</p>
<p>The next obvious rescue aid is to always have a working kernel installed. I usually work from a kernel updated via yum. Kernels have occasionally been released with flaws that have caused one or more of my machines to not boot. To this end, I always make sure I have at least one perfectly running kernel on a machine. A great way to handle this is to first add plugins=1 in your /etc/yum.conf file. The next step is to take this script (written by Jeremy Katz from RedHat) and save it as n-installonly.py in /usr/lib/yum-plugins. You can change the number of kernels to retain on the system by changing the tookeepvariable (default = 2).</p>
<p>With a known working kernel on your system, you can upgrade safely. If the new kernel is hosed, simply boot the old kernel to solve the issue with the new kernel (be it to remove it, recompile it, or update it).</p>
<p>Rescue mode</p>
<p>If you are using Red Hat and the LILO boot loader, you can boot into rescue mode by inserting Disk 1 of your installation and entering linux rescue at the boot prompt. Once the machine has booted, you will land on the bash# prompt. From this mode, you have a number of tools to use.</p>
<p>As you can see, there are tools to check the integrity of a hard disk, repair hard disks, check kernel modules, mount devices, and create file systems, etc. This is a very good place to start with your rescue attempt (if you&#8217;re using a Red Hat, or Red Hat-based, system).</p>
<p>The next rescue method is booting into single-user mode, where your computer boots to runlevel 1. Your local file systems will be mounted, but your network will not be activated. You get a usable system maintenance shell. To boot into single-user mode, enter either:<br />
linux single</p>
<p>or<br />
linux emergency</p>
<p>at the LILO prompt.</p>
<p>Creating a rescue CD</p>
<p>If you&#8217;re using the LILO boot loader, there&#8217;s a great tool called mkrescue. This tool is typically used to create boot floppies, but can be used to create ISOs as well. Here&#8217;s how.</p>
<p>If you&#8217;re using Mandriva &#8212; as root:<br />
mkrescue &#8211;iso &#8211;initrd /boot/initrd-KERNEL-NUMBER.img &#8211;kernel /boot/vmlinuz-KERNEL-NUMBER</p>
<p>Note: Where KERNEL-NUMBER is the actual release number of the kernel.</p>
<p>If you&#8217;re unsure what kernel release you&#8217;re using, the numbers for intrd and vmlinuz can be found with the following command:<br />
uname -r</p>
<p>After running the command, you will find a rescue.iso file in the directory where you ran the mkrescue command. You can now burn the image with the following commands:</p>
<p>First, check for the number of the CD burn device with:<br />
cdrecord -scanbus</p>
<p>Now burn the images with:<br />
cdrecord dev=0,0,0 rescue.iso</p>
<p>Note: Where dev=0,0,0 is number discovered with the scanbus command above.</p>
<p>If you&#8217;re using Slackware, use these steps to make a boot CD:<br />
mkrescue -iso</p>
<p>Note: Slackware automatically knows what kernel to put in the ISO.</p>
<p>You will then burn the image with the same means you did with the Mandriva image.</p>
<br />Posted in Linux Tagged: Linux, tips trik <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/85/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/85/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/85/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=85&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2008/11/01/fix-linux-when-it-wont-start/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>
	</item>
		<item>
		<title>Get more e-mail flexibility with Fetchmail</title>
		<link>http://andrilaras.wordpress.com/2008/11/01/get-more-e-mail-flexibility-with-fetchmail/</link>
		<comments>http://andrilaras.wordpress.com/2008/11/01/get-more-e-mail-flexibility-with-fetchmail/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 20:18:10 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[tips trik]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/?p=83</guid>
		<description><![CDATA[Most users use GUI e-mail clients such as Thunderbird or Evolution, or even prefer Web-based mail services such as Gmail; however, there are still a significant number of people using text-based e-mail clients such as Mutt or Pine. Most likely, more people would use such clients if the learning curve were not so steep. There [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=83&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Most users use GUI e-mail clients such as Thunderbird or Evolution, or even prefer Web-based mail services such as Gmail; however, there are still a significant number of people using text-based e-mail clients such as Mutt or Pine. Most likely, more people would use such clients if the learning curve were not so steep. There still isn&#8217;t a GUI mail client that could hold a candle to Mutt (my subjective opinion, of course).</p>
<p>Because fewer people are using text-mode clients, one might think there is less use for programs like Procmail and Fetchmail. However, the use of these programs is as valid today as it was five years ago, especially on Linux systems that have a full-blown MTA like Postfix or Exim installed by default that can be used easily and with the proliferation of home servers. Imagine for a moment that you have five e-mail accounts, which isn&#8217;t uncommon for many people, and a home file/print server running Linux. With a modest amount of work, that server could also be configured to retrieve e-mail from the five accounts on a regular schedule, filter the mail with Procmail, and deliver it to mailboxes then accessed via IMAP on your personal computer.<br />
<span id="more-83"></span><br />
With some extra effort, a Web-based mail program like Squirrelmail could be installed on the same server providing you with Web &#8212; or IMAP-enabled e-mail, from anywhere, containing all the e-mail from your various accounts.</p>
<p>One part of the solution to such a setup would be Fetchmail, a program that has existed for years to do one simple task: download e-mail. The configuration of Fetchmail is quite simple as well.</p>
<p>Fetchmail uses a configuration file in your home directory, namely ~/.fetchmailrc. Because this file contains passwords, it must be mode 0600 so that only the owner can read and write to the file.</p>
<p>The content of the file is very straightforward:</p>
<p>poll mail.server.com protocol pop3 user &#8220;joe@joe.com&#8221; password &#8220;secret&#8221; mda &#8220;/usr/bin/procmail -d %T&#8221; ssl</p>
<p>This is one line of a ~/.fetchmailrc; multiple lines can be configured to have Fetchmail poll multiple mailboxes, including IMAP. This essentially indicates that Fetchmail connects to mail.server.com using POP3 over SSL, with the username joe@joe.com and the password secret. Finally, it tells Fetchmail to deliver to Procmail instead of to the local MTA; depending on whether you wish to filter the mail via Procmail first or let your MTA handle it; you can omit the entire mda argument.</p>
<p>A similar setup for IMAP would be:</p>
<p>poll imap.server.com protocol imap user &#8220;joe&#8221; password &#8220;secret&#8221; mda &#8220;/usr/bin/procmail -d %T&#8221; ssl</p>
<p>The only difference here is that the protocol is IMAP, rather than POP3, although again using SSL. The Fetchmail manpage provides a wealth of information on various configuration options, including examples of how to poll mail over SSH.</p>
<p>Fetchmail can also operate in daemon mode to self-schedule polling. For instance:</p>
<p>$ fetchmail -d 300</p>
<p>This tells Fetchmail to daemonise and to poll for mail every 300 seconds. However, Fetchmail also runs well out of cron, with a script similar to the following:</p>
<p>#!/bin/sh<br />
lockfile=&#8221;/tmp/.fetchmail.lock&#8221;<br />
nomail=&#8221;/nomail&#8221;<br />
if [ -f -o -f ]; then<br />
exit 0<br />
fi<br />
touch<br />
fetchmail -a -K &gt;/dev/null 2&gt;&amp;1<br />
rm -f</p>
<p>This simple script could be executed by cron every five minutes or so. It also allows you to simply touch the file ~/nomail to have Fetchmail not attempt to retrieve mail at all, which is useful when you&#8217;re debugging something.</p>
<p>With Fetchmail, you can interact with as many mail accounts as you have and can direct the mail wherever you like.</p>
<br />Posted in Linux Tagged: Linux, tips trik <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/83/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/83/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/83/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=83&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2008/11/01/get-more-e-mail-flexibility-with-fetchmail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>
	</item>
		<item>
		<title>Get started with GnuPG</title>
		<link>http://andrilaras.wordpress.com/2008/11/01/get-started-with-gnupg/</link>
		<comments>http://andrilaras.wordpress.com/2008/11/01/get-started-with-gnupg/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 20:13:22 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Aplication]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[tips trik]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/?p=77</guid>
		<description><![CDATA[GnuPG is an open replacement for PGP Corporation&#8217;s PGP (Pretty Good Privacy) encryption tool, and based on the OpenPGP standard. What GnuPG (or GPG for short) does is allow for the encryption and decryption of files using a public/private keypair. It can be used to encrypt regular files or e-mail, in either binary or ASCII [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=77&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>GnuPG is an open replacement for PGP Corporation&#8217;s PGP (Pretty Good Privacy) encryption tool, and based on the OpenPGP standard. What GnuPG (or GPG for short) does is allow for the encryption and decryption of files using a public/private keypair.</p>
<p>It can be used to encrypt regular files or e-mail, in either binary or ASCII format, and can also verify the integrity of files or e-mail via cryptographic signatures. GPG is a command-line tool and is available with every Linux distribution.</p>
<p>To begin using GPG, you must generate a public/private keypair. This keypair is generated with the -gen-key command:</p>
<p>$ gpg &#8211;gen-key</p>
<p>It will create the ~/.gnupg/ directory if it doesn&#8217;t already exist, where it will store its configuration file, gpg.conf, and the private and public keyrings where keys are stored, secring.gpg and pubring.gpg respectively, as well as the trust database.<br />
<span id="more-77"></span><br />
When you generate the initial keypair, you will have to choose the key type. The default is &#8220;DSA and Elgamal,&#8221; which will allow you to sign and encrypt. You will then have to select a keysize for the key &#8212; anywhere between 1024 and 4096 bits. The default is 2048 bits and is sufficient. Next, you will need to determine whether or not the key will expire, and if so, when. A non-expiring key is most convenient, as neither you nor anyone using your public key will have to worry about new keys, however if the key is stolen or compromised, it can then be used indefinitely. Many individuals have keys that expire after one year and generate new keys at that time.</p>
<p>Finally, you will need to provide a user ID for the key which consists of your real name, e-mail address, and an optional comment. The user ID will then end up being &#8220;Real Name (Comment)</p>
<p>When the key generation is complete &#8212; which may be immediate or may take some time depending on the amount of entropy your system has collected in order to generate random bytes &#8212; you can list the keys by executing:</p>
<p>$ gpg &#8211;list-keys; gpg &#8211;list-secret-keys</p>
<p>You can also view the key&#8217;s fingerprint, a unique identifier to the key, with the command:</p>
<p>$ gpg &#8211;fingerprint user@domain.org<br />
pub 1024D/9B1386E2 2007-12-01 Real Name (Comment)<br />
Key fingerprint = 88A9 166B 13E6 516A 87C8 F127 5CA9 2D9E 9B13<br />
86E2<br />
sub 2048g/7F72A50F 2007-12-01</p>
<p>Be sure to keep your fingerprint handy. When people are attempting to use or import your key, they can ensure they have the right key if you provide them with the fingerprint.</p>
<p>At this point, you can start using GPG to encrypt and decrypt files. For instance, if you have a text document, and you want to ensure that no one tampers with it, you can sign it with the &#8212; clearsign command. To keep the file readable, specify the ASCII armor format with -a. After providing your passphrase, the contents of the file will be wrapped in a digital signature and a new file will be created with the new contents. If even one space is added to the file, the signature verification will fail. For instance:</p>
<p>$ echo &#8220;Test file&#8221; &gt;test.txt<br />
$ gpg &#8211;clearsign -a test.txt<br />
You need a passphrase to unlock the secret key for<br />
user: &#8220;Real Name (Comment) &#8220;<br />
1024-bit DSA key, ID 9B1386E2, created 2007-12-01<br />
Enter passphrase:<br />
$ cat test.txt.asc<br />
&#8212;&#8211;BEGIN PGP SIGNED MESSAGE&#8212;&#8211;<br />
Hash: SHA1<br />
Test file<br />
&#8212;&#8211;BEGIN PGP SIGNATURE&#8212;&#8211;<br />
Version: GnuPG v1.4.7 (GNU/Linux)<br />
iD8DBQFHUh3VJnj1HnfyJpYRAjn7AKCI5DYTvvQ2J6pALyMYp26oGuZKaQCcCSZ7<br />
O6dBveVjOgzC4HL5k8rFFHM=<br />
=SxSW<br />
&#8212;&#8211;END PGP SIGNATURE&#8212;&#8211;<br />
$ gpg &#8211;verify test.txt.asc<br />
gpg: Signature made Sat Dec 1 19:52:05 2007 MST using DSA key ID<br />
9B1386E2<br />
gpg: Good signature from &#8220;Real Name (Comment) &#8220;<br />
gpg: WARNING: This key is not certified with a trusted signature!<br />
gpg: There is no indication that the signature belongs to the<br />
owner.<br />
Primary key fingerprint: 88A9 166B 13E6 516A 87C8 F127 5CA9 2D9E 9B13<br />
86E2<br />
$ perl -pi -e &#8216;s|file|files|&#8217; test.txt.asc<br />
$ gpg &#8211;verify test.txt.asc<br />
gpg: Signature made Sat Dec 1 19:52:05 2007 MST using DSA key ID<br />
9B1386E2<br />
gpg: BAD signature from &#8220;Real Name (Comment) &#8220;</p>
<p>As you can see from the above, changing the word &#8220;file&#8221; to &#8220;files&#8221; causes the verification of the ASCII-armored text file to fail. You can also see that GPG created a new file called test.txt.asc; GPG will attach either an .asc extension to the original file name for an ASCII-armored text file, or a .gpg extension in the case of a GPG-encrypted file.</p>
<br />Posted in Aplication, Linux Tagged: Aplication, Linux, tips trik <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/77/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/77/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/77/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=77&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2008/11/01/get-started-with-gnupg/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>
	</item>
		<item>
		<title>Try IRC with Irssi to communicate via chat</title>
		<link>http://andrilaras.wordpress.com/2008/10/12/try-irc-with-irssi-to-communicate-via-chat/</link>
		<comments>http://andrilaras.wordpress.com/2008/10/12/try-irc-with-irssi-to-communicate-via-chat/#comments</comments>
		<pubDate>Sun, 12 Oct 2008 23:24:23 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Aplication]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Irc]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/?p=73</guid>
		<description><![CDATA[IRC, or Internet Relay Chat, is a fantastic method of communication with peers, particularly if you are part of a development group or want to get support with a particular piece of software or project. Many IRC networks, particularly the Freenode network, cater to a lot of open source and Linux-based groups that can offer [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=73&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>IRC, or Internet Relay Chat, is a fantastic method of communication with peers, particularly if you are part of a development group or want to get support with a particular piece of software or project.</p>
<p>Many IRC networks, particularly the Freenode network, cater to a lot of open source and Linux-based groups that can offer support or provide a meeting place for development effort.</p>
<p>There are many IRC clients available, but one of the most extensible and powerful is the command-line based Irssi. In particular, using a CLI-based client, of any kind, offers many unique possibilities &#8212; from using it remotely via SSH to using screen to manage and share &#8220;connections&#8221; to the client.</p>
<p>Irssi, like most CLI programs, uses a flat-text configuration file: ~/.irssi/config. This configuration file can be heavily customised and can connect to multiple servers at start and issue various commands based on channel or server. For instance, to connect to Freenode at start, use:<br />
<span id="more-73"></span><br />
servers = (<br />
{<br />
address = &#8220;irc.freenode.net&#8221;;<br />
chatnet = &#8220;freenode&#8221;;<br />
port = &#8220;6667&#8243;;<br />
autoconnect = &#8220;yes&#8221;;<br />
}<br />
);</p>
<p>To configure Irssi to automatically authenticate your nickname on Freenode, you would use:</p>
<p>chatnets = {<br />
freenode = {<br />
type = &#8220;IRC&#8221;;<br />
autosendcmd = &#8220;/^msg nickserv identify secret;wait 2000&#8243;;</p>
<p>max_kicks = &#8220;4&#8243;;<br />
max_msgs = &#8220;1&#8243;;<br />
max_modes = &#8220;4&#8243;;<br />
max_whois = &#8220;1&#8243;;<br />
};</p>
<p>This will send the command /msg nickserv identify secret (where &#8220;secret&#8221; is your password), and then wait for nickserv to respond before executing further commands on that server.</p>
<p>Channel definitions are designed thus:</p>
<p>channels = (<br />
{<br />
name = &#8220;#annvix&#8221;;<br />
chatnet = &#8220;freenode&#8221;;<br />
autojoin = &#8220;yes&#8221;;<br />
autosendcmd = &#8220;/^msg chanserv op #annvix&#8221;;<br />
},<br />
{<br />
name = &#8220;#oss-security&#8221;;<br />
chatnet = &#8220;freenode&#8221;;<br />
autojoin = &#8220;yes&#8221;;<br />
autosendcmd = &#8220;/^msg chanserv op #oss-security&#8221;;<br />
}<br />
);</p>
<p>This defines two channels that are automatically joined, and the pause after messaging nickserv is made apparent as new commands are being sent to chanserv to obtain ops on the two channels — a command that would fail if the used nickname had not been authenticated yet.</p>
<p>Obviously, there is a lot more to Irssi than just auto-connecting to channels and servers. Visit the Web site to view the variety of themes that can be used to customise its look and feel, and look at the Scripts page to see the variety of scripts that can be used with Irssi. Perl is the language that can be used with Irssi, which makes scripting it very powerful. If you&#8217;re looking for a good IRC client, give Irssi a try. It has a little bit of a learning curve, but it&#8217;s well worth the effort.</p>
<br />Posted in Aplication, Linux Tagged: Aplication, Irc, Linux <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/73/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/73/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/73/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=73&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2008/10/12/try-irc-with-irssi-to-communicate-via-chat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>
	</item>
		<item>
		<title>Configure Snort to log packets to MySQL</title>
		<link>http://andrilaras.wordpress.com/2008/10/04/configure-snort-to-log-packets-to-mysql/</link>
		<comments>http://andrilaras.wordpress.com/2008/10/04/configure-snort-to-log-packets-to-mysql/#comments</comments>
		<pubDate>Sat, 04 Oct 2008 20:12:23 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[mySQL]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/?p=75</guid>
		<description><![CDATA[Last week, we looked at setting up Snort, a Network Intrusion Detection System. Now we will look at configuring Snort to log packets to a remote MySQL server where a graphical Web interface can be used to view captured packets and statistics. To begin with, on the MySQL server, the database must be created. In [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=75&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Last week, we looked at setting up Snort, a Network Intrusion Detection System. Now we will look at configuring Snort to log packets to a remote MySQL server where a graphical Web interface can be used to view captured packets and statistics.</p>
<p>To begin with, on the MySQL server, the database must be created. In this scenario, the Snort server is &#8220;snort.host&#8221; and the MySQL server is &#8220;mysql.host&#8221;. Connect to the database as root:</p>
<p># mysql -u root -p</p>
<p>mysql&gt; create database snort;</p>
<p>mysql&gt; grant INSERT,SELECT,UPDATE,CREATE,DELETE,EXECUTE on snort.* to snort@snort.host;</p>
<p>mysql&gt; set password for snort@snort.host=PASSWORD(\&#8217;snortpass\&#8217;);</p>
<p>mysql&gt; flush privileges;<br />
<span id="more-75"></span><br />
mysql&gt; q</p>
<p>With the Snort documentation comes a file called create_mysql, which has the schema for the database. On a typical Linux install, this file would be found in /usr/share/doc/snort-[version]/create_mysql. Load this file as root:</p>
<p># mysql -u root -p snort &lt;/usr/share/doc/snort-doc/create_mysql</p>
<p>Next, on the system where Snort will be running, edit the /etc/snort/snort.conf configuration file and tell it to log to the database:</p>
<p>output database: log, mysql, user=snort password=snortpass dbname=snort host=mysql.host</p>
<p>Finally, make sure that /etc/snort/snort.conf is mode 0640 and owned root:snort:</p>
<p># chown root:snort /etc/snort/snort.conf</p>
<p># chmod 0640 /etc/snort/snort.conf</p>
<p>The next step is to start Snort; a supplied initscript will start Snort monitoring or you can launch it to the background:</p>
<p># /usr/sbin/snort -c /etc/snort/snort.conf &amp;</p>
<p>Starting Snort once without sending it to the background is a good idea to ensure the connection takes. You can also look on the MySQL server to ensure that logging is active:</p>
<p># echo &#8220;SELECT hostname FROM sensor;&#8221; | mysql -u root -p snort</p>
<p>The IP address that Snort is listening on should be displayed. Now that Snort is logging data to MySQL, using BASE Basic Analysis and Security Engine is a great way to view the data via a Web interface. BASE requires a Web server and PHP. Once you have unarchived it where it needs to be, copy the base_conf.php.dist file to base_conf.php and edit it, in particular, setting the $alert_dbname and related variables to point to the Snort log database.</p>
<p>You will also want to add a snort@localhost user with privileges to the MySQL database if you did not do so earlier (i.e., if your Snort and MySQL servers are physically separate).</p>
<p>Once that is done, navigate to the BASE install that you just set up and follow the instructions presented to set up the caching table for BASE. When that is complete, BASE is now available to view and graph the logged Snort data.</p>
<br />Posted in Linux Tagged: Linux, mySQL, security <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=75&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2008/10/04/configure-snort-to-log-packets-to-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>
	</item>
		<item>
		<title>Fedora 10 beta snapshot</title>
		<link>http://andrilaras.wordpress.com/2008/09/06/fedora-10-beta-snapshot/</link>
		<comments>http://andrilaras.wordpress.com/2008/09/06/fedora-10-beta-snapshot/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 15:59:15 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[OS]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/?p=60</guid>
		<description><![CDATA[The Fedora Project is in the final throes of testing version 10 of its Linux distribution, and is regularly releasing &#8220;snapshot&#8221; updates to Fedora 10 beta. We take you on a graphical tour of the installation and desktop of Fedora 10 beta, snapshot 2. We booted the live CD version of the Linux distribution, in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=60&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div id="image-holder" style="width:440px;"></div>
<p><!--CAPTION_START--></p>
<p><strong>The Fedora Project is in the final throes of testing version 10 of its Linux distribution, and is regularly releasing &#8220;snapshot&#8221; updates to Fedora 10 beta. We take you on a graphical tour of the installation and desktop of Fedora 10 beta, snapshot 2.</strong><img src="http://www.zdnet.com.au/story_media/339292832/fedora-10-beta-snapshot-2-screenshots_1.jpg" alt="Screenshots" width="440" height="330" /><span id="more-60"></span></p>
<p>We booted the live CD version of the Linux distribution, in a VMware virtualised session. We then proceeded to install the software &#8230; but it crashed on boot-up (see the error at the end of the gallery). Such is beta living.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrilaras.wordpress.com/60/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrilaras.wordpress.com/60/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/60/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/60/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/60/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=60&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2008/09/06/fedora-10-beta-snapshot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>

		<media:content url="http://www.zdnet.com.au/story_media/339292832/fedora-10-beta-snapshot-2-screenshots_1.jpg" medium="image">
			<media:title type="html">Screenshots</media:title>
		</media:content>
	</item>
		<item>
		<title>Open source&#8217;s usability challenge</title>
		<link>http://andrilaras.wordpress.com/2008/09/01/open-sources-usability-challenge/</link>
		<comments>http://andrilaras.wordpress.com/2008/09/01/open-sources-usability-challenge/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 20:01:23 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[open source]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/?p=62</guid>
		<description><![CDATA[The iPhone has been out for a year, and known about in detail for considerably longer. Yet the very latest crop of state-of-the-art Windows Mobile phones, clearly designed as head-on competitors to that phone, miss the mark by miles. They all have the same feature list &#8212; indeed, they capitalise on the many aspects of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=62&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The iPhone has been out for a year, and known about in detail for considerably longer. Yet the very latest crop of state-of-the-art Windows Mobile phones, clearly designed as head-on competitors to that phone, miss the mark by miles.</p>
<p>They all have the same feature list &#8212; indeed, they capitalise on the many aspects of the iPhone that are well below par &#8212; but they all feel cruder and more frustrating to use. You can&#8217;t just bolt this stuff on.</p>
<p>Usability is extremely important. It&#8217;s also very hard to do well and requires extreme corporate self-discipline. If you ever find yourself asking which of Apple and Microsoft has the more effective management, compare their products. Unless an engineer knows with total clarity that their part of the project will be thrown back for failing to meet usability standards, then the urge to cut a corner or half-bake a feature can be irresistible. Functionality is easy to specify and test: usability far less so. <span id="more-62"></span></p>
<p>That should make usability supremely challenging for open source projects, especially ones of the scale and complexity of Ubuntu. But then, open source is not known for following corporate theory: witness the fact that the Linux desktop has evolved to the point where it&#8217;s beyond merely usable but a fully-featured and viable alternative in daily work to paid-for software. That should have been impossible: it turned out to be anything but.</p>
<p>So when Mark Shuttleworth calls for <a href="http://www.builderau.com.au/news/soa/Ubuntu-gets-user-interface-team/0,339028227,339291948,00.htm">usability</a> to be a primary concern in future Ubuntu developments, it&#8217;s fair to say that he expects it to be achievable. That he&#8217;s employing a team to add usability to X, OpenGL, Gtk, Qt, Gnome and KDE shows that he&#8217;s prepared to back that expectation.</p>
<p>But it needs more. Open source needs its Steve Jobs &#8212; which is admittedly like saying America needs an emperor. It needs someone with an extremely clear and uncompromising vision of usability, and the charisma and energy to make people want to follow. As many in the movement have a visceral reaction to autocrats, the primary role of such a figurehead won&#8217;t be to tell, but to teach &#8212; to show people how to want to write usable software more than anything else.</p>
<p>Any glance at open source discussion groups will show just how far out of mind such considerations stand. Unless this starts to change, open source will remain limited in its power and reach &#8212; and its competitors will carry on getting a free ride.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrilaras.wordpress.com/62/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrilaras.wordpress.com/62/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/62/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/62/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/62/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=62&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2008/09/01/open-sources-usability-challenge/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>
	</item>
		<item>
		<title>Making a custom (Ubuntu) Start Menu button under GNOME</title>
		<link>http://andrilaras.wordpress.com/2008/09/01/making-a-custom-ubuntu-start-menu-button-under-gnome/</link>
		<comments>http://andrilaras.wordpress.com/2008/09/01/making-a-custom-ubuntu-start-menu-button-under-gnome/#comments</comments>
		<pubDate>Mon, 01 Sep 2008 19:26:50 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/?p=58</guid>
		<description><![CDATA[This is a quick little how-to for GNOME users to have a Windows-esque start menu button instead of the default &#8220;Applications/Places/System&#8221; combo, or the somewhat ambiguous icon-only &#8220;Main Menu&#8221; option. It&#8217;s helpful if you want to maintain a similar environment to your Windows setup or if you or someone you know is transitioning over to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=58&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="menu" src="http://www.natewelch.com/images/sections/040707_custom_menu.png" alt="" width="188" height="129" />This is a quick little how-to for GNOME users to have a Windows-esque start menu button instead of the default &#8220;Applications/Places/System&#8221; combo, or the somewhat ambiguous icon-only &#8220;Main Menu&#8221; option. It&#8217;s helpful if you want to maintain a similar environment to your Windows setup or if you or someone you know is transitioning over to Desktop Linux from Windows.</p>
<p>For myself, I have a single bottom GNOME panel with the &#8220;Start&#8221; menu on the left, then a series of &#8220;Quick Launch&#8221; application launcher icons, then a &#8220;window list&#8221; (the buttons representing open windows), a notification area (system tray showing certain statuses, such as battery life, network connections, etc&#8230;) and finally a clock/weather combo. This is very much like most Windows setups except the panel menu choices didn&#8217;t quite match the &#8220;Start&#8221; menu I was so used to. Here&#8217;s how to remedy that:<span id="more-58"></span></p>
<ol>
<li>Make an image that you want to use as a start menu (download mine at the bottom of this article). It can be anything you want but should be somewhat horizontally or vertically oriented depending on the type of panel you&#8217;ll be placing it on. Don&#8217;t worry about the original&#8217;s size as it will scale down nicely (mine&#8217;s 350 pixels, 17KB). Lastly, make the background transparent to allow the underlying panel color/background to show through.</li>
<li>Save the image as a transparent PNG file somewhere in your home directory. I personally have a Pictures/GUI subdirectory just in case I ever reinstall my Linux, I have all my GUI tweaks, wallpapers, etc&#8230; right there.</li>
<li>If you haven&#8217;t done so already, add a &#8220;Main Menu&#8221; to your panel by right-clicking on an empty area on the panel and selecting &#8220;Add to Panel&#8221;. There are two types of menus there &#8211; you want to pick the one represented by a single icon of the Ubuntu logo (or whatever your Linux distro uses as a default image). Also remove the Applications/Places/System menu from your panel if you have one of those set.</li>
<li>To set the custom menu graphic, you need to open the Configuration Editor under the &#8220;System Tools&#8221; menu &#8211; or for you hardcore types, &#8220;gconf-editor&#8221; at the command line. Go to <strong>apps-&gt;panel-&gt;objects</strong> and you&#8217;ll see a series of object_x subitems. Click through them until you find the one where the value for &#8220;object_type&#8221; is &#8220;menu-object&#8221;. Check the &#8220;use_custom_icon&#8221; option and then set the &#8220;custom_icon&#8221; value to the path to your custom button graphic, i.e. &#8220;/home/username/Pictures/ubuntumenu.png&#8221;. The graphic should update immediately.</li>
<li>For an added touch, add a &#8220;Separator&#8221; to your GNOME panel to partition it off from the rest of the panel, as seen in the screenshot above.</li>
</ol>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrilaras.wordpress.com/58/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrilaras.wordpress.com/58/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=58&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2008/09/01/making-a-custom-ubuntu-start-menu-button-under-gnome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>

		<media:content url="http://www.natewelch.com/images/sections/040707_custom_menu.png" medium="image">
			<media:title type="html">menu</media:title>
		</media:content>
	</item>
		<item>
		<title>Consider these Linux file management alternatives</title>
		<link>http://andrilaras.wordpress.com/2008/08/25/consider-these-linux-file-management-alternatives/</link>
		<comments>http://andrilaras.wordpress.com/2008/08/25/consider-these-linux-file-management-alternatives/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 02:04:03 +0000</pubDate>
		<dc:creator>andri laras</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[kinux]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[tips trik]]></category>

		<guid isPermaLink="false">http://andrilaras.wordpress.com/?p=64</guid>
		<description><![CDATA[Many Linux users make use of the KDE or GNOME desktop environments and when it comes to file management, they don&#8217;t venture beyond using the environment-provided file management tools like Konqueror or Nautilus. Considering this is Linux, there are many other file management tools to choose from, some of which you may find preferable to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=64&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many Linux users make use of the KDE or GNOME desktop environments and when it comes to file management, they don&#8217;t venture beyond using the environment-provided file management tools like Konqueror or Nautilus.</p>
<p>Considering this is Linux, there are many other file management tools to choose from, some of which you may find preferable to the &#8220;defaults&#8221;.</p>
<p><strong>Gentoo file manager</strong></p>
<p>One such file management tool is called <a href="http://obsession.se/gentoo/">Gentoo</a>, not to be confused with the Linux distribution of the same name. Gentoo hasn&#8217;t been updated in a few years, but it is still a solid file manager. Some distributions include it, so it is just an apt-get or yum command away; for others that do not include it, all you need to build it from source are the GTK+ development files and libraries. The latter will be installed with any GNOME system. To build from source, it&#8217;s a <em>./configure; make; make install</em> away from usability.<span id="more-64"></span></p>
<p>Gentoo is nice in that it is a GTK+-based application with a dual-paned file view, reminiscent of old tools like Total Commander or Norton Commander. It is extremely configurable with a powerful file recognition system that allows you to map what happens when you double-click a file type, select which icons belong to what types of files, etc.</p>
<p><strong>Krusader</strong></p>
<p>For those who prefer using KDE, <a href="http://www.krusader.org/">Krusader</a> is another stellar file management tool. Like Gentoo, it is a dual-paned file management utility that is extremely customisable. The latest beta of Krusader is compatible with KDE4, whereas previous stable versions are written for KDE3. Some of Krusader&#8217;s notable features include impressive archive handling, advanced searching, an internal viewer/editor, file content comparisons and directory synchronisation. It can also handle remote file systems by using KIO slaves, which means it can mount SMB or FTP file systems. Many distributions provide Krusader.</p>
<p><strong>Midnight Commander</strong></p>
<p>Finally, for those who want a file management tool very similar to Norton Commander and that operates on the CLI, Midnight Commander is the best choice. Midnight Commander is available for nearly all Linux distributions; the package may be named <em>mc</em>, which is also the name of the program. MC gives a dual-paned file view, each representing a different directory. When executed in a terminal under X, mouse clicks work, so if MC is your preference but you want to use it in a GUI, it&#8217;s still an option. Another nice feature of MC is that it still keeps a command-line open so you can use a combination of directory navigation and CLI commands, made even easier by using the tab key to switch active panes.</p>
<p>These are just three examples of many other file management, or &#8220;file commander&#8221; type programs available for Linux. Others include Tux Commander, XFE, and Gnome Commander. If the default file management tools don&#8217;t quite cut it, or if you prefer the dual-paned file system view, give one of these programs a try.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/andrilaras.wordpress.com/64/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/andrilaras.wordpress.com/64/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/andrilaras.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/andrilaras.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/andrilaras.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/andrilaras.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/andrilaras.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/andrilaras.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/andrilaras.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/andrilaras.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/andrilaras.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/andrilaras.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/andrilaras.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/andrilaras.wordpress.com/64/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/andrilaras.wordpress.com/64/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/andrilaras.wordpress.com/64/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=andrilaras.wordpress.com&amp;blog=3923174&amp;post=64&amp;subd=andrilaras&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://andrilaras.wordpress.com/2008/08/25/consider-these-linux-file-management-alternatives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e2a3b34f8e8a498edb7f1f8d300827c9?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">andrilaras</media:title>
		</media:content>
	</item>
	</channel>
</rss>
