<?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>therning.org/ magnus &#187; mdns</title>
	<atom:link href="http://therning.org/magnus/archives/tag/mdns/feed" rel="self" type="application/rss+xml" />
	<link>http://therning.org/magnus</link>
	<description>Incoherent mumblings</description>
	<lastBuildDate>Thu, 12 Jan 2012 13:40:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Setting up my network services on Arch</title>
		<link>http://therning.org/magnus/archives/595</link>
		<comments>http://therning.org/magnus/archives/595#comments</comments>
		<pubDate>Sat, 02 May 2009 20:52:16 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[avahi]]></category>
		<category><![CDATA[mdns]]></category>
		<category><![CDATA[openntp]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/?p=595</guid>
		<description><![CDATA[After having set up X (not sure I really can call just installing it &#8220;setting up&#8221; though ) and Gnome, which of course included installing and configuring Xmonad, I went on to configure some network-related stuff. At home I use mDNS to make it easy to connect to the computers we have at home. I [...]]]></description>
			<content:encoded><![CDATA[<p>After having set up X (not sure I really can call just installing it &#8220;setting
up&#8221; though <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) and Gnome, which of course included installing and
configuring Xmonad, I went on to configure some network-related stuff.</p>

<p>At home I use mDNS to make it easy to connect to the computers we have at
home.  I added <code>avahi</code> to the list of services to start in <code>/etc/rc.conf</code> and
installed <code>nss-mdns</code>.  Then I following the instructions on how to <a href="http://wiki.archlinux.org/index.php/Avahi#Hostname_resolution">configure
mDNS on Arch</a>, which resulted in the following changes:</p>

<pre><code>--- /etc/nsswitch.conf_old  2009-05-02 21:17:06.460591935 +0100
+++ /etc/nsswitch.conf  2009-04-25 18:08:39.719853968 +0100
@@ -6,7 +6,7 @@

 publickey: files

-hosts: files dns
+hosts: files mdns_minimal [NOTFOUND=return] dns mdns
 networks: files

 protocols: db files
</code></pre>

<p>I also need SSH access to my desktop machine so I installed OpenSSH
(<code>openssh</code>).  No changes were needed to the configuration but following <a href="http://wiki.archlinux.org/index.php/SSH#Allowing_others_in">the
instructions</a> I made the following change to <code>/etc/hosts.allow</code> to allow
connections at all:</p>

<pre><code>--- /etc/hosts.allow_orig   2009-05-02 21:31:16.243401337 +0100
+++ /etc/hosts.allow    2009-04-28 17:55:57.553603986 +0100
@@ -2,5 +2,6 @@
 # /etc/hosts.allow
 #

+sshd: ALL

 # End of file
</code></pre>

<p>Then of course I added <code>sshd</code> to the list of services in <code>/etc/rc.conf</code>.</p>

<p>The last step was setting up NTP, based on suggestions on the Arch Wiki I
installed OpenNTP (<code>openntp</code>) rather than the standard NTP package.  No
changes to the configuration were needed, just adding it to <code>DAEMONS</code> in
<code>/etc/rc.conf</code>.</p>

<p>That was it, all the crucial network-related services set up and running at
boot.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F595&amp;title=Setting%20up%20my%20network%20services%20on%20Arch" id="wpa2a_2">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/595/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

