<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.12-alpha" -->
<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/"
	>

<channel>
	<title>Debian Package of the Day</title>
	<link>http://debaday.debian.net</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Sun, 04 May 2008 05:00:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.12-alpha</generator>
	<language>en</language>
			<item>
		<title>cu: Simple serial communication program</title>
		<link>http://debaday.debian.net/2008/05/04/cu-simple-serial-communication-program/</link>
		<comments>http://debaday.debian.net/2008/05/04/cu-simple-serial-communication-program/#comments</comments>
		<pubDate>Sun, 04 May 2008 05:00:56 +0000</pubDate>
		<dc:creator>Tincho</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/05/04/cu-simple-serial-communication-program/</guid>
		<description><![CDATA[Article submitted by Floris Bruynooghe. Guess what? We still need you to submit good articles about software you like!
If you have servers, embedded systems or high end routers (or old PC&#8217;s doing those jobs) chances are that they will have a console on a serial port instead of being equipped with a display and keyboard. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Article submitted by Floris Bruynooghe. Guess what? We still need you to <a href="http://debaday.debian.net/contribute/">submit good articles about software you like</a>!</strong></p>
<p>If you have servers, embedded systems or high end routers (or old PC&#8217;s doing those jobs) chances are that they will have a console on a serial port instead of being equipped with a display and keyboard. Even when normally you use <code>ssh(1)</code> or similar to log in to those machines, in debugging and rescue sessions you often want to see console messages, pull down the network interface or maybe play with the boot loader (like launching alternate kernels from within grub). You then need a null modem cable (often supplied by vendors when they use RJ45 plugs for the serial console instead of RS232) to connect the serial port of your computer to the serial console of the device.</p>
<p>Now you also need a program, often called a &#8220;serial communications&#8221; program, that can connect to your serial port and allow you to use your terminal as the console of the attached device. Most serial communication programs however where actually made in an era when most networking happened by using a modem &mdash;attached to the serial port&mdash; to dial up other systems. As a result of this they tend to have very heavy and bloated interfaces, giving you all sort of modem-specific functionality via a complicated interactive interface. This is where cu comes in! It is a very simple version of it: a simple command line program doing the bare minimum needed.</p>
<p>In it&#8217;s simplest scenario, described above, invocation is trivial:</p>
<pre class="terminal">$ cu -l /dev/ttyS0</pre>
<p>For example this is how I connect to my home router (normally I&#8217;d use <code>apt-get</code> over <code>ssh</code> though):</p>
<pre class="terminal">flub@laurie:~$ cu -l /dev/ttyS1
Connected.

Debian GNU/Linux 4.0 balder ttyS0

balder login: root
Password:
Last login: Sun Apr 13 19:58:46 2008 on ttyS0
balder:~# apt-get update
...
balder:~# apt-get upgrade
...
balder:~# logout

Debian GNU/Linux 4.0 balder ttyS0

balder login: ~.
Disconnected.
flub@laurie:~$ </pre>
<p>As you can see here I used the seconds serial port (ttyS1) of my local machine (laurie) to connect to the first serial port (ttyS0) of the router (balder), which is configured to run a getty on it.  This allows me to log in and do any task I want just like from any other terminal.  Disconnecting is done just as in ssh by default: by typing `<kbd>~.</kbd>&#8216;  just after you have typed a newline.</p>
<p>The above will connect you to the serial line configured as 9600, 8n1 (9600 baud rate, 8 data bits, no parity, 1 stop bit).  This is most likely the default setting on the device.  However as this is sometimes a little slow you might want to configure your server (or whatever the device is) to use a faster baud rate, or maybe your vendor did that already and told you in their documentation what speed to use.  The speed is easily changed by another command line switch:</p>
<pre class="terminal">$ cu -l /dev/ttyS0 -s 150000</pre>
<p>If you need to change the parity this can be achieved by using -e for even and -o for odd parity.  The stop bits and data bits can&#8217;t be changed by command line switches unfortunately, but needing them seems very rare.</p>
<p>cu does have a fair few more options and some more commands starting with the `<kbd>~</kbd>&#8216; escape character.  Most of these have to do with using modems to dial other systems however and are not applicable for null modem use.  The manual page, <code>cu(1)</code>, gives a detailed description of more advanced features.</p>
<p>(1) If you&#8217;re unlucky enough to not have a serial port anymore, like many modern laptops, a USB-dongle with a serial port is usually assigned to <code>/dev/ttyUSB0</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/05/04/cu-simple-serial-communication-program/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Thanks!</title>
		<link>http://debaday.debian.net/2008/05/03/thanks/</link>
		<comments>http://debaday.debian.net/2008/05/03/thanks/#comments</comments>
		<pubDate>Sat, 03 May 2008 05:26:14 +0000</pubDate>
		<dc:creator>Tincho</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/05/03/thanks/</guid>
		<description><![CDATA[Hi again,
A few weeks ago, I wrote a call for help as we were lacking material for keeping the site alive. I&#8217;m very happy to say that it was a success! We received many great articles that we&#8217;re currently drafting for publication (you have already seen some), and lots of support. You people rock!
We will [...]]]></description>
			<content:encoded><![CDATA[<p>Hi again,</p>
<p>A few weeks ago, I wrote a <a href="http://debaday.debian.net/2008/04/10/a-call-for-help/">call for help</a> as we were lacking material for keeping the site alive. I&#8217;m very happy to say that it was a success! We received many great articles that we&#8217;re currently drafting for publication (you have already seen some), and lots of support. You people rock!</p>
<p>We will be keeping the weekly schedule for now, just to be on the safe side. If the contributions keep flowing, we might be able to do twice a week posts again.</p>
<p>So thanks to all of you: silent readers, commenters and writers. You&#8217;re great and you are the reason and life of this site!</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/05/03/thanks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sonata: an elegant music client for MPD</title>
		<link>http://debaday.debian.net/2008/04/27/sonata-an-elegant-music-client-for-mpd/</link>
		<comments>http://debaday.debian.net/2008/04/27/sonata-an-elegant-music-client-for-mpd/#comments</comments>
		<pubDate>Sun, 27 Apr 2008 05:00:11 +0000</pubDate>
		<dc:creator>Tincho</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/04/27/sonata-an-elegant-music-client-for-mpd/</guid>
		<description><![CDATA[Article submitted by Fatih Altınok. Guess what? We still need you to submit good articles about software you like!
Sonata is a GTK+ music player, written in Python. Actually, it is an MPD client, which is it&#8217;s most important advantage. MPD is a daemon that plays your music at background (maybe on a different computer). It [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Article submitted by Fatih Altınok. Guess what? We still need you to <a href="http://debaday.debian.net/contribute/">submit good articles about software you like</a>!</strong></p>
<p><a href="http://sonata.berlios.de/">Sonata</a> is a GTK+ music player, written in Python. Actually, it is an <a href="http://musicpd.org/" alt="Music player Daemon" title="Music Player Daemon">MPD</a> client, which is it&#8217;s most important advantage. MPD is a daemon that plays your music at background (maybe on a different computer). It can use different front ends, you can use it even from command-line and it continues playing even if your client or X is crashes. Sonata takes advantage of MPD and serves it in a clean and user-friendly interface.</p>
<p><img id="image413" src="http://debaday.debian.net/wp-content/uploads/2008/04/sonata-mini.png" alt="Sonata - Mini" /></p>
<p>Sonata offers a clean interface to your music. You can choose a collapsed or expanded view. You can browse around tabs to reach your queue, play lists, library, song info or streams. The interface is customizable; you can remove unwanted tabs, playback buttons, progress bar, status bar and album cover. You can hide the main window by clicking the tray icon or by entering <kbd>sonata -t</kbd> into the command line &mdash;which you can bind to a keyboard shortcut to make it easier. And you can see the song changes from the notification pop-ups.</p>
<p><a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/04/sonata-play-list.png" title="Sonata - Playlist"><img id="image415" src="http://debaday.debian.net/wp-content/uploads/2008/04/sonata-play-list.thumbnail.png" alt="Sonata - Playlist" /></a> <a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/04/sonata-library.png" title="Sonata - Library"><img id="image412" src="http://debaday.debian.net/wp-content/uploads/2008/04/sonata-library.thumbnail.png" alt="Sonata - Library" /></a> <a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/04/sonata-info.png" title="Sonata - Info"><img id="image411" src="http://debaday.debian.net/wp-content/uploads/2008/04/sonata-info.thumbnail.png" alt="Sonata - Info" /></a> <a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/04/sonata-options.png" title="Sonata - Options"><img id="image414" src="http://debaday.debian.net/wp-content/uploads/2008/04/sonata-options.thumbnail.png" alt="Sonata - Options" /></a></p>
<p>Sonata has lots of features you&#8217;d want from it. It can fetch song lyrics from <a href="http://lyricwiki.org/">Lyricwiki.org</a> and saves them to the <code>~/.lyrics</code> folder. It can &ldquo;scrobble&rdquo; your songs to <a href="http://last.fm/">Last.fm</a> (you can use a daemon for that too, but it&#8217;s your choice.) You can view and search your music database from the library tab. You can edit your ID3 tags, one by one or batch. It can show album covers &mdash;both local or remote, depends on your decision&mdash;. If you click on the cover art; you&#8217;ll go to the song info where you can enlarge the image, see the lyrics and other song-related information. It also has support for listening to on-line streams.</p>
<p>You may think these features are just ordinary for an advanced music player, but there&#8217;s one more thing. Sonata&#8217;s interface is simple and user-friendly. Forget about the music players which you can&#8217;t use unless it&#8217;s full-screen. Sonata doesn&#8217;t cover more place than a sidebar. Think about music players with lots of features that makes it complicated. Sonata has what&#8217;s necessary. It makes listening to music enjoyable, not confusing.</p>
<p>You can install Sonata if you&#8217;re using Debian testing or unstable; or Ubuntu on all repositories. Sonata is currently being developed and pretty stable. Ready to make you enjoy your music!</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/04/27/sonata-an-elegant-music-client-for-mpd/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sitebar: centralized bookmarking</title>
		<link>http://debaday.debian.net/2008/04/20/sitebar-centralized-bookmarking/</link>
		<comments>http://debaday.debian.net/2008/04/20/sitebar-centralized-bookmarking/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 05:00:56 +0000</pubDate>
		<dc:creator>Tincho</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/04/20/sitebar-centralized-bookmarking/</guid>
		<description><![CDATA[Article submitted by Arve Seljebu. Guess what? We still need you to submit good articles about software you like!
Like many people nowadays, I use many different computers. You use your computer at work, home, school and in public places. Maybe you also got several computers at home? One thing that easy comes to annoyance is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Article submitted by Arve Seljebu. Guess what? We still need you to <a href="http://debaday.debian.net/contribute/">submit good articles about software you like</a>!</strong></p>
<p>Like many people nowadays, I use many different computers. You use your computer at work, home, school and in public places. Maybe you also got several computers at home? One thing that easy comes to annoyance is bookmarking. With different bookmarks on every computer, I&#8217;ve long searched for a good way to sync my bookmarks between browsers and operating systems. Maybe you&#8217;ve used Google bookmarks, del.icio.us or similar social bookmarking. I&#8217;ve been using Google bookmarks, and my problem arrived when I wanted a good way to view my bookmarks in the Opera web browser. The solution was to add a speed dial to <code>http://google.com/bookmarks</code>, which to me wasn&#8217;t very appealing to me.</p>
<p>Sitebar is an easy way store your bookmarks in one place. It has support for many browsers and <a href="http://my.sitebar.org/integrator.php">platforms</a>. It comes both as a service, or self installed software. The latter is my preference. The great news is that sitebar comes as a package in Debian. All you need is apache, mysql and php. Installing is as easy as <q><kbd>apt-get install sitebar</kbd></q>, set up a mysql database through the install wizard and then browse over to <code>http://yourserver/sitebar/</code> and set up your preferences.</p>
<p>To get started, sitebar includes ways to import and export your bookmarks in many formats. It&#8217;s as simple as right clicking inside the bookmark area and choose Import Bookmarks. Sitebar can import the following input formats: Atom, OPML Link Type, OPML RSS Type, Opera Hotlist, Netscape Bookmark File, RDF/RSS, and XBEL. You can also select Auto, which is the easiest way. </p>
<p>The use of Sitebar may vary some between different browsers. For example, in Firefox several add-ons are available, and in Opera the side panel is used. That&#8217;s why the sitebar-menu will show up when right clicking the bookmarks under Firefox, but in Opera you will need to use <kbd>CTRL left-click</kbd> to get the same menu. As for use in Opera, I prefer getting Opera&#8217;s menu when right-clicking, which means you can open bookmarks in new tabs and such.</p>
<p>Adding bookmarks is simple too. You can make yourself a short cut to adding bookmarks in your browser. You could also <kbd>right-click/CTRL-left-click</kbd> where you want your new bookmark and then choose “Add Link”. And here comes the beauty, under “Add Link” you&#8217;ve got a button called “Retrieve Link Information” which gets title, description and icon from the web page you are adding. </p>
<p>After a link is added, you can email, copy, delete or edit it. There is also security features that lets you choose rights for trees and folders. User management and groups are available too. All of these functions are easy understandable.</p>
<h2>Screenshots</h2>
<div>Full screen shot of Sitebar in Firefox/Iceweasel<br/><a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/04/firefox_sitebar.png" title="Sitebar in Firefox/Iceweasel"><img id="image407" src="http://debaday.debian.net/wp-content/uploads/2008/04/firefox_sitebar.thumbnail.png" alt="Sitebar in Firefox/Iceweasel" /></a></div>
<div>
<div style="float: left; margin-right: 1em;">Sitebar menu<br/><img id="image408" src="http://debaday.debian.net/wp-content/uploads/2008/04/sitebar_menu.png" alt="Sitebar menu" /></div>
<div style="float: left; margin-right: 1em;">Importing bookmarks<br/><img id="image404" src="http://debaday.debian.net/wp-content/uploads/2008/04/import.png" alt="Importing bookmarks" /></div>
<div style="clear: both"></div>
</div>
<div>
<div style="float: left; margin-right: 1em;">Adding a bookmark<br/><img id="image405" src="http://debaday.debian.net/wp-content/uploads/2008/04/add_link.png" alt="Adding a bookmark" /></div>
<div style="float: left">Creating a folder<br/><img id="image406" src="http://debaday.debian.net/wp-content/uploads/2008/04/new_folder.png" alt="Creating a folder" /></div>
<div style="clear: both"></div>
</div>
<h2>Conclusion</h2>
<p>Pros:</p>
<ul>
<li>Easy installed</li>
<li>Integrated into many browsers</li>
<li>Your own private bookmarks, no need for signing up some service</li>
<li>No need to synchronize between browsers</li>
</ul>
<p>Cons:</p>
<ul>
<li>Use vary between browsers</li>
</ul>
<p>Sitebar has been available in <a href="http://packages.debian.org/sitebar">Debian</a> since at least Sarge, and in <a href="http://packages.ubuntu.com/sitebar">Ubuntu</a> since Dapper.</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/04/20/sitebar-centralized-bookmarking/feed/</wfw:commentRss>
		</item>
		<item>
		<title>wesnoth: a turn-based fantasy strategy game</title>
		<link>http://debaday.debian.net/2008/04/13/wesnoth-a-turn-based-fantasy-strategy-game/</link>
		<comments>http://debaday.debian.net/2008/04/13/wesnoth-a-turn-based-fantasy-strategy-game/#comments</comments>
		<pubDate>Sun, 13 Apr 2008 05:00:29 +0000</pubDate>
		<dc:creator>Tincho</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/04/13/wesnoth-a-turn-based-fantasy-strategy-game/</guid>
		<description><![CDATA[Article submitted by Vasiliy Faronov. Guess what? We still need you to submit good articles about software you like!
The free software community makes games, too. Among the more well-known ones is the Battle for Wesnoth — a turn-based strategy game with a fantasy setting. It doesn’t have shiny 3D graphics or cut-scenes, but it is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Article submitted by Vasiliy Faronov. Guess what? We still need you to <a href="http://debaday.debian.net/contribute/">submit good articles about software you like</a>!</strong></p>
<p>The free software community makes games, too. Among the more well-known ones is the Battle for Wesnoth — a turn-based strategy game with a fantasy setting. It doesn’t have shiny 3D graphics or cut-scenes, but it is an interesting and original game and is fun to play.</p>
<p>This game is often simply called “Wesnoth”, and the package name is “wesnoth”.</p>
<p><a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/04/wesnoth-game.jpg" title="A typical Wesnoth action"><img id="image399" src="http://debaday.debian.net/wp-content/uploads/2008/04/wesnoth-game.thumbnail.jpg" alt="A typical Wesnoth action" /></a><br/>A typical Wesnoth action.</p>
<p>Wesnoth is played on a map divided into small hexagons. Each player controls a number of units which move over the map and attack enemy units. Different units possess different abilities and weapons. An important tactical element in Wesnoth is terrain: it determines the defensive ability of the units. For example, an Elvish Fighter can defend himself better in the forest than on open grassland, so enemies are less likely to harm him in the forest. As you kill more and more of your foes, your followers advance to higher levels, improving their skills and other characteristics. Careful positioning, movement and advancement of units is the key to victory.</p>
<p>The game’s interface is quite nice and usable. Among other things, Wesnoth ships with a complete in-game help reference where you can find detailed information as well as general overviews.</p>
<p><a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/04/wesnoth-help.png" title="Wesnoth help"><img id="image400" src="http://debaday.debian.net/wp-content/uploads/2008/04/wesnoth-help.thumbnail.png" alt="Wesnoth help" /></a><br/>The in-game help, complete with pictures and hyperlinks.</p>
<p>The game ships with a number of campaigns that pit you against an artificial intelligence (AI). Of course, you can also play against other people. There is a dedicated multiplayer server where you can compete with your friends or strangers (note that direct connectivity with your opponent is not necessary, so you can play even from behind a NAT router or similar obstructions). For users of the stable Debian distribution, there is a server at wesnoth.debian.net — it lets you play with the Debian’s version of the game even after the developers release a newer one.</p>
<p><a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/04/wesnoth-lobby.jpg" title="The virtual “lobby” of the multiplayer server"><img id="image401" src="http://debaday.debian.net/wp-content/uploads/2008/04/wesnoth-lobby.thumbnail.jpg" alt="The virtual “lobby” of the multiplayer server" /></a><br/>The virtual “lobby” of the multiplayer server.</p>
<p>Wesnoth can also be expanded: you may create your own campaigns, maps, units and all other sorts of things. A special add-on service has been developed to make it easy for players to find and install such enhancements. Just connect to it, pick what you like, click a button, and you are ready to go.</p>
<p><a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/04/wesnoth-addons.jpg" title="The add-on installation dialog"><img id="image402" src="http://debaday.debian.net/wp-content/uploads/2008/04/wesnoth-addons.thumbnail.jpg" alt="The add-on installation dialog" /></a><br/>The add-on installation dialog.</p>
<p>The game is actively developed, has a well-maintained <a href="http://www.wesnoth.org/" title="The official web site of the Battle for Wesnoth.">web site</a> and a thriving community on the <a href="http://www.wesnoth.org/forum/" title="The official forums for the Battle of Wesnoth.">forums</a>. Wesnoth has been available in Debian since release 3.1 “sarge”, and in Ubuntu since release 6.06 “Dapper Drake”.</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/04/13/wesnoth-a-turn-based-fantasy-strategy-game/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A call for help</title>
		<link>http://debaday.debian.net/2008/04/10/a-call-for-help/</link>
		<comments>http://debaday.debian.net/2008/04/10/a-call-for-help/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 03:58:11 +0000</pubDate>
		<dc:creator>Tincho</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/04/10/a-call-for-help/</guid>
		<description><![CDATA[Hi there,
Once again, we urge you to help us keep this site up and running. Since February we only had three posts, far from the twice a week intended publishing rate (the one article per day idea was dropped long time ago). We desesperately need new articles to publish, remember that this site is made [...]]]></description>
			<content:encoded><![CDATA[<p>Hi there,</p>
<p>Once again, we urge you to help us keep this site up and running. Since February we only had three posts, far from the twice a week intended publishing rate (the one article per day idea was dropped long time ago). We desesperately need new articles to publish, remember that this site is made from the material our readers contribute, so it&#8217;s up to you to keep it running! We also need help editing articles, but that&#8217;s void if we don&#8217;t get articles to edit.</p>
<p>Now, we have a only couple of articles to publish, on Sunday you&#8217;ll be able to enjoy one and for now we&#8217;ll switch to a weekly rate. If things go better, we could go back to twice a week. If things don&#8217;t go better, it will be time to end the project.</p>
<p>Thanks for your attention, Tincho.</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/04/10/a-call-for-help/feed/</wfw:commentRss>
		</item>
		<item>
		<title>stellarium: A Planetarium on your Desktop</title>
		<link>http://debaday.debian.net/2008/03/30/httpwwwstellariumorg-a-planetarium-on-your-desktop/</link>
		<comments>http://debaday.debian.net/2008/03/30/httpwwwstellariumorg-a-planetarium-on-your-desktop/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 05:00:18 +0000</pubDate>
		<dc:creator>Patrick Murena</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/03/30/httpwwwstellariumorg-a-planetarium-on-your-desktop/</guid>
		<description><![CDATA[If you usually read Debaday, you must have noticed the recent lack of articles. We apologise for that, we&#8217;re lacking articles and editing manpower. We really need your help to keep the site running!
Article submitted by David Newgas. Guess what? We still need you to submit good articles about software you like!
I&#8217;ve always been interested [...]]]></description>
			<content:encoded><![CDATA[<p>If you usually read Debaday, you must have noticed the recent lack of articles. We apologise for that, we&#8217;re lacking articles and editing manpower. We really need your help to keep the site running!</p>
<p><strong>Article submitted by David Newgas. Guess what? We still need you to <a href="http://debaday.debian.net/contribute/">submit good articles about software you like</a>!</strong></p>
<p>I&#8217;ve always been interested in astronomy.  But it was only after moving out of the city that I discovered merely by tilting my head up I could see some of the amazing things I had seen pictures of and learned about. Unfortunately, I knew very little about how to find interesting things in the sky.</p>
<p>This is where <a href="http://www.stellarium.org/">Stellarium</a> comes in! Stellarium is a free/open source planetarium for your PC.  It offers a splendid interface:</p>
<p><a href="http://debaday.debian.net/wp-content/uploads/2008/03/stellariuminterface.png" class="imagelink"><br />
<img src="http://debaday.debian.net/wp-content/uploads/2008/03/stellariuminterface.thumbnail.png" alt="Stellarium Interface" /></a></p>
<p>Many &quot;Sky Cultures&quot;:</p>
<p><a href="http://debaday.debian.net/wp-content/uploads/2008/03/stellariumskycultures.png" class="imagelink"><br />
<img src="http://debaday.debian.net/wp-content/uploads/2008/03/stellariumskycultures.thumbnail.png" alt="Stellarium Sky Cultures" /></a></p>
<p>And beautiful graphics:</p>
<p><a href="http://debaday.debian.net/wp-content/uploads/2008/03/stellariumnebulae.png" class="imagelink"><br />
<img src="http://debaday.debian.net/wp-content/uploads/2008/03/stellariumnebulae.thumbnail.png" alt="Stellarium Nebulae" /></a></p>
<p>To install, just <code>apt-get install stellarium</code>.  The user interface is easy &#8212; left-click and drag to move around, and mouse wheel to zoom in and out.  Alternatively arrow keys can be used to move, and Ctrl-Up/Down to zoom.  Usually Stellarium shows the stars rotating at the same speed as in reality (which is only obviously visible at high zoom).  However, the controls in the bottom right corner allow time to be sped up or reversed. This is important for figuring out where objects will be in the sky.</p>
<p>Time shifting means that Stellarium can be used to simulate solar eclipses, comet passes and meteor showers (all of which have something which can be seen in the simulation).</p>
<p>The magnifying glass icon or Ctrl-F allows you to find objects.  I recommend finding the especially beautiful Dumbbell Nebula, or the recently famous Comet McNaught (Hint, it is recognised as C/2006 P1).
<p>Stellarium is beautiful to use to look at constellations.  Turning on the first three toolbar options displays the constellations, their names and artwork of what they represent.  In the language tab of the settings window (the spanner or &quot;1&quot; key) the &#8220;sky culture&#8221; can be changed, showing the constellations of the Chinese or Inuits, to name just two.
<p>One fun thing to do is find a solar system object and press Ctrl-G.  This takes you to a view from that planet, with positions and phase of other solar system objects calculated correctly.</p>
<p>After having a little play around with Stellarium, it#8217;s down to business.  Find a little free time after dark, and before you go out, jump onto Stellarium.  Set the time, date and place in the configuration window to when and where you will go out.  Then find a few objects (maybe a dimmer planet like Saturn or Jupiter) with magnitude less than five (Magnitude is a negative logarithmic scale, lower numbers are brighter), and note down their positions relative to the cardinal points and nearby stars.<br /> when you go out, try and find them!  Many objects such as Orion&#8217;s Nebula or the planets can be seen with the naked eye.  Charles Messier catalogued over 100 objects that can be made out with the naked eye.  Try searching for M1 - M110 to find these. Binoculars or a small telescope make these more visible.
<p>For those of you who feel like shelling out a bit of cash, Stellarium can be used to control telescopes, or even be projected onto a dome.</p>
<p>Have fun stargazing, both real and virtual!</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/03/30/httpwwwstellariumorg-a-planetarium-on-your-desktop/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bootchart: boot profiling</title>
		<link>http://debaday.debian.net/2008/02/24/bootchart-boot-profiling/</link>
		<comments>http://debaday.debian.net/2008/02/24/bootchart-boot-profiling/#comments</comments>
		<pubDate>Sun, 24 Feb 2008 15:13:56 +0000</pubDate>
		<dc:creator>Tincho</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/02/24/bootchart-boot-profiling/</guid>
		<description><![CDATA[If you usually read Debaday, you must have noticed the recent lack of articles. We apologise for that, we&#8217;re lacking articles and editing manpower. We really need your help to keep the site running!
Article submitted by Stevem. Guess what? We still need you to submit good articles about software you like!
On a recent vacation my [...]]]></description>
			<content:encoded><![CDATA[<p>If you usually read Debaday, you must have noticed the recent lack of articles. We apologise for that, we&#8217;re lacking articles and editing manpower. We really need your help to keep the site running!</p>
<p><strong>Article submitted by Stevem. Guess what? We still need you to <a href="http://debaday.debian.net/contribute/">submit good articles about software you like</a>!</strong></p>
<p>On a recent vacation my laptop boot time (&gt;4 min.) started getting on my nerves. I resolved to enjoy the vacation but fix things on my return. At home a few minutes with Google brought <a href="http://www.bootchart.org/">bootchart</a> to my attention.</p>
<p>Boothchart won&#8217;t cure lengthy boot times but it will provide details about how the time is spent. Bootchart is actually two packages, <a href="http://packages.debian.org/bootchart">bootchart</a>, the profiler daemon to gather resource data from <code>/proc</code> during boot, and <a href="http://packages.debian.org/bootchart-view">bootchart-view</a> to create an image from the collected data.</p>
<p>bootchartd starts measuring as soon as <code>/proc</code> is mounted.  From <code>/proc</code> it collects a sizeable amount of data about processes, including (in 2.6 kernels) disk utilization and throughput.</p>
<p>The documentation suggests to use BSD process accounting to exactly reconstruct the process tree. The CONFIG_BSD_PROCESS_ACCT_V3 feature is enabled in stock Debian kernels, so to use this, you just need to install the <a href="http://packages.debian.org/acct">acct</a> package.</p>
<p>I expected profiling the system boot would be complicated and I was prepared for some serious hacking to measure the process. In fact, it couldn&#8217;t be much easier.</p>
<p>The boot profiler is started as an option to the boot/loader kernel command line.</p>
<p>It works with LILO but Grub&#8217;s interactive boot makes it very simple:</p>
<ol>
<p>
<li>Select your image entry from the boot menu</li>
</p>
<p>
<li>Type &#8216;<kbd>e</kbd>&#8216; to edit the entry</li>
</p>
<p>
<li>Append &#8216;<kbd>init=/sbin/bootchartd</kbd>&#8216; to the command line</li>
</p>
<p>
<li>Type &#8216;<kbd>b</kbd>&#8216; and you&#8217;ll be booting with bootchart profiling in effect</li>
</p>
</ol>
<p>bootchartd starts itself and then launches <code>/sbin/init</code>.  There&#8217;s no indication that logging is in effect, console output appears as usual. Once you login you&#8217;ll find all the boot data stored in a compressed tar, <code>/var/log/bootchartd.tgz</code>.</p>
<p>To view the data run bootchart-view. It defaults to creating a SVG image but EPS and PNG outputs are possible with the <code>--format</code> option.</p>
<p>Here&#8217;s an example of the output:</p>
<p><a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/02/bootchart-intro-full.png" title="bootchart-intro-full.png"><img id="image390" src="http://debaday.debian.net/wp-content/uploads/2008/02/bootchart-intro.png" alt="bootchart-intro.png" /></a></p>
<p>By default the chart renderer doesn&#8217;t display most child processes.  If you think that level of detail will be helpful, bootchart-view has a <code>--no-prune</code> option. Be warned, it will create a fairly large image.</p>
<p>Conclusion: I still haven&#8217;t significantly decreased my boot time, many before me have tried and failed, but I discovered a clever, easy-to-use profiling tool to diagnose boot problems.</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/02/24/bootchart-boot-profiling/feed/</wfw:commentRss>
		</item>
		<item>
		<title>rkhunter &#038; chkrootkit: wise crackers only</title>
		<link>http://debaday.debian.net/2008/02/06/rkhunter-chkrootkit-wise-crackers-only/</link>
		<comments>http://debaday.debian.net/2008/02/06/rkhunter-chkrootkit-wise-crackers-only/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 05:00:50 +0000</pubDate>
		<dc:creator>Tincho</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/02/06/rkhunter-chkrootkit-wise-crackers-only/</guid>
		<description><![CDATA[Article submitted by Claudio Criscione. Guess what? We still need you to submit good articles about software you like!
Rkhunter and chkrootkit are tools to check for signs of a rootkit. They will inspect the system they&#8217;re running on and report anomalies either through the shell or via email.
Although an attacker able to install a rootkit [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Article submitted by <a href="http://oversighting.com/">Claudio Criscione</a>. Guess what? We still need you to <a href="http://debaday.debian.net/contribute/">submit good articles about software you like</a>!</strong></p>
<p>Rkhunter and chkrootkit are tools to check for signs of a <a href="http://en.wikipedia.org/wiki/Rootkit">rootkit</a>. They will inspect the system they&#8217;re running on and report anomalies either through the shell or via email.</p>
<p>Although an attacker able to install a rootkit is likely also able to easily escape or delete these tools, not every attacker is a skilful one. Not every script kiddie knows about these tools or the way to cover its tracks. Since every single error can make the difference, on either sides, an effortless passive protection can do no harm and adds one more (maybe thin) layer of security.</p>
<p>Both rkhunter and chkrootkit, indeed, can be deployed quickly and require little management effort.</p>
<h4>Installation</h4>
<p>Thanks to <code>apt-get</code>, <code>aptitude</code> and their super cow powers, we can just go for a </p>
<p class="terminal"><code>$ sudo aptitude install chkrootkit rkhunter</code></p>
<p>Or go root if you&#8217;re not a sudoer. Once installed, both packages will add a <code>cron</code> entry and automatically execute every day.</p>
<h4>What they do</h4>
<p>Both chkrootkit and rkhunter use a signature-rule/filter based system: they can detect the presence of known rootkits &emdash;via files or similar indicators&emdash; and flag anomalous conditions, like interfaces entering promiscuos mode or hidden files. In fact, not unlike anti-virus programs, rkhunter and chkrootkit indeed need periodical updates.</p>
<p>The signature based approach is a quite simple one, something like a big grep and strings combo: it is strongly suggested to have an alternate copy of some binary (<code>egrep</code> and <code>strings</code>, just to name a couple) so that &emdash;at the very least&emdash; the aggressor has to patch them too. Obviously, mounting the disk via another machine is far more reliable, even if it won&#8217;t allow you to find modified rootkits.</p>
<p>Both softwares provide <a href="http://en.wikipedia.org/wiki/MD5">MD5</a> signature verification on known binaries, with sort of a white list approach, thus trying to ensure that none of the most important binaries were tampered with. Among others, checks performed include searching for hidden directories and scanning for promiscuous interfaces and suspicious file permissions.</p>
<p>So, what are the differences?</p>
<h4>Rkhunter pros</h4>
<p><strong>The autoupdate feature</strong> is a very nice feature to have. You just have to run rkhunter &#8211;update and the software will update the rootkit definitions. You can control the autoupdate behaviour via the <code>/etc/default/rkhunter</code> file, using the <code>CRON_DB_UPDATE</code> parameter, which is enabled by default. This will upgrade the system binaries MD5 database and the good/bad/black list of applications and program versions.</p>
<p>Other features of note include the ability to use <a href="http://webjob.sourceforge.net/WebJob/">WebJob</a> to run rkhunter in a centralized manner, thus simplyfying administration, and the colorful interactive mode you can run with <code>rkhunter -c</code>.</p>
<p><a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/02/rkscreen.jpg" title="rkhunter in interactive mode"><img id="image388" src="http://debaday.debian.net/wp-content/uploads/2008/02/rkscreen.thumbnail.jpg" alt="rkhunter in interactive mode" /></a></p>
<h4>Chkrootkit pros</h4>
<p>Chkrootkit provides a <strong>differential mode</strong> where it reports only what changed between the latest scan and the previous one. While this is a very nice feature to limit the impact of false postives, one single missed mail can make the difference, so choosing whether it should be enabled or not is an important decision.</p>
<p>If the whole &#8220;grep and look for signatures&#8221; stuff is not enough for you, you can root chkrootkit in <strong>expert mode</strong>, with</p>
<p class="terminal"><code># chkrootkit -x</code></p>
<p>This will give you a greatly improved control on what&#8217;s going on and more verbose output, but make sure to redirect the output somehow.</p>
<p>Chkrootkit has a nice <strong>modular design</strong>, with subcomponents taking care of differenct aspects, like lastlog and wtmp deletions. Last but not least, chkrootkit can run without installation and from a read only media.</p>
<h4>The big decision</h4>
<p>Maybe now you&#8217;re wondering &#8220;which one should I use?&#8221;. My answer is simply &#8220;both of them&#8221;. There is no reason not to do that, so go for it. Chkrootkit has been available since, at least, <a href="http://packages.debian.org/chkrootkit" title="Chkrootkit in Debian repositories.">Sarge</a> and <a href="http://packages.ubuntu.com/chkrootkit" title="chkrootkit in Ubuntu repositories.">Dapper</a>. Rkhunter, being newer, has been available since  <a href="http://packages.debian.org/rkhunter" title="rkhunter in Debian repositories.">Etch</a>.
</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/02/06/rkhunter-chkrootkit-wise-crackers-only/feed/</wfw:commentRss>
		</item>
		<item>
		<title>dillo: a super fast web browser</title>
		<link>http://debaday.debian.net/2008/01/30/dillo-a-super-fast-web-browser/</link>
		<comments>http://debaday.debian.net/2008/01/30/dillo-a-super-fast-web-browser/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 05:00:43 +0000</pubDate>
		<dc:creator>Tincho</dc:creator>
		
		<category>Debian</category>

		<category>Ubuntu</category>

		<guid isPermaLink="false">http://debaday.debian.net/2008/01/30/dillo-a-super-fast-web-browser/</guid>
		<description><![CDATA[Article submitted by Kam Salisbury. Guess what? We still need you to submit good articles about software you like!
Dillo is a extremely stable, fast and light web browser. Based on GTK+, you can install Dillo from apt-get or snyaptic for just about any hardware platform and window manager supported by Debian or Ubuntu. Dillo is [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Article submitted by Kam Salisbury. Guess what? We still need you to <a href="http://debaday.debian.net/contribute/">submit good articles about software you like</a>!</strong></p>
<p><a href="http://www.dillo.org/">Dillo</a> is a extremely stable, fast and light web browser. Based on GTK+, you can install Dillo from apt-get or snyaptic for just about any hardware platform and window manager supported by Debian or Ubuntu. Dillo is written entirely in C for speed and compatibility and is best for tasks where being fast and frugal on memory are the highest priorities.  Perfect for large image archive displays!</p>
<p><a class="imagelink" href="http://debaday.debian.net/wp-content/uploads/2008/01/dillo.png" title="Dillo showing debaday.debian.net"><img id="image380" src="http://debaday.debian.net/wp-content/uploads/2008/01/dillo.thumbnail.png" alt="Dillo showing debaday.debian.net" /></a></p>
<p>Dillo does not support several web protocols which helps it run faster. For example, standards compliant HTML content will be rendered correctly but do not expect the CSS, DHTML or Javascript to work correctly or at all.</p>
<p>Nevertheless, the version found in Debian already includes some patches that improve Dillo giving it support for: different encodings, anti-aliased fonts, frames, tabs, SSL and miscellaneous improvements. See <a href="http://teki.jpn.ph/pc/software/index-e.shtml">this page</a> for details.</p>
<p>A recent addition to the package, <a href="http://www.dillo.org/help/bug_meter.html">bugmeter</a> displays the amount of HTML errors of the web page being viewed.</p>
<p>The project is currently looking for new developers, if interested please review the contact information at dillo.org.</p>
<p>Dillo has been available in both Debian and Ubuntu for many years</p>
]]></content:encoded>
			<wfw:commentRss>http://debaday.debian.net/2008/01/30/dillo-a-super-fast-web-browser/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
