<?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>olivetalks &#187; Linux</title>
	<atom:link href="http://www.olivetalks.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.olivetalks.com</link>
	<description>The Olive has arrived and it has things to say…</description>
	<lastBuildDate>Tue, 20 Jul 2010 06:27:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)</title>
		<link>http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/</link>
		<comments>http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 21:16:12 +0000</pubDate>
		<dc:creator>LadyRostand</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/</guid>
		<description><![CDATA[The new Skype 4.0 for Windows is out and I am not convinced at all. It has changed substantially and the changes are causing me problems so far. Maybe when I use it more, my opinion will change. I'll be keeping track of the pros and cons. ]]></description>
			<content:encoded><![CDATA[<p>At work I use a Windows PC which this morning updated Skype to the latest version: Skype 4.0. I just checked the Skype website and it seems it&#8217;s been out from the 3rd of June. I use Skype quite a bit (for work and leisure) and my first impressions are&#8230; mixed.</p>
<p>Here&#8217;s the new design for those of you who don&#8217;t have the new version yet (specially Linux users, as myself&#8230; Oh I just realized the Skype version I have in this laptop at home running Linux is Skype 2.0).</p>
<p><center><br />
<a href="http://www.olivetalks.com/wp-content/uploads/2009/06/new-skype-v04.PNG" title="skype-4"></a></p>
<p style="text-align: center"><a href="http://www.olivetalks.com/wp-content/uploads/2009/06/new-skype-v04.PNG" title="skype-4"><img src="http://www.olivetalks.com/wp-content/uploads/2009/06/new-skype-v04.thumbnail.PNG" alt="skype-4" /></a></p>
<p align="left">For comparison purposes, here is an image of Skype 2.0 for Linux (both the contact list and the chat window)</p>
<p><a href="http://www.olivetalks.com/wp-content/uploads/2009/06/old-skype-v2.png" title="old-skype-2a"><img src="http://www.olivetalks.com/wp-content/uploads/2009/06/old-skype-v2.thumbnail.png" alt="old-skype-2a" /></a>         <a href="http://www.olivetalks.com/wp-content/uploads/2009/06/old-skype-v2b.png" title="old-skype-2b"><img src="http://www.olivetalks.com/wp-content/uploads/2009/06/old-skype-v2b.thumbnail.png" alt="old-skype-2b" /></a></p>
<p align="left">&nbsp;</p>
<p align="left">Comparison table between Skype 4.0 (for Windows) and Skype 2.0 (for Linux):</p>
<table class="taulota">
<tr>
<td></td>
<td align="center" width="20%"><strong>Skype 4.0</strong></td>
<td align="center" width="20%"><strong>Skype 2.0</strong></td>
<td align="center"><strong>Comments</strong></td>
<td align="center"><strong>I prefer&#8230;</strong></td>
</tr>
<tr>
<td><strong>Contacts and Conversations windows</strong></td>
<td align="center">Together</td>
<td align="center">Separate (one per conversation)</td>
<td>I agree that having a separate window for each chat conversation can make you go a bit crazy having to move from chat window to chat window. But you still have to change views in Skype 4.0 to move between conversations and you cannot see two conversations at the same time.</td>
<td align="center">Skype 2.0</td>
</tr>
<tr>
<td><strong>Minimum Skype window size</strong></td>
<td align="center">800 x 565px</td>
<td align="center">231 x 426 px<br />
(Contacts window)<br />
506 x 326 px<br />
(each conversation window)</td>
<td>I have not found a way of reducing it. When I am not chatting with anybody I would rather not have it occupying so much space.</td>
<td align="center">Skype 2.0</td>
</tr>
<tr>
<td><strong>Contacts status icons</strong></td>
<td align="center">Different colours</td>
<td align="center">Same colour, different mini icons on top</td>
<td>I actually like the different colours of Skype 4.0 better. Only complain: the icons for people that have not shared the contact details with you (which in Skype 2.0 appeared as a question mark) now look exactly the same as those of contacts off-line.</td>
<td align="center">Skype 4.0</td>
</tr>
<tr>
<td><strong>Messages in conversation window</strong></td>
<td align="center">Appear under the name of who wrote them</td>
<td align="center">Appear following &#8230;</td>
<td>Adding the fact that one cannot change the colour (one can&#8217;t, right?) of the text, a few times today I mistook what I had just written for comments from the other person. Very very confusing and difficult to follow who has said what. Not looking forward to 3 people&#8217;s conversations!</td>
<td align="center">Skype 2.0</td>
</tr>
</table>
<p></center>I&#8217;ll update this post as I notice new pros and cons of the new version.</p>
<p>For the record:</p>
<ul>
<li>24/06/2009 =&gt; 3 votes for Skype 2.0, one for Skype 4.0. New version not looking very good&#8230;</li>
</ul>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li><li><a href="http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/" title="I can&#8217;t stop smiling&#8230; we got an Asus Eee PC! ">I can&#8217;t stop smiling&#8230; we got an Asus Eee PC!  (2)</a></li><li><a href="http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/" title="Automatic backup of Windows computers using Linux">Automatic backup of Windows computers using Linux (3)</a></li><li><a href="http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">Setting up UPS on CentOS 5.2 with SELinux, part 2 (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/" title="Setting up UPS on CentOS 5.2 with SELinux, part 1">Setting up UPS on CentOS 5.2 with SELinux, part 1 (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up UPS on CentOS 5.2 with SELinux, part 2</title>
		<link>http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/</link>
		<comments>http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/#comments</comments>
		<pubDate>Sat, 21 Feb 2009 06:00:10 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[UPS]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/</guid>
		<description><![CDATA[After setting up UPS monitoring software on a computer it would be good to allow access to this information via a web browser.]]></description>
			<content:encoded><![CDATA[<p>In the <a href="/2009/02/19/ups-on-centos-with-selinux-part-1/" title="Setting up UPS on CentOS 5.2 with SELinux, part 1">previous post</a> I have described how to setup monitoring of UPS battery status with <a href="http://www.networkupstools.org/" title="Network UPS Tools">Network UPS Tools</a> so your computer can shut down gracefully in case of power loss. At the end we configured a CGI script to allow checking the UPS status via a web browser. Unfortunately this didn&#8217;t work very well because of a missing SELinux policy. This post will explain how to install the required policy module.</p>
<p><strong>Step one: Define the policy module</strong></p>
<p>To define the policy module for nut CGI create a text file nutcgi.te with the following content:</p>
<p><code>module nutcgi 1.0.8;</code></p>
<p><code>require {</code><br />
<code>type unlabeled_t;</code><br />
<code>type xend_var_log_t;</code><br />
<code>type httpd_sys_script_exec_t;</code><br />
<code>type default_t;</code><br />
<code>type procmail_t;</code><br />
<code>type ping_t;</code><br />
<code>type httpd_t;</code><br />
<code>type httpd_sys_script_t;</code><br />
<code>type port_t;</code><br />
<code>class tcp_socket { write name_connect connect shutdown read create };</code><br />
<code>class lnk_file { read getattr };</code><br />
<code>class file append;</code><br />
<code>class dir search;</code><br />
<code>class packet { recv send };</code><br />
<code>}</code></p>
<p><code>#============= httpd_sys_script_t ==============</code><br />
<code># src="httpd_sys_script_t" tgt="port_t" class="tcp_socket", perms="name_connect"</code><br />
<code># comm="upsstats.cgi" exe="" path=""</code><br />
<code>allow httpd_sys_script_t port_t:tcp_socket name_connect;</code><br />
<code># src="httpd_sys_script_t" tgt="httpd_sys_script_t" class="tcp_socket", perms="{ write read create connect shutdown }"</code><br />
<code># comm="upsstats.cgi" exe="" path=""</code><br />
<code>allow httpd_sys_script_t self:tcp_socket { write read create connect shutdown };</code><br />
<code># src="httpd_sys_script_t" tgt="unlabeled_t" class="packet", perms="{ recv send }"</code><br />
<code># comm="upsstats.cgi" exe="" path=""</code><br />
<code>allow httpd_sys_script_t unlabeled_t:packet { recv send };</code></p>
<p><code>#============= httpd_t ==============</code><br />
<code># src="httpd_t" tgt="httpd_sys_script_exec_t" class="lnk_file", perms="{ read getattr }"</code><br />
<code># comm="httpd" exe="" path=""</code><br />
<code>allow httpd_t httpd_sys_script_exec_t:lnk_file { read getattr };</code></p>
<p>Save the file somewhere.</p>
<p><strong>Step two :  Compile the policy module</strong></p>
<p>Execute the command:</p>
<p><code>checkmodule -M -m nutcgi.te -o nutcgi.mod</code></p>
<p>This will generate a binary file representing the policy module.</p>
<p><strong>Step three: Create a SELinux policy module package</strong></p>
<p>Execute the command:</p>
<p><code>semodule_package -o nutcgi.pp -m nutcgi.mod</code></p>
<p>This will create a SELinux policy module package which can then be installed.</p>
<p><strong>Step four: Install the SELinux policy module package</strong></p>
<p>Execute the command:</p>
<p><code>semodule -i nutcgi.pp</code></p>
<p>Now the policy module is installed. You can refresh the web page with UPS status in your web browser <font color="#000080">http://localhost/cgi-bin/upsstats.cgi</font></p>
<p><a href="http://www.olivetalks.com/wp-content/uploads/2009/02/ups-status-selinux-configured.jpg" title="UPS status in web browser after installing SELinux policy module"></a></p>
<p style="text-align: center"><a href="http://www.olivetalks.com/wp-content/uploads/2009/02/ups-status-selinux-configured.jpg" title="UPS status in web browser after installing SELinux policy module"><img src="http://www.olivetalks.com/wp-content/uploads/2009/02/ups-status-selinux-configured-small.jpg" alt="UPS status in web browser after installing SELinux policy module" /></a></p>
<p>You can also verify that access to this web page from other machines works as intended. SELinux policy module installation is persistent &#8211; you don&#8217;t have to do it again if the system reboots.</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/" title="Setting up UPS on CentOS 5.2 with SELinux, part 1">Setting up UPS on CentOS 5.2 with SELinux, part 1 (0)</a></li><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/17/big-eee/" title="Eee PC 901 &#8211; aka Big Eee">Eee PC 901 &#8211; aka Big Eee (0)</a></li><li><a href="http://www.olivetalks.com/2009/02/15/find-changes-with-rpm-verify/" title="What files did I change?">What files did I change? (2)</a></li><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Setting up UPS on CentOS 5.2 with SELinux, part 1</title>
		<link>http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/</link>
		<comments>http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 07:00:57 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SELinux]]></category>
		<category><![CDATA[UPS]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/</guid>
		<description><![CDATA[Power failure for a computer can cause data loss and require many hours to undo the damage. That can be especially bad if the computer acts as a server. At the minimum, servers must have a chance to perform an proper shut down to avoid damage to data or hardware.]]></description>
			<content:encoded><![CDATA[<p>My home fileserver is connected to a UPS in order to be able to shut down properly when there&#8217;s a problem with the electricity supply. Of course, just connecting a computer to a UPS won&#8217;t help if the power is cut off for more than a few minutes since the machine won&#8217;t turn itself off before the battery runs out of juice. To guarantee that the OS is aware of the current state of the battery some software needs to be installed and configured. I use for that purpose <a href="http://www.networkupstools.org/" title="Network UPS Tools">Network UPS Tools</a>. If your system is running with SELinux enabled and you want to enable checking of the UPS via a web browser then you also need to install an appropriate SELinux policy module.</p>
<p><strong>Let&#8217;s start with the installation.</strong></p>
<p>First things first &#8211; make sure the UPS is running and connected to the computer. Both power and a serial cable of some kind should be connected. The serial connection can be either via RS-232 or USB.</p>
<p>To install the software execute the following command:</p>
<p><code># yum install nut nut-client nut-cgi</code></p>
<p>or if you&#8217;re running a 64 bit OS and don&#8217;t want 32-bit packages to be installed:</p>
<p><code># yum install nut nut-client.x86_64 nut-cgi</code></p>
<p><strong>Next step: Basic configuration</strong></p>
<p>After the software is installed we need to configure it. Fire up your favourite text editor and open these files:</p>
<ul>
<li>/etc/ups/ups.conf</li>
<li>/etc/ups/upsd.users</li>
<li>/etc/ups/upsmon.conf</li>
<li>/etc/ups/hosts.conf (only if you have installed nut-cgi)</li>
</ul>
<p>In <em>/etc/ups/ups.conf</em> add at the end the following section:</p>
<p><code>user = nut                       # execute the UPS driver as user nut - otherwise the upsd program won't be able to connect to the device </code></p>
<p><code>[pw3105]                                                   # name of the UPS device</code><br />
<code>driver = bcmxcp_usb                  # driver used to access the UPS device</code><br />
<code>port = auto                                          # serial port where the UPS is connected, bcmxcp_usb driver allows to enter 'auto' here</code><br />
<code>shutdown_delay = 0                     # additional parameter supported by bcmxcp_usb driver, see 'man bcmxcp_usb'</code></p>
<p>The comments explain what is the purpose of each line. More details can be found in man page for <a href="http://linux.die.net/man/5/ups.conf" title="ups.conf(5) - Linux man page">ups.conf</a>. The actual name of the UPS device and parameters for it depend on the UPS model you&#8217;re using. I have Powerware 3105 UPS which uses the <a href="http://linux.die.net/man/8/bcmxcp_usb" title="bcmxcp_usb(8) - Linux man page">bcmxcp_usb driver</a>.</p>
<p>Second file to edit is <em>/etc/ups/upsd.users</em> where you should append these lines:</p>
<p><code>[server]                                                    # create a user 'server'</code><br />
<code>password = ups                                  # with password 'ups'</code><br />
<code>allowfrom = localhost             # allowing access only from this machine</code><br />
<code>instcmds = ALL                                  # user can execute all instant commands</code><br />
<code>upsmon master                                    # add actions necessary for a 'upsmon' process to work</code></p>
<p>Again the purpose of each line is explained in the comments. More information as usual in man page for <a href="http://linux.die.net/man/5/upsd.users" title="upsd.users(5) - Linux man page">upsd.users</a>.</p>
<p>If you use different values in <em>/etc/ups/upsd.users</em> you have to make sure that you&#8217;ll use the same values also in the next file we&#8217;re going to edit, which is <em>/etc/ups/upsmon.conf</em>. Here add these lines at the end:</p>
<p><code>FINALDELAY 0                                                                                                          # don't wait before shutting down, allowed values depend on the UPS model</code><br />
<code>RUN_AS_USER nut                                                                                                 # don't run as root to avoid security issues</code><br />
<code>MONITOR pw3105@localhost 1 server ups master          # which UPS to monitor</code></p>
<p>The last line requires a bit of explanation:</p>
<ul>
<li> <em>pw3105@localhost</em> is the identifier of the UPS we want to monitor. <em>pw3105</em> is the same name we have used before in <em>/etc/ups/ups.conf</em> so make sure it matches. <em>@localhost</em> indicates that we&#8217;re monitoring a UPS connected directly to the machine on which <em>upsmon</em> program is running. <em>upsmon</em> can also monitor UPSes connected to other machines on the network.</li>
<li><em>1</em> indicates that this particular UPS feeds 1 power supply on this system. That&#8217;s the usual value for this parameter.</li>
<li><em>server</em> and <em>ups</em> are the user name and password we have defined previously in <em>/etc/ups/upsd.users</em></li>
<li><em>master</em><em> </em>indicates relationship with <em>upsd</em> daemon and again must match what is defined in <em>/etc/ups/upsd.users</em></li>
</ul>
<p>More explanations can be found in man page for <a href="http://linux.die.net/man/5/upsmon.conf" title="upsmon.conf(5) - Linux man page">upsmon.conf</a>.</p>
<p>After these modifications verify the permissions and ownership of the configuration files matches this:</p>
<p><code># ll /etc/ups/ups.conf /etc/ups/upsd.users /etc/ups/upsmon.conf</code><br />
<code>-rw-r----- 1 root nut  3735 Jan 22 00:33 /etc/ups/ups.conf</code><br />
<code>-rw-r----- 1 root nut  2307 Jan 22 00:08 /etc/ups/upsd.users</code><br />
<code>-rw-r----- 1 root nut 11194 Jan 22 00:09 /etc/ups/upsmon.conf</code></p>
<p>and then you can start the software:</p>
<p><code># service ups start</code></p>
<p>You should see this output:</p>
<p><code><font color="#000000">Starting UPS driver controller:             [  </font>OK<font color="#000000">  ]</font></code><br />
<code><font color="#000000">Starting upsd:                              [  </font>OK<font color="#000000">  ]</font></code><br />
<code><font color="#000000">Starting UPS monitor (master):              [  </font>OK<font color="#000000">  ]</font></code></p>
<p>And make sure that UPS software will start automatically after system reboots:</p>
<p><code># chkconfig nut on</code></p>
<p>Verify that the UPS is accessible by executing:</p>
<p><code># upsc pw3105@localhost</code></p>
<p>which should print something like this:</p>
<p><code>driver.name: bcmxcp_usb</code><br />
<code>driver.parameter.pollinterval: 2</code><br />
<code>driver.parameter.port: auto</code><br />
<code>driver.parameter.shutdown_delay: 0</code><br />
<code>driver.version: 2.2.0-</code><br />
<code>driver.version.internal: 0.11</code><br />
<code>output.phases: 1</code><br />
<code>ups.alarm:</code><br />
<code>ups.firmware: Cont:00.80 Inve:00.60</code><br />
<code>ups.model: POWERWARE UPS    500VA</code><br />
<code>ups.power.nominal: 500</code><br />
<code>ups.serial:</code><br />
<code>ups.status: OL</code><br />
<code>ups.voltage.nominal: 230</code></p>
<p>The actual values depend on the UPS model.</p>
<p>At this point the system is configured to automatically shut down when the UPS will indicate that the battery is low on power. You should test this scenario on your system to make sure that it will work when you really need it.</p>
<p><strong>Last step:  Configure web access to upsmon</strong></p>
<p>The last step is to configure monitoring of UPS status via a web browser. We have already installed <em>nut-cgi</em> package which contains the necessary CGI scripts. This package includes a file <em>/var/www/nut-cgi-bin/upsstats.cgi</em> which you should copy to <em>/var/www/cgi-bin/</em> directory:</p>
<p><code># cp /var/www/nut-cgi-bin/upsstats.cgi /var/www/cgi-bin/</code></p>
<p>After that modify file /etc/ups/hosts.conf by appending this line:</p>
<p><code>MONITOR pw3105@localhost "Local UPS"</code></p>
<p>As before <em>pw3105@localhost</em> is the name of UPS to monitor. &#8220;Local UPS&#8221; defines the name which will appear in the web page.</p>
<p>Now start your web server if it&#8217;s not running yet and (optionally) configure the firewall to allow access to port 80 from other machines.</p>
<p>You can now check status of the UPS via a web browser by typing the following in the address bar <font color="#000080">http://localhost/cgi-bin/upsstats.cgi</font></p>
<p>Unfortunately if you&#8217;re running with SELinux enabled then you won&#8217;t see much:</p>
<p><a href="http://www.olivetalks.com/wp-content/uploads/2009/02/ups-status-selinux-not-configured.png"></a></p>
<p style="text-align: center"><a href="http://www.olivetalks.com/wp-content/uploads/2009/02/ups-status-selinux-not-configured.png"><img src="http://www.olivetalks.com/wp-content/uploads/2009/02/ups-status-selinux-not-configured-small.jpg" title="UPS status in web browser before installing SELinux policy module" alt="UPS status in web browser before installing SELinux policy module" /></a></p>
<p>The reason for this is a missing SELinux policy module. Because of that you&#8217;ll see errors in <em>/var/log/audit/audit.log</em> and the web page won&#8217;t provide any useful information. How to install the missing SELinux policy module? This will be described in the <a href="/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">follow up post</a> coming soon.</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">Setting up UPS on CentOS 5.2 with SELinux, part 2 (1)</a></li><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/17/big-eee/" title="Eee PC 901 &#8211; aka Big Eee">Eee PC 901 &#8211; aka Big Eee (0)</a></li><li><a href="http://www.olivetalks.com/2009/02/15/find-changes-with-rpm-verify/" title="What files did I change?">What files did I change? (2)</a></li><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eee PC 901 &#8211; aka Big Eee</title>
		<link>http://www.olivetalks.com/2009/02/17/big-eee/</link>
		<comments>http://www.olivetalks.com/2009/02/17/big-eee/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 07:00:32 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Product reviews]]></category>
		<category><![CDATA[Eee PC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[netbook]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2009/02/17/big-eee/</guid>
		<description><![CDATA[Eee PC 901 offers higher performance than the previous Eee PC models. Especially useful is the increased screen real estate.]]></description>
			<content:encoded><![CDATA[<p>Almost a year ago <a href="/author/ladyrostand/" title="LadyRostand">LadyRostand</a> wrote a great review of <a href="/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/" title="I can't stop smiling... we got an Asus Eee PC!">Eee PC 4G</a>. A few months later I decided to get one myself, as well. But after playing a bit with the original 4G model I decided to go for the bit bigger 901 version. This review is long overdue but I&#8217;d like to share my experiences after a few months of using the Big Eee.</p>
<p>I wanted my netbook to come with an English keyboard layout. The netbook of course had to run Linux <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  It turns out the models with the English keyboard layout are a bit difficult to find in Germany. One can order a &#8220;custom&#8221; version but that delays the order by a few weeks.</p>
<p>Not satisfied with these extra delays I decided to expand my search and to look for distributors in UK and Ireland which would ship to Germany. After a bit of googling I found <a href="http://www.laptopsdirect.ie" title="Laptops Direct">Laptops Direct website</a> which had exactly what I was looking for <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   (Here&#8217;s the <a href="http://www.laptopsdirect.co.uk" title="Laptops Direct">link</a> for those who prefer prices in pounds.) They ship anywhere within the Europe without charging you ridiculous postage charges. I ordered Eee PC 901 on their website and after a few days got it delivered.</p>
<p>As usual with other Eee models my netbook was ready to run straight out of the box with lots of programs already installed. Eee PC 901 comes with a bit newer version of the operating system and a different set of applications. Not much different from the 4G model so you can find the usual set of:</p>
<ul>
<li>web browser &#8211; Firefox</li>
<li>VoIP software &#8211; Skype</li>
<li>instant messaging client &#8211; Pidgin</li>
<li>PDF reader &#8211; Adobe Acrobat Reader 7.0</li>
<li>email client &#8211; Thunderbird</li>
<li>office suite &#8211; Star Office 8 (based on OpenOffice.org)</li>
<li>multimedia programs</li>
<li>games</li>
<li>other utilities</li>
</ul>
<p>If you want to add more programs the easiest way to do it is use the &#8220;Eee Download&#8221; link which takes you to <a href="http://eeedownload.asus.com" title="Eee Download">Asus website</a> where you can find additional applications which have been prepackaged so they can be very easily installed on your Eee 901. At the moment there is over 3000 programs to choose from!</p>
<p>The hardware features of Eee PC 901 are:</p>
<ul>
<li><span class="proddesctitle"></span><span class="proddescvalue">Intel Atom 1.6 GHz CPU<br />
</span></li>
<li><span class="proddesctitle"></span><span class="proddescvalue">1 GB RAM</span></li>
<li><span class="proddesctitle"></span><span class="proddescvalue">20 GB Solid State Drive</span></li>
<li><span class="proddesctitle"></span><span class="proddescvalue">8.9&#8242; TFT with resolution 1024 x 600</span></li>
<li><span class="proddesctitle">Bluetooth</span><span class="proddescvalue"></span></li>
<li><span class="proddesctitle"></span><span class="proddescvalue">1.3 Megapixel webcam</span></li>
<li><span class="proddescvalue">1.1 kg weight<br />
</span></li>
</ul>
<p>As you can see the improvements from Eee PC 4G are mainly faster CPU, more RAM, more storage and bigger screen. In the normal operation you&#8217;re going to notice primarily the bigger screen &#8211; about 60% increase of the screen area than Eee PC 4G. The dimensions of the netbook are exactly the same as for Eee PC 4G, increased screen size is possible because 4G had quite a wide frame around the screen which has been significantly reduced in the 901 model.</p>
<p>The slightly bigger weight is a bit of disadvantage although at 1.1 kg Eee PC 901 is still very light and easy to carry.</p>
<p>After using Eee PC 901for a few months I must say that I get less use of it than originally expected. At home and in the office I already have other computers with full size keyboards I can use and when I travel I usually take a laptop with me anyway. That means I don&#8217;t really make use of the high portability which is the main advantage of netbooks. Big Eee gets used mostly when I want to check something quickly online (my other PCs can&#8217;t beat the 15 seconds boot time) or when I need to take a computer to sofa but that&#8217;s about it. I guess I need to travel more to get more use out of a netbook&#8230;</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/" title="I can&#8217;t stop smiling&#8230; we got an Asus Eee PC! ">I can&#8217;t stop smiling&#8230; we got an Asus Eee PC!  (2)</a></li><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">Setting up UPS on CentOS 5.2 with SELinux, part 2 (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/" title="Setting up UPS on CentOS 5.2 with SELinux, part 1">Setting up UPS on CentOS 5.2 with SELinux, part 1 (0)</a></li><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2009/02/17/big-eee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Too much success and popularity?</title>
		<link>http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/</link>
		<comments>http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/#comments</comments>
		<pubDate>Tue, 17 Jun 2008 21:17:33 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Wine]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/</guid>
		<description><![CDATA[Today a new version of Firefox web browser has been released. It's version 3.0 which has been available as beta for a while already.]]></description>
			<content:encoded><![CDATA[<p>Today a new version of Firefox web browser has been released. It&#8217;s version 3.0 which has been available as beta for a while already.</p>
<p>Version 1.0 of Wine has been published today as well. Wine is a compatibility layer for running Windows programs directly in many Unixes, including Linux, FreeBSD, Mac OS X and Solaris.</p>
<p>Firefox team had announced the release date in advance and for some time the <a href="http://getfirefox.com">website</a> from where you can download the new version of the web browser has been unavailable. Wine <a href="http://winehq.org/">website</a> was also down temporarily.</p>
<p>At this moment both websites seem to be up again but one wonders if this was the case of a bigger success than expected&#8230;</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/" title="Automatic backup of Windows computers using Linux">Automatic backup of Windows computers using Linux (3)</a></li><li><a href="http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">Setting up UPS on CentOS 5.2 with SELinux, part 2 (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/" title="Setting up UPS on CentOS 5.2 with SELinux, part 1">Setting up UPS on CentOS 5.2 with SELinux, part 1 (0)</a></li><li><a href="http://www.olivetalks.com/2009/02/17/big-eee/" title="Eee PC 901 &#8211; aka Big Eee">Eee PC 901 &#8211; aka Big Eee (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Convert videos to audio</title>
		<link>http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/</link>
		<comments>http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 18:46:54 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[DVD]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[mplayer]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/</guid>
		<description><![CDATA[You can use mplayer to convert a video DVD to audio only mp3 files. This can be useful for example when you recorded a karaoke video and want to listen to the audio on your mp3 player.]]></description>
			<content:encoded><![CDATA[<p>Sometimes you like a dialogue of a film you watch on DVD and you wish you could listen to it while on the move, for example using an iPod. Or maybe you recorded a karaoke session on video, like <font size="1em"><strong><a href="http://www.agvs.net/aztrolopitecus/index_cast.html" rel="external">A.Nurboe</a></strong></font> and you would like to convert the video into audio only mp3 files. Regardless of the reason, it&#8217;s possible to convert the video DVDs into audio only mp3s using Linux and <a href="http://www.mplayerhq.hu/" title="MPlayer - The Movie Player">mplayer</a>. <em>Disclaimer:</em> in some countries the legality of this kind of conversion might be in question even if you own the DVD, it&#8217;s up to you to make sure you don&#8217;t break any laws. It&#8217;s usually legal to convert the videos you recorded yourself.</p>
<p><strong> What do you need</strong>:</p>
<ol class="spaced">
<li>Linux, any distribution will do. Linux can be installed on the physical hardware or in a virtual machine (like for example VMware, <a href="/tag/xen/">Xen</a>, VirtualBox or Virtual PC). It is important that you have access to a DVD drive. Otherwise you&#8217;ll have to first create an .iso image of the video DVD you want to convert. <em>mplayer</em> is also available for Windows so you could try the same process using Windows if you prefer.</li>
<li>mplayer. Installation of <em>mplayer</em> depends on the Linux distribution, some have it preinstalled, others require you to install it yourself. For most users the easiest option will be to find pre-built binaries in .rpm, .deb or other appropriate format and install them. I&#8217;m not going to go into details here, if you need directions drop me a comment.</li>
<li>DVD with the videos you want to convert. If your Linux installation can access a DVD drive you just need to insert the DVD disc, otherwise you need to create an .iso image.</li>
<li>Some program to convert .wav files into .mp3. Anything you use to convert CDs to mp3 can usually convert .wav files also.</li>
</ol>
<p><strong>Preparations:</strong></p>
<ol class="spaced">
<li>Decide whether you want to convert the whole video or only some specific fragments.</li>
<li>Decide whether you want to convert the video into one audio file or maybe you prefer separate file for each chapter.</li>
<li>If you decided to do the conversion from an .iso image you need to create it.</li>
<li>Make sure you have enough disk space for the audio files. You need about 6 MB per one minute.</li>
</ol>
<p><strong>Conversion:</strong></p>
<ol class="spaced">
<li>Create .wav files from your video using mplayer. The command to execute is:<br />
<code>mplayer dvd://1 -chapter [first chapter]-[last chapter] -vc null -vo null -alang [language code] -ao pcm:waveheader:fast:file=[output file] -dvd-device [path to .iso file] -ss [start time in seconds] -endpos [duration in seconds]</code></p>
<ul class="spaced"><font color="#ff6600"><strong><em>where:</em></strong></font></p>
<li> dvd://1 usually is the correct option although sometimes (depends on the DVD) it will have to be another number instead of 1. The number corresponds to the DVD title on the disc; usually 1 is the main video.</li>
<li> [first chapter] &#8211; is the first video chapter to start the conversion from.</li>
<li> [last chapter] &#8211; is the last video chapter to finish the conversion with; in case your video has no chapters or you want to convert the whole video into a single audio file you should skip the whole -chapter [first chapter]-[last chapter] fragment of the command; in case you&#8217;re converting each chapter of the DVD to a separate audio file the [last chapter] must be the same as [first chapter] and you need to run this command for each chapter (with a different output file each time).</li>
<li> [language code] &#8211; code of the audio language, this is important if the video has audio track in multiple languages; for example English is en, Spanish is es, Hungarian is hu.</li>
<li> [output file] &#8211; the path to the output audio file including the .wav extension.</li>
<li> [path to .iso file] &#8211; the path to the source .iso file of the video; in case you are converting without first creating the .iso file you should skip the whole -dvd-device [path to .iso file] fragment of the command.</li>
<li> [start time in seconds] &#8211; this option can be used to specify how many seconds at the beginning of the video should be skipped; you should not use this option if you want to convert the whole video.</li>
<li> [duration in seconds] &#8211; this option can be used to specify how many seconds of the video to convert; you should not use this option if you want to convert the whole video. This option together with -ss is useful when you want to do a trial run and convert just a short fragment first to see if it works or if you need to skip some fragments at the beginning or at the end.</li>
</ul>
<ul class="spaced"><strong><font color="#ff6600"><em>Some examples:</em></font></strong></p>
<li>Save audio of chapter 4 of the DVD disk as file chapter4.wav:<br />
<code>mplayer dvd://1 -chapter <strong>4-4</strong> -vc null -vo null -alang en -ao pcm:waveheader:fast:file=<strong>chapter4.wav</strong></code></li>
<li>The same but from an ISO image:<br />
<code>mplayer dvd://1 -chapter <strong>4-4</strong> -vc null -vo null -alang en -ao pcm:waveheader:fast:file=<strong>chapter4.wav</strong> <strong>-dvd-device image.iso</strong></code></li>
<li>Save audio of chapters 2 to 14 of the DVD disk as file chapters2-14.wav:<br />
<code>mplayer dvd://1 -chapter <strong>2-14</strong> -vc null -vo null -alang en -ao pcm:waveheader:fast:file=<strong>chapters2-14.wav</strong></code></li>
<li>Save the last 10 seconds of the first minute of chapter 3 from the DVD disk as file chapter3.wav, this time we want the Spanish soundtrack:<br />
<code>mplayer dvd://1 -chapter <strong>3-3</strong> -vc null -vo null -alang <strong>es</strong> -ao pcm:waveheader:fast:file=<strong>chapter3.wav</strong> <strong>-ss 50 -endpos 10</strong></code></li>
</ul>
</li>
<li>Convert .wav files to mp3 format or any other you prefer using a program you like.</li>
</ol>
<p>That&#8217;s it. Enjoy the new mp3s!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">Setting up UPS on CentOS 5.2 with SELinux, part 2 (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/" title="Setting up UPS on CentOS 5.2 with SELinux, part 1">Setting up UPS on CentOS 5.2 with SELinux, part 1 (0)</a></li><li><a href="http://www.olivetalks.com/2009/02/17/big-eee/" title="Eee PC 901 &#8211; aka Big Eee">Eee PC 901 &#8211; aka Big Eee (0)</a></li><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/04/20/video-to-audio-with-mplayer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I can&#8217;t stop smiling&#8230; we got an Asus Eee PC!</title>
		<link>http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/</link>
		<comments>http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/#comments</comments>
		<pubDate>Thu, 03 Apr 2008 20:11:39 +0000</pubDate>
		<dc:creator>LadyRostand</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Product reviews]]></category>
		<category><![CDATA[]]></category>
		<category><![CDATA[Eee PC]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Skype]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/</guid>
		<description><![CDATA[Olivetalks got an Eee laptop. One of those tiny ASUS computers that run Linux and boot in no time. It does have a few things we don't like, but overall the kiddo-pc is all they said it was! One can take the Eee on trips to check email, finish that important document or... play Solitaire? Now if only my fingers weren't so fat... ]]></description>
			<content:encoded><![CDATA[<p>And it&#8217;s so cute!</p>
<p><em>Right, what a girlie comment to say. I mean, it is a laptop, woman, not a puppy!</em></p>
<p>Yeah, so it has another positive thing besides being cute, it does not lick you!</p>
<p>This is a post about the tiny Asus laptops for all audiences. Check what is the first question that pops in your head when you hear someone say &#8220;I just bought myself an EEE&#8221; and you will know the group you belong to:</p>
<ol>
<li><em>eee&#8230; eeeh&#8230; what?</em></li>
<li><em>wow! so, is it as cool as they say it is?</em></li>
<li><em>I see, so which one did you get? what are the full specs? Anything else I should know about that model?</em></li>
</ol>
<p><em><br />
</em></p>
<h3><font color="#008000">The answers for the <em><font color="#000000">eee&#8230; eeeh&#8230; what?</font> </em>people:</font></h3>
<p>This is an Asus Eee laptop.</p>
<p align="center"><a href="/wp-content/uploads/2008/04/img_small.jpg" title="Eeepc-250"><img src="/wp-content/uploads/2008/04/eee-250px.jpg" alt="Eeepc-250" /></a></p>
<p>Well, not any Eee laptop, but our own Eee PC <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  Yup, the pen is also mine and it shows you how tiny the Eee is <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  And it weighs less than a kilo and a minute after taking it out of the box, you can already start working (with OpenOffice.org or GoogleDocs or Paint&#8230;), surfing the net (Firefox is there, Skype, Pidgin -the Linux MSN equivalent-, and Thunderbird as well) or even playing solitaire or with a Mr. Potato. And why did we buy it you ask? Well, it will be a better traveling companion than my 3 kg laptop which makes me walk around airports worse than the Hunchback of Notre-Dame did. Oh and the first answer I gave my mother when she asked the same question is also true: because&#8230; they had it in the shop&#8230; <em><br />
</em></p>
<h3><font color="#008000">The answers for the <em><font color="#000000">wow! so, is it as cool as they say it is?</font> </em>people:</font></h3>
<p>Yup! So far&#8230; Do you want the pros and the cons? Ok:</p>
<p><strong>Pros</strong>:</p>
<ol>
<li>Yes, it weighs less than 1 kg.</li>
<li>The 7&#8242; screen although small, actually displays a lot more/better than I expected.
<p align="center"><a href="/wp-content/uploads/2008/04/screen-eee2-400px.jpg" title="screen-Eee2-200px.jpg"><img src="/wp-content/uploads/2008/04/screen-eee2-200px.jpg" alt="screen-Eee2-200px.jpg" /></a></p>
</li>
<li>Setting it up is like no time. Seriously, I think it took us about 2 minutes to be at the screen where you can open Firefox already.</li>
<li>The kiddo-laptop connected to wireless without a glitch and we were able to download and install the newer version of skype (to be able to use the built-in camera) within a minute.</li>
<li>If yous mess up the system, you can restore the whole laptop back to factory settings in under two minutes. In <a href="http://jkontherun.blogs.com/jkontherun/2007/11/video-how-quick.html" title="/video-how-quick.html">jkOnTheRun</a> they even have a video showing you how quick it is!</li>
<li>It boots in 30 seconds and powers off in 12! Yes, I timed both processes.</li>
</ol>
<p><strong>Cons</strong>:</p>
<ol>
<li>The keyboard IS small. I have problems most of all with pressing the Shift button. Look at the following image:
<p align="center"><a href="/wp-content/uploads/2008/04/compare-keyboards-400px.jpg" title="compare-keyboards-200px"><img src="/wp-content/uploads/2008/04/compare-keyboards-200px.jpg" alt="compare-keyboards-200px" /></a></p>
<p>You can see how small the keyboard is, compared to a &#8220;normal-size&#8221; one. I have placed a 1 cent coin on  the letter D on both keyboards so you can see the relative sizes better. Oh, the mouse is a small-mouse as well (which did not come with the Eee).</li>
<li>ZoltarStark thinks the display organization with the buttons in the main screen to open Firefox, Spreadsheets, etc is not very efficient if you&#8217;re a power user since you need to point and click instead of selecting items from a menu.
<p align="center"><a href="/wp-content/uploads/2008/04/screen-eee1-400px.jpg" title="screen-Eee1-200px.jpg"><img src="/wp-content/uploads/2008/04/screen-eee1-200px.jpg" alt="screen-Eee1-200px.jpg" /></a></p>
</li>
<li>The laptop seems to be designed with Windows users in mind and it has the same folder architecture as Windows Explorer with My documents folder and so on set up by default. Even worse, though, is that it asks you to reboot the laptop after every software update, like Microsoft does. Then again, with a total of 40 seconds required per reboot, it&#8217;s not as bad as it could be. <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
</ol>
<p><em><br />
</em></p>
<h3><font color="#008000">The answers for the <em><font color="#000000">I see, so which one did you get? what are the full specs? Anything else I should know about that model?</font> </em>people:</font></h3>
<p>We bought the <strong>Asus Eee PC 4G</strong>. For those of you that don&#8217;t know the difference between the Eee versions, check out <a href="http://eeepc.asus.com/global/product.htm" title="eees">this table</a>. As a summary, all four models have a 7&#8242; display and Linux pre-installed (with the number of software applications varying depending on the disk size), Ethernet, WLAN, built-in speaker and microphone, and weigh 0.92 kg. They all have three USB 2.0 ports and a MMC/SD (HC) card reader slot. Furthermore:<br />
<center></p>
<table class="tauleta" width="40%">
<tr>
<td><strong>Model name<br />
</strong></td>
<td align="center"><strong>Eee PC 2G Surf</strong></td>
<td align="center"><strong>Eee PC 4G Surf</strong></td>
<td align="center"><strong>Eee PC 4G</strong></td>
<td align="center"><strong>Eee PC 8G</strong></td>
</tr>
<tr>
<td><strong><font color="#008000">Processor</font></strong></td>
<td align="center">800 MHz Intel Cele</td>
<td colspan="3" align="center">900 MHz Intel Cel</td>
</tr>
<tr>
<td><strong><font color="#008000">RAM</font></strong></td>
<td align="center">512 MB</td>
<td align="center">512 MB</td>
<td align="center">512 MB</td>
<td align="center">1 GB</td>
</tr>
<tr>
<td><font color="#008000"><strong>Total storage space</strong></font></td>
<td align="center">2 GB</td>
<td align="center">4 GB</td>
<td align="center">4 GB</td>
<td align="center">8 GB</td>
</tr>
<tr>
<td><font color="#008000"><strong>Empty storage space</strong></font></td>
<td align="center">400 MB</td>
<td align="center">1.4 GB</td>
<td align="center">1.4 GB</td>
<td align="center">5.1 GB</td>
</tr>
<tr>
<td><font color="#008000"><strong>Camera</strong></font></td>
<td align="center">No</td>
<td align="center">No</td>
<td align="center">Yes</td>
<td align="center">Yes</td>
</tr>
</table>
<p></center><br />
Plus, the RAM of the 4G and 8G models can be upgraded up to 2GB! We got it from a German PC shop for 300 EUR which we found quite cheap, as some shops in Amazon ask for that price for the 2G Surf model. The catch of course is that we got it with the OS in German, as well as the keyboard. BUT, it took us two minutes to change the OS to UK English and another minute for the keyboard. You can see the instructions of how to do both things <a href="http://wiki.eeeuser.com/howto:changelanguage" title="howto:changelanguage">here</a>. After these changes, the OS and most software programs (like Firefox and OpenOffice.org) appear in English (or whatever language you choose). A few stayed in German, but I don&#8217;t mind having Acrobat Reader in German (yes, Acrobat is the default PDF reader installed!). And as long as you don&#8217;t look at the keys, you can pretend you are using a UK keyboard no problem <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  .<strong>Summary?</strong> I am glad I did not buy the Surf versions and I might regret not having waited for the 8G version, for the extra default RAM and storage space, but right now, I really like this Eee. As a side laptpop, it is useful to run for example Skype in it while using your main PC to work, so Skype does not use all the CPU in your main computer as it sometimes does. As a main laptop&#8230; probably only when traveling. I will be spending some hours working on it in a couple of weeks, so I will come back with a report then.</p>
<p><font color="#ff0000"><em>Update (17th April 2008)</em>:  </font>A review just came out on the &#8220;big&#8221; brother of the Asus Eee 7&#8243; laptop, the <a href="http://www.trustedreviews.com/notebooks/review/2008/04/16/Asus-Eee-PC-900/p1" title="Asus-Eee-PC-900">Asus Eee PC 900</a> (as in 8.9&#8243; ~ 9 inch screen). It seems it has the same CPU, but 1GB of RAM to start with, and 20GB of storage if you buy the version running Linux (there is Eee 900 version running Windows XP, <a href="http://www.eee-900.co.uk/" title="eee-900">for the same price</a>, that has 12 GB of space instead). I am starting to save to get my ASUS 700 Eee a big brother <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />   <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/17/big-eee/" title="Eee PC 901 &#8211; aka Big Eee">Eee PC 901 &#8211; aka Big Eee (0)</a></li><li><a href="http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">Setting up UPS on CentOS 5.2 with SELinux, part 2 (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/" title="Setting up UPS on CentOS 5.2 with SELinux, part 1">Setting up UPS on CentOS 5.2 with SELinux, part 1 (0)</a></li><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/04/03/i-cant-stop-smiling-we-got-an-asus-eee-pc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>USB in Xen &#8211; how to make it work</title>
		<link>http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/</link>
		<comments>http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 10:12:42 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[USB over IP]]></category>
		<category><![CDATA[USB Server]]></category>
		<category><![CDATA[USB/IP]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/</guid>
		<description><![CDATA[ZoltarStark is still looking for a method to access USB devices from Xen guests. After not finding great success with USB passthrough and PCI passthrough the time has come to try USB over IP solutions.]]></description>
			<content:encoded><![CDATA[<p>In my previous posts I described two approaches for setting up access to USB devices in Xen guest: <a href="/2008/01/24/usb-forwarding-on-xen/" title="Forwarding the whole USB controller">PCI forwarding</a>  and <a href="/2008/02/03/usb-forwarding-on-xen-it-just-does-not-work/" title="Forwarding a single USB device">USB forwarding</a>. The results were less than fantastic, I must admit. I&#8217;ve been checking different pages on the Internet looking for more advice. Unfortunately it looks like the conclusion is that at this point Xen does not support this feature. Hopefully this will get better in the future.</p>
<p>What can you do now? One suggested approach is to use some kind of USB over IP solution. That does involve spending some money though. USB over IP devices are about €300, a well known example are products from Digi International. Unfortunately I didn&#8217;t find any device of this type which would work with Linux clients so this looks like a bad direction to go even if it was cheaper. Another solution mentioned is using a software version of USB over IP. Again, they mostly support Windows clients. I was able to find only one that includes a Linux client &#8211; <a href="http://www.usb-server.com/downloads.html#usbserver" rel="external nofollow">USB Server</a>. At this point it&#8217;s in beta so it could be unstable &#8211; better test it before you use it on a production system. It includes a kernel driver (released under GPL 2) and binary only programs for the client and the server. It&#8217;s not a perfect solution since you still don&#8217;t know what&#8217;s inside of these binaries.</p>
<p>There are also people working on a similar solution in <a href="http://usbip.sourceforge.net/">USB/IP Project</a>. According to them &#8220;It is still at a *very* early development stage.&#8221; and is not stable.</p>
<p>I&#8217;ll try out these options and report here my findings. In the meantime if someone has experiences with any of these two solutions please comment and let us know.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/" title="How to Xenify office servers">How to Xenify office servers (0)</a></li><li><a href="http://www.olivetalks.com/2008/02/03/usb-forwarding-on-xen-it-just-does-not-work/" title="USB forwarding on Xen &#8211; it just does not work">USB forwarding on Xen &#8211; it just does not work (3)</a></li><li><a href="http://www.olivetalks.com/2008/01/24/usb-forwarding-on-xen/" title="USB forwarding on Xen">USB forwarding on Xen (0)</a></li><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">Setting up UPS on CentOS 5.2 with SELinux, part 2 (1)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Xenify office servers</title>
		<link>http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/</link>
		<comments>http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/#comments</comments>
		<pubDate>Mon, 10 Mar 2008 22:50:34 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[redundant]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[xen]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/</guid>
		<description><![CDATA[How to convert office servers into Xen guests in a middle sized office? Transferring services to Xen guests allows for easier maintenance of the physical servers and higher availability of services. The first thing to consider is a redundant file system.]]></description>
			<content:encoded><![CDATA[<p>In my company we&#8217;ve got a few Linux servers. They range from 3 year old machines with 1 GB of RAM to a fresh &#8220;monster&#8221; with 4 GB of RAM, Quad-Core CPU and external disk array. The servers provide multiple functions for about 20 people, mostly R&amp;D engineers. The current setup mostly works but there&#8217;s little redundancy in the system and taking even one server down for any long maintenance is impossible. Because of that the system has accumulated a bit of &#8220;cruft&#8221; over the years &#8211; mostly in the form of different versions of OS and applications &#8211; which makes future maintenance require even more effort. I want to Xenify this setup by transferring most or even all the services to Xen guests. The guests could then be migrated from one physical host to another as required. This way it would be possible to perform maintenance on any physical server without disturbing the availability of any service. Basically I&#8217;m looking for a way to employ Xen as a method to increase availability and simplify maintenance.</p>
<p>I think I should start with a redundant file system to be free from depending on the 100% availability of a file server. The redundant file system should possibly be clustered so extra redundancy can be provided for the services and load balancing where necessary.</p>
<p>I&#8217;m not sure how to go about it in an efficient way. I&#8217;d like to hear from anybody who&#8217;s done something like this before and is willing to share their experiences.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/03/22/usb-in-xen-how-to-make-it-work/" title="USB in Xen &#8211; how to make it work">USB in Xen &#8211; how to make it work (0)</a></li><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">Setting up UPS on CentOS 5.2 with SELinux, part 2 (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/" title="Setting up UPS on CentOS 5.2 with SELinux, part 1">Setting up UPS on CentOS 5.2 with SELinux, part 1 (0)</a></li><li><a href="http://www.olivetalks.com/2009/02/17/big-eee/" title="Eee PC 901 &#8211; aka Big Eee">Eee PC 901 &#8211; aka Big Eee (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/03/10/howto-xenify-office-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The attack of the inodes &#8211; how to find out your number</title>
		<link>http://www.olivetalks.com/2008/03/05/inodes-attack-part1/</link>
		<comments>http://www.olivetalks.com/2008/03/05/inodes-attack-part1/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 06:50:19 +0000</pubDate>
		<dc:creator>LadyRostand</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[hostgator]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[inodes]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/03/05/inodes-attack-part1/</guid>
		<description><![CDATA[If your web hosting package is in a Linux server, you should know how to find out the number of inodes you are using. LadyRostand explains three methods to count the inodes: via ticket, ssh and ftp, and the advantages and disadvantages in each case.]]></description>
			<content:encoded><![CDATA[<p>&#8220;Inode&#8221; is a term used in Linux/UNIX file systems. Each file, directory, symlink&#8230; is represented by an inode which has a bunch of information on the file or directory (check out <a href="http://www.cyberciti.biz/tips/understanding-unixlinux-filesystem-inodes.html" title="linux and inodes">Understanding UNIX / Linux filesystem Inodes</a> for more information). Computers running Linux have a maximum number of inodes allowed, i.e. a maximum number of files and directories, independently of their sizes. This number is quite big so in general it won&#8217;t affect you. Furthermore, if you are running Windows you might be tempted to skip this post altogether. But if you have a domain in a hosting service and <strong>your web hosting package is in a Linux server</strong>, you should definitely continue reading. In my previous post <a href="/2008/03/04/hostgator-pros-cons/" title="hostgator-pros-cons/">Hostgator pros and cons</a>, I explained how it has a maximum of 50,000 inodes quota and how it&#8217;s not that difficult to reach that number. Whether you are using Hostgator as your web hosting provider or any other, you should know about inodes and how their shortage can become a problem. In this post I will go through ways to find out how many inodes do you have. In the <a href="/2008/03/09/inodes-attack-part2/" title="The return of the inodes">2nd part</a>, I am going to compile a list of the number of inodes different packages have when you install them (important if you want to run WordPress, TYPO3, Mambo, TikiWiki&#8230;).</p>
<p>To find out how many inodes are there in a folder or web hosting account, there are three ways. Whether one or another are possible, or all three, will depend on your web hosting provider.</p>
<p><strong>Option 1. Submit a ticket</strong></p>
<p>This one is easy and only takes as long as your provider&#8217;s support takes. Just ask them for an inode report on your account. Hostgator complied within 4 hours, and that was for three different accounts.</p>
<p><em>Advantage of this method</em>: little effort and you don&#8217;t have to learn any commands.<br />
<em>Disadvantage of this method</em>: if you haven&#8217;t been warned of being above the inode limit, you might be calling their attention to your account unnecessarily. Furthermore, you depend on others to know the number of inodes.</p>
<p><strong>Option 2. Via ssh</strong></p>
<p>If your provider allows you to ssh to your account, then once you are connected, all you have to do is type the following:</p>
<p><code><font color="#008000">find . -printf "%i\n" | sort -u | wc -l</font></code></p>
<p><em>Advantage</em>: quick (it can take 20 seconds to count 10,000 inodes).<br />
<em>Disadvantage</em>:  not all web hosting providers allow you ssh access. In Hostgator, for example, you can ask for ssh access but you need to give them a copy of your photo id.</p>
<p><strong>Option 3. Via ftp</strong></p>
<p>This can&#8217;t be done using FileZilla or similar. From a Linux machine you must open a terminal and:</p>
<ol class="spaced">
<li>First make sure you have the <em>curlftpfs</em> package installed. Depending on your Linux distribution it can be as simple as running (as super-user)<br />
<code><font color="#008000">yum install curlftpfs</font></code></li>
<li>Then you have to create the directory where you want to mount the ftp connection to your hosting account.<br />
<code><font color="#008000">mkdir ftp-domain-folder</font></code><br />
where ftp-domain-folder is the name of the directory you chose.</li>
<li>After that you connect to your account.<br />
<code><font color="#008000">curlftpfs -o user=xxxx:yyyy ftp://domain-name.zzz/ ftp-domain-folder/</font></code><br />
where xxxx = user name and yyyy = password.</li>
<li>And you run this command to count the inodes.<br />
<code><font color="#008000">find ftp-domain-folder/ | sort -u | wc -l</font></code></li>
<li>Finally, unmount the folder (requires super-user priviledges):<br />
<code><font color="#008000">umount ftp-domain-folder/</font></code></li>
</ol>
<p><em>Advantage</em>: you can do it from your computer, quite easy, no need for ssh,&#8230;<br />
<em>Disadvantage</em>: it takes quite a bit (over an hour to count 10,000 inodes) and you need to run the commands from a Linux computer.</p>
<p>To check the total number of inodes, if you don&#8217;t have ssh access, I would suggest using option 1. Once you know the total number, you can use option 3 to find out the inode count in folders within your hosting account. Each individual folder will not have as many inodes as the whole account so the command will take less time. For example:</p>
<p><code><font color="#008000">find ftp-domain-folder/mail/ | sort -u | wc -l</font></code></p>
<p>where mail is the folder where all your email accounts and emails are, or:</p>
<p><code><font color="#008000">find ftp-domain-folder/public_html/folder-name/ | sort -u | wc -l</font></code></p>
<p>to check the inodes inside a folder in your account. This way you can check if you have erased enough files if you were reaching the limit.</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/10/30/inodes-28-weeks-later/" title="Inodes 28 weeks later&#8230;">Inodes 28 weeks later&#8230; (2)</a></li><li><a href="http://www.olivetalks.com/2008/03/04/hostgator-pros-cons/" title="Hostgator: pros and cons of their web hosting offer">Hostgator: pros and cons of their web hosting offer (15)</a></li><li><a href="http://www.olivetalks.com/2008/03/09/inodes-attack-part2/" title="The return of the inodes &#8211; tell me your package and I&#8217;ll tell you your inodes">The return of the inodes &#8211; tell me your package and I&#8217;ll tell you your inodes (6)</a></li><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2009/06/07/naked-folders-in-wordpress/" title="Security problem with WordPress">Security problem with WordPress (2)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/03/05/inodes-attack-part1/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Automatic backup of Windows computers using Linux</title>
		<link>http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/</link>
		<comments>http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 09:05:32 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rsnapshot]]></category>
		<category><![CDATA[samba]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/</guid>
		<description><![CDATA[Learn how to setup automatic backups of Windows computers using only free Linux software. The solution stores the backups on a Linux server using rsnapshot, samba and autofs.]]></description>
			<content:encoded><![CDATA[<p>Quite a common setup for people is to use Windows PCs with Linux servers. This configuration allows you to benefit from a stable, standard based and secure server platform which doesn&#8217;t burn a whole in your pocket while letting the users continue operating the tools they know. A usual solution is to run <a href="http://www.samba.org/">samba</a> on a Linux server which can then act as a Windows Domain Controller. This allows Windows clients to log on to the domain and access file and printer shares on the server. Of course you can also have Linux clients integrated in that configuration but this is not going to be the subject of this article.</p>
<p>Usually the Windows PCs store the user profiles on the server. Backing the user profiles can then be done as part of backing up the whole server. You might have some other files though which are not part of the user profile. Backing up these files can be easily done using <a href="http://www.rsnapshot.org/">rsnapshot</a> and <a href="http://wiki.autofs.net/">autofs</a>.</p>
<p>We&#8217;ll use autofs to setup file sharing between the Windows PCs and the Linux server. This is especially useful for computers which are not always connected to the network like laptops, although people do turn off their desktops as well from time to time. What autofs allows us to do is to activate file sharing only when it&#8217;s needed for the purpose of doing a backup.</p>
<p>Performing the actual backup will be done using rsnapshot. This tool, which I already mentioned in a <a href="/2008/02/08/thats-how-ive-learned-to-like-jazz/">previous post</a>, allows space efficient backups which are stored incrementally while offering ease of access usually associated with full backups.</p>
<p>Before setting up autofs we need to <a href="http://www.balliol.ox.ac.uk/comp/shares/index.asp">create a network share</a> on the Windows PC. Remember the user and the password since we&#8217;ll need them later on. In this article I&#8217;m going to assume the user name is <em>backup</em> and the password is <em>secret</em> but you should use something more difficult to guess depending on your security requirements. I&#8217;m also assuming the Windows domain is called <em>company</em>. On the Linux server you then need to make sure you&#8217;ve got <em>autofs</em> installed. Installation of <em>autofs</em> is not covered here but usually it&#8217;s as simple as executing <code>yum install autofs</code>. You need to edit <code>/etc/auto.master</code> file and add this line</p>
<p><code>/smb /etc/auto.windows --timeout=60</code></p>
<p>Then you create the file <code>/etc/auto.windows</code> containing the following, in a single line:</p>
<p><code><em>&lt;share&gt;</em> -fstype=smbfs,<br />
credentials=/etc/auto.windows.<em>&lt;credentials file&gt;</em>,<br />
uid=<em>&lt;user&gt;</em>,gid=<em>&lt;group&gt;</em>,<br />
fmask=0755,dmask=0755  ://<em>&lt;windows PC&gt;</em>/<em>&lt;network share&gt;</em></code></p>
<p>This must be written on a single line, with no separating spaces starting from <code>-fstype</code> to <code>dmask=0755</code></p>
<p><code>&lt;share&gt;</code> is the name of directory where you want to mount the network share from Windows PC.</p>
<p><code>/etc/auto.windows.&lt;credentials file&gt;</code> is the name of file where you store the user name and password needed to access the network share on Windows PC. In our case it will look like this:</p>
<p><code>username = backup<br />
password = secret<br />
domain = company<br />
</code></p>
<p>After these preparations it&#8217;s time to tell the <em>autofs</em> daemon about these changes by executing <code>service autofs reload</code> or a corresponding command. You should be able now to see that the network share gets automatically mounted when you execute <code>ls /smb/&lt;share&gt;</code>. After 60 seconds the share will be unmounted.</p>
<p>Now the last part &#8211; setting up rsnapshot. Just follow the <a href="http://www.rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html">instructions</a> for rsnapshot as if the directory <code>/smb/&lt;share&gt;</code> was local. Thanks to <em>autofs</em>, rsnapshot doesn&#8217;t need to know that it&#8217;s really on a different computer running Windows. Remember to set up a cron job if this is your first time you&#8217;re using <em>rsnapshot</em>.</p>
<p>That&#8217;s it. You&#8217;ve configured an automatic backup of a Windows computer using Linux. You can repeat this procedure on further Windows clients.</p>
<p>P.S. Another approach is described <a href="http://www.stillnetstudios.com/2006/12/09/snapshot-backups-howto/">here</a> but it has the drawback that it requires installing additional software on the Windows PCs.</p>
<hr align="left" width="20%" /> <a href="/category/computers/feed" title="rss feed to post"><img src="/wp-content/uploads/2008/01/feed-icon-14x14.png" alt="rss feed to post" /></a> Subscribe to the Computers posts of olivetalks, if you found this article interesting, thank you!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2009/06/24/skype-40-for-windows-is-out-pros-and-cons-compared-with-linux-skype-20/" title="Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0) ">Skype 4.0 for Windows is out: Pros and cons (compared with Linux Skype 2.0)  (1)</a></li><li><a href="http://www.olivetalks.com/2008/06/17/too-much-success-and-popularity/" title="Too much success and popularity?">Too much success and popularity? (0)</a></li><li><a href="http://www.olivetalks.com/2008/02/08/thats-how-ive-learned-to-like-jazz/" title="That&#8217;s how I&#8217;ve learned to like Jazz">That&#8217;s how I&#8217;ve learned to like Jazz (2)</a></li><li><a href="http://www.olivetalks.com/2009/02/21/ups-on-centos-with-selinux-part-2/" title="Setting up UPS on CentOS 5.2 with SELinux, part 2">Setting up UPS on CentOS 5.2 with SELinux, part 2 (1)</a></li><li><a href="http://www.olivetalks.com/2009/02/19/ups-on-centos-with-selinux-part-1/" title="Setting up UPS on CentOS 5.2 with SELinux, part 1">Setting up UPS on CentOS 5.2 with SELinux, part 1 (0)</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2008/02/21/automatic-backup-of-windows-computers-using-linux/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
