<?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; Fedora</title>
	<atom:link href="http://www.olivetalks.com/tag/fedora/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>Stop your laptop from succumbing to thermal death</title>
		<link>http://www.olivetalks.com/2009/06/06/protect-your-laptop-from-overheating/</link>
		<comments>http://www.olivetalks.com/2009/06/06/protect-your-laptop-from-overheating/#comments</comments>
		<pubDate>Sat, 06 Jun 2009 13:29:13 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[laptop]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2009/06/06/protect-your-laptop-from-overheating/</guid>
		<description><![CDATA[I&#8217;m running Fedora 9 on my laptop. Everything works great but the default installation doesn&#8217;t deal properly with thermal management. The OS doesn&#8217;t lower the CPU clock when the processor is heating up too much. Normally it doesn&#8217;t matter much unless you run some software which will fully utilize the CPU for an extended period. [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m running Fedora 9 on my laptop. Everything works great but the default installation doesn&#8217;t deal properly with thermal management. The OS doesn&#8217;t lower the CPU clock when the processor is heating up too much. Normally it doesn&#8217;t matter much unless you run some software which will fully utilize the CPU for an extended period. For example when you compile a big software project. Because the OS doesn&#8217;t activate the thermal throttling the CPU keeps running at full speed and after some time the system gets really hot. Beside the obvious danger of getting burned &#8211; if you keep the laptop on your lap <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  &#8211; there is a chance of damaging the laptop&#8217;s components.</p>
<p>In my case the victim was the battery. First its capacity got drastically reduced to about 30% of the original capacity and then it completely refused to work. Good that batteries can be replaced <img src='http://www.olivetalks.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>All this sounds pretty bad. Fortunately there is an easy way to prevent this problem.</p>
<p>Fedora 9 includes a tool called <em>cpuspeed</em> which can react to increasing system temperature and throttle down the CPU. <em>cpuspeed</em> is included in the default installation but it needs to be configured before it can prevent thermal damage to the laptop. The configuration is quite simple:</p>
<ol>
<li> Download <a href="/wp-content/uploads/cpuspeed" title="cpuspeed configuration file" target="_blank">cpuspeed configuration file</a> and save it as <code>/etc/sysconfig/cpuspeed</code>.</li>
<li>Adjust the saved file to match your system &#8211; especially options MAX_SPEED and MIN_SPEED.</li>
<li>Make sure cpuspeed daemon is configured to start automatically when system boots: <code>/sbin/chkconfig cpuspeed on</code></li>
<li>Restart cpuspeed daemon: <code>service cpuspeed restart</code></li>
</ol>
<p>That&#8217;s it &#8211; I&#8217;ve been running my laptop with this configuration for a few months already and the CPU gets throttled down whenever the system gets hot.</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2009/06/05/native-resolution-l22w-7sd/" title="Native resolution with Fujitsu Siemens Scaleoview L22W-7SD">Native resolution with Fujitsu Siemens Scaleoview L22W-7SD (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></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2009/06/06/protect-your-laptop-from-overheating/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Native resolution with Fujitsu Siemens Scaleoview L22W-7SD</title>
		<link>http://www.olivetalks.com/2009/06/05/native-resolution-l22w-7sd/</link>
		<comments>http://www.olivetalks.com/2009/06/05/native-resolution-l22w-7sd/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 11:17:17 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2009/06/05/native-resolution-l22w-7sd/</guid>
		<description><![CDATA[Sometimes I connect an external LCD monitor to my laptop but by default Fedora 9 doesn&#8217;t use the native resolution and selects 1280&#215;1024. This results in suboptimal image quality and loss of valuable screen estate (after all I&#8217;m connecting an external screen because the built-in LCD in the laptop is too small!). Which is weird [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I connect an external LCD monitor to my laptop but by default Fedora 9 doesn&#8217;t use the native resolution and selects 1280&#215;1024. This results in suboptimal image quality and loss of valuable screen estate (after all I&#8217;m connecting an external screen because the built-in LCD in the laptop is too small!). Which is weird considering that the OS detected the monitor configuration using <a href="http://en.wikipedia.org/wiki/Display_Data_Channel" title="Display Data Channel" target="_blank">DDC</a> and the native mode is listed if you run xrandr.</p>
<p>It turns out the OS needs some help before it will automatically use the native mode. The modifications are limited to xorg.conf file.</p>
<p>First make sure DDC is NOT disabled in xorg.conf (/etc/X11/xorg.conf); this would be indicated by the line:<br />
<code><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option      "DDC" "false"<br />
</code></p>
<p>make sure the above line is NOT present or comment it out.</p>
<p>Then add this section:<br />
<code><br />
Section "Monitor"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Identifier       "FUS L22W-7SD"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option         "DPMS" "true"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option         "PreferredMode" "1680x1050"<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option         "RightOf" "LVDS"<br />
EndSection<br />
</code></p>
<p>Finally look in the file for:<br />
<code><br />
Section "Screen"<br />
</code></p>
<p>and within add this line:<br />
<code><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option     "monitor-VGA" "FUS L22W-7SD"<br />
</code></p>
<p>After that restart X server (in Fedora 9 it&#8217;s enough to logout).<br />
Now you can enjoy the 1680&#215;1050 resolution!</p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2009/06/06/protect-your-laptop-from-overheating/" title="Stop your laptop from succumbing to thermal death">Stop your laptop from succumbing to thermal death (2)</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></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2009/06/05/native-resolution-l22w-7sd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What files did I change?</title>
		<link>http://www.olivetalks.com/2009/02/15/find-changes-with-rpm-verify/</link>
		<comments>http://www.olivetalks.com/2009/02/15/find-changes-with-rpm-verify/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 16:45:14 +0000</pubDate>
		<dc:creator>ZoltarStark</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[RPM]]></category>

		<guid isPermaLink="false">http://www.olivetalks.com/2009/02/15/find-changes-with-rpm-verify/</guid>
		<description><![CDATA[Sometimes I need to check what files have been modified on my Linux computers. Recently I discovered a new way to do that.]]></description>
			<content:encoded><![CDATA[<p>I run a few Linux PCs at home and at work. Most of them use packages in RPM format (Fedora, RHEL and CentOS). Sometimes I want to know which configuration files have I modified. That is really important when you&#8217;re upgrading to a new OS version and want to keep your custom settings.</p>
<p>What I used to do was to keep a copy of all the relevant files as they were in the previous version and then modify the new installation accordingly. This solution was working for me but I was never sure whether the new configuration was exactly the same and if I hadn&#8217;t missed any settings in one of the configuration files.</p>
<p>A few days ago I found a better way to monitor the configuration files for changes. As long as you install all the software as RPMs (which makes sense anyway since it&#8217;s easier to deploy the same package on multiple machines or deal with reinstallation) you can use the rpm verification capability which is built into the <em>rpm</em> command.</p>
<p>The way this works is quite simple. For example, I want to know if I changed my firewall settings. Since the firewall I&#8217;m using is installed as part of the <em>iptables</em> RPM I need to execute (as root):</p>
<p><code># rpm -V iptables</code></p>
<p>which produces the following output:</p>
<p><code>SM5....T c /etc/sysconfig/iptables-config</code></p>
<p>This means that since the RPM was installed the file <code>/etc/sysconfig/iptables-config</code> has changed. Specifically the output indicates that the following has changed:</p>
<ul>
<li> size of the file (S),</li>
<li>permissions (M),</li>
<li>MD5 checksum (5),</li>
<li>modification time (T).</li>
</ul>
<p>The properties which did not change are:</p>
<ul>
<li>device major/minor numbers (1st dot), if it did change we would see D</li>
<li>path to which a symbolic link points to (2nd dot), if it did change we would see L</li>
<li>user ownership (3rd dot), if it did change we would see U</li>
<li>group ownership (4th dot), if it did change we would see G</li>
</ul>
<p>Now I know that only this file from <em>iptables RPM</em> was modified.</p>
<p>If I want to look for all the changes in <em>/etc</em> folder I would execute:</p>
<p><code># rpm -Va | grep "\/etc\/"</code></p>
<p>which produces quite a long output so I won&#8217;t list it here. Instead of writing<em> </em>&#8220;rpm -V&#8221; one can also use &#8220;rpmverify&#8221;.</p>
<p>RPM verification has a few more uses than just checking for changes you did to your own system. It can also be used to monitor your system for unauthorized changes.</p>
<p><em>This post was written based on information I have found on <a href="http://www.novell.com/coolsolutions/feature/16238.html" title="Cool Solutions: Using RPM Verify to Monitor Changes to System Files">Novell website</a>, <a href="http://rpm.org/max-rpm/s1-rpm-verify-what-to-verify.html" title="Selecting What to Verify, and How">rpm.org</a> and man page for <a href="http://linux.die.net/man/8/rpm" title="rpm(8): RPM Package Manager - Linux man page">rpm</a> command.</em></p>
<h3>Related post(s)</h3><ul class="related_post"><li><a href="http://www.olivetalks.com/2008/02/16/xen-p2v-conversion-in-seven-simple-steps/" title="Xen p2v conversion in seven simple steps">Xen p2v conversion in seven simple steps (0)</a></li><li><a href="http://www.olivetalks.com/2009/06/06/protect-your-laptop-from-overheating/" title="Stop your laptop from succumbing to thermal death">Stop your laptop from succumbing to thermal death (2)</a></li><li><a href="http://www.olivetalks.com/2009/06/05/native-resolution-l22w-7sd/" title="Native resolution with Fujitsu Siemens Scaleoview L22W-7SD">Native resolution with Fujitsu Siemens Scaleoview L22W-7SD (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></ul>]]></content:encoded>
			<wfw:commentRss>http://www.olivetalks.com/2009/02/15/find-changes-with-rpm-verify/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
