<?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>l3net - a layer 3 networking blog</title>
	<atom:link href="http://l3net.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://l3net.wordpress.com</link>
	<description>A blog about IP networking, network and system administration, Linux/UNIX programming and testing. The blog also includes some small projects I run in my free time.</description>
	<lastBuildDate>Wed, 15 May 2013 22:38:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='l3net.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>l3net - a layer 3 networking blog</title>
		<link>http://l3net.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://l3net.wordpress.com/osd.xml" title="l3net - a layer 3 networking blog" />
	<atom:link rel='hub' href='http://l3net.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Installing net-snmp MIBs on Ubuntu and Debian</title>
		<link>http://l3net.wordpress.com/2013/05/12/installing-net-snmp-mibs-on-ubuntu-and-debian/</link>
		<comments>http://l3net.wordpress.com/2013/05/12/installing-net-snmp-mibs-on-ubuntu-and-debian/#comments</comments>
		<pubDate>Sun, 12 May 2013 22:12:48 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=870</guid>
		<description><![CDATA[Simple Network Management Protocol (SNMP) is an Internet-standard protocol for managing devices on IP networks. net-snmp is the main SNMP implementation for Linux and BSD platforms. On Ubuntu or Debian net-snmp tools are installed as follows: $ sudo apt-get install snmp You can also install snmpd package. This package contains the SNMP agent. Installing MIBs [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=870&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol">Simple Network Management Protocol</a> (SNMP) is an Internet-standard protocol for managing devices on IP networks. <a href="http://www.net-snmp.org/">net-snmp</a> is the main SNMP implementation for Linux and BSD platforms. On Ubuntu or Debian net-snmp tools are installed as follows:</p>
<blockquote><pre>
$ sudo apt-get install snmp
</pre>
</blockquote>
<p>You can also install <i>snmpd</i> package. This package contains the SNMP agent.</p>
<p><b>Installing MIBs</b></p>
<p>For licensing reasons, net-snmp package installs only a small number of MIBs in <i>/usr/share/mibs</i> directory. A large number of standard MIBs can be installed using <i>snmp-mibs-downloader</i> package:</p>
<blockquote><pre>
$ sudo apt-get install snmp-mibs-downloader
$ sudo download-mibs
</pre>
</blockquote>
<p>To have the new MIBs recognized by net-snmp, edit <i>/etc/snmp/snmp.conf</i> file as follows:</p>
<blockquote><pre>
$ cat /etc/snmp/snmp.conf
mibs +ALL
$
</pre>
</blockquote>
<p>You can use <i>snmptranslate</i> to check the MIBs have been properly installed by printing the MIB tree:</p>
<blockquote><pre>
$ snmptranslate -Tp
+--iso(1)
   |
   +--org(3)
      |
      +--dod(6)
         |
         +--internet(1)
            |
            +--directory(1)
            |
            +--mgmt(2)
            |  |
            |  +--mib-2(1)
            |     |
            |     +--system(1)
            |     |  |
            |     |  +-- -R-- String    sysDescr(1)
            |     |  |        Textual Convention: DisplayString
            |     |  |        Size: 0..255
...
</pre>
</blockquote>
<p><b>Adding additional MIBs</b></p>
<p>To install additional MIBs you would need to create first a local <i>~/.snmp/mibs</i> directory:</p>
<blockquote><pre>
$ cd ~
$ mkdir -p .snmp/mibs
</pre>
</blockquote>
<p>Drop any additional MIB files you might have in this directory. To install CISCO MIBs, download <i>v2.tar.gz</i> file from <i>ftp://ftp.cisco.com</i>  (the file is located in <i>pub/mibs/v2/</i>). Move all the <i>*.my</i> files in the archive in <i>~/.snmp/mibs</i> directory.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/870/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/870/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=870&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/05/12/installing-net-snmp-mibs-on-ubuntu-and-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu Desktop Memory Comparison</title>
		<link>http://l3net.wordpress.com/2013/05/07/ubuntu-desktop-memory-comparison/</link>
		<comments>http://l3net.wordpress.com/2013/05/07/ubuntu-desktop-memory-comparison/#comments</comments>
		<pubDate>Tue, 07 May 2013 22:55:27 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=804</guid>
		<description><![CDATA[A new Ubuntu release is out, 13.04. As usual it comes in a number of different flavors, covering a wide range of hardware platforms. I am particularly interested in the favors available because my computer is a 6 years old dual-core AMD 64bit with 1GB of memory. As the Internet stopped getting faster, two years [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=804&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>A new <a href="http://www.ubuntu.com/">Ubuntu</a> release is out, 13.04. As usual it comes in a number of different flavors, covering a wide range of hardware platforms. I am particularly interested in the favors available because my computer is a 6 years old dual-core AMD 64bit with 1GB of memory.</p>
<p>As the Internet stopped getting faster, two years ago I&#8217;ve decided not to upgrade it. I don&#8217;t &#8220;read&#8221; flash heavy sites, I guess nobody likes them anyway. For games, movies, and music what I have is more than enough. I do need to keep an eye on memory however. Lately, some developers started to throw into their software everything but the kitchen sink.</p>
<p><b>Unity</b></p>
<p>The main Ubuntu desktop environment is <a href="http://unity.ubuntu.com/about/">Unity</a>. It is a great desktop for new users who aren&#8217;t especially computer savvy, and it requires lots of memory to run. As measured using <i>free</i> command after boot up, Unity runs in 437MB and it is visibly slow &#8211; definitely not a good choice for an old  Widows XP computer!</p>
<p><b>KDE</b></p>
<p>With Unity out of the game, I am moving to <a href="http://www.kde.org/">KDE</a>. It is packaged as an Ubuntu branch under the name <a href="http://www.kubuntu.org/">Kubuntu</a>. A download image is available for installation, or you can install it using <i>apt-get</i> on an existing Ubuntu computer:</p>
<blockquote><pre>
sudo apt-get install kubuntu-desktop
</pre>
</blockquote>
<p>Nice, elegant, and slow, it starts in 435MB of memory.</p>
<div id="attachment_810" class="wp-caption aligncenter" style="width: 610px"><a href="http://l3net.files.wordpress.com/2013/05/ubkde.png"><img src="http://l3net.files.wordpress.com/2013/05/ubkde.png?w=625" alt="Ubuntu 13.04 KDE"   class="size-full wp-image-810" /></a><p class="wp-caption-text">Ubuntu 13.04 KDE</p></div>
<p><b>Gnome</b></p>
<p>Gnome joined the Ubuntu family earlier this year under the name Ubuntu GNOME. You can find more information <a href="https://wiki.ubuntu.com/UbuntuGNOME">here</a>. I have installed it as follows:</p>
<blockquote><pre>
sudo apt-get install ubuntu-gnome-desktop ubuntu-gnome-default-settings
</pre>
</blockquote>
<p>It loads in 304MB of memory and it runs fine even on my old machine. It is not a traditional desktop, it doesn&#8217;t have a taskbar and a menu. For this reason many people don&#8217;t like it. As for me, it is time to move to a series of desktop environments generally characterized as <b>lightweight</b>.</p>
<div id="attachment_809" class="wp-caption aligncenter" style="width: 610px"><a href="http://l3net.files.wordpress.com/2013/05/ubgnome.png"><img src="http://l3net.files.wordpress.com/2013/05/ubgnome.png?w=625" alt="Ubuntu 13.04 Gnome"   class="size-full wp-image-809" /></a><p class="wp-caption-text">Ubuntu 13.04 Gnome</p></div>
<p><b>Razor-qt</b></p>
<p><a href="http://razor-qt.org/">Razor-qt</a> is described as “an advanced, easy-to-use, and fast desktop environment based on Qt technologies. It has been tailored for users who value simplicity, speed, and an intuitive interface. Unlike most desktop environments, Razor-qt also works fine with weak machines.” On my computer it runs very well in 288MB of memory.</p>
<p>Razor-qt is not in this moment an official Ubuntu branch. It is however fully supported, all you have to do is</p>
<blockquote><pre>
sudo apt-get install razorqt
</pre>
</blockquote>
<div id="attachment_825" class="wp-caption aligncenter" style="width: 610px"><a href="http://l3net.files.wordpress.com/2013/05/ubrazorqt.png"><img src="http://l3net.files.wordpress.com/2013/05/ubrazorqt.png?w=625" alt="Razor-qt Desktop"   class="size-full wp-image-825" /></a><p class="wp-caption-text">Razor-qt Desktop</p></div>
<p><b>Xfce</b></p>
<p><a href="http://www.xfce.org/">Xfce</a> desktop environment has been packaged as an Ubuntu flavor  since 2006 under the name <a href="http://xubuntu.org/">Xubuntu</a>. It is low on resources and fast. On my computer it loads in 281MB. I have installed it as:</p>
<blockquote><pre>
sudo apt-get install xubuntu-desktop
</pre>
</blockquote>
<p>It is an excellent choice for an old computer. Arguably, most people going linghtweigth end up with Xfce.</p>
<div id="attachment_812" class="wp-caption aligncenter" style="width: 610px"><a href="http://l3net.files.wordpress.com/2013/05/ubxfce.png"><img src="http://l3net.files.wordpress.com/2013/05/ubxfce.png?w=625" alt="Ubuntu 13.04 XFCE"   class="size-full wp-image-812" /></a><p class="wp-caption-text">Ubuntu 13.04 XFCE</p></div>
<p><b>LXDE</b></p>
<p>Another popular lightweight Ubuntu flavor is <a href="http://lubuntu.net/">Lubuntu</a>. It uses even less memory than Xubuntu, in my case 184MB. The desktop environment is <a href="http://lxde.org/">LXDE</a>. This is what I usually run on my computers.</p>
<blockquote><pre>
sudo apt-get install lubuntu-desktop
</pre>
</blockquote>
<div id="attachment_811" class="wp-caption aligncenter" style="width: 610px"><a href="http://l3net.files.wordpress.com/2013/05/ublxde.png"><img src="http://l3net.files.wordpress.com/2013/05/ublxde.png?w=625" alt="Ubuntu 13.04 LXDE"   class="size-full wp-image-811" /></a><p class="wp-caption-text">Ubuntu 13.04 LXDE</p></div>
<p><b>Enlightenment</b></p>
<p><a href="http://www.enlightenment.org/">Enlightenment</a> is a lean, fast, modular and very extensible desktop environment for X11 and Linux. It is classed as a &#8220;desktop shell&#8221; providing the things you need to operate your desktop or laptop. On my computer it runs in 182MB of memory, very close to LXDE.</p>
<p>It is not an official Ubuntu flavor yet. Fully supported in Ubuntu 13.04, this is how you can install the latest version (E17):</p>
<blockquote><pre>
sudo apt-get install e17
</pre>
</blockquote>
<div id="attachment_826" class="wp-caption aligncenter" style="width: 610px"><a href="http://l3net.files.wordpress.com/2013/05/ube17.png"><img src="http://l3net.files.wordpress.com/2013/05/ube17.png?w=625" alt="E17 Desktop"   class="size-full wp-image-826" /></a><p class="wp-caption-text">E17 Desktop</p></div>
<p><b>MATE and Cinnamon</b></p>
<p><a href="http://mate-desktop.org/">MATE</a> is supported in Ubuntu 13.04, and it runs in 264MB of memory. It is installed from developer&#8217;s repository as follows:</p>
<blockquote><pre>
sudo add-apt-repository "deb http://packages.mate-desktop.org/repo/ubuntu raring main"
sudo add-apt-repository "deb http://repo.mate-desktop.org/ubuntu raring main"
sudo add-apt-repository "deb http://mirror1.mate-desktop.org/ubuntu raring main"
sudo apt-get update
sudo apt-get install mate-archive-keyring
sudo apt-get update
sudo apt-get install mate-core
</pre>
</blockquote>
<p>Starting with Ubuntu 13.04 release, Cinnamon is supported officially in Ubuntu repositories. It runs in 390MB. It is installed as follows:</p>
<blockquote><pre>
sudo apt-get install cinnamon
</pre>
</blockquote>
<p><b>Conclusion</b></p>
<p><i>Choice</i> is the best Linux feature ever. Regardless of your circumstances, you can always find a Linux OS to fit that computer of yours. In this case I am looking at Ubuntu 13.04 and its flavors. Stable, mature, and free, Ubuntu is supported by a reputable software company and one of the best user and developer communities.</p>
<p>I have measured the memory using <i>free</i> command in a X terminal after boot up. The number includes everything running on the computer in that specific moment. This is the memory chart:</p>
<p><div id="attachment_866" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/05/ub-cmp1.png"><img src="http://l3net.files.wordpress.com/2013/05/ub-cmp1.png?w=625&#038;h=269" alt="Ubuntu 13.04 Memory (MB)" width="625" height="269" class="size-large wp-image-866" /></a><p class="wp-caption-text">Ubuntu 13.04 Memory (MB)</p></div><br />
<b>Related Posts</b></p>
<p><a href="http://l3net.wordpress.com/2013/02/08/ubuntu-cleanup/">Ubuntu Cleanup</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/804/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/804/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=804&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/05/07/ubuntu-desktop-memory-comparison/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/05/ubkde.png" medium="image">
			<media:title type="html">Ubuntu 13.04 KDE</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/05/ubgnome.png" medium="image">
			<media:title type="html">Ubuntu 13.04 Gnome</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/05/ubrazorqt.png" medium="image">
			<media:title type="html">Razor-qt Desktop</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/05/ubxfce.png" medium="image">
			<media:title type="html">Ubuntu 13.04 XFCE</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/05/ublxde.png" medium="image">
			<media:title type="html">Ubuntu 13.04 LXDE</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/05/ube17.png" medium="image">
			<media:title type="html">E17 Desktop</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/05/ub-cmp1.png?w=625" medium="image">
			<media:title type="html">Ubuntu 13.04 Memory (MB)</media:title>
		</media:content>
	</item>
		<item>
		<title>Lightweight Debian: LXDE Desktop From Scratch</title>
		<link>http://l3net.wordpress.com/2013/04/30/lightweight-debian-lxde-desktop-from-scratch/</link>
		<comments>http://l3net.wordpress.com/2013/04/30/lightweight-debian-lxde-desktop-from-scratch/#comments</comments>
		<pubDate>Tue, 30 Apr 2013 16:04:49 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[LXDE]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=737</guid>
		<description><![CDATA[In my neck of the woods the Internet doesn&#8217;t get any faster, and my six year old dual-core AMD computer still holds up nicely. I don&#8217;t like Gnome 3 and I don&#8217;t care about Ubuntu&#8217;s run everywhere there is lots of memory vision. Linux is all about choice, and I do have plenty of them. [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=737&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In my neck of the woods the Internet doesn&#8217;t get any faster, and my six year old dual-core AMD computer still holds up nicely. I don&#8217;t like Gnome 3 and I don&#8217;t care about Ubuntu&#8217;s run everywhere there is lots of memory vision. Linux is all about choice, and I do have <a href="http://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/">plenty</a> of them.</p>
<p>In this article I&#8217;ll take a look at <a href="http://www.debian.org/">Debian</a>. Debian is one of the oldest distributions still in active development. It is a popular distribution for personal use among software developers, it is also the most popular <a href="http://w3techs.com/technologies/details/os-linux/all/all">Linux web server platform</a>. Debian has a great community and the amount of software packaged far exceeds any other Linux disto out there.</p>
<p>As usual I&#8217;ll keep an eye on memory. I&#8217;ll start with a basic server install, I&#8217;ll add X Window followed by <a href="http://lxde.org/">LXDE</a> desktop environment. What I am after is a picture like this:</p>
<div id="attachment_715" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/04/lxsu_cmp1.png"><img src="http://l3net.files.wordpress.com/2013/04/lxsu_cmp1.png?w=625&#038;h=178" alt="openSUSE 12.3 Desktops Memory (MB)" width="625" height="178" class="size-full wp-image-715" /></a><p class="wp-caption-text">openSUSE 12.3 Desktops Memory (MB)</p></div>
<p><b>Installation</b></p>
<p>Debian has a number of different branches you can chose from. <i>Unstable</i> has the latest and greatest software. The name is somehow unfortunate, I would say the software is more stable than what you can find in Fedora. <i>Stable</i> contains the latest officially released distribution of Debian. This is the production release. <i>Testing</i> branch contains packages that are in the queue to be accepted in the <i>stable</i> branch.</p>
<p>The testing branch (&#8220;wheezy&#8221;) is supposed to be released in the next few weeks. <b>(Update 5/5/2013: Debian 7.0 &#8220;Wheezy&#8221; has just been released.)</b> I will install it starting with a network install. The download page is <a href="http://www.debian.org/devel/debian-installer/">here</a>. I burn the iso image on a USB stick using <i>dd</i> command, but first I need to find out what device driver is handling it using <i>hwinfo</i>.</p>
<blockquote><pre>
# hwinfo --disk --short
disk:                                                           
  /dev/sda             HDT722525DLAT80
  /dev/sdb             WDC WD800JB-00FM
  /dev/sdc             Generic USB SD Reader
  /dev/sdd             Generic USB CF Reader
  /dev/sde             Generic USB SM Reader
  /dev/sdf             Generic USB MS Reader
  /dev/sdg             Lexar USB Flash Drive

# dd if=debian-testing-amd64-netinst.iso of=/dev/sdg
</pre>
</blockquote>
<p>The installation was highly uneventful. At some point it offered me the following software choices: Debian desktop environment, Web server, Print server, SQL database, DNS server, File server, Mail server, SSH server, Laptop, and Standard system utilities. I&#8217;ve enabled only SSH server and Standard system utilities, and half an hour later I was happily booting my new system.</p>
<p><b>Server</b></p>
<p>Logging in, I check <i>ps ax</i>. The command doesn&#8217;t show anything unusual started by default:</p>
<blockquote><pre>
# ps ax
...
 1850 ?        Ss     0:00 /sbin/rpcbind -w
 1881 ?        Ss     0:00 /sbin/rpc.statd
 1895 ?        Ss     0:00 /usr/sbin/rpc.idmapd
 2160 ?        Sl     0:00 /usr/sbin/rsyslogd -c5
 2210 ?        Ss     0:00 /usr/sbin/atd
 2233 ?        Ss     0:00 /usr/sbin/acpid
 2304 ?        Ss     0:00 /usr/sbin/cron
 2531 ?        Ss     0:00 /usr/sbin/sshd
 2561 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m
 2588 tty1     Ss     0:00 /bin/login --        
 2589 tty2     Ss+    0:00 /sbin/getty 38400 tty2
 2590 tty3     Ss+    0:00 /sbin/getty 38400 tty3
 2591 tty4     Ss+    0:00 /sbin/getty 38400 tty4
 2592 tty5     Ss+    0:00 /sbin/getty 38400 tty5
 2593 tty6     Ss+    0:00 /sbin/getty 38400 tty6
...
</pre>
</blockquote>
<p><i>rpc*</i> are the standard NFS tools used for remote access of shared file systems across the network. In many setups the files served by the server are stored in a central location on a different machine. There is also a system logger (<i>rsyslog</i>) and the standard <i>cron</i> daemon. <i>atd</i> daemon allows you to run jobs queued for later execution, and <i>acpid</i> handles the power management of the system. There are 6 consoles handled by <i>getty/login</i>, you can switch between them using <i>Alt-Fn</i> keys. <i>exim4</i> is your email agent.</p>
<p>As I&#8217;ve requested during installation, SSH server is started. By default it allows <i>root</i> login, and it needs some <a href="http://www.debian-tutorials.com/5-steps-to-secure-your-ssh-server#more-2584">securing</a>.</p>
<p>The server runs in 38MB of memory (I use <i>free</i> command to measure it). It is an excellent base to build a desktop.</p>
<p><b>X Window</b></p>
<p>Next step is to install the X Window environment. Debian uses <a href="http://en.wikipedia.org/wiki/Advanced_Packaging_Tool">apt-get</a> to manage packages. There are other alternatives available, such as <a href="http://wiki.debian.org/Aptitude">aptitude</a> or <a href="http://www.nongnu.org/synaptic/">synaptic</a>. For now I will stick with <i>apt-get</i>.</p>
<blockquote><pre>
# apt-get install xorg
</pre>
</blockquote>
<p>Once installed, I start X Window environment with <i>startx</i> command. In an xterm I use <i>free</i> command to measure the memory: 55MB. Next step is to install LXDE.</p>
<p><b>LXDE</b></p>
<p>The command to install LXDE is as follows:</p>
<blockquote><pre>
# apt-get install lxde
</pre>
</blockquote>
<p>Unlike openSUSE, installing LXDE will modify the boot lever. Next reboot you will be directed to login into a display manager (lightdm). The desktop runs in this moment into 95MB of memory, slightly lower than openSUSE 12.3.</p>
<div id="attachment_787" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/04/deb-screen.png"><img src="http://l3net.files.wordpress.com/2013/04/deb-screen.png?w=625&#038;h=468" alt="Debian wheezy LXDE desktop" width="625" height="468" class="size-large wp-image-787" /></a><p class="wp-caption-text">Debian wheezy LXDE desktop</p></div>
<p><b>Installing Programs</b></p>
<p>Debian has over 30,000 packages to chose form. To search for packages use <i>apt-cache search name</i> command. Once a suitable package is located you can find more about it using <i>apt-cache show package_name</i>. Installing the package is done with <i>sudo apt-get install package_name</i>.</p>
<p>You will probably start with a web browser and mail client. In Debian the regular Mozilla programs are called <i>Iceweasel</i> and <i>Icedove</i>:</p>
<blockquote><pre>
# sudo apt-get install iceweasel icedove
</pre>
</blockquote>
<p>You can continue with some text editors, graphic editors, and <a href="http://www.libreoffice.org/">LibreOffice</a> suite:</p>
<blockquote><pre>
# sudo apt-get install vim emacs gedit
# sudo apt-get install gimp inkscape
# sudo apt-get install libreoffice
</pre>
</blockquote>
<p>Debian packages also lots of <a href="http://www.lgdb.org/category/distribution/debian">games</a>.</p>
<p>For sound you can use either <a href="http://www.alsa-project.org/main/index.php/Main_Page">alsa</a> or <a href="http://www.freedesktop.org/wiki/Software/PulseAudio">pulseaudio</a>. My personal preference is <i>pulseaudio</i> since this is what <a href="http://www.videolan.org/vlc/index.html">vlc</a> supports.</p>
<blockquote><pre>
# sudo apt-get vlc libavcodec-extra-53
# sudo apt-get install pulseaudio paprefs pulseaudio-module-jack \
pavucontrol paman alsa-tools-gui
# sudo usermod -a -G pulse,pulse-access `whoami`
</pre>
</blockquote>
<p>Reboot the computer for <i>pulseaudio</i> to kick in. It will add about 10MB to your memory footprint. And yes, it does have mp3 support.</p>
<p><b>Conclusion</b></p>
<p>While Debian isn’t exactly the friendliest distribution ever, it’s definitely the best choice to build a lightweight Linux desktop. It is a popular distribution with lots of support behind it, running today a great number of web servers and cloud machines. You might find it worth looking at running on your own system. And if something goes wrong during setup, you can always ask a question on the <a href="http://www.debian.org/support#mail_lists">mailing list</a>, or revert to a distro you know better.</p>
<p>To put things into perspective, I&#8217;ve also installed Debian Gnome 3 on this machines. Debian &#8220;wheezy&#8221; packages Gnome version 3.4. To my surprise, it loaded in 215MB of memory! Under Debian even Gnome 3 looks lean and mean as long as you don&#8217;t compare it with LXDE. A better comparison would be Ubuntu 13.4 Unity loading in 425MB or Fedora 18 LXDE spin loading in 220MB.</p>
<p>Here are the numbers:</p>
<p><div id="attachment_797" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/04/deb-cmp1.png"><img src="http://l3net.files.wordpress.com/2013/04/deb-cmp1.png?w=625&#038;h=233" alt="Debian “wheezy” Memory (MB)" width="625" height="233" class="size-large wp-image-797" /></a><p class="wp-caption-text">Debian “wheezy” Memory (MB)</p></div><br />
<b>Related Posts</b></p>
<p><a href="http://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/">A Memory Comparison of Light Linux Desktops &#8211; Part 1</a></p>
<p><a href="http://l3net.wordpress.com/2013/04/09/a-memory-comparison-of-light-linux-desktops-part-2/">A Memory Comparison of Light Linux Desktops &#8211; Part 2</a></p>
<p><a href="http://l3net.wordpress.com/2013/04/24/lightweight-opensuse-lxde-desktop-from-scratch/">Lightweight openSUSE: LXDE Desktop From Scratch</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/737/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/737/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=737&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/04/30/lightweight-debian-lxde-desktop-from-scratch/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/lxsu_cmp1.png" medium="image">
			<media:title type="html">openSUSE 12.3 Desktops Memory (MB)</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/deb-screen.png?w=625" medium="image">
			<media:title type="html">Debian wheezy LXDE desktop</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/deb-cmp1.png?w=625" medium="image">
			<media:title type="html">Debian “wheezy” Memory (MB)</media:title>
		</media:content>
	</item>
		<item>
		<title>Lightweight openSUSE: LXDE Desktop From Scratch</title>
		<link>http://l3net.wordpress.com/2013/04/24/lightweight-opensuse-lxde-desktop-from-scratch/</link>
		<comments>http://l3net.wordpress.com/2013/04/24/lightweight-opensuse-lxde-desktop-from-scratch/#comments</comments>
		<pubDate>Wed, 24 Apr 2013 17:02:05 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[LXDE]]></category>
		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=662</guid>
		<description><![CDATA[openSUSE is a great distribution with a great community. It is well known for its excellent Gnome and KDE support. As such, it is never described as a lightweight distribution. In the latest versions, openSUSE installation media started to offer support for lighter desktop environments, such as LXDE and XFCE. These environments have almost the [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=662&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.opensuse.org/">openSUSE</a> is a great distribution with a great community. It is well known for its excellent Gnome and KDE support. As such, it is never described as a lightweight distribution.</p>
<p>In the latest versions, openSUSE installation media started to offer support for lighter desktop environments, such as <a href="http://lxde.org/">LXDE</a> and <a href="http://www.xfce.org/">XFCE</a>. These environments have almost the same application selection as the Gnome version, under a much lighter memory footprint.</p>
<p>If you are looking for a lightweight distro, this is not the time to give up on openSUSE, especially if this is your favorite OS. Try the LXDE/XFCE environments, as lightness goes they are definitely in the same league with <a href="http://lubuntu.net/">Lubuntu</a>/<a href="http://xubuntu.org/">Xubuntu</a> and Fedora <a href="http://spins.fedoraproject.org/lxde/">LXDE</a>/<a href="http://spins.fedoraproject.org/xfce/">XFCE Spins</a>. You can do even better, if you build your own  desktop starting from a regular server install and adding only the necessary desktop components.</p>
<p>In this article I will describe how to build a light LXDE desktop on the latest openSUSE 12.3 release. I will start with a server install, and I will go trough the process of adding an X Window server and LXDE desktop environment. It is not difficult, and at the very least, it is an opportunity to learn more about a Linux system.</p>
<p>The same way can be done with any other window manager. The result will be different, as each WM/DE has its own <a href="http://l3net.wordpress.com/lightweight-linux/">memory footprint</a>.</p>
<p><b>Installation</b></p>
<p>I installed openSUSE on an old dual-core 64bit computer using the <a href="http://en.opensuse.org/SDB:Network_installation">newtork install image</a>. The network was detected automatically, and the install image gave me the following desktop choices: <i>Gnome</i>, <i>KDE</i>, <i>XFCE</i>, <i>LXDE</i>, <i>Minimal X Window</i>, and <i>Minimal Server</i>. I&#8217;ve selected <i>Minimal Server</i> and about half an hour later I was happily booting my new system.</p>
<p><b>Console Mode</b></p>
<p>First things first, I logged in with the user name/password created during installation and run <i>free</i> command. This told me the system is running in only 41MB of memory. It is definitely a server setup. Once X Window system and LXDE are started, the memory count will go up.</p>
<p>By default, networking subsystem is configured for <a href="http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol">Dynamic Host Configuration Protocol</a> (DHCP). openSUSE uses <a href="http://www.phystech.com/download/dhcpcd.html">dhcpcd</a> daemon to retrieve the configuration from a DHCP server. This setup is probably the most common network setup deployed today, used as default by any operating system out there. If something goes wrong during boot and the DHCP exchange fails, you can restart it manually using <i>rcnetwork restart</i> command.</p>
<p>openSUSE also starts by default a <a href="http://en.wikipedia.org/wiki/Network_Time_Protocol">Network Time Protocol</a> (NTP) client. The client daemon keeps the computer time synchronized with a number of reference servers available on Internet.</p>
<p>Also started by default is <i>systemd</i>. This is a system and service manager for Linux, a replacement for the more traditional SysV and Linux Standard Base (LSB) init scripts. It provides very aggressive parallelization capabilities, as a result the system startup is fast.</p>
<p>systemd is still under heavy development and it is not as mature as the other options available. This is one of the main reasons some people are moving away from systemd-based distros such as openSUSE and Fedora to more traditional systems such as Debian.</p>
<p>Another process started by default is D-Bus. It is a message bus system, and it allows desktop applications to talk to one another. It is not clear why openSUSE would chose to run it by default in a server setup.</p>
<p><b>X Window</b></p>
<p>Next step is to install the X Window environment. openSUSE uses <i>zypper</i> to manage packages. It is very similar to <i>yum</i> and <i>apt-get</i>, the minor differences can be solved using the man page or <i>&#8211;help</i> program argument. To install X11, the command is:</p>
<blockquote><pre>
# zypper install xorg-x11 xorg-x11-server
</pre>
</blockquote>
<p>X11 is started using <i>startx</i> command. First time you run it, it will autodetect your hardware and it will autoconfigure your display. The autodetection is usually very good, in my case it detected my display and set it up for 1280&#215;1024 at 60Hz &#8211; on a full LXDE desktop you can change it form <i>System/Preferences/Monitor Settings</i>.</p>
<p>Started as root with <i>startx</i>, the X server will complain about a missing window manager. The window manager is a separate component, its job is to open, close, move, minimize, and maximize windows. As I don&#8217;t have any window manager installed in this moment, the X server will clear my screen and it will open an xterm. From this xterm it is possible to open more windows and start programs directly from the command line (xterm, firefox, gimp etc.). However, window operations are not implemented, you are always stuck in the last window opened.</p>
<p>Time for a new memory measurement: 61MB reported by <i>free</i> command running in <i>xterm</i> under <i>startx</i>. Press <i>Ctrl-Alt-Backspace</i> to shut it down and return to console mode.</p>
<p><b>LXDE</b></p>
<p>Very little information can be found regarding installing LXDE on openSUSE. The best I can came up with is <a href="http://opensuse.linuxblogs.org/2012/12/how-to-install-lxde-on-opensuse-122.html">this</a> blog article. I reproduce here the command without NetworkManager, as my network is already doing fine, thanks.</p>
<blockquote><pre>
# zypper install lxappearance lxappearance-lang lxappearance-obconf \
lxcc lxde-common lxde-common-branding-openSUSE lxdm lxinput lxmenu-data \
lxmusic lxmusic-lang lxpanel lxpanel-lang lxrandr \
lxsession lxsession-edit lxshortcut lxtask lxterminal \
lxterminal-lang menu-cache mtpaint nuoveXT2-icon-theme \
obconf openal-soft openbox pcmanfm pcmanfm-lang
</pre>
</blockquote>
<p>I create a file <i>.xinitrc</i> in root home directory as follows:</p>
<blockquote><pre>
# echo "exec startlxde" &gt; ~/.xinitrc
</pre>
</blockquote>
<p>This file tells X Window server to start LXDE window manager once the xserver is running.</p>
<div id="attachment_704" class="wp-caption aligncenter" style="width: 610px"><a href="http://l3net.files.wordpress.com/2013/04/lxsu_desktop.png"><img src="http://l3net.files.wordpress.com/2013/04/lxsu_desktop.png?w=625" alt="openSUSE 12.3 LXDE Desktop"   class="size-full wp-image-704" /></a><p class="wp-caption-text">openSUSE 12.3 LXDE Desktop</p></div>
<p><i>(more screenshots <a href="http://en.opensuse.org/Screenshots#LXDE">here</a>)</i></p>
<p>Another way to start LXDE is to use a display manager such as <i>xdm</i>. It is started as root with <i>xdm</i> command. It will ask for a user name and password before starting LXDE environment.</p>
<p>In my LXDE terminal <i>free</i> command reports 103MB memory already in use. This is about half the RAM memory compared with major LXDE desktops such as Lubuntu and Fedora LXDE spin. It will also beat openSUSE default LXDE install by a wide margin.</p>
<p><b>Conclusion</b></p>
<p>openSUSE is not perceived as a lightweight distro, but you can still build a lightweight system using the regular server install and <i>zypper</i> package manager. And if anything goes wrong, you can revert to the default LXDE system provided in the installation phase. The magic command to install the default LXDE desktop is</p>
<blockquote><pre>
# zypper install patterns-openSUSE-lxde
</pre>
</blockquote>
<p>Just to put things into perspective, a full openSUSE 12.3 KDE install on the same computer starts in 344MB.</p>
<div id="attachment_715" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/04/lxsu_cmp1.png"><img src="http://l3net.files.wordpress.com/2013/04/lxsu_cmp1.png?w=625&#038;h=178" alt="openSUSE 12.3 Desktops Memory (MB)" width="625" height="178" class="size-full wp-image-715" /></a><p class="wp-caption-text">openSUSE 12.3 Memory (MB)</p></div>
<p><b>Related Posts</b></p>
<p><a href="http://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/">A Memory Comparison of Light Linux Desktops &#8211; Part 1</a></p>
<p><a href="http://l3net.wordpress.com/2013/04/09/a-memory-comparison-of-light-linux-desktops-part-2/">A Memory Comparison of Light Linux Desktops &#8211; Part 2</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/662/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/662/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=662&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/04/24/lightweight-opensuse-lxde-desktop-from-scratch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/lxsu_desktop.png" medium="image">
			<media:title type="html">openSUSE 12.3 LXDE Desktop</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/lxsu_cmp1.png" medium="image">
			<media:title type="html">openSUSE 12.3 Desktops Memory (MB)</media:title>
		</media:content>
	</item>
		<item>
		<title>Window Mangers/Desktop Environment Blog Clicks</title>
		<link>http://l3net.wordpress.com/2013/04/18/window-mangersdesktop-environment-blog-clicks/</link>
		<comments>http://l3net.wordpress.com/2013/04/18/window-mangersdesktop-environment-blog-clicks/#comments</comments>
		<pubDate>Thu, 18 Apr 2013 16:43:49 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=643</guid>
		<description><![CDATA[I think it would be interesting to share with you the click-trough stats for my WM/DE memory articles, as reported by wordpress.com. This is not a poll by any stretch of the imagination. dwm.suckless.org 944 enlightenment.org 780 joewing.net/projects/jwm/ 322 awesome.naquadah.org 234 i3wm.org 220 blackboxwm.sourceforge.net 172 icewm.org 169 lxde.org 155 openbox.org 127 fluxbox.org 122 xfce.org 56 [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=643&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I think it would be interesting to share with you the click-trough stats for my WM/DE memory <a href="http://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/">articles</a>, as reported by wordpress.com. This is <b>not a poll</b> by any stretch of the imagination. </p>
<table border="1">
<tr>
<td><a href="http://dwm.suckless.org">dwm.suckless.org</a></td>
<td>944</td>
</tr>
<tr>
<td><a href="http://enlightenment.org">enlightenment.org</a></td>
<td>780</td>
</tr>
<tr>
<td><a href="http://joewing.net/projects/jwm/">joewing.net/projects/jwm/</a></td>
<td>322</td>
</tr>
<tr>
<td><a href="http://awesome.naquadah.org">awesome.naquadah.org</a></td>
<td>234</td>
</tr>
<tr>
<td><a href="http://i3wm.org">i3wm.org</a></td>
<td>220</td>
</tr>
<tr>
<td><a href="http://blackboxwm.sourceforge.net">blackboxwm.sourceforge.net</a></td>
<td>172</td>
</tr>
<tr>
<td><a href="http://icewm.org">icewm.org</a></td>
<td>169</td>
</tr>
<tr>
<td><a href="http://lxde.org">lxde.org</a></td>
<td>155</td>
</tr>
<tr>
<td><a href="http://openbox.org">openbox.org</a></td>
<td>127</td>
</tr>
<tr>
<td><a href="http://fluxbox.org">fluxbox.org</a></td>
<td>122</td>
</tr>
<tr>
<td><a href="http://xfce.org">xfce.org</a></td>
<td>56</td>
</tr>
<tr>
<td><a href="http://xmonad.org">xmonad.org</a></td>
<td>53</td>
</tr>
<tr>
<td><a href="http://all-day-breakfast.com/wm2/">all-day-breakfast.com/wm2/</a></td>
<td>45</td>
</tr>
<tr>
<td><a href="http://trinitydesktop.org">trinitydesktop.org</a></td>
<td>44</td>
</tr>
<tr>
<td><a href="http://kde.org">kde.org</a></td>
<td>29</td>
</tr>
<tr>
<td><a href="http://razor-qt.org">razor-qt.org</a></td>
<td>24</td>
</tr>
<tr>
<td><a href="http://windowmaker.org">windowmaker.org</a></td>
<td>19</td>
</tr>
<tr>
<td><a href="http://cinnamon.linuxmint.com">cinnamon.linuxmint.com</a></td>
<td>18</td>
</tr>
<tr>
<td><a href="http://mate-desktop.org">mate-desktop.org</a></td>
<td>18</td>
</tr>
<tr>
<td><a href="http://fvwm.org">fvwm.org</a></td>
<td>8</td>
</tr>
<tr>
<td><a href="http://afterstep.org">afterstep.org</a></td>
<td>4</td>
</tr>
<tr>
<td><a href="http://gnome.org/gnome-3/">gnome.org/gnome-3/</a></td>
<td>4</td>
</tr>
<tr>
<td><a href="http://unity.ubuntu.com">unity.ubuntu.com</a></td>
<td>3</td>
</tr>
</table>
<p>Last update: April 26, 2013</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/643/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/643/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=643&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/04/18/window-mangersdesktop-environment-blog-clicks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>
	</item>
		<item>
		<title>Network and Filesystem Isolation with LXC and virtenv</title>
		<link>http://l3net.wordpress.com/2013/04/13/network-and-filesystem-isolation-with-lxc-and-virtenv/</link>
		<comments>http://l3net.wordpress.com/2013/04/13/network-and-filesystem-isolation-with-lxc-and-virtenv/#comments</comments>
		<pubDate>Sat, 13 Apr 2013 22:28:57 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[LXC]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=579</guid>
		<description><![CDATA[For my memory comparison of light Linux desktops I needed a tool that would allow me to install on my computer about 20 window managers/desktop environments. After looking at several common virtualization packages, I ended up using Linux containers and virtenv for the job. LXC and virtenv Probably the best way to describe virtenv is [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=579&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>For my <a href="http://l3net.wordpress.com/2013/04/09/a-memory-comparison-of-light-linux-desktops-part-2/">memory comparison of light Linux desktops</a> I needed a tool that would allow me to install on my computer about 20 window managers/desktop environments. After looking at several common virtualization packages, I ended up using Linux containers and <a href="http://virtenv.sourceforge.net">virtenv</a> for the job.</p>
<p><b>LXC and virtenv</b></p>
<p>Probably the best way to describe virtenv is as a graphic interface for Linux containers utilities developed and distributed by <a href="http://lxc.sourceforge.net/">LXC</a> project. Linux containers is the virtualization technology build into Linux kernel, available in any kernel after 2.6.32. LXC is still under heavy development, with lots of new features emerging in 3.x Linux kernel series.</p>
<p>The virtual machines (VM) are driven without any overhead by the kernel already running on the computer. You don&#8217;t need to run a different kernel in the virtual machine, run only the processes you need, without even going trough the regular SysV or Linux init. This all means that memory is used very conservatively.</p>
<p>For example, on a 1GB RAM computer you can run easily 10 <a href="http://www.openssh.org/">SSH</a>/<a href="http://www.isc.org/software/dhcp">DHCP</a> servers, or 10 different xorg/X11 servers with <a href="http://lxde.org/">LXDE</a> window managers on top.</p>
<p>virtenv program is build using <a href="http://qt.digia.com/">Qt4</a>, and it is very simple to use. Download it as <a href="http://sourceforge.net/projects/virtenv/files/virtenv/">source code</a> and compile it, or downlaod a <a href="http://sourceforge.net/projects/virtenv/files/virtenv.deb/">.deb</a> file for Ubuntu and install it as</p>
<blockquote><pre>
$ sudo apt-get install xserver-xephyr bridge-utils lxc jwm
$ sudo dpkg -i virtrenv_0.8_1.deb
</pre>
</blockquote>
<p>Once installed, you would start it from command line as <i>virtenv</i>, or from <i>System Tools</i> menu.</p>
<p><b>Filesystem isolation</b></p>
<p>virtenv mounts <i>copy-on-write</i> the current filesystem installed on the host computer. By default /home directory is not imported in the container. Any modification to the filesystem in the container will stay in the container, the host filesystem remains untouched.</p>
<p>This feature is useful to isolate potentially malicious processes from the host system, install (apt-get) and try new software packages, chroot system for running servers etc.</p>
<p><b>Network isolation</b></p>
<p>In my memory comparison exercise, virtenv provided me with filesystem and xorg/X11 server isolation. All this was based on LXC facilities in the existing Linux kernel. LXC has also support for networking stack isolation. I will describe in the rest of the article a setup with one virtual machine connected by an isolated network (<i>br0</i>) to the host computer.</p>
<p><a href="http://l3net.files.wordpress.com/2013/04/netiso.png"><img src="http://l3net.files.wordpress.com/2013/04/netiso.png?w=625" alt="netiso"   class="aligncenter size-full wp-image-626" /></a></p>
<p>First thing first, we need to create and configure <i>br0</i> bridge device:</p>
<blockquote><pre>
$ sudo brctl addbr br0
$ sudo ifconfig br0 10.0.0.1/24
$ ifconfig br0
br0       Link encap:Ethernet  HWaddr fa:cc:c0:01:44:a2  
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          inet6 addr: fe80::f8cc:c0ff:fe01:44a2/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:238 (238.0 B)
</pre>
</blockquote>
<p>Then, I start virtenv and create a new virtual machine <i>vm1</i>.</p>
<p><div id="attachment_603" class="wp-caption aligncenter" style="width: 514px"><a href="http://l3net.files.wordpress.com/2013/04/netiso-virtenv1.png"><img src="http://l3net.files.wordpress.com/2013/04/netiso-virtenv1.png?w=625" alt="Creating a new virtual machine"   class="size-full wp-image-603" /></a><p class="wp-caption-text">Creating a new virtual machine</p></div><br />
I configure it for no graphic xserver support, bridge networking and I assign it an IP address of <i>10.0.0.10/24</i>.</p>
<div id="attachment_604" class="wp-caption aligncenter" style="width: 514px"><a href="http://l3net.files.wordpress.com/2013/04/netiso-virtenv2.png"><img src="http://l3net.files.wordpress.com/2013/04/netiso-virtenv2.png?w=625" alt="Configuring the virtual machine"   class="size-full wp-image-604" /></a><p class="wp-caption-text">Configuring the virtual machine</p></div>
<p>Once configured, the virtual machine is started automatically by virtenv. The VM has its own <i>xterm</i> acting as a console. I can now ping from this virtual machine the host interface at <i>10.0.0.1</i>.</p>
<div id="attachment_605" class="wp-caption aligncenter" style="width: 558px"><a href="http://l3net.files.wordpress.com/2013/04/netiso-virtenv3.png"><img src="http://l3net.files.wordpress.com/2013/04/netiso-virtenv3.png?w=625" alt="Virtual machine console"   class="size-full wp-image-605" /></a><p class="wp-caption-text">Virtual machine console</p></div>
<p>This is all that is to it, nothing more! This kind of network isolation is very useful for software development, testing, trying out new software etc. You can even stream youtube videos in a such a virtual machine with xserver support enabled.</p>
<p><b>Conclusion</b></p>
<p>I find it funny how cloud providers sell virtual machines using VM RAM size for pricing. For them, more memory means more money. Such a virtual machine has its own kernel, a full Linux support system (cron, logger etc.) and all the necessary init routines. 512MB or 1024MB is something usual for a VM.</p>
<p>LXC is approaching the same problem from a different angle. There is only one kernel running the host and also the virtual machines. You can build really small virtual machines this way. Some people are also calling them application containers:</p>
<table border="1">
<tr>
<th>Virtual machine</th>
<th>RAM Memory</th>
</tr>
<tr>
<td>ISC DHCP server, OpenSSH server, rsyslogd</td>
<td>20MB</td>
</tr>
<tr>
<td>Apache2 server, OpenSSH server, rsyslogd</td>
<td>22MB</td>
</tr>
<tr>
<td>xserver, LXDE window manager</td>
<td>44MB</td>
</tr>
<tr>
<td>xserver, KDE Plasma desktop environment</td>
<td>209MB</td>
</tr>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/579/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/579/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=579&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/04/13/network-and-filesystem-isolation-with-lxc-and-virtenv/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/netiso.png" medium="image">
			<media:title type="html">netiso</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/netiso-virtenv1.png" medium="image">
			<media:title type="html">Creating a new virtual machine</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/netiso-virtenv2.png" medium="image">
			<media:title type="html">Configuring the virtual machine</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/netiso-virtenv3.png" medium="image">
			<media:title type="html">Virtual machine console</media:title>
		</media:content>
	</item>
		<item>
		<title>A Memory Comparison of Light Linux Desktops &#8211; Part 2</title>
		<link>http://l3net.wordpress.com/2013/04/09/a-memory-comparison-of-light-linux-desktops-part-2/</link>
		<comments>http://l3net.wordpress.com/2013/04/09/a-memory-comparison-of-light-linux-desktops-part-2/#comments</comments>
		<pubDate>Tue, 09 Apr 2013 15:42:16 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=350</guid>
		<description><![CDATA[In my previous article I&#8217;ve tried to investigate the RAM memory requirements for running some of the most common light window managers and desktop environments available in the Linux world. Prompted by a number of readers, I&#8217;ve decided to include also the big, well-known memory hogs that grab most of the Linux market, i.e. KDE, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=350&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In my previous <a href="http://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/">article</a> I&#8217;ve tried to investigate the RAM memory requirements for running some of the most common light window managers and desktop environments available in the Linux world. Prompted by a number of readers, I&#8217;ve decided to include also the big, well-known memory hogs that grab most of the Linux market, i.e. KDE, Unity and Gnome 3.</p>
<p>I am using the same setup, based on <a href="http://virtenv.sourceforge.net">virtenv</a>. It includes its own xserver (<a href="http://www.freedesktop.org/wiki/Software/Xephyr">Xephyr</a>) and a virtualization container (<a href="http://lxc.sourceforge.net/LXC">LXC</a>). I use <i>free</i> command to measure the memory before and after the WM/DE is started. The computer is an older 64-bit machine, running Ubuntu 12.04 with LXDE as desktop environment.</p>
<p>I measure the WM/DE as it comes out of the box, with all the features the authors intended to be run as default. Arguably, this is not the best way to measure. All window managers are highly configurable, and users in general tend to personalize them. This adds more memory to whatever numbers I publish here.</p>
<p><b>Ratpoison</b></p>
<p>Lightning fast and stable, <a href="http://www.nongnu.org/ratpoison/">Ratpoison</a> is a e tiling window manager for the X Window System. The major design goal of the project is to let the user manage application windows without using a mouse, hence the name.</p>
<p>On Ubuntu, install it as <i>sudo apt-get install ratpoison</i> and start it with <i>ratpoison</i> command. Be prepared to read the documentation. It runs in 1MB of RAM memory.</p>
<div id="attachment_452" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-ratpoison.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-ratpoison.png?w=625&#038;h=485" alt="Ratpoison Window Manager" width="625" height="485" class="size-full wp-image-452" /></a><p class="wp-caption-text">Ratpoison Window Manager</p></div>
<p><b>wm2</b></p>
<p><a href="http://www.all-day-breakfast.com/wm2/">wm2</a> simply adds a frame to each window and attempts to look stylish. In the quest for being simple, fast, and small, wm2 does not support icons, menus, toolbars, panels and docking areas.</p>
<p>I have installed it on Ubuntu as <i>apt-get install wm2</i>, and started it as <i>wm2</i>. It runs in 0.7MB, this is the smallest WM I&#8217;ve tried so far.</p>
<div id="attachment_531" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/04/cmp-wm2.png"><img src="http://l3net.files.wordpress.com/2013/04/cmp-wm2.png?w=625&#038;h=485" alt="wm2 Window Manager" width="625" height="485" class="size-full wp-image-531" /></a><p class="wp-caption-text">wm2 Window Manager</p></div>
<p><b>FVWM</b></p>
<p><a href="http://www.fvwm.org/">FVWM</a> (Feeble Virtual Window Manager) is one of the most ancient window managers still in use today. It is a powerful and highly configurable environment for Unix-like systems. Some very popular window managers and desktop environments, such as <a href="http://www.afterstep.org/">Afterstep</a>, <a href="http://www.xfce.org/">Xfce</a>, <a href="http://www.enlightenment.org/">Enlightenment</a>, are derived from FVWM.</p>
<p><img src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Fvwm_family.svg/600px-Fvwm_family.svg.png" alt="FVWM Derivatives, (source Wikipedia)" /><br />
<i>(source Wikipedia)</i></p>
<p>I have installed it on Ubuntu as <i>apt-get install fvwm</i>, and started it as <i>fvwm</i>. It runs in 13MB of memory.</p>
<div id="attachment_532" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/04/cmp-fvwm.png"><img src="http://l3net.files.wordpress.com/2013/04/cmp-fvwm.png?w=625&#038;h=485" alt="FVWM Window Manager" width="625" height="485" class="size-full wp-image-532" /></a><p class="wp-caption-text">FVWM Window Manager</p></div>
<p><b>Window Maker</b></p>
<p><a href="http://windowmaker.org/">Window Maker</a> window manager provides the users with a consistent, clean, and elegant desktop based on <a href="http://en.wikipedia.org/wiki/NeXTSTEP">NeXTStep</a> interface, which eventually evolved into Mac OS X.</p>
<p>Window Maker is again under active development after seven years without an official release. It is not available in Ubuntu software repositories, you can however install it from a PPA:</p>
<blockquote><pre>
sudo add-apt-repository ppa:profzoom/wmaker
sudo apt-get update
sudo apt-get install wmaker
</pre>
</blockquote>
<p>Start it as <i>wmaker</i>. It runs in 7MB of memory.</p>
<div id="attachment_479" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-windowmaker.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-windowmaker.png?w=625&#038;h=485" alt="Window Maker Window Manager" width="625" height="485" class="size-full wp-image-479" /></a><p class="wp-caption-text">Window Maker Window Manager</p></div>
<p><b>Razor-qt</b></p>
<p><a href="http://razor-qt.org/">Razor-qt</a> is an advanced, easy-to-use, and fast desktop environment based on <a href="http://qt-project.org/">Qt</a> technologies. It is a desktop for people who think KDE is bloated and suffers from over-engineering. It runs in 139MB of RAM memory.</p>
<p>Razor-qt is a new open-source project, and it is not officially supported by most Linux distributions. For Ubuntu users, the development team keeps a PPA up-to-date. The software works on any Ubuntu from version 9.10 onwards. Installation is as follows: </p>
<blockquote><pre>
sudo add-apt-repository ppa:razor-qt
sudo apt-get update
sudo apt-get install razorqt
</pre>
</blockquote>
<p>Start it as <i>razor-session</i>.</p>
<div id="attachment_435" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-razor.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-razor.png?w=625&#038;h=485" alt="Razor-qt Desktop Environment" width="625" height="485" class="size-full wp-image-435" /></a><p class="wp-caption-text">Razor-qt Desktop Environment</p></div>
<p><b>KDE</b></p>
<p>I&#8217;ve always liked <a href="http://www.kde.org/">KDE</a>. Elegant and reasonably fast, it is an excellent desktop choice for people developing GUI software. In particular I like <a href="http://kate-editor.org/">Kate</a> text editor and <a href="http://kdiff3.sourceforge.net/">KDiff3</a>. Qt development tools are also well supported, but that was to be expected from a desktop based on Qt library.</p>
<p>I&#8217;ve installed <i>kde-plasma-desktop</i> packet from Ubuntu 12.04. The packet is described <a href="https://help.ubuntu.com/community/InstallingKDE">here</a> as &#8220;the bare-minimum required&#8221;. I started it in console as <i>openbox-kde-session</i>. It runs in 201MB. On a real KDE desktop such as Kubuntu it will be much more.</p>
<div id="attachment_341" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-kde.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-kde.png?w=625&#038;h=485" alt="KDE Desktop Environment" width="625" height="485" class="size-full wp-image-341" /></a><p class="wp-caption-text">KDE Desktop Environment</p></div>
<p><b>Unity</b></p>
<p><a href="http://unity.ubuntu.com/">Unity</a> is the default desktop in <a href="http://www.ubuntu.com/">Ubuntu</a>. Ubuntu is what they recommend you to try when you move to Linux. It is friendly, functional, and geared towards &#8220;human beings&#8221;. Too bad it runs in 192MB of memory! It would be a good idea to trim it down, let&#8217;s say by 50%. As a note, DOS conquered the world by running in 64KB of memory. </p>
<p>Unity is installed as <i>sudo apt-get install ubuntu-desktop</i>. You can start it with <i>unity</i> command.</p>
<div id="attachment_371" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-unity.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-unity.png?w=625&#038;h=485" alt="Unity Desktop Environment" width="625" height="485" class="size-full wp-image-371" /></a><p class="wp-caption-text">Unity Desktop Environment</p></div>
<p><b>Gnome 3</b></p>
<p><a href="http://www.gnome.org/gnome-3/">Gnome 3</a> is an experimental desktop developed mostly by RedHat. Not all the functionality is ready (for example the taskbar and the menus are missing), and there are problems in the listening-to-your-users department. If you are looking for Gnome 2 functionality or something similar, check out <a href="http://www.linuxmint.com/">Linux Mint website</a>.</p>
<p>I&#8217;ve install Gnome 3 as <i>sudo apt-get install gnome-shell</i> and started it as <i>gnome-session</i>. It will burn trough 155MB of memory before painting anything on the screen.</p>
<div id="attachment_376" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-gnome3.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-gnome3.png?w=625&#038;h=485" alt="Gnome 3 Desktop  Environment" width="625" height="485" class="size-full wp-image-376" /></a><p class="wp-caption-text">Gnome 3 Desktop  Environment</p></div>
<p><b>Trinity, Mate, Cinnamon</b></p>
<p>In a normal world, where development teams listen to users, this should never have happened. Not only these environments are smaller and faster, they actually do what desktop environments are supposed to do.</p>
<p>To install <a href="http://www.trinitydesktop.org/">Trinity</a>, follow the instructions from <a href="http://www.trinitydesktop.org/wiki/bin/view/Documentation/UbuntuBinaryInstallation">here</a>. Start it as <i>/opt/trinity/bin/startkde</i>. It runs in 55MB of memory.</p>
<p>To install <a href="http://mate-desktop.org/">MATE</a>, follow the instruction from <a href="http://wiki.mate-desktop.org/download">here</a>. Start it as <i>mate-session</i>. It runs in 42MB of memory.</p>
<p>I have installed <a href="http://cinnamon.linuxmint.com/">Cinnamon</a> as follows:</p>
<blockquote><pre>
sudo add-apt-repository ppa:gwendal-lebihan-dev/cinnamon-stable
sudo apt-get update
sudo apt-get install cinnamon
</pre>
</blockquote>
<p>I&#8217;ve started it as <i>cinnamon</i>. It runs in 79MB.</p>
<div id="attachment_567" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/04/cmp-trinity.png"><img src="http://l3net.files.wordpress.com/2013/04/cmp-trinity.png?w=625&#038;h=485" alt="Trinity Desktop Environment" width="625" height="485" class="size-full wp-image-567" /></a><p class="wp-caption-text">Trinity Desktop Environment</p></div>
<p><b>Conclusion</b></p>
<p>If you have some ancient hardware that you need to breathe new life into, or if you need to fit a distro on a modestly sized memory stick, the first thing you should look at is the window manager/desktop environment. Whatever your needs, Linux is much more than Gnome and KDE.</p>
<div id="attachment_571" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/04/cmp-all2.png"><img src="http://l3net.files.wordpress.com/2013/04/cmp-all2.png?w=625&#038;h=469" alt="WM/DE Memory (MB)" width="625" height="469" class="size-full wp-image-571" /></a><p class="wp-caption-text">WM/DE Memory (MB)</p></div>
<p>Links:</p>
<p><a href="http://www.all-day-breakfast.com/wm2/">wm2</a>, <a href="http://dwm.suckless.org/">dwm</a>, <a href="http://www.nongnu.org/ratpoison/">Ratpoison</a>, <a href="http://joewing.net/projects/jwm/">JWM</a>, <a href="http://i3wm.org/">i3</a>, <a href="http://blackboxwm.sourceforge.net/">Blackbox</a>, <a href="http://www.icewm.org/">IceWM</a>, <a href="http://openbox.org/">Openbox</a>, <a href="http://windowmaker.org/">Window Maker</a>, <a href="http://awesome.naquadah.org/">awesome</a>, <a href="http://www.fvwm.org/">FVWM</a>, <a href="http://fluxbox.org/">Fluxbox</a>, <a href="http://www.enlightenment.org/">E17</a>, <a href="http://lxde.org/">LXDE</a>, <a href="http://mate-desktop.org/">MATE</a>, <a href="http://www.trinitydesktop.org/">Trinity</a>, <a href="http://www.xfce.org/">XFCE</a>, <a href="http://cinnamon.linuxmint.com/">Cinnamon</a>, <a href="http://razor-qt.org/">Razor-qt</a>, <a href="http://www.gnome.org/gnome-3/">Gnome 3</a>, <a href="http://unity.ubuntu.com/">Unity</a>, <a href="http://www.kde.org/">KDE</a></p>
<p><b>Related Posts</b></p>
<p><a href="http://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/">A Memory Comparison of Light Linux Desktops &#8211; Part 1</a></p>
<p><a href="http://l3net.wordpress.com/2013/04/24/lightweight-opensuse-lxde-desktop-from-scratch/">Lightweight openSUSE: LXDE Desktop From Scratch</a></p>
<p><a href="http://l3net.wordpress.com/2013/04/30/lightweight-debian-lxde-desktop-from-scratch/">Lightweight Debian: LXDE Desktop From Scratch</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/350/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/350/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=350&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/04/09/a-memory-comparison-of-light-linux-desktops-part-2/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-ratpoison.png" medium="image">
			<media:title type="html">Ratpoison Window Manager</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/cmp-wm2.png" medium="image">
			<media:title type="html">wm2 Window Manager</media:title>
		</media:content>

		<media:content url="http://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Fvwm_family.svg/600px-Fvwm_family.svg.png" medium="image">
			<media:title type="html">FVWM Derivatives, (source Wikipedia)</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/cmp-fvwm.png" medium="image">
			<media:title type="html">FVWM Window Manager</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-windowmaker.png" medium="image">
			<media:title type="html">Window Maker Window Manager</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-razor.png" medium="image">
			<media:title type="html">Razor-qt Desktop Environment</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-kde.png" medium="image">
			<media:title type="html">KDE Desktop Environment</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-unity.png" medium="image">
			<media:title type="html">Unity Desktop Environment</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-gnome3.png" medium="image">
			<media:title type="html">Gnome 3 Desktop  Environment</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/cmp-trinity.png" medium="image">
			<media:title type="html">Trinity Desktop Environment</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/cmp-all2.png" medium="image">
			<media:title type="html">WM/DE Memory (MB)</media:title>
		</media:content>
	</item>
		<item>
		<title>A Memory Comparison of Light Linux Desktops</title>
		<link>http://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/</link>
		<comments>http://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/#comments</comments>
		<pubDate>Sun, 17 Mar 2013 17:18:14 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[LXDE]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=270</guid>
		<description><![CDATA[After I install a new version of Linux, I usually take a good look at the screen. Does it have a task bar? Can you find your window after it was minimized? Lately, some developers have been struck by some sort of amnesia brought on by the stress created by the mobile sector offerings. Fortunately, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=270&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>After I install a new version of Linux, I usually take a good look at the screen. Does it have a task bar? Can you find your window after it was minimized? Lately, some developers have been struck by some sort of amnesia brought on by the stress created by the mobile sector offerings.</p>
<p>Fortunately, in Linux we do have plenty of other choices. I will describe some of them in this article, and I&#8217;ll attempt to measure the RAM memory requirements. I use <i>free</i> command in an <i>xterm</i> before and after the graphic environment is started on a separate X server (<a href="http://www.freedesktop.org/wiki/Software/Xephyr">Xephyr</a>). The computer is an older 64-bit machine, running Ubuntu 12.04 with LXDE as desktop environment.</p>
<p><i>Note: the tool I use to set it all up is <a href="http://virtenv.sourceforge.net/">virtenv</a>. It sets up a Xephyr xserver running Joe&#8217;s Window Manager in a Linux kernel container (<a href="http://lxc.sourceforge.net/">LXC</a>). I only have to shut down JWM, apt-get install the new window manager, and run it. The beauty is the container works in a separate filesystem, and it will not overwrite the real filesystem on my computer.</i></p>
<p><b>Joe&#8217;s Window Manager</b></p>
<p><a href="http://joewing.net/projects/jwm/">JWM</a> is a light-weight window manager for the X11 Window System. A small memory footprint makes it a good choice for older computers and less powerful systems. Barry Kauler&#8217;s excellent <a href="http://puppylinux.org/main/Overview%20and%20Getting%20Started.htm">Puppy Linux</a> is based on JWM.</p>
<p>You install it as <i>sudo apt-get install jwm</i> on Ubuntu, or as <i>yum install jwm</i> on Fedora. I takes about 3MB of memory to run.</p>
<div id="attachment_276" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-jwm.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-jwm.png?w=625&#038;h=485" alt="JWM window manager" width="625" height="485" class="size-full wp-image-276" /></a><p class="wp-caption-text">JWM window manager</p></div>
<p><b>*box</b></p>
<p>This is a series of three window managers. <a href="http://blackboxwm.sourceforge.net/">BlackBox</a> is the original, <a href="http://openbox.org/">Openbox</a> and <a href="http://fluxbox.org/">Fluxbox</a> are forks.</p>
<p>BlackBox is comparable to JWM, and loads in about 3MB of memory.</p>
<p>Openbox is rarely used stand-alone, it is however the window manager of choice in a number of other desktop environments such as Gnome, KDE and LXDE. It runs in about 7MB of memory. <a href="http://crunchbang.org/">CrunchBang</a> is and example of distribution based on Openbox.</p>
<p>Fluxbox is popular in many Live CDs such as <a href="http://s-t-d.org/">Knoppix STD</a> and <a href="http://gparted.sourceforge.net/">GParted</a>. It is currently the default window manager of <a href="http://pcfluxboxos.wikidot.com/">PCFluxboxOS</a>, <a href="http://www.linuxmint.com/rel_helena_fluxbox.php">Linux Mint Fluxbox CE</a> and <a href="http://www.salixos.org/wiki/index.php/Home">Salix OS Fluxbox</a>. It runs in 16MB of memory.</p>
<p>Install them on Ubuntu as <i>sudo apt-get install blackbox openbox fluxbox</i>, or <i>yum install blackbox openbox fluxbox</i> on Fedora.</p>
<div id="attachment_284" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-fluxbox.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-fluxbox.png?w=625&#038;h=485" alt="Fluxbox window manager" width="625" height="485" class="size-full wp-image-284" /></a><p class="wp-caption-text">Fluxbox window manager</p></div>
<p><b>Dynamic Window Managers</b></p>
<p>A dynamic/tiling window manager adjusts the size and position of the windows so there is no overlapping and no space lost between them. This is in sharp contrast with the normal window managers which float and overlap windows. The distinction is not as strict today as it used to be, most modern tiling window managers can easily float windows. Some examples are <a href="http://dwm.suckless.org/">dwm</a> (1MB RAM), <a href="http://i3wm.org/">i3</a> (3MB) and <a href="http://awesome.naquadah.org/">awesome</a> (9MB).</p>
<p>Install them as <i>sudo apt-get install awesome i3 dwm</i> on Ubuntu, and as <i>yum install awesome i3 dwm</i> on Fedora.</p>
<div id="attachment_334" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-awesome.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-awesome.png?w=625&#038;h=485" alt="awesome Window Manager" width="625" height="485" class="size-full wp-image-334" /></a><p class="wp-caption-text">awesome Window Manager</p></div>
<p><b>E17</b></p>
<p><a href="http://www.enlightenment.org/">This</a> is a beautiful desktop environment, the graphics just surpass everything else in this article. It is highly configurable and very fast. It runs in 35MB of memory in my tests.</p>
<p>Install it as <i>sudo apt-get install e17</i> on Ubuntu, or as <i>yum install e17</i> on Fedora.</p>
<div id="attachment_317" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-e17.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-e17.png?w=625&#038;h=485" alt="E17 Desktop Environment" width="625" height="485" class="size-full wp-image-317" /></a><p class="wp-caption-text">E17 Desktop Environment</p></div>
<p><b>LXDE</b></p>
<p>The <a href="http://lxde.org/">Lightweight X11 Desktop Environment</a> was specially designed for computers with low hardware specifications, such as netbooks, mobile devices (e.g. MIDs) or older computers. In my opinion this is the DE that had the most to gain from Gnome 3 debacle. You can get today full major distros based on LXDE, such as <a href="http://lubuntu.net/">Lubuntu</a> and <a href="http://spins.fedoraproject.org/lxde/">Fedora LXDE Spin</a>. Usable and slim, LXDE runs on my computer in 36MB of memory.</p>
<p>Install it on Ubuntu as <i>sudo apt-get install lxde</i>, or <i>yum install lxde</i> on Fedora.</p>
<div id="attachment_296" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-lxde.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-lxde.png?w=625&#038;h=485" alt="LXDE Desktop Environment" width="625" height="485" class="size-full wp-image-296" /></a><p class="wp-caption-text">LXDE Desktop Environment</p></div>
<p><b>Xfce</b></p>
<p><a href="http://www.xfce.org/">Xfce</a> is a desktop environment based on GTK+ 2 toolkit.  It aims to be fast and lightweight, while still being visually appealing and easy to use. <a href="http://xubuntu.org/">Xubuntu</a> and <a href="http://spins.fedoraproject.org/xfce/">Fedora Xfce Spin</a> are two of the distros featuring Xfce.</p>
<p>It runs in about 70MB of memory, which is a lot more than LXDE. Install it as <i>sudo apt-get install xfce4</i> on Ubuntu, and <i>yum groupinstall xfce</i> on Fedora.</p>
<div id="attachment_300" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/03/cmp-xfce4.png"><img src="http://l3net.files.wordpress.com/2013/03/cmp-xfce4.png?w=625&#038;h=485" alt="XFCE Desktop Environment" width="625" height="485" class="size-full wp-image-300" /></a><p class="wp-caption-text">XFCE Desktop Environment</p></div>
<p><b>Conclusion</b></p>
<p>People use computers in different ways for different tasks. Window Managers and light Desktop Environments are sometime the only choice for less powerful systems or for places where every bit of memory counts (gamers, programmers etc.).</p>
<div id="attachment_571" class="wp-caption aligncenter" style="width: 635px"><a href="http://l3net.files.wordpress.com/2013/04/cmp-all2.png"><img src="http://l3net.files.wordpress.com/2013/04/cmp-all2.png?w=625&#038;h=469" alt="WM/DE Memory (MB)" width="625" height="469" class="size-full wp-image-571" /></a><p class="wp-caption-text">WM/DE Memory (MB)</p></div>
<p>Links: <a href="http://www.all-day-breakfast.com/wm2/">wm2</a>, <a href="http://dwm.suckless.org/">dwm</a>, <a href="http://www.nongnu.org/ratpoison/">Ratpoison</a>, <a href="http://joewing.net/projects/jwm/">JWM</a>, <a href="http://i3wm.org/">i3</a>, <a href="http://blackboxwm.sourceforge.net/">Blackbox</a>, <a href="http://www.icewm.org/">IceWM</a>, <a href="http://openbox.org/">Openbox</a>, <a href="http://windowmaker.org/">Window Maker</a>, <a href="http://awesome.naquadah.org/">awesome</a>, <a href="http://www.fvwm.org/">FVWM</a>, <a href="http://fluxbox.org/">Fluxbox</a>, <a href="http://www.enlightenment.org/">E17</a>, <a href="http://lxde.org/">LXDE</a>, <a href="http://mate-desktop.org/">MATE</a>, <a href="http://www.trinitydesktop.org/">Trinity</a>, <a href="http://www.xfce.org/">XFCE</a>, <a href="http://cinnamon.linuxmint.com/">Cinnamon</a>, <a href="http://razor-qt.org/">Razor-qt</a>, <a href="http://www.gnome.org/gnome-3/">Gnome 3</a>, <a href="http://unity.ubuntu.com/">Unity</a>, <a href="http://www.kde.org/">KDE</a></p>
<p><b>Related Posts</b></p>
<p><a href="http://l3net.wordpress.com/2013/04/09/a-memory-comparison-of-light-linux-desktops-part-2/">A Memory Comparison of Light Linux Desktops &#8211; Part 2</a></p>
<p><a href="http://l3net.wordpress.com/2013/04/24/lightweight-opensuse-lxde-desktop-from-scratch/">Lightweight openSUSE: LXDE Desktop From Scratch</a></p>
<p><a href="http://l3net.wordpress.com/2013/04/30/lightweight-debian-lxde-desktop-from-scratch/">Lightweight Debian: LXDE Desktop From Scratch</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=270&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/03/17/a-memory-comparison-of-light-linux-desktops/feed/</wfw:commentRss>
		<slash:comments>54</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-jwm.png" medium="image">
			<media:title type="html">JWM window manager</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-fluxbox.png" medium="image">
			<media:title type="html">Fluxbox window manager</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-awesome.png" medium="image">
			<media:title type="html">awesome Window Manager</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-e17.png" medium="image">
			<media:title type="html">E17 Desktop Environment</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-lxde.png" medium="image">
			<media:title type="html">LXDE Desktop Environment</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/cmp-xfce4.png" medium="image">
			<media:title type="html">XFCE Desktop Environment</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/04/cmp-all2.png" medium="image">
			<media:title type="html">WM/DE Memory (MB)</media:title>
		</media:content>
	</item>
		<item>
		<title>SNMP MIB Browser on Ubuntu Workstation</title>
		<link>http://l3net.wordpress.com/2013/03/02/snmp-mib-browser-on-ubuntu/</link>
		<comments>http://l3net.wordpress.com/2013/03/02/snmp-mib-browser-on-ubuntu/#comments</comments>
		<pubDate>Sat, 02 Mar 2013 17:40:30 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[SNMP]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=258</guid>
		<description><![CDATA[Ubuntu has the image of a user-friendly distribution, good for grandparents and human beings in general. It is also an excellent choice for any kind of infrastructure and servers in datacenters. In fact, according to W3Tech, Ubuntu server is right now in the third position and growing fast as a webserver. In a previous article [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=258&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Ubuntu has the image of a user-friendly distribution, good for grandparents and human beings in general. It is also an excellent choice for any kind of infrastructure and servers in datacenters. In fact, according to W3Tech, Ubuntu server is right now in the <a href="http://w3techs.com/technologies/details/os-linux/all/all">third position</a> and growing fast as a webserver.</p>
<p>In a <a href="http://l3net.wordpress.com/2013/02/24/rcp100-basic-router-configuration-on-ubuntu-12-04/">previous</a> article I looked at installing a basic network router using <a href="http://rcp100.sourceforge.net">RCP100</a> on a Ubuntu 12.04 computer. Today, I will take a look at using Ubuntu for some more serious SNMP work.</p>
<p>The main SNMP software package available under Linux is <a href="http://www.net-snmp.org/">net-snmp</a>. Installation and usage is described in plenty of articles on Internet. The package is very powerful, however it operates strictly on the command line. In the day to day work, a GUI based SNMP MIB Browser would be nice.</p>
<p>One such MIB Browser I come to enjoy is <a href="http://ireasoning.com/mibbrowser.shtml">iREASONING MIB Browser</a>. It is a commercial product, however the company is kind enough to provide a limited personal edition free of charge. It is a Java-based browser, and it will work on any operating system where Java is available. On Ubuntu, this means you will need to install Java Runtime Environment:</p>
<blockquote><p>$ sudo apt-get install openjdk-7-jre</p></blockquote>
<p>Download <i>mibbrowser.zip</i> from iREASONING website and unzip it:</p>
<blockquote><p>$ cd ~<br />
$ unzip Downloads/mibbrowser.zip</p></blockquote>
<p>This will create a <i>~/ireasoning/mibbrowaser</i> directory in your home directory. To start the browser, <i>cd</i> into <i>mibrowser</i> directory and run <i>browser.sh</i> script:</p>
<blockquote><p>$ cd ireasoning/mibbrowser/<br />
$ ./browser.sh</p></blockquote>
<p>Type in the IP address of the device you want to browse, press <i>Advanced</i> button and set the community string, and you are ready to grab the SNMP information.</p>
<p><a href="http://l3net.files.wordpress.com/2013/03/ireasoning.png"><img src="http://l3net.files.wordpress.com/2013/03/ireasoning.png?w=625&#038;h=524" alt="ireasoning" width="625" height="524" class="aligncenter size-full wp-image-264" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/258/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/258/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=258&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/03/02/snmp-mib-browser-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/03/ireasoning.png" medium="image">
			<media:title type="html">ireasoning</media:title>
		</media:content>
	</item>
		<item>
		<title>RCP100 Basic Router Configuration on Ubuntu 12.04</title>
		<link>http://l3net.wordpress.com/2013/02/24/rcp100-basic-router-configuration-on-ubuntu-12-04/</link>
		<comments>http://l3net.wordpress.com/2013/02/24/rcp100-basic-router-configuration-on-ubuntu-12-04/#comments</comments>
		<pubDate>Sun, 24 Feb 2013 12:11:39 +0000</pubDate>
		<dc:creator>netblue30</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[RCP100]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://l3net.wordpress.com/?p=232</guid>
		<description><![CDATA[I do like the idea of an open-source software router, and I&#8217;ve tried several of them so far. Most open-source routers would concentrate on implementing the main IP routing protocols one by one. Administration features like CLI or SNMP seem to get less attention. There is little or no support for integrated Access Control Lists, [&#8230;]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=232&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>I do like the idea of an open-source software router, and I&#8217;ve tried <a href="http://l3net.wordpress.com/routers/">several of them</a> so far. Most open-source routers would concentrate on implementing the main IP routing protocols one by one. Administration features like CLI or SNMP seem to get less attention. There is little or no support for integrated Access Control Lists, NTP, DHCP or DNS functionality. This is in sharp contrast with the commercial routers where administration and network management are first class citizens.</p>
<p><a href="http://rcp100.sourceforge.net">RCP100</a> seems to break the tradition. It has a Cisco-like command line interface (CLI), and all the regular administration and management protocols. Starting with version 0.99 it also features a simple and intuitive web interface, making the router accessible to less sophisticated users and beginner administrators.</p>
<p>In this article I will set up a basic <i>RCP100</i> IP router on a Ubuntu 12.04 computer using the web interface. This means there will be lots of pictures and no CLI commands. Networking experts will definitely get bored.</p>
<p>I am installing the software on a regular Ubuntu 12.04 LTS computer running LXDE. This is an older 64bit machine with two Ethernet interfaces, <i>eth0</i> and <i>eth1</i>. The computer is connected to the main network on <i>eth0</i>, and it is auto-configured using DHCP. Upstream, a regular small router handles the DSL Internet connection and provides DHCP services.</p>
<p>The steps are as follows:</p>
<p><b>Disable existing network services</b></p>
<p>I start by disabling DHCP on the Ubuntu computer. For this, I go into <i>Preferences/Network Connections</i>, press <i>Wired connection 1</i> and in <i>IP v4 Settings</i> tab I switch the connection type from <i>Automatic (DHCP)</i> to <i>Manual</i>. I set the interface IP address and <i>DNS servers</i> field and save them. The values I chose are actually the same values pushed previously by DHCP. For <i>DNS servers</i> I use the public 8.8.8.8 and 8.8.4.4 provided by Google</i>. I also disable <i>Automatic (DHCP)</i> on the other interface.</i></p>
<p><img src="http://l3net.files.wordpress.com/2013/02/basic-1.png?w=625" alt="network configuration" /></p>
<p>Starting with Ubuntu 12.04 version, a DNS server &#8211; <i>dnsmasq</i> &#8211; is installed and started by default on the computer. I disable it since it will collude with <i>RCP100</i> DNS functionality. For this I edit <i> /etc/NetworkManager/NetworkManager.conf</i> and comment out the <i>dns=dnsmasq</i> line.</p>
<blockquote><p>#dns=dnsmasq</p></blockquote>
<p>When all is set, I restart Network Manager</p>
<blockquote><p>$ sudo restart network-manager</p></blockquote>
<p><b>Installing RCP100</b></p>
<p><i>RCP100</i> provides .deb packages for Ubuntu. The latest software version is 0.99.2 and it is available <a href="http://sourceforge.net/projects/rcp100/files/rcp100.deb/">here</a>. The package was build for Ubuntu 12.04 LTS and it will also work on Ubuntu 12.10. I use <i>dpkg</i> to install it:</p>
<blockquote><p>$ sudo dpkg -i rcp100_0.99.2_1.deb</p></blockquote>
<p>Reseting the computer in this moment will automatically start the router. You can also start the router manually with <i>start rcp100</i> command, and stop it with <i>stop rcp100</i> from a terminal.</p>
<p><b>Login</b></p>
<p>The next step is to login into the router using the web interface. I start a web browser and point it to <i><a href="http://0/index.html" rel="nofollow">http://0/index.html</a></i>. I type in username <i>rcp</i>, password <i>rcp</i> and I am immediately asked to change the default passwords. I am then directed to the main router page.</p>
<p><img src="http://l3net.files.wordpress.com/2013/02/basic-2.png?w=625" alt="main page" /></p>
<p>From here I go to the configuration page, where I configure all router features I am interested in.</p>
<p><img src="http://l3net.files.wordpress.com/2013/02/basic-3.png?w=625" alt="config page" /></p>
<p><b>DNS configuration</b></p>
<p>In DNS configuration page I just enter the same DNS server addresses &#8211; 8.8.8.8 and 8.8.4.4 &#8211; as before, and I enable DNS proxy server services. Then, I type in the password and press <i>Save Configuration</i> button. The local DNS proxy server is started immediately. Anybody on the network can use this server to speed up name resolution.</p>
<p><img src="http://l3net.files.wordpress.com/2013/02/basic-4.png?w=625" alt="DNS config" /></p>
<p><b>Interface configuration</b></p>
<p>Interface configuration page allows you to set the IP address for all interfaces. I enter 192.168.1.19/24 for <i>eth0</i> and 192.168.22.1/24 for <i>eth1</i>.</p>
<p><i>br0</i> and <i>br1</i> are two bridge interfaces created by <i>RCP100</i>. The interfaces are mainly used for connecting virtual machines to the real network. If you don&#8217;t need them, just mark them as <i>shutdown</i>.</p>
<p><img src="http://l3net.files.wordpress.com/2013/02/basic-5.png?w=625" alt="interface config" /></p>
<p><b>NTP configuration</b></p>
<p>The last configuration item on the menu is Network Time Protocol. I specify two external servers for synchronization and I enable the local NTP server. I intend to use this server to synchronize the time on all the other machines on the network.</p>
<p><img src="http://l3net.files.wordpress.com/2013/02/basic-6.png?w=625" alt="NTP config" /></p>
<p><b>Conclusion</b></p>
<p>RCP100 is easy to install and run on a regular Ubuntu computer. The web interface is easy to use, you can basically set the router without any CLI knowledge. If you are a CLI fan, you can always telnet into the box and set it using the regular CLI commands. Most of the commands are exactly as Cisco&#8217;s, the occasional differences are minor and can be resolved easily by typing &#8220;?&#8221; on the prompt line.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/l3net.wordpress.com/232/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/l3net.wordpress.com/232/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=l3net.wordpress.com&#038;blog=42003298&#038;post=232&#038;subd=l3net&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://l3net.wordpress.com/2013/02/24/rcp100-basic-router-configuration-on-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/18ec86c8a581665b2bc99157d9ec6022?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">netblue30</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/02/basic-1.png" medium="image">
			<media:title type="html">network configuration</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/02/basic-2.png" medium="image">
			<media:title type="html">main page</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/02/basic-3.png" medium="image">
			<media:title type="html">config page</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/02/basic-4.png" medium="image">
			<media:title type="html">DNS config</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/02/basic-5.png" medium="image">
			<media:title type="html">interface config</media:title>
		</media:content>

		<media:content url="http://l3net.files.wordpress.com/2013/02/basic-6.png" medium="image">
			<media:title type="html">NTP config</media:title>
		</media:content>
	</item>
	</channel>
</rss>
