<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Notes on dhcp3-server</title>
	<atom:link href="http://learninginlinux.wordpress.com/2008/03/02/notes-on-dhcp3-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://learninginlinux.wordpress.com/2008/03/02/notes-on-dhcp3-server/</link>
	<description>Amateur fiddling with GNU/Linux and everything that runs on top of it (Windows, too ;))</description>
	<lastBuildDate>Tue, 09 Mar 2010 13:04:55 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: yungchin</title>
		<link>http://learninginlinux.wordpress.com/2008/03/02/notes-on-dhcp3-server/#comment-18</link>
		<dc:creator>yungchin</dc:creator>
		<pubDate>Wed, 05 Mar 2008 08:10:02 +0000</pubDate>
		<guid isPermaLink="false">http://learninginlinux.wordpress.com/?p=30#comment-18</guid>
		<description>* bangs head on desk *

I misread man hibernate.conf: priority &quot;99&quot; is of course a high priority, which means the server gets started very early - before the network interface is up....

So now I set it to &quot;00&quot; and it all works nicely. To be precise, the lines in /etc/hibernate/common.conf now read

OnSuspend 99 invoke-rc.d --quiet dhcp3-server stop
OnResume 00 invoke-rc.d --quiet dhcp3-server start

Alternatively, you could probably use post-up and pre-down rules in /etc/network/interfaces.</description>
		<content:encoded><![CDATA[<p>* bangs head on desk *</p>
<p>I misread man hibernate.conf: priority &#8220;99&#8243; is of course a high priority, which means the server gets started very early &#8211; before the network interface is up&#8230;.</p>
<p>So now I set it to &#8220;00&#8243; and it all works nicely. To be precise, the lines in /etc/hibernate/common.conf now read</p>
<p>OnSuspend 99 invoke-rc.d &#8211;quiet dhcp3-server stop<br />
OnResume 00 invoke-rc.d &#8211;quiet dhcp3-server start</p>
<p>Alternatively, you could probably use post-up and pre-down rules in /etc/network/interfaces.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yungchin</title>
		<link>http://learninginlinux.wordpress.com/2008/03/02/notes-on-dhcp3-server/#comment-17</link>
		<dc:creator>yungchin</dc:creator>
		<pubDate>Tue, 04 Mar 2008 23:17:56 +0000</pubDate>
		<guid isPermaLink="false">http://learninginlinux.wordpress.com/?p=30#comment-17</guid>
		<description>Following up on the suspend/resume problem: I had a look at the current dhcp3-server package for Ubuntu: &lt;a href=&quot;https://launchpad.net/ubuntu/hardy/i386/dhcp3-server/3.0.6.dfsg-1ubuntu4&quot; rel=&quot;nofollow&quot;&gt;see here&lt;/a&gt;.

That contains a fix, but apparently Ubuntu Hardy uses another package to handle suspend/resume than Debian Etch does by default: the scripts that were added to stop and start dhcpd are placed under /etc/acpi/suspend.d and resume.d - neither of these directories exist on my system...

So I looked at the man pages for hibernate and hibernate.conf and figured out I needed to add OnSuspend and OnResume lines to /etc/hibernate/common.conf - but still no luck. For some reason, on resume dhcpd complains that the network interface isn&#039;t up yet - even when I give dhcpd a very late starting point of &quot;99&quot; (the WiFi is brought down as specified in the same file common.conf with a DownInterfaces line but you can&#039;t specify a 0-99 number for it&#039;s priority).

To be continued...</description>
		<content:encoded><![CDATA[<p>Following up on the suspend/resume problem: I had a look at the current dhcp3-server package for Ubuntu: <a href="https://launchpad.net/ubuntu/hardy/i386/dhcp3-server/3.0.6.dfsg-1ubuntu4" rel="nofollow">see here</a>.</p>
<p>That contains a fix, but apparently Ubuntu Hardy uses another package to handle suspend/resume than Debian Etch does by default: the scripts that were added to stop and start dhcpd are placed under /etc/acpi/suspend.d and resume.d &#8211; neither of these directories exist on my system&#8230;</p>
<p>So I looked at the man pages for hibernate and hibernate.conf and figured out I needed to add OnSuspend and OnResume lines to /etc/hibernate/common.conf &#8211; but still no luck. For some reason, on resume dhcpd complains that the network interface isn&#8217;t up yet &#8211; even when I give dhcpd a very late starting point of &#8220;99&#8243; (the WiFi is brought down as specified in the same file common.conf with a DownInterfaces line but you can&#8217;t specify a 0-99 number for it&#8217;s priority).</p>
<p>To be continued&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
