<?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>Christian Krog Madsen &#187; Configuration</title>
	<atom:link href="http://christian.krog-madsen.dk/category/configuration/feed/" rel="self" type="application/rss+xml" />
	<link>http://christian.krog-madsen.dk</link>
	<description>Opinions, thoughts and tips</description>
	<lastBuildDate>Sat, 17 Jul 2010 11:34:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Changing GDM theme in OpenSUSE 11.1</title>
		<link>http://christian.krog-madsen.dk/2009/05/11/changing-gdm-theme-in-opensuse-111/</link>
		<comments>http://christian.krog-madsen.dk/2009/05/11/changing-gdm-theme-in-opensuse-111/#comments</comments>
		<pubDate>Mon, 11 May 2009 21:02:29 +0000</pubDate>
		<dc:creator>Christian Krog Madsen</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[OpenSUSE 11.1]]></category>

		<guid isPermaLink="false">http://www.krog-madsen.dk/wp/2009/05/11/changing-gdm-theme-in-opensuse-111/</guid>
		<description><![CDATA[OpenSUSE 11.1 ships with GDM 2.24.x which is a not yet feature-complete rewrite of the original GDM codebase. One consequence of this is that it is no longer possible to customize the login screen using gdmsetup. It is, however, still &#8230; <a href="http://christian.krog-madsen.dk/2009/05/11/changing-gdm-theme-in-opensuse-111/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OpenSUSE 11.1 ships with GDM 2.24.x which is a not yet feature-complete rewrite of the original GDM codebase. One consequence of this is that it is no longer possible to customize the login screen using gdmsetup. It is, however, still possible to customize the background image, icon theme and Gtk theme by editing gconf settings.</p>
<p>The properties for GDM are defined in the distribution-specific gconf settings in /etc/gconf/gconf.xml.vendor/%gconf-tree.xml.</p>
<p>To change the background image, look for:</p>
<blockquote><p> &lt;dir entry=&#8221;background&#8221;&gt;</p>
<p>&#8230;</p>
<p>&lt;entry name=&#8221;picture_filename&#8221; mtime=&#8221;1241629069&#8243; type=&#8221;string&#8221;&gt;</p>
<p>&lt;stringvalue&gt;/usr/share/backgrounds/glass/glass.xml&lt;/stringvalue&gt;</p>
<p>&lt;/entry&gt;</p>
<p>&#8230;</p>
<p>&lt;/dir&gt;</p></blockquote>
<p>Change the string value to the location of the background image you want to use.  This can be either a JPG file or an XML file in the Gnome background slideshow XML format (which does not seem to be documented).</p>
<p>The icon theme and Gtk theme can be similarly modified by editing the properties &#8220;icon_theme&#8221; and &#8220;gtk_theme&#8221; respectively.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.krog-madsen.dk/2009/05/11/changing-gdm-theme-in-opensuse-111/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NTP synchronization of the system clock</title>
		<link>http://christian.krog-madsen.dk/2007/07/07/ntp-synchronization-of-the-system-clock/</link>
		<comments>http://christian.krog-madsen.dk/2007/07/07/ntp-synchronization-of-the-system-clock/#comments</comments>
		<pubDate>Sat, 07 Jul 2007 18:56:33 +0000</pubDate>
		<dc:creator>Christian Krog Madsen</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://www.krog-madsen.dk/wp/2007/07/07/ntp-synchronization-of-the-system-clock/</guid>
		<description><![CDATA[Update: I realised that the recipe below will not necessarily ensure the NTP service is started on booting and in the process of fixing that, I discovered that Yast actually has a nice GUI for setting up NTP. So, instead &#8230; <a href="http://christian.krog-madsen.dk/2007/07/07/ntp-synchronization-of-the-system-clock/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Update: </strong><em>I realised that the recipe below will not necessarily ensure the NTP service is started on booting and in the process of fixing that, I discovered that Yast actually has a nice GUI for setting up NTP. So, instead of step 2 and 3 below, open up Yast and go to Network Services &gt; NTP Client, add the servers found in step 1 and be sure to select &#8220;During boot&#8221; under &#8220;Automatically start NTP daemon&#8221;. Next click Finish and you are done!</em></p>
<p>It takes just 5 minutes to set up your OpenSUSE box up to synchronize its clock with internet time servers, ensuring that you never have to manually adjust the time again. Internet time servers use a protocol aptly named <a href="http://en.wikipedia.org/wiki/Network_Time_Protocol">Network Time Protocol</a> (NTP). In a default installation of OpenSUSE you should already have the software needed to communicate with NTP servers. You can check this by issuing the following command as root in a console:<br />
<code>rpm -q xntp</code><br />
If installed, you should see the version number printed. If not, install the package using YAST2 or use this command (on OpenSUSE 10.2):<br />
<code>zypper install xntp</code></p>
<p><strong>Step 1 &#8211; finding appropriate time servers</strong></p>
<p>You ISP may provide a time server for you to use. This should give you the most accurate synchronization, as the time server should be close to you in terms of network distance. If your ISP does not provide a time server, you can use the pool of servers offered by the <a href="http://www.pool.ntp.org/">pool.ntp.org</a> project. They maintain a list of public time servers and use DNS to distribute the load among the servers. To find the time servers appropriate for you, go to their <a href="http://www.pool.ntp.org/">main page</a> og select the region you are in from the list on the right. Next, see if you can find your own country listed. You should end up with a list of servers something like this:<br />
<code>server 1.dk.pool.ntp.org<br />
server 1.europe.pool.ntp.org<br />
server 2.europe.pool.ntp.org</code></p>
<p><strong>Step 2 &#8211; setting up the NTP daemon</strong></p>
<p>As root, open /etc/ntp.conf in your favourite editor and paste the server list found above into the file under the section labelled &#8220;Outside source of time synchronization&#8221;. Save the file.</p>
<p><strong>Step 3 &#8211; restarting NTP</strong></p>
<p>Next, still as root, run the command:<br />
<code>service ntp restart</code></p>
<p>If your clock was out of sync, you should see it change. From now on, the NTP daemon will periodically contact the time servers and adjust your system clock so it is always accurate.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.krog-madsen.dk/2007/07/07/ntp-synchronization-of-the-system-clock/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring the DHCP client</title>
		<link>http://christian.krog-madsen.dk/2006/09/28/configuring-the-dhcp-client/</link>
		<comments>http://christian.krog-madsen.dk/2006/09/28/configuring-the-dhcp-client/#comments</comments>
		<pubDate>Thu, 28 Sep 2006 19:50:41 +0000</pubDate>
		<dc:creator>Christian Krog Madsen</dc:creator>
				<category><![CDATA[Configuration]]></category>

		<guid isPermaLink="false">http://www.krog-madsen.dk/wp/2006/09/28/configuring-the-dhcp-client/</guid>
		<description><![CDATA[To save power, my DSL router is automatically shut down when my computer is powered off. When I start the computer, the router is also started. This works fine. The problem is that when the router is started, it takes &#8230; <a href="http://christian.krog-madsen.dk/2006/09/28/configuring-the-dhcp-client/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To save power, my DSL router is automatically shut down when my computer is powered off. When I start the computer, the router is also started. This works fine.</p>
<p>The problem is that when the router is started, it takes about 30-60 seconds before it initializes the connection and starts servicing DHCP requests. In the meantime the computer has already tried to get an IP address from DHCP. More importantly, it gives up trying before the router is up. In order to get a configuration for the network, I then have to manually force an renewal of the IP address.</p>
<p>I did not find a way to make the default DHCP client, dhcpcd, wait longer before giving up, without also causing the boot process to hang. Instead, I opted to use the dhclient, which is also installed by default but not enabled. This is done in /etc/sysconfig/network/dhcp where:</p>
<blockquote><p>DHCLIENT_BIN=&#8221;"</p></blockquote>
<p>is changed to:</p>
<blockquote><p>DHCLIENT_BIN=&#8221;dhclient&#8221;</p></blockquote>
<p>I also tweaked the options for dhclient a bit in /etc/dhclient.conf:</p>
<blockquote><p>send dhcp-lease-time 3600;<br />
request subnet-mask, broadcast-address, time-offset, routers, domain-name, domain-name-servers,<br />
host-name, nis-domain, nis-servers;<br />
require subnet-mask, domain-name-servers;<br />
timeout 120;<br />
retry 10;<br />
reboot 10;<br />
select-timeout 5;<br />
initial-interval 2;<br />
script &#8220;/sbin/dhclient-script&#8221;;</p></blockquote>
<p>Now the DHCP client will run as a background process, waiting for the router to come up, but without slowing the boot process down.</p>
]]></content:encoded>
			<wfw:commentRss>http://christian.krog-madsen.dk/2006/09/28/configuring-the-dhcp-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
