<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>marius &#187; Linux and stuff &#8230;</title>
	<atom:link href="http://devilx.net/category/linux-and-stuff/feed/" rel="self" type="application/rss+xml" />
	<link>http://devilx.net</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 21:25:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>OTRS LDAP Authentication for Agents and Customers</title>
		<link>http://devilx.net/2010/03/19/otrs-ldap-authentication-for-agents-and-customers/</link>
		<comments>http://devilx.net/2010/03/19/otrs-ldap-authentication-for-agents-and-customers/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 04:05:40 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CGI]]></category>
		<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Hack]]></category>
		<category><![CDATA[ITIL]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[LDAP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OTRS]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[RADIUS]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1147</guid>
		<description><![CDATA[Probably many of you have or still are actively using the open-source, ITIL compliant trouble ticket system named OTRS. And probably some of you also might have experienced the pleasure of setting up the software once &#8211; and know the &#8230; <a href="http://devilx.net/2010/03/19/otrs-ldap-authentication-for-agents-and-customers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Probably many of you have or still are actively using the open-source, ITIL compliant trouble ticket system named <a href="http://otrs.org/">OTRS</a>. And probably some of you also might have experienced the pleasure of setting up the software once &#8211; and know the pain.</p>
<p>OTRS as a product is pretty cool and full of features, unfortunately from a technical aspect it&#8217;s pretty much of an unaesthetic &#8220;Perl hack&#8221; that&#8217;s, especially when you should try to integrate it into your existing environments and make it talk to your RADIUS or directly to your LDAP. Here, I would like to describe the basic configuration to get the latter working without any troubles.</p>
<p>Everything actually starts within the $OTRSHOME/Kernel/Config.pm. After you&#8217;ve set up your Apache to get you displayed the <em>/otrs/index.pl</em> and <em>/otrs/customer.pl</em> you&#8217;ll need to start hacking Perl in OTRS&#8217; &#8220;config file&#8221;.<br />
Let&#8217;s say, that we would want to authenticate against LDAP. And maybe not only for the agents (the people using index.pl) but also for the customers. So, let&#8217;s assume that we&#8217;re having a LDAP-tree containing our Base (&#8220;dc=something,dc=com&#8221;) and our &#8220;Users&#8221; OU (&#8220;ou=Users,dc=something,dc=com&#8221;). Also, we have a &#8220;Groups&#8221; OU (&#8220;ou=Groups,dc=something,dc=com&#8221;). I think that&#8217;s probably the most common built-up, regardless what names the OUs actually have.</p>
<p>Now, first of all, we need to know what user we could use to authenticate on our LDAP later and get the information we need. Here, I&#8217;m assuming it&#8217;s &#8220;cn=admin,dc=something,dc=com&#8221;. Let&#8217;s begin with the configuration for getting the agents authenticated:</p>
<pre>
    $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
    $Self->{'AuthModule::LDAP::Host'} = 'localhost';
    $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=something,dc=com';
    $Self->{'AuthModule::LDAP::UID'} = 'uid';
    $Self->{'AuthModule::LDAP::GroupDN'} = 'cn=otrsagent,ou=Groups,dc=something,dc=com';
    $Self->{'AuthModule::LDAP::UserAttr'} = 'UID';
    $Self->{'AuthModule::LDAP::AccessAttr'} = 'memberUid';
    $Self->{'AuthModule::LDAP::Params'} = {
        port => 389,
        timeout => 120,
        async => 0,
        version => 3,
    };
</pre>
<p>The configuration should be pretty self-describing, though let&#8217;s sum it up: We&#8217;re connecting to the LDAP host &#8220;localhost&#8221; (since we probably tunnel the SSH port to the OTRS machine or have it running directly on that one &#8211; else you&#8217;d just need to specify another hostname/IP. BEWARE: When using an external LDAP with no tunnel you <strong>should</strong> use LDAPS!) and use our BaseDN. We define the user-id field being named &#8220;uid&#8221;, just like the user-attribute we&#8217;re going to look-up and we&#8217;ll be using the memberUid as access-attribute. Wait. memberUid? I lost you, right?</p>
<p>In this configuration, we&#8217;re also using a GroupDN that actually lets us &#8220;filter&#8221; which of our users might be allowed to use the OTRS as agents. For this, we&#8217;re accessing the group &#8220;otrsagent&#8221; within our &#8220;Groups&#8221;-OU and lookig up the memberUids.<br />
At last but not least, the actual LDAP parameters like the port for example.</p>
<p>Now, you can test your login by browsing to your index.pl and enter the credentials of an LDAP-user being in your otrsagent-group. You should now be possible to authenticate. Nothing more. You won&#8217;t be able to login to your OTRS yet. Why? It&#8217;s simple: OTRS uses LDAP only for authentication but initially copies the user-data from LDAP into its own database backend. Therefor we need to set up the &#8220;AuthSyncModule&#8221;.</p>
<p>This module allows us to tell OTRS that we&#8217;d like to have our user data being synchronized with the LDAP database. Let&#8217;s take a look at the actual configuration:</p>
<pre>
    $Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
    $Self->{'AuthSyncModule::LDAP::Host'} = 'ldap://localhost/';
    $Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=something, dc=com';
    $Self->{'AuthSyncModule::LDAP::UID'} = 'uid';
    $Self->{'AuthSyncModule::LDAP::UserAttr'} = 'UID';
    $Self->{'AuthSyncModule::LDAP::AccessAttr'} = 'memberUid';
    $Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'cn=admin,dc=something,dc=com';
    $Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'swordfish';

    $Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
        UserFirstname => 'givenName',
        UserLastname  => 'sn',
        UserEmail     => 'mail',
    };
    $Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = [
        'users',
    ];
</pre>
<p>Again, from top to bottom: We tell OTRS what LDAP host, what BaseDN, what UID/UserAttr/AccessAttr, what search user and what password to use. Then, we need to define what&#8217;s needed to be synchronized. Here, we only sync the most important data: First name, last name and e-mail. Note: Without the mail entry this won&#8217;t work!<br />
After that, we define what OTRS-groups the user should initially be in.</p>
<p>Now you should be able to authenticate <strong>and</strong> login with your LDAP user. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':)' class='wp-smiley' /> </p>
<p><strong>Next, customer authentication.</strong></p>
<p>The customer authentication needs to be configured separately and also starts with basic LDAP information:</p>
<pre>
    $Self->{'Customer::AuthModule'} = 'Kernel::System::CustomerAuth::LDAP';
    $Self->{'Customer::AuthModule::LDAP::Host'} = 'localhost';
    $Self->{'Customer::AuthModule::LDAP::BaseDN'} = 'dc=something,dc=com';
    $Self->{'Customer::AuthModule::LDAP::UID'} = 'uid';
    $Self->{'Customer::AuthModule::LDAP::GroupDN'} = 'cn=otrscustomer,ou=Groups,dc=something,dc=com';
    $Self->{'Customer::AuthModule::LDAP::UserAttr'} = 'UID';
    $Self->{'Customer::AuthModule::LDAP::AccessAttr'} = 'memberUid';
    $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = 'cn=admin,dc=something,dc=com';
    $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = 'swordfish';
    $Self->{'Customer::AuthModule::LDAP::Params'} = {
        port => 389,
        timeout => 120,
        async => 0,
        version => 3,
    };
</pre>
<p>I think I don&#8217;t need to comment this section once again. Next:</p>
<pre>
    $Self->{CustomerUser} = {
      Name => 'LDAP Datasource',
      Module => 'Kernel::System::CustomerUser::LDAP',
      Params => {
         Host => 'localhost',
         BaseDN => 'dc=something,dc=com',
         SSCOPE => 'sub',
         UserDN => 'cn=admin,dc=something,dc=com',
         UserPW => 'swordfish',
         Params => {
            port => 389,
            timeout => 120,
            async => 0,
            version => 3,
         },
      },
      CustomerKey => 'uid',
      CustomerID => 'mail',
      CustomerUserListFields => ['sn', 'cn', 'mail'],
      CustomerUserSearchFields => ['uid', 'cn', 'sn', 'mail'],
CustomerUserSearchPrefix => '',
       CustomerUserSearchSuffix => '*',
       CustomerUserSearchListLimit => 250,
       CustomerUserPostMasterSearchFields => ['mail'],
       CustomerUserNameFields => ['givenname', 'sn'],
       CustomerUserExcludePrimaryCustomerID => 0,
       AdminSetPreferences => 0,
       Map => [
           [ 'UserSalutation', 'Title',      'title',           1, 0, 'var', '', 0 ],
           [ 'UserFirstname',  'Firstname',  'cn',              1, 1, 'var', '', 0 ],
           [ 'UserLastname',   'Lastname',   'sn',              1, 1, 'var', '', 0 ],
           [ 'UserLogin',      'Username',   'uid',             1, 1, 'var', '', 0 ],
           [ 'UserEmail',      'Email',      'mail',            1, 1, 'var', '', 0 ],
           [ 'UserCustomerID', 'CustomerID', 'mail',            0, 1, 'var', '', 0 ],
           [ 'UserPhone',      'Phone',      'telephonenumber', 1, 0, 'var', '', 0 ],
           [ 'UserAddress',    'Address',    'postaladdress',   1, 0, 'var', '', 0 ],
           [ 'UserComment',    'Comment',    'description',     1, 0, 'var', '', 0 ],
       ],
    };
</pre>
<p>This is theoretically the same we&#8217;ve also set up for the agents and will let OTRS synchronize the customer data into its own database. I think the whole mapping should be pretty clear when read carefully, so I&#8217;m not going to explain every setting in detail.</p>
<p>However, after you&#8217;ve hacked together your basic configuration in this kinda way, also the customer.pl authentication should be working against your LDAP.</p>
<p>There&#8217;s one more thing that&#8217;s left to be mentioned. When you authenticate your agents against the LDAP, OTRS will try to authenticate root@localhost against it &#8211; what probably won&#8217;t work anymore then. Of course, you won&#8217;t need to go without an administrative user now. Simply pick one of your LDAP users, add him to the otrsagent group, log in to the web-interface and then adding an entry into the group_user table of OTRS&#8217; database, containing the user_id of your LDAP user (get it from the &#8220;users&#8221; table) and the group_id &#8220;1&#8243;, with the permission_key &#8220;rw&#8221; and the permission_value &#8220;1&#8243;. After that, the user should have administrative rights.</p>
<p>And the next time, I&#8217;ll show you how to build an automatic back-scratcher using a wall, some glue and a cat. Enjoy! <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2010/03/19/otrs-ldap-authentication-for-agents-and-customers/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>A brief summary of setting up a CentOS 5.4 DRBD Cluster in Primary/Primary</title>
		<link>http://devilx.net/2009/11/14/a-brief-summary-of-setting-up-a-centos-5-4-drbd-cluster-in-primaryprimary/</link>
		<comments>http://devilx.net/2009/11/14/a-brief-summary-of-setting-up-a-centos-5-4-drbd-cluster-in-primaryprimary/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 20:10:45 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Cluster]]></category>
		<category><![CDATA[CMAN]]></category>
		<category><![CDATA[Coffee]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[DRBD]]></category>
		<category><![CDATA[GFS]]></category>
		<category><![CDATA[Grub]]></category>
		<category><![CDATA[High Availability]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[HPET]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OCFS]]></category>
		<category><![CDATA[OpenAIS]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Storage]]></category>
		<category><![CDATA[SuSE]]></category>
		<category><![CDATA[TSC]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[x86_64]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1090</guid>
		<description><![CDATA[Clustering is cool and fun when it&#8217;s working, but for getting to such status it mostly takes like a dozen hours, coffee and many nerves. To simplify it a bit, I&#8217;d like to share some information on that topic, especially &#8230; <a href="http://devilx.net/2009/11/14/a-brief-summary-of-setting-up-a-centos-5-4-drbd-cluster-in-primaryprimary/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Clustering is cool and fun when it&#8217;s working, but for getting to such status it mostly takes like a dozen hours, coffee and many nerves. To simplify it a bit, I&#8217;d like to share some information on that topic, especially the stones I stumbled over.</p>
<p>First of all, we defined our scenario. Let&#8217;s assume that we&#8217;d like to have a cluster of two servers, both running the latest CentOS (5.4), both up-to-date, both using the very same partitioning and both using DRBD and GFS(2). On most SuSE or Debian systems, the installation would be pretty straight-forward: You install the base system, set up the DRBD, format it with some OCFS and make Heartbeat monitor everything. So far so good. On RHEL/CentOS it seems to work a bit different, due to the different tools they&#8217;re using. When installing the installation-group &#8220;Cluster Storage&#8221; for example, yum fetches packages named openais and cman &#8211; tools you&#8217;ve probably never heard of, when you come form the Debian corner (as I do). But before I describe those in detail, let&#8217;s just configure our plain base-installation.</p>
<p>What do we need to do first? What&#8217;s one of the most important things on two systems that should run &#8220;symmetrically&#8221; and have the very same data available, with every change that&#8217;s being made every second? Exactly, the time would be one of those things. We need to assure that both systems use the very same time. Mostly, you&#8217;ll be using some x86_64 hardware for such setups, where the problems start: On 64-bit hardware, the timekeeping with TSC doesn&#8217;t run <strong>that</strong> perfect, which is why we should just deactivate it and leave HPET do its job alone. After installing ntpd we need to open our grub.conf and add the notsc option to our kernels. It should looks something like this:</p>
<blockquote><p>===================================================================<br />
RCS file: /etc/grub.conf,v<br />
retrieving revision 1.1<br />
diff -u -r1.1 /etc/grub.conf<br />
&#8212; /etc/grub.conf	2009/11/13 13:30:26	1.1<br />
+++ /etc/grub.conf	2009/11/13 13:32:26<br />
@@ -13,9 +13,9 @@<br />
hiddenmenu<br />
title CentOS (2.6.18-164.6.1.el5)<br />
root (hd0,0)<br />
-	kernel /vmlinuz-2.6.18-164.6.1.el5 ro root=LABEL=/<br />
+	kernel /vmlinuz-2.6.18-164.6.1.el5 ro root=LABEL=/ notsc<br />
initrd /initrd-2.6.18-164.6.1.el5.img<br />
title CentOS (2.6.18-164.el5)<br />
root (hd0,0)<br />
-	kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/<br />
+	kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/ notsc<br />
initrd /initrd-2.6.18-164.el5.img</p></blockquote>
<p>Now, we can shutdown the ntpd and set its drift-file to 0.000. After that, simply reboot and check the dmesg for the HPET-lines and of course also check the time on both systems to be identically.</p>
<p>Now, what else should we configure until we start building our actual cluster? Probably, we should take a look into the system-config-securitylevel-tui tool. Depending on what environment you plan your cluster to run in, you either want to open each port by port manually in the firewall and configure your SELinux to allow CMAN/OpenAIS and DRBD to work properly &#8211; or you simply turn of those &#8220;toys&#8221; and configure the network-segment to be secure by itself. It depends to you and I&#8217;m not going to write how to reconfigure the firewall or your SELinux-environment. For my tests, I simply turned both off. Especially the combination of CMAN/OpenAIS and SELinux can become pretty tricky, when SELinux runs in any other mode than &#8220;Disabled&#8221;. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>Now, let&#8217;s finally please our inner kid and install some software:</p>
<blockquote><p># yum groupinstall &#8220;Cluster Storage&#8221;<br />
&#8230;<br />
# yum install drbd83 kmod-drbd83<br />
&#8230;</p></blockquote>
<p>I&#8217;ve chosen to use drbd83 since it&#8217;s the next stable release and already obsoletes drbd82 in CentOS 5.4 &#8211; and drbd is simply just too old. Of course, upgrades might become tricky when using explicitly versioned packages, but on DRBD it&#8217;s always a bit tricky, since there could be configuration changes which would have to be implemented manually on future versions.</p>
<p>However, now let&#8217;s create the infamous and poorly documented /etc/cluster/cluster.conf. For testing, we could simply use something like this:</p>
<blockquote><p>&lt;?xml version=&#8221;1.0&#8243;?&gt;<br />
&lt;cluster alias=&#8221;cluster-setup&#8221; config_version=&#8221;1&#8243; name=&#8221;cluster-setup&#8221;&gt;<br />
&lt;rm log_level=&#8221;4&#8243;/&gt;<br />
&lt;fence_daemon clean_start=&#8221;1&#8243; post_fail_delay=&#8221;0&#8243; post_join_delay=&#8221;3&#8243;/&gt;<br />
&lt;clusternodes&gt;<br />
&lt;clusternode name=&#8221;server-1.cross&#8221; nodeid=&#8221;1&#8243; votes=&#8221;1&#8243;&gt;<br />
&lt;fence&gt;<br />
&lt;method name=&#8221;2&#8243;&gt;<br />
&lt;device name=&#8221;LastResortNode01&#8243;/&gt;<br />
&lt;/method&gt;<br />
&lt;/fence&gt;<br />
&lt;/clusternode&gt;<br />
&lt;clusternode name=&#8221;server-2.cross&#8221; nodeid=&#8221;2&#8243; votes=&#8221;1&#8243;&gt;<br />
&lt;fence&gt;<br />
&lt;method name=&#8221;2&#8243;&gt;<br />
&lt;device name=&#8221;LastResortNode02&#8243;/&gt;<br />
&lt;/method&gt;<br />
&lt;/fence&gt;<br />
&lt;/clusternode&gt;<br />
&lt;/clusternodes&gt;<br />
&lt;cman expected_votes=&#8221;1&#8243; two_node=&#8221;1&#8243;/&gt;<br />
&lt;fencedevices&gt;<br />
&lt;fencedevice agent=&#8221;fence_manual&#8221; name=&#8221;LastResortNode01&#8243; nodename=&#8221;server-1.cross&#8221;/&gt;<br />
&lt;fencedevice agent=&#8221;fence_manual&#8221; name=&#8221;LastResortNode02&#8243; nodename=&#8221;server-2.cross&#8221;/&gt;<br />
&lt;/fencedevices&gt;<br />
&lt;rm/&gt;<br />
&lt;totem consensus=&#8221;4800&#8243; join=&#8221;60&#8243; token=&#8221;10000&#8243; token_retransmits_before_loss_const=&#8221;20&#8243;/&gt;<br />
&lt;/cluster&gt;</p></blockquote>
<p>Configuring OpenAIS this way isn&#8217;t actually the best way&#8230; it&#8217;s not even &#8220;good&#8221;. But for testing (and understanding how stuff works) it should be enough. Those rules expect manual intervention when one of the two server should become unavailable and needs to be brought back into the cluster.</p>
<p>The domain &#8220;.cross&#8221; is expected to be a hostname.domainname entry within the /etc/hosts of each server and defines the direct cross-cable-connection from one server to another. We need this connection to shrink down network latency and provide a way for OpenAIS and (in this example) also DRBD to directly communicate with each other. A better setup would be to set the heartbeat on top of a serial-line, since it would be most fault-tolerant.</p>
<p>Okay, next. What&#8217;s left? Exactly, the actual DRBD &#8211; so let&#8217;s set it up:</p>
<blockquote><p>global { usage-count yes; }<br />
common { syncer { rate 100M; } }<br />
resource the-disk {<br />
protocol C;<br />
startup {<br />
wfc-timeout 20;<br />
degr-wfc-timeout 10;<br />
# become-primary-on both; # Uncomment this only after tested!<br />
}<br />
net {<br />
cram-hmac-alg sha1;<br />
shared-secret &#8220;i4m501337&#8243;;<br />
allow-two-primaries;<br />
}<br />
on server-1 {<br />
device    /dev/drbd1;<br />
disk      /dev/sdb;<br />
address   10.100.0.1:7789;<br />
meta-disk  internal;<br />
}<br />
on server-2 {<br />
device    /dev/drbd1;<br />
disk      /dev/sdb;<br />
address   10.100.0.2:7789;<br />
meta-disk  internal;<br />
}<br />
disk {<br />
fencing resource-and-stonith;<br />
}<br />
handlers {<br />
#outdate-peer &#8220;/sbin/handler&#8221;;<br />
}<br />
}</p></blockquote>
<p>This configuration defines our two servers and tells DRBD to use /dev/sdb on both for the actual data. Our meta-disk will be internal and with address we defined &#8211; guess what? &#8211; the IP addresses of our two servers. Those are the .cross-domain addresses!</p>
<p>Next, we initialize our meta-disks (on both nodes), set our generation identifier, start the actual DRBD service and check the roles it currently runs in:</p>
<blockquote><p># drbdadm create-md the-disk<br />
&#8230;<br />
# drbdadm &#8212; 6::::1 set-gi the-disk<br />
&#8230;<br />
# service drbd start<br />
&#8230;<br />
# drbdadm role all<br />
Secondary/Secondary</p></blockquote>
<p>If all those steps succeed, we can try to promote both nodes to primary:</p>
<blockquote><p># drbdadm primary all<br />
# drbdadm role all<br />
Primary/Primary</p></blockquote>
<p>And if this now worked out properly, we can enable the automatic promotion from within our drbd.conf:</p>
<blockquote><p># rcsdiff -u /etc/drbd.conf<br />
===================================================================<br />
RCS file: /etc/drbd.conf,v<br />
retrieving revision 1.2<br />
diff -u -r1.2 /etc/drbd.conf<br />
&#8212; /etc/drbd.conf	2009/11/13 10:34:23	1.2<br />
+++ /etc/drbd.conf	2009/11/13 15:16:26<br />
@@ -9,7 +9,7 @@<br />
startup {<br />
wfc-timeout 20;<br />
degr-wfc-timeout 10;<br />
-                # become-primary-on both; # Uncomment this only after tested!<br />
+                become-primary-on both; # Uncomment this only after tested!<br />
}<br />
net {<br />
cram-hmac-alg sha1;</p></blockquote>
<p>Great. <em>So we&#8217;re set up now?</em> Nope. We&#8217;re not. Next, we need to change DRBDs boot order in order for it to work properly with the GFS auto-mounting on boot:</p>
<blockquote><p># rcsdiff -u /etc/init.d/drbd<br />
===================================================================<br />
RCS file: /etc/init.d/drbd,v<br />
retrieving revision 1.1<br />
diff -u -r1.1 /etc/init.d/drbd<br />
&#8212; /etc/init.d/drbd	2009/11/13 10:57:15	1.1<br />
+++ /etc/init.d/drbd	2009/11/13 10:58:15<br />
@@ -1,6 +1,6 @@<br />
#!/bin/bash<br />
#<br />
-# chkconfig: 345 70 08<br />
+# chkconfig: 345 22 75<br />
# description: Loads and unloads the drbd module<br />
#<br />
# Copright 2001-2008 LINBIT Information Technologies</p></blockquote>
<p>And let it run on boot:</p>
<blockquote><p># chkconfig &#8211;level 345 drbd on</p></blockquote>
<p>Great! <em>So, now we are set up, right?</em> Nope, wrong. We have a running DRBD setup now, but we still lack of a cluster-able file-system. GFS2 is a pretty good choice for such a task, so let&#8217;s try to format the DRBD-device on <strong>one of our nodes</strong> with it:</p>
<blockquote><p># mkfs.gfs2 -p lock_dlm -t cluster-setup:mycluster /dev/drbd1 -j 2</p></blockquote>
<p>Before we can try to mount the device, we need to have OpenAIS/CMAN running, in order to manage our GFS consistency. Let&#8217;s start the cman service therefor (on both nodes!):</p>
<blockquote><p># service cman start</p></blockquote>
<p>Starting cman and starting fenced could take several seconds, be patient. If you installed both servers identically and followed this documentation step by step everything should work out just fine. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>At last, we can now mount our DRBD device into some folder (on both nodes) and start playing around with our fresh setup:</p>
<blockquote><p># mount -t gfs2 /dev/drbd1 /mnt/somefolder</p></blockquote>
<p>I hope everything worked out for you and I also hoped that this brief summary helped you getting a bit easier into the actual setup of such a cluster setup. Feel free to ask any questions or provide feedback in any form.</p>
<p>Enjoy! <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/11/14/a-brief-summary-of-setting-up-a-centos-5-4-drbd-cluster-in-primaryprimary/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TextMate Palm Pre Development Bundle 0.2</title>
		<link>http://devilx.net/2009/11/11/textmate-palm-pre-development-bundle-0-2/</link>
		<comments>http://devilx.net/2009/11/11/textmate-palm-pre-development-bundle-0-2/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 20:55:58 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Life itself]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Bundle]]></category>
		<category><![CDATA[Cocoa]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Debug]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Emulator]]></category>
		<category><![CDATA[GPS]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[Palm]]></category>
		<category><![CDATA[Pre]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[SMS]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1070</guid>
		<description><![CDATA[Yes, after not even four hours I&#8217;ve already finished building the 0.2-release of my Palm Pre Development Bundle for TextMate. In case you&#8217;re wondering what weird stuff I&#8217;m talking about, please read my previous post first. However, this second release &#8230; <a href="http://devilx.net/2009/11/11/textmate-palm-pre-development-bundle-0-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_1072" class="wp-caption alignleft" style="width: 160px"><a href="http://www.devilx.net/wp-content/uploads/2009/11/palmprebundle-0.2.png"><img class="size-thumbnail wp-image-1072" title="Palm Pre Development Bundle 0.2" src="http://www.devilx.net/wp-content/uploads/2009/11/palmprebundle-0.2-150x150.png" alt="Palm Pre Development Bundle 0.2" width="150" height="150" /></a><p class="wp-caption-text">Palm Pre Development Bundle 0.2</p></div>
<p>Yes, after not even four hours I&#8217;ve already finished building the 0.2-release of my Palm Pre Development Bundle for TextMate. In case you&#8217;re wondering what weird stuff I&#8217;m talking about, <a title="Palm Pre Development Bundle for TextMate" href="http://www.devilx.net/2009/11/11/palm-pre-development-bundle-for-textmate/" target="_self">please read my previous post first</a>.</p>
<p>However, this second release includes a lot more features than it had before, plus I&#8217;ve made use of the CocoaDialog now. Let me describe the new features from the top to the bottom of the screenshot on the left site.</p>
<p>First of all, there&#8217;s &#8220;Generate New Project&#8221;. This lets you execute a palm-generate with all important attributes and opens the created project afterwards using the &#8220;mate&#8221; terminal-command, which needs to be available for this to work. All you have to do then is simply to save the TextMate project right into your generated project-directory.</p>
<p>Next, we still have &#8220;Generate New Scene&#8221;. I&#8217;ve enhanced the feature now, so that you&#8217;ll get a cocoa dialog asking for the scene&#8217;s name. Beware: The generation usually works as it should, the only problem is the TextMate project-drawer, which doesn&#8217;t seem to refresh by itself. A workaround: Cmd+H to hide TextMate and then click on its Dock-icon to make it appear again. Then all newly generated files should be visible in its drawer.</p>
<p>The next three features work just as before, no enhancements at all. On the fourth, the &#8220;Launch Project in Debugging-Mode&#8221; feature, I&#8217;ve implemented a palm-launch with debugging options, that can be run on an existing, packaged and installed project.</p>
<p>Next, there are ways to close and remove installed Projects. &#8220;Close running project&#8221; of course only works, when the App is actually running and &#8220;Remove installed Project&#8221; removes the App from the device. As device for all those commands the first device found by the Palm toolset will be taken &#8211; so if you would like to use the Emulator, better disconnect your real device and vice versa.</p>
<p>I&#8217;ve also built-in two features that let you simulate test calls and SMS on your Emulator, if you changed from password authentication to SSH public key authentication. You can do this either manually or try to use the feature at the menu&#8217;s bottom named &#8220;Auto-install SSH-Pubkey on Emulator&#8221;. Depending on your SSH-key-setup it works out or&#8230; not.</p>
<p>The other seven features allow you to simulate GPS drives on the Emulator &#8211; again only if you&#8217;ve set-up SSH-Pubkey authentication.</p>
<p>I hope you enjoy this release of the Palm Pre Development Bundle for TextMate! <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p><strong><span style="text-decoration: line-through;">Download: </span><a href="http://www.devilx.net/wp-content/uploads/2009/11/Palm-Pre-Bundle-0.2.zip"><span style="text-decoration: line-through;">Palm-Pre-Bundle-0.2</span></a></strong></p>
<p><strong>UPDATE:</strong> There&#8217;s a newer version available! <a title="Palm webOS (formerly Palm Pre) Development Bundle for TextMate 0.3" href="http://www.devilx.net/2009/11/13/palm-webos-formerly-palm-pre-development-bundle-for-textmate-0-3/">Get it here</a>. Or use <a title="GitHub" href="http://github.com/devilx/palm-webos-development-tmbundle">GitHub</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/11/11/textmate-palm-pre-development-bundle-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Palm Pre Development Bundle for TextMate</title>
		<link>http://devilx.net/2009/11/11/palm-pre-development-bundle-for-textmate/</link>
		<comments>http://devilx.net/2009/11/11/palm-pre-development-bundle-for-textmate/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 17:05:36 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Life itself]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Bundle]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[Palm]]></category>
		<category><![CDATA[Pre]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1065</guid>
		<description><![CDATA[Today I&#8217;ve created a tiny little bundle for the best editor available™ named TextMate which adds Palm Pre development features to it. The bundle contains of four commands which let you generate new scenes, package your project, install and launch &#8230; <a href="http://devilx.net/2009/11/11/palm-pre-development-bundle-for-textmate/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.devilx.net/wp-content/uploads/2009/09/TextMate.png"><img class="alignleft size-full wp-image-992" title="TextMate" src="http://www.devilx.net/wp-content/uploads/2009/09/TextMate.png" alt="TextMate" width="64" height="64" /></a>Today I&#8217;ve created a tiny little bundle for the best editor available™ named <a title="TextMate - The Missing Editor" href="http://macromates.com/">TextMate</a> which adds Palm Pre development features to it. The bundle contains of four commands which let you generate new scenes, package your project, install and launch it on the Pre Emulator. Of course, you need to have Palm&#8217;s SDK installed for it to work.</p>
<p>The scene generation works like this: You implement your <em>this.controller.pushScene(&#8220;Main&#8221;);</em>-statement, select the scene&#8217;s name (Main, without the quotes!) and select the scene-generation command from the bundle&#8217;s menu. The command will immediately generate you a new scene named just the way you chose to name it. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>The other three commands can be ran by pressing the keys Fn+Ctrl+F5/F6/F7. Attention: The bundle only works with TextMate Projects! Generate your Palm Pre project like you always do, by using the following command:</p>
<blockquote><p>palm-generate -p &#8220;{ title:&#8217;ProjectName&#8217;, id:com.my.ProjectName, version:&#8217;1.0.0&#8242; }&#8221; ProjectName</p></blockquote>
<p>Then, create a new TextMate Project and drag&amp;drop the folder palm-generate created for you (&#8220;ProjectName&#8221;) into the Project&#8217;s drawer. Save the project <strong>within</strong> your Project-directory (&#8220;ProjectName&#8221;) and then run the commands.</p>
<p>This is the very first version of this bundle and I&#8217;ll keep constantly improving it with other features that help me and hopefully others on the development of Palm Pre Web-Apps.</p>
<p>Enjoy!</p>
<p><strong><span style="text-decoration: line-through;">Download: </span><span style="text-decoration: line-through;"><a href="http://www.devilx.net/wp-content/uploads/2009/11/PalmPre-Bundle-0.1.zip">PalmPre-Bundle-0.1</a></span></strong></p>
<p><strong>UPDATE:</strong> There&#8217;s a newer version available now! <a title="TextMate Palm Pre Development Bundle 0.2" href="http://www.devilx.net/2009/11/11/textmate-palm-pre-development-bundle-0-2/" target="_self">Get it here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/11/11/palm-pre-development-bundle-for-textmate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MediaWiki and Lucene</title>
		<link>http://devilx.net/2009/11/02/mediawiki-and-lucene/</link>
		<comments>http://devilx.net/2009/11/02/mediawiki-and-lucene/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 12:14:31 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[JAR]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Lucene]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1035</guid>
		<description><![CDATA[Lately, I had to enhance a MediaWiki-installation for the search to find some special parameters within a code block. It&#8217;s generally known that MediaWiki&#8217;s built-in searcher is really just an example of how searching could work, but nothing you&#8217;d really &#8230; <a href="http://devilx.net/2009/11/02/mediawiki-and-lucene/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Lately, I had to enhance a MediaWiki-installation for the search to find some special parameters within a code block. It&#8217;s generally known that MediaWiki&#8217;s built-in searcher is really just an example of how searching could work, but nothing you&#8217;d really like to use on heavy systems. However, Lucene is a pretty good replacement for MediaWiki&#8217;s built-in search, unfortunately the current EzMwLucene version isn&#8217;t that good integrated into the latest (Debian) Linux version I&#8217;ve been using. The installation on the <a title="Extension:EzMwLucene - MediaWiki" href="http://www.mediawiki.org/wiki/Extension:EzMwLucene">EzMwLucene Extension</a> looks pretty straight-forward, but at least on my installation the lucene/server didn&#8217;t really wanted to come up using the scripts that were shipped within its package. After debugging its startup procedure and taking a look into its classes and JARs, I came up with the following command to run the Lucene-server on a Debian GNU/Linux:</p>
<blockquote><p>export EZMWLUCENE_HOME=/opt/lucene/server<br />
/usr/lib/jvm/java-6-sun-1.6.0.12/jre/bin/java -Dezmwlucene.home=$EZMWLUCENE_HOME -Djava.io.tmpdir=$TMP -cp $EZMWLUCENE_HOME/ezmwlucene.jar:$EZMWLUCENE_HOME/lib/jetty-6.1.14.jar:$EZMWLUCENE_HOME/lib/jetty-util-6.1.14.jar:$EZMWLUCENE_HOME/lib/servlet-api-2.5-6.1.14.jar:$EZMWLUCENE_HOME/lib/commons-codec-1.3.jar:$EZMWLUCENE_HOME/lib/commons-httpclient-3.1.jar:$EZMWLUCENE_HOME/lib/commons-logging.jar:$EZMWLUCENE_HOME/lib/FontBox-0.1.0-dev.jar:$EZMWLUCENE_HOME/lib/lucene-core-2.4.0.jar:$EZMWLUCENE_HOME/lib/lucene-highlighter-2.4.0.jar:$EZMWLUCENE_HOME/lib/PDFBox-0.7.3.jar:$EZMWLUCENE_HOME/lib/poi-3.5-beta3-20080926.jar:$EZMWLUCENE_HOME/lib/poi-scratchpad-3.5-beta3-20080926.jar net.sourceforge.ezmwlucene.service.EzMwLuceneService</p></blockquote>
<p>Those two lines can be packed-up within a shell-script, which then gets ran by a proper /etc/init.d-script. For me, it now just works perfectly.</p>
<p>Enjoy! <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/11/02/mediawiki-and-lucene/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amazon EC2: How to Setup an Instance and Bundle it</title>
		<link>http://devilx.net/2009/11/01/amazon-ec2-how-to-setup-an-instance-and-bundle-it/</link>
		<comments>http://devilx.net/2009/11/01/amazon-ec2-how-to-setup-an-instance-and-bundle-it/#comments</comments>
		<pubDate>Sun, 01 Nov 2009 16:25:46 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[AMI]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Bucket]]></category>
		<category><![CDATA[Bundle]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[EBS]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[Elastic]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[Instance]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1033</guid>
		<description><![CDATA[I know, that there are several documentations concerning Amazon&#8217;s Elastic Cloud Computing, though I&#8217;d like to describe some very first steps for using their infrastructure to build (Linux-) instances that fulfill your needs. Let&#8217;s not beat around the bush and &#8230; <a href="http://devilx.net/2009/11/01/amazon-ec2-how-to-setup-an-instance-and-bundle-it/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I know, that there are several documentations concerning Amazon&#8217;s Elastic Cloud Computing, though I&#8217;d like to describe some very first steps for using their infrastructure to build (Linux-) instances that fulfill your needs. Let&#8217;s not beat around the bush and start-over by setting up the very first instance.</p>
<p>The first thing needed is a client computer running any kind of the supported OSs by the Amazon API tools and of course the tools themselves. After you&#8217;ve installed those and configured all credentials the right way, we can create a new pair of SSH keys for our new project. Due to the location I&#8217;m currently in, I&#8217;ve chosen to use Amazon Instances in the western EU. Execute the following line on your command-line:</p>
<blockquote><p>ec2-add-keypair &#8211;region eu-west-1 test-keypair</p></blockquote>
<p>The result should look something like this:</p>
<blockquote><p>[Deprecated] Xalan: org.apache.xml.res.XMLErrorResources_en_US<br />
KEYPAIR	test-keypair	e1:1a:d1:a1:a1:1c:10:a1:b1:d1:cb:11:11:1a:11:11:f1:11:ae:fe<br />
&#8212;&#8211;BEGIN RSA PRIVATE KEY&#8212;&#8211;<br />
XXX<br />
&#8212;&#8211;END RSA PRIVATE KEY&#8212;&#8211;</p></blockquote>
<p>You can now copy the lines from <i>BEGIN&#8230;</i> until <i>END&#8230;</i> (including those two) into a file which you&#8217;ll be using as SSH-key for connecting to your instance. Don&#8217;t forget to <i>chmod 600</i> it!</p>
<p>Next, let&#8217;s see what base-images for creating our instance we could you &#8211; first, provided by Amazon themselves:</p>
<blockquote><p>
ec2-describe-images &#8211;region eu-west-1 -o &#8216;amazon&#8217;
</p></blockquote>
<p>The list is contained of several different OSs and versions, although in our current project we can&#8217;t make use of any of those. Therefor, we&#8217;re now searching for a perfectly fitting, really good operating system:</p>
<blockquote><p>
ec2-describe-images &#8211;region eu-west-1 -a | grep -i debian
</p></blockquote>
<p>And yet, we receive another list with several different versions of the Debian Linux distribution. After we&#8217;ve picked the one we&#8217;d like to run, we should check what instances are currently up and running:</p>
<blockquote><p>
ec2-describe-instances &#8211;region eu-west-1
</p></blockquote>
<p>If you&#8217;re using Amazon&#8217;s EC2 for the first time, there shouldn&#8217;t be any items listed. We can now start our very first instance, by copying the instance&#8217;s identifier (in the second column, a string starting with ami-<id>) and pasting it into our command:</p>
<blockquote><p>
ec2-run-instances &#8211;region eu-west-1 -k test-keypair -g &#8216;http/s&#8217; -g &#8216;ssh&#8217; ami-b8446fcc
</p></blockquote>
<p>In this command, we tell Amazon to start up a new instance that&#8217;s built on top of the ami-b8446fcc-image, using the key-pair we just created before and using some custom built firewall-rules named &#8220;http/s&#8221; (which allows us to connect to port 80 and 443) and &#8220;ssh&#8221; (port 22).</p>
<p>We need to wait a few seconds, until the instance comes up. We can use the describe-instances command from above to check the instance&#8217;s status:</p>
<blockquote><p>
ec2-describe-instances &#8211;region eu-west-1
</p></blockquote>
<p>As soon as it&#8217;s up and running, the &#8220;pending&#8221; column should have been replaced by a dynamically allocated hostname and the status &#8220;running&#8221;. Keep in mind, that this hostname/ip is dynamically allocated! If you want a fixed IP, you need to allocate and assign an Elastic IP &#8211; I&#8217;ll show you later how to do so.<br />
If our firewall rules worked out, we can now connect using SSH:</p>
<blockquote><p>
ssh -i ~/Library/EC2/id_rsa-test-keypair root@ec2-11-111-11-111.eu-west-1.compute.amazonaws.com
</p></blockquote>
<p>By default, Amazon sets up a Small Instance, that provides around 10 GB of hard drive, an Dual-Core AMD Opteron 2218 with 2600 MHz and around 1.7 GB of RAM. Small instances, in comparison to the bigger ones, also still provide a real swap-partition which is limited to 895 MB. Here, you could run into problems when installing some Oracle for example, since the DB would like to have 1 GB or more Swap-space. If 895 MB should not be enough, the only way to enlarge it seems to be to use a file within your file-system for that. Either, by placing it somewhere into / or by using /mnt for that. /mnt is a special mount in Amazon instances which provides you 147 GB of additional <i>volatile</i> storage. Amazon doesn&#8217;t guarantee in any way the storage to be stable/solid or even backed up &#8211; and usually /mnt is only used for bundling your instance. You might now think <i>&#8220;so, where could I place my data, if / is only providing me 10 GB of space and /mnt should not be used for storing sensitive data?&#8221;</i> &#8211; well, there&#8217;s a third possibility named Elastic Block Storage. An EBS is being displayed to your instance as regular block-device (/dev/sdb, &#8230;) that&#8217;s format- and mountable. There, sensitive data could be stored, by bind-mounting the directories you&#8217;d like to have your data in. I&#8217;m not going to explain how this works, else I&#8217;ll never finish writing this brief documentation.</p>
<p>However, since we&#8217;re connected to the instance now, we can set it up the way we want it, with whatever software we need on it. I&#8217;ve assumed, that most people would set it up as regular LAMP-instance, therefor I&#8217;ve also added the firewall-rule for HTTP/HTTPS. After we finished installing the software we need, there&#8217;s one more package that should be plugged into the system: The Amazon AMI Tools. Simply wget them from http://s3.amazonaws.com/ec2-downloads/ec2-ami-tools.zip and unzip the package. Those tools make use of Ruby, so ensure having it installed on your instance. Also, you need to have the private key (pk-<id>.pem) and the certificate (cert-<id>.pem) you created the instance with somewhere within your instance&#8217;s filesystem, for later use.</p>
<p>Before we bundle up our system now, let&#8217;s come back to the topic we had before: The hostname/IP. Amazon allocates some dynamic address, unless you tell them to give you a fixed (called Elastic) IP. You can do that by simply executing:</p>
<blockquote><p>
ec2-allocate-address &#8211;region eu-west-1
</p></blockquote>
<p>&#8230; within your client&#8217;s command-line (where the Amazon API Tools have been installed &#8211; not on the instance!). As result you&#8217;ll get some IP address that has now being allocated by Amazon for you. The IP isn&#8217;t bound to any instance yet &#8211; it&#8217;s just allocated for you to be able to use it. ATTENTION: You pay for Elastic IPs as long as you do not assign them to an instance. Yes, that&#8217;s right. Amazon charges you for every allocated but unused IP hourly. By that, they want to prevent people &#8220;collecting&#8221; addresses, I guess. To assign the address you just received to your instance, simply run:</p>
<blockquote><p>
ec2-associate-address &#8211;region eu-west-1 -i i-11e11b1e 79.125.11.11
</p></blockquote>
<p>The i-<id> is your actual instance&#8217;s ID, where the last, dot-separated number is the IP you&#8217;ve received. And yes, those are fake numbers &#8211; so don&#8217;t even try. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/wink.png' alt=';]' class='wp-smiley' /> </p>
<p>Now it could take a bit for Amazon to reconfigure the instance, but as soon as it finished, you should be able to re-connect to the instance using the IP you just assigned to it.</p>
<p>As last task for today, let&#8217;s bundle up the image the way we have it now. Bundling an image allows you more than just eating up your credit card&#8217;s limit by dumping your S3 buckets. On the one hand, with bundles you can recover machines that crashed or lost data within a few blinks and on the other, you can created new instances out of a bundle (talking about &#8220;scalability&#8221;).</p>
<p>For bundling, we use the AMI tools we installed. First of all, let&#8217;s create a directory for the bundle:</p>
<blockquote><p>
mkdir /mnt/myimage
</p></blockquote>
<p>After that, run the bundle-vol-tool:</p>
<blockquote><p>
ec2-bundle-vol -k pk-<id>.pem -c cert-<id>.pem -s <bundle size in MB, e.g. 5000> -u <user-id, without dashes> -d /mnt/myimage/
</p></blockquote>
<p>This command takes several parameters for the private key, the certificate, the size of the resulting bundle in MB and your User-ID (without dashes). The User-ID can be found within your Account Information on Amazon&#8217;s EC2 site. The command should ask you, what architecture you&#8217;d like to bundle the system for &#8211; i386 should work out perfectly for what we&#8217;re doing. The following procedure could take some time, since the tool collections every peace of the system and builds a bundle into the directory we specified. As soon as the tool finished, we can upload our bundle to our S3-bucket:</p>
<blockquote><p>
ec2-upload-bundle &#8211;location EU -b <some unique bucket name>  -m /mnt/myimage/image.manifest.xml -a <access-key> -s <secret-key>
</p></blockquote>
<p>Again, we need to specify some credentials (our access-key and the secret-key) for the upload to work. Also, we need to pick a globally unique bucket-name for uploading the bundle, what shouldn&#8217;t be that hard as long as you don&#8217;t try stuff like &#8220;linux&#8221; or other common words. The bundle will then be uploaded to your (private) bucket, so you have it for later use.</p>
<p>From within the web-interface you could now simply create new instances out of the uploaded bundle, without even knowing how the actual system was set up or having the Amazon API tools installed on your client.</p>
<p>Cool stuff, enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/11/01/amazon-ec2-how-to-setup-an-instance-and-bundle-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing Around with Ubuntu One (Pt. 2)</title>
		<link>http://devilx.net/2009/09/12/playing-around-with-ubuntu-one-pt-2/</link>
		<comments>http://devilx.net/2009/09/12/playing-around-with-ubuntu-one-pt-2/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 21:08:25 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MobileMe]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu One]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1012</guid>
		<description><![CDATA[In the first post of my tests regarding Ubuntu One, I described a bit how the general principle of Ubuntu One works and what I&#8217;ve experienced while setting it up on one Ubuntu client. Now, I got a bit deeper &#8230; <a href="http://devilx.net/2009/09/12/playing-around-with-ubuntu-one-pt-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In the <a title="Playing Around with Ubuntu One" href="http://www.devilx.net/2009/09/12/playing-around-with-ubuntu-one/" target="_self">first post</a> of my tests regarding Ubuntu One, I described a bit how the general principle of Ubuntu One works and what I&#8217;ve experienced while setting it up on one Ubuntu client. Now, I got a bit deeper into the service by cloning the Ubuntu machine and also authorizing the second Ubuntu client for the Ubuntu One service.</p>
<p>As I&#8217;ve written, moving the application-folders into the cloud seems to be working pretty good on one client. Now I&#8217;ve tested, how it is when using two clients and pulled the information contained in the cloud (from client A) down to client B. Each of the three applications worked in general, Pidgin started with the account configured on client A, Evolution started with the Inbox configure in client A but asked me for the password to access the mail-server (what&#8217;s clear, because I did not synchronize the key-rings) and Firefox displayed with the preferences configured, but prepended a message box that said:</p>
<blockquote><p>Could not initialize the application&#8217;s security component. The most likely cause is problems with files in your application&#8217;s profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features.</p></blockquote>
<p>This confused me a bit, especially since the actual browser ran without any more problems. However, I&#8217;ve been to lazy to track down this permission problem.</p>
<p><a href="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Conflict.png"><img class="alignleft size-thumbnail wp-image-1013" title="UbuntuOne-Conflict" src="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Conflict-150x150.png" alt="UbuntuOne-Conflict" width="150" height="150" /></a>After I&#8217;ve checked, if &#8220;one-after-another&#8221; synchronization worked, I tried out the simultaneous usage of both machines, while being connected and synced with the cloud on each of them. As I&#8217;ve expected, I ran into some problems: Suddenly, some more folder (thumbnail) appeared within the client B&#8217;s Ubuntu One folder, that contained his app-information. The folders remained until the actual Home folder finished receiving the data from within the cloud, then they just disappeared. I don&#8217;t know, if those have been merged or just deleted &#8211; it just worked afterwards. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>Ubuntu One seems to be using &#8220;semaphores&#8221;, in a similar way token-ring was using: At first, client A is allowed to sync his data with the cloud. When this is finished, client B is allowed to sync. Then, it&#8217;s client A&#8217;s turn again &#8211; and so on. Theoretically, this is good. But in practice, Ubuntu One unfortunately seems to overwrite locale changes when pulling data down from the cloud. In comparison: MobileMe asks the user and merges the data, as good as possible.</p>
<p>In the end, simultaneous usage was unable to sync both machines in a way, so that data was kept consistent. Either one machine lost information, or the other. Especially when adding a new Pidgin account on client B, waiting for the sync, closing Pidgin on client A (which then seems to save a final account-info) and waiting for the sync there, you will be surprised your account not to be available when re-launching Pidgin on client A.</p>
<p>Of course, synchronization always is a tricky feature, but I guess, Ubuntu One lacks of an SVN-like back-end, that keeps track of all changes and makes merging possible. I&#8217;m really interested in how Ubuntu One will continue to evolve and I&#8217;ll try to keep tack of its development status. This could really kick ass someday, as soon as everything works seamless and simultaneous.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/09/12/playing-around-with-ubuntu-one-pt-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Playing Around with Ubuntu One</title>
		<link>http://devilx.net/2009/09/12/playing-around-with-ubuntu-one/</link>
		<comments>http://devilx.net/2009/09/12/playing-around-with-ubuntu-one/#comments</comments>
		<pubDate>Sat, 12 Sep 2009 19:47:16 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Beta]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Dropbox]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MobileMe]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu One]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1005</guid>
		<description><![CDATA[So, after I&#8217;ve received my confirmation for my Ubuntu One account on July the 19th, this evening I&#8217;ve finally found at least a bit time to play around with it and check out how good this service really works. For &#8230; <a href="http://devilx.net/2009/09/12/playing-around-with-ubuntu-one/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, after I&#8217;ve received my confirmation for my <a title="Ubuntu One" href="https://one.ubuntu.com/" target="_blank">Ubuntu One</a> account on July the 19th, this evening I&#8217;ve finally found at least a bit time to play around with it and check out how good this service really works.</p>
<p>For my tests, I was using a vanilla Ubuntu 9.04 with latest package versions/updates installed. The installation of the PPA was pretty simple, thanks to the DEB provided on the Ubuntu One site, although I could not install the Ubuntu One GNOME-Client using the one-click feature implemented on the official Install-site. This probably could be the first thing a regular user could trap on.</p>
<p><a href="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Menu.png"><img class="alignleft size-full wp-image-1006" title="UbuntuOne-Menu" src="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Menu.png" alt="UbuntuOne-Menu" width="223" height="31" /></a>So, after installing the packages manually by using a terminal and aptitude, the client appeared in Ubuntu&#8217;s &#8220;Internet&#8221;-submenu of the panel-main-menu. When a user installs Ubuntu One on a new computer and clicks the client&#8217;s icon within the menu to start the service, he will get a browser-window containing an Ubuntu One authorization-page. There, the user needs to click the &#8220;Authorize this Computer&#8221; button, so the computer will be able to sync with the Ubuntu One cloud. I took a quick look behind the scenes and as far as I&#8217;ve seen, Ubuntu One uses regular OAuth to authenticate computers to the cloud. The OAuth-token therefor will be saved within the &#8220;Passwords &amp; Keys&#8221; thingy, that&#8217;s found somewhere in the main-menu.</p>
<p><a href="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Updating.png"><img class="alignright size-full wp-image-1007" title="UbuntuOne-Updating" src="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-Updating.png" alt="UbuntuOne-Updating" width="270" height="106" /></a>However, the sync service itself creates a &#8220;Ubuntu One&#8221; folder within your home-directory, which syncs up into the cloud. Within this folder, there&#8217;s also a sym-linked-folder for Public content. The client-daemon doesn&#8217;t seem to be using some mechanism like iNotify to sync the folder contents up to the cloud, or if it does, it&#8217;s simply broken. At least on my test-machine, the client synchronized periodically &#8211; and by periodically I mean cycles with noticeable pauses in between. On one way that&#8217;s good, because not every tiny-whiny change that will be made to the folder&#8217;s contents will be pushed up to the cloud, what would literally kill your bandwidth, but on the other hand, the actual duration from one sync to another is just too big to be used with multiple devices simultaneously (e.g. an Android implementation or even another client-computer).</p>
<p>Talking about the simultaneousness, I don&#8217;t think that Ubuntu One is (yet) planned to be used on multiple computers simultaneous. On my test-setup I&#8217;ve created a sub-folder named &#8220;Home&#8221;, where I moved some dot-starting-folders from within my actual $HOME to and soft-linked them back to their actual location. My setup then looked something like:</p>
<p><code><br />
devilx@vm-ubuntu:~$ ls -la | grep ^lrw*<br />
lrwxrwxrwx  1 devilx devilx   38 2009-09-12 20:32 .evolution -&gt; /home/devilx/Ubuntu One/Home/evolution<br />
lrwxrwxrwx  1 devilx devilx   36 2009-09-12 20:31 .mozilla -&gt; /home/devilx/Ubuntu One/Home/mozilla<br />
lrwxrwxrwx  1 devilx devilx   35 2009-09-12 20:33 .purple -&gt; /home/devilx/Ubuntu One/Home/purple<br />
devilx@vm-ubuntu:~$<br />
</code></p>
<p>By this, I&#8217;ve pushed the preferences and information of my Firefox, my Evolution and my Pidgin into the cloud. A quick test showed me, that none of those three applications complained about their new &#8220;home&#8221; being a symlink to some directory within the cloud &#8211; and neither about any insufficient permissions that could have happened, if the cloud was set-up crappy (+1P for Ubuntu One). Still, this setup seems not that perfect for me, at the moment.</p>
<p>The synchronization of a modified .mozilla and especially of a modified .evolution folder seems to take for years. While I&#8217;m writing this text, the client-daemon is still synchronizing the files (it started nearly at the same time I&#8217;ve started writing this entry) and says &#8220;Updating 6 of 270 files&#8230;&#8221; &#8211; this could become a looooong night. Though, I don&#8217;t want to complain about Ubuntu One&#8217;s performance, since yet, it&#8217;s still in Beta (even if I don&#8217;t know, if Beta isn&#8217;t just an upcoming trend every company has to stick with -&gt; e.g. Google).</p>
<p><a href="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-DesktopSync.png"><img class="alignleft size-thumbnail wp-image-1008" title="UbuntuOne-DesktopSync" src="http://www.devilx.net/wp-content/uploads/2009/09/UbuntuOne-DesktopSync-150x150.png" alt="UbuntuOne-DesktopSync" width="150" height="150" /></a>I&#8217;ll try to clone this Ubuntu-installation and run them both with Ubuntu One being active &#8211; first, one after another (to see, if the applications could be synced without them complaining about parameters, that are incorrect for the secondary host they get synced to -&gt; e.g. hostname information) and then I&#8217;ll try to run them simultaneously and hope for the best. If it should work out (what I don&#8217;t expect, just from what I&#8217;ve seen in similar projects), it would be really cool, because then, most applications could be synced this way without much hassle. I&#8217;d be really surprised, if this should be working, because then, the cloud seems to implement some kind of &#8220;merge&#8221; service, which allows you to upload data from two (or more) clients and seamlessly merge it up in the cloud together to one, consistent state.</p>
<p>Eh, I will see. Altogether, Ubuntu One is yet already working pretty cool, though I&#8217;m not quite sure, what a regular user should do with it, if he&#8217;s already aware of service like <a href="http://www.dropbox.com/referrals/NTIxODYyMjk5">Dropbox</a> or Amazon&#8217;s S3 &#8211; because at the moment, Ubuntu One unfortunately isn&#8217;t any better than those services. It just integrates more seamless into the GNOME-desktop. Hm&#8230; oh well. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/09/12/playing-around-with-ubuntu-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pissed of SourceForge</title>
		<link>http://devilx.net/2009/08/30/pissed-of-sourceforge/</link>
		<comments>http://devilx.net/2009/08/30/pissed-of-sourceforge/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 23:31:55 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Life itself]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Account]]></category>
		<category><![CDATA[Community]]></category>
		<category><![CDATA[Crap]]></category>
		<category><![CDATA[Disappointed]]></category>
		<category><![CDATA[Idiocy]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[SourceForge]]></category>
		<category><![CDATA[Stupid]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=961</guid>
		<description><![CDATA[Let&#8217;s cut a long story short: On August 23rd, I wrote an E-Mail to the SourceForge-Support: Dear Sir or Madam, some years (now already ago, I registred on SourceForge.net (Username: devilx) and uploaded some OpenSource-Projects of mine. After a while, &#8230; <a href="http://devilx.net/2009/08/30/pissed-of-sourceforge/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s cut a long story short:</p>
<p>On <strong>August 23rd</strong>, I wrote an E-Mail to the SourceForge-Support:</p>
<blockquote><p>Dear Sir or Madam,</p>
<p>some years (now already <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> ago, I registred on SourceForge.net (Username: devilx) and uploaded some OpenSource-Projects of mine. After a while, my Account has been blocked without any (for me visible) reason. Now, I&#8217;m interessted in using this Account again, unfortunately I can&#8217;t re-enable it by recovering the password (or else).</p>
<p>I would like to ask, if you could help me re-enable the Account. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>Thanks in advance,</p>
<p>bye.</p></blockquote>
<p>On <strong>August 27th</strong>, the SourceForge-Support (finally) answered:</p>
<blockquote><p>Hello Marius,</p>
<p>This account was removed for a policy violation. It may not be<br />
recovered. If you choose to open a new account, please be sure to<br />
closely review our Site Legal documentation (<br />
http://sourceforge.net/apps/trac/sitelegal/wiki ).</p>
<p>Best regards,</p>
<p>Daniel Hinojosa<br />
SourceForge.net Support<br />
sfnet_ops@corp.sourceforge.com</p></blockquote>
<p>On the <strong>very same date</strong>, ten minutes later, I wrote back:</p>
<blockquote><p>Hi Daniel,</p>
<p>thank you for your reply. I don&#8217;t know, why I should have violate your policy, since I didn&#8217;t do anything wrong on that account. It had been removed shortly after I created a project named &#8220;BFC&#8221;, what stood for Brainf*ck Compiler. I&#8217;m sorry, but it is not my fault for the Programming-Languag being called like that. If you rejected the project because of this fact, it would have been fair. But deleteing my whole account is pretty sad. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/sad.png' alt=':-(' class='wp-smiley' /> </p>
<p>I was having some projects running under that account, which seem to be still available. Are there any possibilities for me to get my account named &#8220;devilx&#8221; (and all the project memberships I had) back?</p>
<p>Thanks in advance,</p>
<p>Marius.</p></blockquote>
<p>On <strong>August 29th</strong> the Support wrote back:</p>
<blockquote><p>Hi,</p>
<p>The account was closed at the time as there was a policy violation. We<br />
won&#8217;t be restoring that account.</p>
<p>you may open a new account and if you desire, attempt to take over the<br />
projects. If they are abandoned, this should be very easy to do.</p>
<p>Please be sure to be fully familiar with your Terms of Use:</p>
<p>http://sourceforge.net/apps/trac/sitelegal/wiki/Terms%20of%20Use</p>
<p>Best regards,</p>
<p>Daniel Hinojosa<br />
SourceForge.net Support<br />
sfnet_ops@corp.sourceforge.com</p></blockquote>
<p><strong>Half an hour later</strong>, I finished the communication:</p>
<blockquote><p>Great! Say &#8220;Hello&#8221; to OpenSource and its support &#8211; that is, why people buy commercial, closed source products.</p>
<p>Thank you for no help. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>Have a nice day.</p></blockquote>
<p>And yeah, I know, it&#8217;s a free service and they have the right to do whatever they would want, blah blah blah. Still, it&#8217;s the fact that the support apparently had <strong>no idea</strong> what the actual problem with my account was nor why it really had been blocked. I&#8217;m not going to sign up for a new account, since nowadays there are (luckily) way more possibilities to get your own project hosted in whatever way.</p>
<p>Yet again a poor statement the OpenSource related projects/SourceForge makes.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/08/30/pissed-of-sourceforge/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>iStat My Linux on My Phone</title>
		<link>http://devilx.net/2009/08/24/istat-my-linux-on-my-phone/</link>
		<comments>http://devilx.net/2009/08/24/istat-my-linux-on-my-phone/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 17:44:03 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Code]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Download]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[iStat]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Package]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=952</guid>
		<description><![CDATA[After checking out bjango&#8217;s web-site again after a long time, to check out the status of the &#8220;remote vital statistics&#8221; project called &#8220;iStat for iPhone&#8221;, I was suprised to see an iStat Server for Linux (and Solaris, and FreeBSD, &#8230;). &#8230; <a href="http://devilx.net/2009/08/24/istat-my-linux-on-my-phone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After checking out <a title="iStat, an iPhone app by Bjango" href="http://bjango.com/apps/istat/">bjango&#8217;s web-site</a> again after a long time, to check out the status of the &#8220;remote vital statistics&#8221; project called &#8220;iStat for iPhone&#8221;, I was suprised to see an iStat Server for Linux (and Solaris, and FreeBSD, &#8230;).</p>
<p>The last time I check out the project, there was no such daemon for Unix(-like) platforms but Mac OS X itself. I decided to take a quick look at the independend <a title="istatd" href="http://code.google.com/p/istatd/">istatd Project on Google Code</a> and give it a shot. I fetched the sources, built them on a Debian Lenny and ran the daemon with a slighly modified configuration &#8211; and it worked! <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>I found it pretty cool. Actually, I found it so cool that it was the reason for me to buy the actual iPhone App. I have no Mac OS X Servers I&#8217;d like to monitor, but I could think of plenty of Linux machines which I&#8217;d like to keep an eye on &#8211; not as an replacement for Nagios, just as a solution for quick-live-monitoring.</p>
<p>However, I decided to build a Debian package, to make it easier to deploy the istatd on a couple of machines. I attached the Debian package to this post, so you can just download and install it on your Lenny machines. Warning: It&#8217;s not a clean and tidy built, lintian conform packge! I just hacked it together to have something that &#8220;just works&#8221;. And that&#8217;s what it actually should. Besides, be warned that the daemon takes quite long to shut-down, due to the fact that I&#8217;ve just used the regular /etc/init.d/skeleton to create an own /etc/init.d/istatd script, without going into deep workflow-checks. Here, the script takes something around half a minute to kill the istatd.</p>
<p>Anyway, now I&#8217;m going to take a look at the sources and see, if I could probably commit some enhancements to the projects. The last time I was doing C++ is *quite* a time ago, but it shouldn&#8217;t be too hard from what I&#8217;ve seen so far. On the project&#8217;s site it says that there&#8217;s no support for fans and temperature measuring, yet. I will check whether it&#8217;s possible to use lmsensors for getting those information and maybe hack it in &#8211; or even rewrite the daemon in C, what would be the best to do anyway. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/wink.png' alt=';-)' class='wp-smiley' /> </p>
<p>Oh well, however. Enjoy the package. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p><strong>Download:</strong> <a href="http://www.devilx.net/wp-content/uploads/2009/08/istatd_0.5.4-1_i386.deb">istatd_0.5.4-1_i386.deb</a></p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/08/24/istat-my-linux-on-my-phone/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Ubuntu One: MobileMe for the Rest of Us?</title>
		<link>http://devilx.net/2009/05/12/ubuntu-one-mobileme-for-the-rest-of-us/</link>
		<comments>http://devilx.net/2009/05/12/ubuntu-one-mobileme-for-the-rest-of-us/#comments</comments>
		<pubDate>Tue, 12 May 2009 19:12:56 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MobileMe]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Ubuntu One]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=885</guid>
		<description><![CDATA[Today, I&#8217;ve just subscribed to the invitations-list of Canonical&#8217;s new service called Ubuntu1. UbuntuONE. U1. Ubuntu One. The service is yet a beta, not public available and seems to become for Ubuntu what MobileMe is for the Mac. The current &#8230; <a href="http://devilx.net/2009/05/12/ubuntu-one-mobileme-for-the-rest-of-us/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today, I&#8217;ve just subscribed to the invitations-list of Canonical&#8217;s new service called <span style="text-decoration: line-through;">Ubuntu1.</span> <span style="text-decoration: line-through;">UbuntuONE.</span> <span style="text-decoration: line-through;">U1.</span> Ubuntu One. The service is yet a beta, not public available and seems to become for Ubuntu what MobileMe is for the Mac.</p>
<p>The current service-site describes the services mainly as synchronization option for your Ubuntu workstations, so that everything is kept up to date. My first thought on this was, that they&#8217;re using webdav (just like Apple does for their iDisk) for accomplishing this task, but as it seems, there&#8217;s no webdav involved. Maybe it&#8217;s built-up on Amazon&#8217;s S3?</p>
<p>I don&#8217;t know yet, since up to now I haven&#8217;t received my invitation to join and use this service. I was told that invitations are being sent amongst others depending on the service&#8217;s usage, so I really hope (since the ubuntuone.com isn&#8217;t that popular, yet) to receive mine soon.</p>
<p>Depending of how good this service works already, it could be a really good competitor to Apple&#8217;s MobileMe &#8211; especially if it should get an own &#8220;Exchange for the Rest of Us&#8221;, heh. I don&#8217;t know what&#8217;s planned to be implemented and as it seems there&#8217;s not much talking about that, but I&#8217;d really welcome it to see a working solution on that area.</p>
<p>As soon as I&#8217;ll receive the invitation, I will take Ubuntu One on a test-drive and try to see whether it would be possible to use this service on other distributions as well. I really can&#8217;t wait to get my hands on the service&#8217;s software, heh&#8230; <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/wink.png' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/05/12/ubuntu-one-mobileme-for-the-rest-of-us/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lickable New Dwarf?</title>
		<link>http://devilx.net/2009/05/07/lickable-new-dwarf/</link>
		<comments>http://devilx.net/2009/05/07/lickable-new-dwarf/#comments</comments>
		<pubDate>Thu, 07 May 2009 20:01:01 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Art & Design]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Art]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[GNOME Shell]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Talisman Desktop]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=870</guid>
		<description><![CDATA[Today a colleague of mine told me about a new OSS-project within the community around GNOME, called &#8220;GNOME Shell&#8221;. GNOME Shell is&#8230; err&#8230; well, let&#8217;s just use the developer&#8217;s words: The GNOME Shell redefines user interactions with the GNOME desktop. &#8230; <a href="http://devilx.net/2009/05/07/lickable-new-dwarf/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today a colleague of mine told me about a new OSS-project within the community around GNOME, called <a title="GnomeShell - GNOME Live!" href="http://live.gnome.org/GnomeShell">&#8220;GNOME Shell&#8221;</a>. GNOME Shell is&#8230; err&#8230; well, let&#8217;s just use the developer&#8217;s words:</p>
<blockquote><p>The GNOME Shell redefines user interactions with the GNOME desktop. In particular, it offers new paradigms for launching applications, accessing documents, and organizing open windows in GNOME. Later, it will introduce a new applets eco-system and offer new solutions for other desktop features, such as notifications and contacts management. The GNOME Shell is intended to replace functions handled by the GNOME Panel and by the window manager in previous versions of GNOME. The GNOME Shell has rich visual effects enabled by new graphical technologies.</p></blockquote>
<p>So, the GNOME Shell is actually a more lickable and not-so-crappy version of what we can remember from old Windows 98/2k times, usually called something like <a title="Talisman Desktop" href="http://www.lighttek.com/talisman.htm">Talisman Desktop</a> or similar. Those applications were replacements for the actual explorer.exe binary, which hooked into the system logon and tried to build a better looking and feeling, theme-able interface for the end-user. Though, these applications never really found a market niche, last but not least because of the mostly exorbitant pricing policy. A few time later these add-ons were pushed away by Windows XP&#8217;s own theming abilities.</p>
<p>However, as it seems the GNOME community now starting writing a similar add-on for the GNOME desktop, using features provided by modern soft- and especially hardware. The whole Shell is hardware accelerated and seems to be working pretty fluent &#8211; not only because it&#8217;s exceptionally not written in Python or any other sick scripting language. Instead, it makes use of native C code, combined with Clutter and hooks for JavaScript plug-ins.</p>
<p>From what I&#8217;ve seen so far, it&#8217;s not that bad and finally seems to really be an add-on that integrates into the desktop, instead of being just another application which I need to bound <strong><em>somehow</em></strong> into my GNOME desktop. My colleague just quickly compiled and ran it and at least on his nVidia accelerated hardware it worked out pretty smooth and at least while testing it didn&#8217;t crash once.</p>
<p>It could become a pretty cool and promising project, if the people running it will find somebody concerned about UI-Design/-Usability and maybe some graphical artists, too and maybe make it look more &#8220;stable&#8221;. At the moment, the whole &#8216;shell&#8217; still looks pretty half-cooked, but of course, they&#8217;re just at their beginning. So let&#8217;s wait and see &#8211; or better even contribute and change! <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/05/07/lickable-new-dwarf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New GPG-Key</title>
		<link>http://devilx.net/2009/05/06/new-gpg-key/</link>
		<comments>http://devilx.net/2009/05/06/new-gpg-key/#comments</comments>
		<pubDate>Wed, 06 May 2009 21:42:59 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[This Site]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[GPG]]></category>
		<category><![CDATA[Key]]></category>
		<category><![CDATA[MIT]]></category>
		<category><![CDATA[New]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=868</guid>
		<description><![CDATA[This post is subjected to everybody who imported my GPG-Key. This evening I finally managed it to create myself a new one, containing valid E-Mail addresses. Therefor, you should check the keyservers and check out my new key: 53F9 D987 &#8230; <a href="http://devilx.net/2009/05/06/new-gpg-key/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This post is subjected to everybody who imported my GPG-Key. This evening I finally managed it to create myself a new one, containing valid E-Mail addresses. Therefor, you should check the keyservers and check out my new key:</p>
<p><a title="devilx@devilx.net" href="http://pgp.mit.edu:11371/pks/lookup?op=get&amp;search=0x5D4EED42">53F9 D987 BB30 94E3 24DF 05D9 95C0 28A3 5D4E ED42</a></p>
<p>You can also find it linked on my contact page. I&#8217;ve also already revoked the old key on the MIT-PGP server, it&#8217;s just a matter of time until it gets unusable on all the other servers, too.</p>
<p>That&#8217;s it already. Later. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/05/06/new-gpg-key/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fresher, Faster and way more Furious!</title>
		<link>http://devilx.net/2009/05/03/fresher-faster-and-way-more-furious/</link>
		<comments>http://devilx.net/2009/05/03/fresher-faster-and-way-more-furious/#comments</comments>
		<pubDate>Sun, 03 May 2009 16:24:53 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Art & Design]]></category>
		<category><![CDATA[Lifestyle]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[This Site]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Change]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Hemingway]]></category>
		<category><![CDATA[Hosteurope]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[Journal]]></category>
		<category><![CDATA[Move]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Prologue]]></category>
		<category><![CDATA[Strato]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[UTF-8]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://devilx.de/?p=857</guid>
		<description><![CDATA[As you just noticed, the lights on a Place Full of Dorkness just got out. Not as in &#8220;The site is dead now&#8221;, more like in &#8220;Huh, where has the content gone, I can&#8217;t see anything anymore, it&#8217;s all so &#8230; <a href="http://devilx.net/2009/05/03/fresher-faster-and-way-more-furious/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>As you just noticed, the lights on <em>a Place Full of Dorkness</em> just got out. Not as in <em>&#8220;The site is dead now&#8221;</em>, more like in <em>&#8220;Huh, where has the content gone, I can&#8217;t see anything anymore, it&#8217;s all so dark and grey! Waah!&#8221;</em>. After around <a title="Cut the Dancing, no more Tango!" href="http://devilx.net/2008/10/09/cut-the-dancing-no-more-tango/">208 days (or 6 months and 26 days)</a>, I&#8217;ve changed my blog&#8217;s appearance once again &#8211; but it&#8217;s not the only thing that changed.</p>
<p>The biggest news is only visible if you pinged devilx.net before and re-ping it now: You would see, that its IP has changed. After my web-space&#8217;s performance at Strato got more and more terrible (download rates of 6kb/s), I decided to move my blog to a provider I&#8217;m more familiar with, where I pay less for even more: HostEurope.</p>
<p>The actual transition was pretty much squabbling, since the WordPress installation I was running at Strato was some never-changed-just-upgraded-from-1.x installation, where WordPress used a latin1-database. This caused me some trouble when moving to the new host, but I solved it by writing myself a conversion script that removes all &#8220;random&#8221; characters from the database-dumps and converted the databases to UTF-8. As front-end, I&#8217;m now running the latest WordPress-release available.</p>
<p>After I&#8217;ve finished the transition I looked at the Prologue-theme I was using and thought that an exchange (YES WE CAN!) could bring some freshness to my journal. Though, I had to keep in mind the work I hacked into my Prologue-theme (like for example the iPhone detection bundled with the theme-changer, and so on), since I didn&#8217;t want to lose these things. I&#8217;ve found a nice theme, downloaded and installed it and started extending it. The main problem with my actual <em>Hemingway</em>-theme is, that it doesn&#8217;t make use of standard WordPress widgets. Instead it uses its own widget-concept, what pretty much made me write every widget I wanted to use on my journal from scratch &#8211; and so I did. For some, I took existing WordPress widgets and transformed them to work with my current Hemingway, others, I hacked in from ground up. <span style="text-decoration: line-through;">I will still need to extend the widgets a bit more, for example to make use of some caching, so that the widgets won&#8217;t reload each tweet or gallery picture every time a user opens a new link on my journal.</span> Correction: Done. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> I&#8217;ve now implemented caching, even before going live, just to avoid data-transfer/connection troubles.</p>
<p>Altogether I hope that the browsing experience will be more enjoyable now. At the moment, the site&#8217;s speed seems to be pretty good, but I&#8217;ll keep an eye on it when the heavy usage starts. Feel free to write me some feedback regarding the site&#8217;s new layout and the site&#8217;s speed. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/05/03/fresher-faster-and-way-more-furious/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSource needs Quality &#8211; not Quantity!</title>
		<link>http://devilx.net/2009/05/02/opensource-needs-quality-not-quantity/</link>
		<comments>http://devilx.net/2009/05/02/opensource-needs-quality-not-quantity/#comments</comments>
		<pubDate>Sat, 02 May 2009 15:59:52 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Art & Design]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[CLI]]></category>
		<category><![CDATA[Crap]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Feel]]></category>
		<category><![CDATA[Freedom]]></category>
		<category><![CDATA[FSF]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[GNU]]></category>
		<category><![CDATA[GTK]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Look]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Novell]]></category>
		<category><![CDATA[OpenOffice]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Pidgin]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Theme]]></category>
		<category><![CDATA[UI]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=832</guid>
		<description><![CDATA[I was just stumbling through art.gnome.org, after reading the &#8220;What&#8217;s new?&#8220;-page of GNOME 2.26 and I was wondering why the control themes I&#8217;ve submitted some years ago are still on page two of seven. I remembered the time, in which &#8230; <a href="http://devilx.net/2009/05/02/opensource-needs-quality-not-quantity/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I was just stumbling through art.gnome.org, after reading the &#8220;<em>What&#8217;s new?</em>&#8220;-page of <strong>GNOME 2.26</strong> and I was wondering why the control themes I&#8217;ve submitted some years ago are still <a href="#mce_temp_url#">on page two of seven</a>. I remembered the time, in which I used to be an active moderator on art.gnome.org and accepted/rejected themes. Then ago, Thomas (Wood) consistently rejected all themes that were low-quality or simply just tasteless to keep AGO a top-notch portal for everything regarding art on GNOME &#8211; what I totally supported.</p>
<p>However, so I thought, that either there just haven&#8217;t been many themes released since I&#8217;ve last checked (afair over a year ago) or there just haven&#8217;t been any good themes that were submitted and accepted at AGO. To verify that, I&#8217;ve taken a look at the gnome-look.org themes-section and proved my assumption true: I browsed through the first few pages of the GTK 2.x section and my eyes began to hurt. Then, I sorted the section to start with the highest-rated themes and my eyes hurt even more. One theme was &#8211; in the matter of quality and usability &#8211; worse than the other. Everywhere you looked only rough-cut pixmaps thrown together, added some really-not-looking-good background images to the menus and the window elements themselves and finished it all up with a foreground-color that either provided an exaggerated or an awfully low value of contrast. Meh.</p>
<p>The bummer is, that the majority of all themes look like that and only a few ones, mostly created by known artists like roberTO, Jakub and others really look tasteful and qualitatively good. In my opinion, this was and still is a major problem of the whole OpenSource community. OpenSource gives you the power to choose, modify and re-distribute, but I guess that exactly this power is being used in a wrong way &#8211; not only in the matter of control themes!</p>
<p>In general, especially within the Linux area, there are nearly no standards. Spoken from the designers&#8217; view, there are not enough definitions like the <strong>GNOME UI-Design Guideline</strong> or the <strong>Tango Project</strong>, which try to convince and help the developers and/or designers to draw qualitatively better themes while still keeping up the freedom to choose and create. Of course, this won&#8217;t stop <em>misbehaving</em> designers to submit themes to un- or sloppy-moderated sites like gnome-look.org, but still it would provide the GNOME folks a &#8220;<em>pressurizing medium</em>&#8221; to say &#8220;<em>You make it the good way, your theme might make it into our official project releases or at least on the cover of the official sites!</em>&#8220;.</p>
<p>Though, for a real GNU/FSF-guy this way might sound like to much of &#8220;controlling&#8221; and &#8220;regulating&#8221; and by that lead to an operating system like for example Mac OS X (no, not Windows, there you have an even bigger problem regarding applications that look totally different than others) is. Still, most of these guys forget, that without at least a little bit of guide-lining, regulating and separating the wheat from the chaff especially the Linux Desktop will never make it into a higher market-share. There definitely is a reason, why companies like Novell and Red Hat keep up the hard and cost-intense work on their own UI-designs and improvements. If you want the users to be convinced about using a clean and stable operating system, you cannot simply stick with a UI on which the users&#8217; thoughts are &#8220;<em>Uh.</em>&#8221; from the first click they&#8217;re doing. And of course, tastes are different and each user has a different one, but in one point all users will share the same opinion: An UI needs to be tidy and neat. No pixels. No exaggerated anti-aliasing (which should be better called &#8220;blur&#8221; in 90% of the existing GTK themes). Just a sleek and intuitive interface with clean structures and without distracting or even deranging elements (&#8230; like black backgrounds, white foregrounds and pixmaps that remind you of some white-noise-graph).</p>
<p>On software techniques the GNOME community seems to finally has understood what KDE is doing for years now already. There has to be a clean infrastructure (or backbone or whatever you&#8217;d like to call it) for solving problems and providing features. GNOME has started the move to GStreamer some years ago and now finally also moved to a backend (PulseAudio) which provides such an infrastructure. Also, introducing D-BUS and the HAL was a big step for the whole Desktop-Project, and the Gnome VFS seems to be trying to really compete with KDE&#8217;s now. So, as it seems, developers have finally recognized, that (especially in enterprise use) a desktop with no integration and where each application works different and uses a different infrastructure for providing audio, video or whatever else will never succeed against &#8220;the big ones&#8221;.</p>
<p>Unfortunately, in the matter of UI design, it still seems to take a while until contributors understand that it&#8217;s worthless drawing themes that look like Vista&#8217;s interface printed on a dot-matrix printer. By that, users of other desktop systems will always keep looking and thinking of Linux to be an unstable and totally not-integrative desktop-system, hacked together by some crazy, long-bearded freaks. Because for low-brown users, the UI is an essential element that helps them deciding whether a system looks usable to them or not. With an interface where each application looks the same, acts the same and allows the user to get this work done in an undisturbing way &#8211; and maybe adds a little bit of pleasure with smooth and clean looking effects (and by that I don&#8217;t think of wobbly windows!) &#8211; even someone that&#8217;s new to the matter will be able to get in touch with it quite fast.</p>
<p>I&#8217;m still waiting for the day on which especially GNOME&#8217;s <em>interface-nazis</em> finally make the move and decline all applications that do not strictly follow clearly defined designing guidelines for a clean and usable UI &#8211; even if it would throw out half of the applications shipped with a regular GNOME desktop (like Pidgin, OpenOffice.org, and so on&#8230;). Until then, I guess that Linux itself can be as solid as a rock, as fast as a lightening and free as free beer &#8211; it won&#8217;t be able to increase its popularity and climb the higher market-shares. Just because of the &#8220;look and feel&#8221;, which sometimes is just more important then pure functionality. Else, we would still be working on the CLI, wouldn&#8217;t we? <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/wink.png' alt=';-)' class='wp-smiley' /> </p>
<p>// btw: This is my 500th post I&#8217;ve been writing within over four years now already. Heh.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/05/02/opensource-needs-quality-not-quantity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cloud Simplicity and Elasticity</title>
		<link>http://devilx.net/2009/04/26/cloud-simplicity-and-elasticity/</link>
		<comments>http://devilx.net/2009/04/26/cloud-simplicity-and-elasticity/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 19:06:07 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Amazon]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[Bucket]]></category>
		<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Cyberduck]]></category>
		<category><![CDATA[EC2]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[REST]]></category>
		<category><![CDATA[S3]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Service]]></category>
		<category><![CDATA[Smooth]]></category>
		<category><![CDATA[Test]]></category>
		<category><![CDATA[Transmit]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=830</guid>
		<description><![CDATA[Some days ago I finally managed it to register on Amazon&#8217;s Simple and Elastic Services named EC2 and S3. Since I&#8217;ve  implemented some stuff at work a few weeks ago, I got really interested into the services. Now I&#8217;ve setup &#8230; <a href="http://devilx.net/2009/04/26/cloud-simplicity-and-elasticity/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some days ago I finally managed it to register on Amazon&#8217;s Simple and Elastic Services named EC2 and S3. Since I&#8217;ve  implemented some stuff at work a few weeks ago, I got really interested into the services. Now I&#8217;ve setup my private account and already played around some more with this services, tested out some ideas and used it as web-share.</p>
<p>I&#8217;m using the service for the first time on a Mac, since at work I only tested out their functionality under linux and had quite some problems with S3. Amazon&#8217;s Simple Storage Service is pretty cool regarding their pricing and provides a very acceptable up- and download speed &#8211; other than for example my Strato FTP does. The only complicated thing for somebody who&#8217;s new in that domain might be the &#8220;<em>How do I start?</em>&#8220;-point. S3 uses a &#8220;web-interface&#8221; which communicates using a documented REST-API. Unfortunately, under Linux there aren&#8217;t many clients which actually can communicate with this interface. Actually, I&#8217;ve only found the S3-Firefox-Plugin, which provided a way to maintain the different buckets and their content. Under OS X, there are some more (mostly Java-based) clients, including the native Cyberduck more-than-FTP client, what surprised my pretty much. This was actually the point where I&#8217;ve switched from Panic&#8217;s &#8220;Transmit&#8221; to Cyberduck, by the way.</p>
<p>However, I created my own buckets and uploaded some content to use it as web-share and test out a bit more the speed it provides. One con I&#8217;ve found up to now is the bucket-naming. Your personal bucket subjects a global namespace, what can lead to period of time needed for finding a name which is not occupied yet. This makes it for example pretty hard to automize bucket creations, for using them in an own Cloud-Service.</p>
<p>Besides, the EC2 is pretty cool, too. It provides a very flexible and (in comparison to S3) very automatable solution for cloud computing in general. It&#8217;s very fast to set up a new instance of whatever linux or windows on EC2 and run the stuff needed on it. The only con is the pricing, I guess &#8211; In my opinion it&#8217;s way too much for a Xen-I-think-it-is machine. For the price you would pay within one frequent month you could get a real root server at some hosting provider. Of course, you would lose the flexibility, but surely it depends on what you&#8217;re looking for.</p>
<p>In total, I&#8217;m really stunned of the infrastructure Amazon provides with their EC2/S3/etc. Services and I like the smooth way everything works out on them. I could really think of some cool projects to realize on top of these services&#8230; hm.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/04/26/cloud-simplicity-and-elasticity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing if the Giraffe likes the Apples</title>
		<link>http://devilx.net/2009/02/06/testing-if-the-giraffe-likes-the-apples/</link>
		<comments>http://devilx.net/2009/02/06/testing-if-the-giraffe-likes-the-apples/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 00:34:38 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[ActiveSync]]></category>
		<category><![CDATA[Calendar]]></category>
		<category><![CDATA[Contacts]]></category>
		<category><![CDATA[Demo]]></category>
		<category><![CDATA[E-Mail]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Fusion]]></category>
		<category><![CDATA[Groupware]]></category>
		<category><![CDATA[IDLE]]></category>
		<category><![CDATA[IMAP]]></category>
		<category><![CDATA[iPod]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Push]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[Touch]]></category>
		<category><![CDATA[Ugly]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[VMware]]></category>
		<category><![CDATA[Zarafa]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=759</guid>
		<description><![CDATA[Just out of curiosity, I&#8217;ve downloaded Zarafa&#8217;s VMware Demo-Image and ran it on my Fusion, to see how far Zarafa&#8217;s Groupware-Suite already is. While clicking through the web-interface and the product&#8217;s documentation, I read something about Z-Push &#8211; a re-implementation &#8230; <a href="http://devilx.net/2009/02/06/testing-if-the-giraffe-likes-the-apples/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just out of curiosity, I&#8217;ve downloaded <a title="VMware | Zarafa" href="http://www.zarafa.com/content/vmware" target="_blank">Zarafa&#8217;s VMware Demo-Image</a> and ran it on my Fusion, to see how far Zarafa&#8217;s Groupware-Suite already is. While clicking through the web-interface and the product&#8217;s documentation, I read something about <a title="Z-Push" href="http://z-push.sourceforge.net/" target="_blank">Z-Push</a> &#8211; a re-implementation of Microsoft&#8217;s ActiveSync. I was wonderning, if it&#8217;s already possible to connect my iPod Touch to the Zarafa Groupware by creating a new &#8220;Microsoft Exchange&#8221; account on the iPod itself.</p>
<p>So, after I&#8217;ve reconfigured the Demo VM to speak SSL, I created two different Groupware users and created the account for the first user on my iPod. I only tested the whole product using the E-Mail sync-service &#8211; since I did not wanted to lose my existing contacts or calendar entries &#8211; and configured &#8220;Push&#8221; for the new Exchange account. With the credentials of the second user, I logged-in via Zarafa&#8217;s (damn ugly) web-interface and wrote an e-mail to the first user, while having my iPod Touch lying on my table, unlocked, in &#8220;Home&#8221;-screen. The second I clicked the &#8220;Send&#8221;-button within the browser-window was the second in which a new badge popped up on my iPod, telling me that I have one unread E-Mail.</p>
<p>So actually the whole Zarafa/Exchange/Push stuff seem to work pretty good, though I don&#8217;t know yet how reliable it is. I will test this out a bit longer some time, because if it works the way it should, I could really think of using Zarafa on my private E-Mail account. Nor the <em>world&#8217;s most advanced operating system</em>&#8216;s E-Mail client neither the iPod support IMAP IDLE yet, what makes it pretty uncomfortable when waiting for new E-Mails.</p>
<p>But eh.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/02/06/testing-if-the-giraffe-likes-the-apples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What the&#8230; ?</title>
		<link>http://devilx.net/2009/01/23/what-the/</link>
		<comments>http://devilx.net/2009/01/23/what-the/#comments</comments>
		<pubDate>Fri, 23 Jan 2009 22:01:04 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Fun]]></category>
		<category><![CDATA[Life itself]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[autofs]]></category>
		<category><![CDATA[Bootscreen]]></category>
		<category><![CDATA[Laptop]]></category>
		<category><![CDATA[openSuSE]]></category>
		<category><![CDATA[Patch]]></category>
		<category><![CDATA[Penguin]]></category>
		<category><![CDATA[Winter]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=752</guid>
		<description><![CDATA[Description: Some days ago, I arrived at work, booted my laptop and suddenly there was no more greenish boot-screen/-menu. Instead, there was some winter scenery with two walking penguins. I didn&#8217;t reconfigure anything the day before, the only thing I &#8230; <a href="http://devilx.net/2009/01/23/what-the/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<div id="attachment_753" class="wp-caption alignnone" style="width: 310px"><a href="http://www.devilx.net/wp-content/uploads/2009/01/image000.jpg"><img class="size-medium wp-image-753" title="OpenSuSE 11.1 Winter Boot-Screen?" src="http://www.devilx.net/wp-content/uploads/2009/01/image000-300x225.jpg" alt="OpenSuSE 11.1 Winter Boot-Screen?" width="300" height="225" /></a><p class="wp-caption-text">OpenSuSE 11.1 Winter Boot-Screen?</p></div>
<p><small><strong>Description:</strong> Some days ago, I arrived at work, booted my laptop and suddenly there was no more greenish boot-screen/-menu. Instead, there was some winter scenery with two walking penguins. I didn&#8217;t reconfigure anything the day before, the only thing I did, was installing an &#8220;autofs&#8221; patch which (as the description told me) should have fixed some serious bug. However, I still don&#8217;t understand what happened there, maybe just some easter-egg? But, it&#8217;s not eastern yet. However, after the next reboot, the boot-menu changed back to its regular appearance. Maybe just some of my colleagues was playing me a joke&#8230; hm.</small></p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/01/23/what-the/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenSuSE 11.1 at Work</title>
		<link>http://devilx.net/2009/01/18/opensuse-111-at-work/</link>
		<comments>http://devilx.net/2009/01/18/opensuse-111-at-work/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 18:44:35 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Life itself]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[Laptop]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[openSuSE]]></category>
		<category><![CDATA[Stable]]></category>
		<category><![CDATA[T40p]]></category>
		<category><![CDATA[ThinkPad]]></category>
		<category><![CDATA[Unstable]]></category>
		<category><![CDATA[VPN]]></category>
		<category><![CDATA[WiFi]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=742</guid>
		<description><![CDATA[Okay, so after I just did a backup of my Debian Unstable installation (which actually contained older application releases than the current Stable, heh), I took my office-laptop with me and today I did an install-party to get OpenSuSE 11.1 &#8230; <a href="http://devilx.net/2009/01/18/opensuse-111-at-work/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Okay, so after I just did a backup of my Debian Unstable installation (which actually contained older application releases than the current Stable, heh), I took my office-laptop with me and today I did an install-party to get OpenSuSE 11.1 running on the T40p.</p>
<p>The installation of OpenSuSE was as simple as it has always been and thanks to the DVD I had, I didn&#8217;t have to wait for the gigabytes of data to be transfered from the web-mirrors. After the installation was finished it took me around half an hour to configure my hardware. Unfortunately I still have the same problem I also had in Debian: My internal WiFi-card won&#8217;t connect to my AP. I guess it might be some damage on the hardware itself. However, after additionally installing some applications like Citrix&#8217;s ICA Client or the VPN Client, I customized the look and feel a bit and changed some settings here and there and&#8230; well.. I think, I&#8217;m pretty much ready now. I really like the installation, it runs pretty smooth and fast. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
<p>I&#8217;m planing to use it from now on and hope that it won&#8217;t get screwed again by some update which break my X11 or whatever, heh. I&#8217;ll see&#8230; <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/01/18/opensuse-111-at-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu copying iTunes?</title>
		<link>http://devilx.net/2008/11/23/ubuntu-copying-itunes/</link>
		<comments>http://devilx.net/2008/11/23/ubuntu-copying-itunes/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 19:49:29 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Art & Design]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Copy]]></category>
		<category><![CDATA[Imitate]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=626</guid>
		<description><![CDATA[Hm&#8230; I can recognize some similarities there. (and yes, installed Ubuntu 8.10 on VMware Fusion. Now I&#8217;m just building the VMware Tools for the Guest.)]]></description>
			<content:encoded><![CDATA[<p>Hm&#8230;</p>
<p><img class="alignnone" title="Ubuntu copying iTunes?" src="/~devilx/blog/itunesubuntu.png" alt="" width="360" height="180" /></p>
<p>I can recognize some similarities there. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/wink.png' alt=';-)' class='wp-smiley' /> </p>
<p><small>(and yes, installed Ubuntu 8.10 on VMware Fusion. Now I&#8217;m just building the VMware Tools for the Guest.)</small></p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2008/11/23/ubuntu-copying-itunes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ripped WRT54GL</title>
		<link>http://devilx.net/2008/11/04/ripped-wrt54gl/</link>
		<comments>http://devilx.net/2008/11/04/ripped-wrt54gl/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 21:52:09 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Hot Gear]]></category>
		<category><![CDATA[Life itself]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[FritzBox]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[Linksys]]></category>
		<category><![CDATA[New]]></category>
		<category><![CDATA[OpenWRT]]></category>
		<category><![CDATA[PPPoE]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tomato]]></category>
		<category><![CDATA[WAN]]></category>
		<category><![CDATA[WRT54GL]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=600</guid>
		<description><![CDATA[  Today the new hardware for my DSL 3k line arrived and I also installed it already. Everything works out pretty good so far. Now, with the new hardware, my Linksys WRT54GL became available for playing and hacking, so I&#8217;ve &#8230; <a href="http://devilx.net/2008/11/04/ripped-wrt54gl/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p> </p>
<div class="wp-caption alignleft" style="width: 250px"><img title="My Linksys WRT54GL - now running OpenWRT!" src="/~devilx/blog/wrt54gl.jpg" alt="My Linksys WRT54GL - now running OpenWRT!" width="240" height="180" /><p class="wp-caption-text">My Linksys WRT54GL - now running OpenWRT!</p></div>
<p>Today the new hardware for my DSL 3k line arrived and I also installed it already. Everything works out pretty good so far. Now, with the new hardware, my Linksys WRT54GL became available for playing and hacking, so I&#8217;ve just started by replacing the <a title="Tomato Firmware" href="http://www.polarcloud.com/tomato" target="_blank">Tomato Firmware</a> I&#8217;ve had on it by the latest OpenWRT &#8220;Kamikaze&#8221; release (&#8220;openwrt-wrt54g-2.6-squashfs.bin&#8221;) available for my router. The whole replacement works out pretty good and fast, using the regular &#8220;Upgrade&#8221; function provided by Tomato. The OpenWRT documentation said, that image would be installable through Linksys&#8217; regular upgrade-mechanism on the router&#8217;s stock interface, so I just tried it out with Tomato (since it&#8217;s mostly based on Linksys&#8217; original firmware) &#8211; and OpenWRT runs!</p>
<p> </p>
<p>The first thing I did was the reconfiguration of the WAN-Port to act as a DHCP-client instead of trying to establish PPPoE connections over it. Unfortunately I&#8217;ve seem to forgotten to configure the SSH service availability on that port. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/ermm.png' alt=':-/' class='wp-smiley' /> Tomorrow I&#8217;ll need to reconnect the router directly to my iMac using a LAN port and configure this feature. After that I&#8217;ll be able to keep it connected to my new router-hardware, on its LAN port.</p>
<p>I&#8217;ll see&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2008/11/04/ripped-wrt54gl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bringing Lenny to the Etch</title>
		<link>http://devilx.net/2008/10/31/bringing-lenny-to-the-etch/</link>
		<comments>http://devilx.net/2008/10/31/bringing-lenny-to-the-etch/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 18:46:17 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Life itself]]></category>
		<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Apt]]></category>
		<category><![CDATA[Aptitude]]></category>
		<category><![CDATA[Backports]]></category>
		<category><![CDATA[Bug]]></category>
		<category><![CDATA[Courier]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Develop]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[Evolution]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[Icedove]]></category>
		<category><![CDATA[Kernel]]></category>
		<category><![CDATA[KVM]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Machine]]></category>
		<category><![CDATA[Migrate]]></category>
		<category><![CDATA[Roundcubemail]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[Stable]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Upgrade]]></category>
		<category><![CDATA[Virtual]]></category>
		<category><![CDATA[VMware]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=588</guid>
		<description><![CDATA[So, today I upgraded the Debian Etch on my project-server at work to Debian Lenny and had to experience some things I really did not expect. The actual reason, why I upgraded was KVM. Lenny seems to be getting more &#8230; <a href="http://devilx.net/2008/10/31/bringing-lenny-to-the-etch/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So, today I upgraded the Debian Etch on my project-server at work to Debian Lenny and had to experience some things I really did not expect.</p>
<p>The actual reason, why I upgraded was KVM. Lenny seems to be getting more and more stable and by that usable as server system. Of course, it&#8217;s not etch yet, but since I&#8217;m trying to migrate from VMware (-Server) to KVM I&#8217;m actually forced to use Lenny. There are no KVM packages available for Etch, besides the ones from Backports.org. Unfortunatelly, even those are only available at version 28-4, what&#8217;s not that usable on a productive system.</p>
<p>However, so like I said, today I s/etch/lenny/g on my APT sources.list and ran an aptitude dist-upgrade. I was pretty surprised how fluent the upgrade worked out, the only thing it broke was the Roundcubemail I have installed on the machine for checking the Maildir via HTTP(S). Apache still works fine, Courier also runs, Fetchmail, and all the other stuff I had configured upgraded with nearly no problems.</p>
<p>Unfortunately, the upgrade still caused problems regarding my everyday-work. The most annoying thing is the fact, that I&#8217;m forced to use Icedove as mail client from now on, at least until some strange bug regarding the SSL authentication has been fixed in Evolution. The curious thing is, that with the previous version of Courier, Evolution worked just fine. I don&#8217;t know, what exactly the Courier developers changed, but it caused evolution to not be able anymore to authenticate against it. Some might say, it sounds like an Courier bug, but to be honest, I know how things are being implemented into Evolution and I don&#8217;t believe it&#8217;s Courier&#8217;s fault. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/wink.png' alt=';-)' class='wp-smiley' /> </p>
<p>It&#8217;s pretty much a bummer, because I actually liked working with Evolution. Not because it&#8217;s fast &#8211; it&#8217;s not. And not because it&#8217;s light &#8211; it&#8217;s neither. And not even because it works perfectly in the infrastructure I&#8217;m sitting in &#8211; it definitely did not. But Evolution unfortunatelly is the only mail reader for the GNOME desktop environment, which really integrates into the desktop. I could always take a quick look at the meetings/appointments I have for a specific test, by just clicking the the clock on my menubar. Also, it was integrated into GNOME&#8217;s keyring, so that my mail-account password was just getting unlocked after the login.</p>
<p>However, this tiny, integrative features enhanced the usability of Evolution a lot, even if everything else might just suck. Now I&#8217;m trying to find out which bugreport documented the problem I&#8217;m experiencing, to put myself on CC. I&#8217;m really wondering when this will be fixed. If it takes as long as fixing problems regarding shared folders or caldav, then I guess I&#8217;ll just try to say Hello! to my future e-mail client Icedove. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/ermm.png' alt=':-/' class='wp-smiley' /> </p>
<p>Meh.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2008/10/31/bringing-lenny-to-the-etch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>strongS/WAN over NAT-T with IKEv2 (Pt. 2, a.k.a. &#8220;The Roadwarrior Setup&#8221;)</title>
		<link>http://devilx.net/2008/10/08/strongswan-over-nat-t-with-ikev2-pt-2-aka-the-roadwarrior-setup/</link>
		<comments>http://devilx.net/2008/10/08/strongswan-over-nat-t-with-ikev2-pt-2-aka-the-roadwarrior-setup/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 12:41:54 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[BSD]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[DHCP]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[IKE]]></category>
		<category><![CDATA[IKEv2]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[IPsec]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[NAT-T]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Server]]></category>
		<category><![CDATA[strongS/WAN]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=565</guid>
		<description><![CDATA[Some days ago I showed up a specific scenario and described how a strongS/WAN configuration for this could look like. Now, I would like to add additional information on how the scenario can be tuned so that even &#8220;Roadwarriors&#8221; could &#8230; <a href="http://devilx.net/2008/10/08/strongswan-over-nat-t-with-ikev2-pt-2-aka-the-roadwarrior-setup/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Some days ago I <a title="strongS/WAN over NAT-T with IKEv2" href="http://devilx.net/?p=558" target="_self">showed up a specific scenario and described</a> how a strongS/WAN configuration for this could look like. Now, I would like to add additional information on how the scenario can be tuned so that even &#8220;Roadwarriors&#8221; could connect from any network infrastructure, indifferent whether they&#8217;re directly on a public IP or share their public IP with others, behind another NAT network. Let&#8217;s take a look at the client config:<br />
<code><span id="more-565"></span><br />
config setup<br />
plutostart=no</code></p>
<p><code> </code></p>
<p><code>conn nat-t<br />
ikelifetime=60m<br />
keylife=20m<br />
rekeymargin=3m<br />
keyingtries=1<br />
keyexchange=ikev2<br />
authby=secret<br />
left=192.168.10.193<br />
leftsubnet=10.1.0.0/24<br />
leftfirewall=yes<br />
right=%defaultroute<br />
rightid=client@example.com<br />
rightsourceip=10.100.0.2<br />
auto=add<br />
</code><br />
We added a new virtual IP (rightsourceip) for the client. The network of this IP will be defined on the server&#8217;s configuration. We need this for the whole scenario to work out, even if the client/Roadwarrior is behind a NAT. As rightid (client-id) we use the client&#8217;s e-mail address.<br />
Server config:<br />
<code><br />
config setup<br />
plutostart=no</code></p>
<p><code> </code></p>
<p><code>conn nat-t<br />
ikelifetime=60m<br />
keylife=20m<br />
rekeymargin=3m<br />
keyingtries=1<br />
keyexchange=ikev2<br />
authby=secret<br />
left=10.1.0.4<br />
leftsubnet=10.1.0.0/24<br />
leftid=192.168.10.193<br />
leftfirewall=yes<br />
right=%any<br />
rightid=client@example.com<br />
rightsubnetwithin=10.100.0.0/24<br />
auto=add<br />
</code></p>
<p>Here, we also defined the client&#8217;s e-mail address as rightid, defined that the right side could be anything (&#8220;%any&#8221;) and told the server to serve the virtual network 10.100.0.0/24 for the right side. By that, the configuration can be applied to different clients and the actual IP configuration is provided on the client&#8217;s side. Yet, I did not find out whether there&#8217;s a possibility to set up some DHCP server and provide connecting clients a dynamic address automatically.<br />
However, this setup now also works with Roadwarriors that are behind NATs, what means that the actual setup could look like this:</p>
<p>[roadwarrior]&#8212;-[nat]&#8212;internet&#8212;[nat]&#8212;[server]&#8212;network</p>
<p>Isn&#8217;t this cool? <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/wink.png' alt=';-)' class='wp-smiley' /> <br />
Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2008/10/08/strongswan-over-nat-t-with-ikev2-pt-2-aka-the-roadwarrior-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mono 2.0 released&#8230; not yet for me.</title>
		<link>http://devilx.net/2008/10/08/mono-20-released-not-yet-for-me/</link>
		<comments>http://devilx.net/2008/10/08/mono-20-released-not-yet-for-me/#comments</comments>
		<pubDate>Wed, 08 Oct 2008 12:28:46 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Mac and stuff ...]]></category>
		<category><![CDATA[New & Cool]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[ASP.net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Cairo]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[dotNET]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mono]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[VisualBasic]]></category>
		<category><![CDATA[VM]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=563</guid>
		<description><![CDATA[Today I just took a quick look at Mono&#8217;s project site (which has been www.go-mono.com some years ago, then switched to www.mono-project.com for some time and now again seems to be www.go-mono.com) and saw that they&#8217;ve pimped it up pretty &#8230; <a href="http://devilx.net/2008/10/08/mono-20-released-not-yet-for-me/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Today I just took a quick look at Mono&#8217;s project site (which has been www.go-mono.com some years ago, then switched to www.mono-project.com for some time and now again seems to be www.go-mono.com) and saw that they&#8217;ve pimped it up pretty much. Now they seem to be using the same backend and the same design-basis that has been used by Novell already for e.g. the Banshee project.</p>
<p>Anyway, I flew over the release notes and I have to say that the whole stuff sounds pretty cool: ASP.NET 2.0 API, System.XML 2.0, System.Drawing 2.0, Mono.Cairo,C# 3.0 compiler with full LINQ support, Visual Basic 8 compiler (yay! :-D), the dotNET 2.0 Strip-Set, the FlowLayoutPanel and many more. So maybe, from this point maybe Mono could really become a real alternative to dotNET, if things keep going on like this.</p>
<p>However, I was wondering whether there are downloads for Mono on the Mac, but unfortunatelly the project doesn&#8217;t provide an installer for Mono 2.0 yet. Not that I would really use Mono-applications on my Mac (mostly because there still aren&#8217;t any available which use the Mac&#8217;s native interface toolkit &#8211; and I don&#8217;t really want to use GTK# on a Mac) but it would be nice for some little hacking or even writing smaller (CLI-) tools which would run on any Mono-able platform.</p>
<p>However, I think that the first thing I&#8217;ll do is to wait for the according packages to receive in Debian Experimental and set up some VM with an Apache that speaks ASP.net 2.0. <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> I&#8217;m really interessted how far Mono already supports the ASP stuff and what could be done with it. The MojoPortal already is a great demonstration, but are more complex projects also possible yet?</p>
<p>I will see&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2008/10/08/mono-20-released-not-yet-for-me/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

