<?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>Parolski.com &#187; opensolaris</title>
	<atom:link href="http://www.parolski.com/category/solaris/opensolaris-solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.parolski.com</link>
	<description>Faith, Solaris, and Chicken Korma, by Anton Parol</description>
	<lastBuildDate>Fri, 14 Oct 2011 11:16:29 +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>Static IPs with NWAM</title>
		<link>http://www.parolski.com/2010/02/16/static-ips-with-nwam/</link>
		<comments>http://www.parolski.com/2010/02/16/static-ips-with-nwam/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 02:17:40 +0000</pubDate>
		<dc:creator>Anton Parol</dc:creator>
				<category><![CDATA[opensolaris]]></category>
		<category><![CDATA[defaultrouter]]></category>
		<category><![CDATA[nameserver]]></category>
		<category><![CDATA[nsswitch.conf]]></category>
		<category><![CDATA[nwam]]></category>
		<category><![CDATA[resolv.conf]]></category>

		<guid isPermaLink="false">http://www.parolski.com/?p=308</guid>
		<description><![CDATA[NWAM (Network Auto Magic) is a very easy way of getting a DHCP lease on OpenSolaris. It runs as a service, enabled by default on install, which will automatically try and get you a DHCP address when Solaris detects that you plugged your ethernet cable in! To most people thats nothing special, but theres more [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://hub.opensolaris.org/bin/view/Project+nwam/">NWAM (Network Auto Magic</a>) is a very easy way of getting a DHCP lease on <a href="http://www.opensolaris.com">OpenSolaris</a>. It runs as a service, enabled by default on install, which will automatically try and get you a DHCP address when Solaris detects that you plugged your ethernet cable in! To most people thats nothing special, but theres more to it.</p>
<p>You can also use it to automatically configure a static IP address upon boot too.</p>
<p>Simply edit the file <strong><code>/<em>etc</em>/nwam/llp</code></strong> to your desired settings. For example:</p>
<blockquote><p>e1000g0   static   192.168.0.45/24</p></blockquote>
<p>Easy!</p>
<p>The <em>/24 </em>part of that string represents the netmask. in this case, it would be expressed as 255.255.255.0 in decimal notation.</p>
<p>Then create <strong>/<em>etc</em>/defaultrouter</strong> so that your machine can reach the outside world! For example&#8230;</p>
<blockquote><p>192.168.0.1</p></blockquote>
<p>&#8230;as this is the address of the router on my LAN<br />
Finally, create the <strong>/<em>etc</em>/resolv.conf</strong> file, so that the OS knows where to look to resolve DNS names!</p>
<p>On my LAN , this would be:</p>
<blockquote><p>nameserver   192.168.0.1</p></blockquote>
<p>If your still having trouble resolving host names, you may need to check that the <strong>/<em>etc</em>/nsswitch.conf</strong> file reflects the fact that you want to look in both files and the DNS to resolve host names. The <em>hosts </em>and <em>ipnodes</em> entries should look like this:</p>
<blockquote><p>hosts:        files dns<br />
ipnodes:      files dns</p></blockquote>
<p>Once all that is done you can simply restart the NWAM service:</p>
<p><strong>pfexec svcadm restart nwam</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.parolski.com/2010/02/16/static-ips-with-nwam/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

