<?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>JW Network Consulting &#187; Consulting</title>
	<atom:link href="http://www.jwnetworkconsulting.com/category/consulting/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jwnetworkconsulting.com</link>
	<description>Watching the network so you don't have to.</description>
	<lastBuildDate>Mon, 15 Feb 2010 05:57:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Importance of Backups and the SMB</title>
		<link>http://www.jwnetworkconsulting.com/consulting/the-importance-of-backups-and-the-smb</link>
		<comments>http://www.jwnetworkconsulting.com/consulting/the-importance-of-backups-and-the-smb#comments</comments>
		<pubDate>Wed, 14 Oct 2009 03:37:57 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[business continuity]]></category>
		<category><![CDATA[restore data]]></category>

		<guid isPermaLink="false">http://www.jwnetworkconsulting.com/?p=285</guid>
		<description><![CDATA[Today we had a really bad thing that happened, but it ended up not mattering at all.  One of my clients was busy doing some work and accidentally deleted a directory with about 1 GB of data in it. I got a very worried email from them and if it could be restored.  Fortunately, we [...]]]></description>
			<content:encoded><![CDATA[<p>Today we had a really bad thing that happened, but it ended up not mattering at all.  One of my clients was busy doing some work and accidentally deleted a directory with about 1 GB of data in it. I got a very worried email from them and if it could be restored.  Fortunately, we had recently implemented a new backup system and it was running very well.  I logged into the system, found the needed directory in the last backup to Mozy and kicked off the restore.  40 minutes later, they were back to using the files that had gone MIA.</p>
<p>Why did this not matter?  Because we had good backups in place.  The system syncs nightly to Mozy&#8217;s storage systems and I get daily updates on how things went.  When I got the email telling me about the issue I knew right away where the data would be and how to get it back.  No running around for tapes.  No hoping that last job had actually worked.</p>
<p>In the past, backups could cost quite a bit.  Tape drives, backup software and tapes don&#8217;t come cheap when you are a small or medium sized business (SMB).  You could easily drop $5,000 or more on a single tape drive, some software and enough tapes to keep it going for a while.  Then you have to switch tapes daily and all that other fun stuff.  As a result a lot of SMBs don&#8217;t have the backups they need and we all need them.  Accidents happen.</p>
<p>The good news is that backups don&#8217;t have to cost you a ton of capital.  How much did this wonderful peace of mind cost my client?  For this server, the grand total is less than $10 per month.  How long did it take to setup?  About 15 minutes.  How long and expensive could it have been if the data was completely gone?</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/backups' rel='tag' target='_self'>backups</a>, <a class='technorati-link' href='http://technorati.com/tag/business+continuity' rel='tag' target='_self'>business continuity</a>, <a class='technorati-link' href='http://technorati.com/tag/restore+data' rel='tag' target='_self'>restore data</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.jwnetworkconsulting.com/consulting/the-importance-of-backups-and-the-smb/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speaking at the 2009 Utah Open Source Conference</title>
		<link>http://www.jwnetworkconsulting.com/consulting/speaking-at-the-2009-utah-open-source-conference</link>
		<comments>http://www.jwnetworkconsulting.com/consulting/speaking-at-the-2009-utah-open-source-conference#comments</comments>
		<pubDate>Tue, 15 Sep 2009 16:53:32 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[security tool]]></category>
		<category><![CDATA[speaking]]></category>
		<category><![CDATA[tech conference]]></category>

		<guid isPermaLink="false">http://www.jwnetworkconsulting.com/?p=257</guid>
		<description><![CDATA[Last month I sent the Utah Open Source Conference a proposal for a presentation on &#8220;Building an Open Source Security Tool Set&#8220;.  Presentations are voted on by the registered attendees and the other folks who have submitted a presentation.  When I was making my votes, I saw that there were a lot of great abstracts.  [...]]]></description>
			<content:encoded><![CDATA[<p>Last month I sent the Utah Open Source Conference a proposal for a presentation on &#8220;<a title="Building an Open Source Security Tool Set" href="http://2009.utosc.com/presentation/90/" target="_blank">Building an Open Source Security Tool Set</a>&#8220;.  Presentations are voted on by the registered attendees and the other folks who have submitted a presentation.  When I was making my votes, I saw that there were a lot of great abstracts.  In fact, there were a lot of abstracts period.  Because of this, I really didn&#8217;t expect to get selected.  Turns out I was wrong!</p>
<p>I received word on September 3rd that my presentation was accepted and that I will be speaking at the Utah Open Source Conference.  The current time scheduled is on October 9th at 12:00 PM.  Here is my description of the proposal.</p>
<div class="code panel" style="border-width: 1px;">
<div class="codeContent panelContent">
If you want to build out a kit of commercial security tools, bring a big bank account to pay for it. Not only that, you&#8217;ll find that there are still gaps in your setup that need to be filled. What do you do if you have a finite budget (who doesn&#8217;t?) or have no budget? Does testing your security require a fat wallet? Fortunately, no.<br />
<br />
In this presentation I&#8217;ll go over a number of open source security tools, what they do and where you can get them. Individual tools will be discussed as well as Live CDs which have a collection of the tools all together.
</div>
</div>
<p>I&#8217;m very excited to have been selected to give this presentation.  It should be a lot of fun and I hope it will be useful to those in attendance.  I&#8217;m trying to have some goodies for the attendees, but I&#8217;m not sure how many I&#8217;ll need.  We will see.  <img src='http://www.jwnetworkconsulting.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>You can register for the conference using the UTOS 2009 banner on the right or you can use the link below.  Hope to see you there!</p>
<p><a href="http://register.utosc.com/utoscreg/">http://register.utosc.com/utoscreg/</a></p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/open+source' rel='tag' target='_self'>open source</a>, <a class='technorati-link' href='http://technorati.com/tag/security+tool' rel='tag' target='_self'>security tool</a>, <a class='technorati-link' href='http://technorati.com/tag/speaking' rel='tag' target='_self'>speaking</a>, <a class='technorati-link' href='http://technorati.com/tag/tech+conference' rel='tag' target='_self'>tech conference</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.jwnetworkconsulting.com/consulting/speaking-at-the-2009-utah-open-source-conference/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spyware Removal &#8211; Pain followed by success</title>
		<link>http://www.jwnetworkconsulting.com/consulting/spyware-removal-pain-followed-by-success</link>
		<comments>http://www.jwnetworkconsulting.com/consulting/spyware-removal-pain-followed-by-success#comments</comments>
		<pubDate>Fri, 20 Mar 2009 07:22:31 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[combofix]]></category>
		<category><![CDATA[malwarebytes]]></category>
		<category><![CDATA[spyware removal]]></category>

		<guid isPermaLink="false">http://www.jwnetworkconsulting.com/?p=175</guid>
		<description><![CDATA[I was working on a PC for someone that had some real issues with spyware on his system.  The main symptom that he found was that his computer would hang after boot up.  The mouse could move around, but you couldn&#8217;t do anything with the Start Menu, desktop icons, or the keyboard.  My task was [...]]]></description>
			<content:encoded><![CDATA[<p>I was working on a PC for someone that had some real issues with spyware on his system.  The main symptom that he found was that his computer would hang after boot up.  The mouse could move around, but you couldn&#8217;t do anything with the Start Menu, desktop icons, or the keyboard.  My task was to get the system responsive again and do my best to remove what was causing it.</p>
<p>At first things didn&#8217;t go well.  I was able to work around the boot up problem by starting into Safe Mode.  When I copied over the installer for Malwarebytes I found that the program wouldn&#8217;t execute.  I used Autoruns from Sysinternals to see what was firing up on boot and removed several things that shouldn&#8217;t have been there.  I rebooted into Windows normally and I could use the system again.  However, IE started popping up and it was attempting to connect to a bogus URL.  Better, but not great.  I tried to run the install for Malwarebytes again.  No luck.  Back into safe mode, more clean up, back into normal mode and the desktop hangs again.  Worse luck.</p>
<p>At this point none of the removal tools I have are working, removing things from startup aren&#8217;t working and I&#8217;m getting really frustrated.  It was late, so I tried again the next day.  I started looking at doing a repair installation of Windows XP to work around the issue, but due to problems with RAID card drivers the effort failed.  I went back to looking for a way to deal with the system without the repair install.</p>
<p>The first sign of progress was when I renamed the installer for Malwarebytes.  I executed the renamed file and the installer fired right up!  Everything went fine until the actual executable for Malwarebytes started.  Then the installer froze and had to be killed.  I did some searching for the symptoms and found a tool called <a title="ComboFix" href="http://www.bleepingcomputer.com/combofix/how-to-use-combofix">ComboFix</a>.  I did some quick research and the tool appeared to be legitimate.  I booted into Safe Mode and renamed the exectable for ComboFix.exe to 1ComboFix.exe.  Execution of the renamed file took off and it started scanning.</p>
<p>Fairly quickly it found some stuff that it deemed Rootkits.  Joy.  It listed them as:</p>
<p>c:\windows\system32\drivers\UACrjnkvrnp.sys<br />
c:\windows\system32\UACqfuirjuv.dll<br />
c:\windows\system32\UACtfbsky.dat<br />
c:\windows\system32\UACwsnlkjjbj.dll<br />
c:\windows\system32\UACalotomap.dll<br />
c:\windows\system32\UACqhhmqhcl.dll<br />
c:\windows\system32\UACogswwuya.log<br />
c:\windows\system32\UACogixetrb.log<br />
c:\windows\system32\UACbftmxewp.log<br />
c:\windows\system32\UACpxtfqxqm.dll</p>
<p>It rebooted, removed the files and then came up in regular mode.  It continued scanning and removed more files flagged as spyware.  One more reboot and the process completed.  I fired up the Malwarebytes installer and had no problems during install.  I ran a full scan of the system and it found another 23 items.  Most of these were registry entries, but some were actual files that looked pretty suspect.  One more reboot to complete the scan was needed.  The machine came up normally and cleanly.  I ran another scan and it came up clean.  I did several more reboots, started Internet Explorer, and ran several other programs.  Everything looked great and the system was responding well.  It looks like a happy ending for this computer.</p>
<p>Do I completely trust that everything was removed and the system is 100% clean again?  No, I don&#8217;t.  There was way too much installed on it to make me feel any confidence about that.  However, <a href="http://www.bleepingcomputer.com/combofix/how-to-use-combofix">ComboFix</a> and <a title="Malwarebytes" href="http://www.malwarebytes.org/">Malwarebytes</a> took a machine that couldn&#8217;t even finish start up and got it back up and running again.  So while I have my reservations, I can at least have a better chance of giving a customer a reasonably responsive system and explain the risks as they now are.  And I found a new tool that seems to have done a great job.  That&#8217;s never a bad thing.</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/combofix' rel='tag' target='_self'>combofix</a>, <a class='technorati-link' href='http://technorati.com/tag/malwarebytes' rel='tag' target='_self'>malwarebytes</a>, <a class='technorati-link' href='http://technorati.com/tag/spyware+removal' rel='tag' target='_self'>spyware removal</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.jwnetworkconsulting.com/consulting/spyware-removal-pain-followed-by-success/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New look for the web site!</title>
		<link>http://www.jwnetworkconsulting.com/consulting/new-look-for-the-web-site</link>
		<comments>http://www.jwnetworkconsulting.com/consulting/new-look-for-the-web-site#comments</comments>
		<pubDate>Wed, 18 Mar 2009 00:56:06 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[new website]]></category>

		<guid isPermaLink="false">http://www.jwnetworkconsulting.com/?p=173</guid>
		<description><![CDATA[Tonight the new look for the website went live!  Major thanks to Denise Smith for her work on the graphics.  Everything she&#8217;s done for the business has come out great looking.  I&#8217;m really excited to have this done.  I hope you all enjoy it as well.



Technorati Tags: new website


]]></description>
			<content:encoded><![CDATA[<p>Tonight the new look for the website went live!  Major thanks to <a title="CheryBomb Graphics Design" href="http://gocherrybomb.com/" target="_blank">Denise Smith</a> for her work on the graphics.  Everything she&#8217;s done for the business has come out great looking.  I&#8217;m really excited to have this done.  I hope you all enjoy it as well.</p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/new+website' rel='tag' target='_self'>new website</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.jwnetworkconsulting.com/consulting/new-look-for-the-web-site/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Signing SSL Certificate Requests</title>
		<link>http://www.jwnetworkconsulting.com/consulting/signing-ssl-certificate-requests</link>
		<comments>http://www.jwnetworkconsulting.com/consulting/signing-ssl-certificate-requests#comments</comments>
		<pubDate>Sun, 15 Feb 2009 00:31:56 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sign certificate]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.jwnetworkconsulting.com/?p=154</guid>
		<description><![CDATA[A while back I wrote a post on how to create a Certificate Authority on Linux, import the CA certificate into Active Directory and use it as an internal CA for your organization.  Then I went silent for a while on the subject.  Here is the follow up on how to sign SSL [...]]]></description>
			<content:encoded><![CDATA[<p>A while back I wrote a post on how to create a Certificate Authority on Linux, import the CA certificate into Active Directory and use it as an internal CA for your organization.  Then I went silent for a while on the subject.  Here is the follow up on how to sign SSL certs.</p>
<p>We are going to be generating the certificate for an IIS web server.  Open IIS manager and drill down to your website.  Select the properties of the website that needs the certificate, then go to the Directory Security tab.  You should see some options about SSL certificates towards the bottom of the window.  Click the Server Certificate button.  The default option is to create a certificate request.  Click next and follow the prompts.  </p>
<p>This part is very important.  <b>You will need to provide the domain name of your website as the common name.</b>  If you put anything other than your domain name into the common name field, your users will receive a warning that there is a problem with the SSL certificate.  </p>
<p>Once that is done and past the wizard should prompt you to create a text file to save the file as.  Usually this is c:\certreq.txt, so change it to something to indicate which domain name it is from.</p>
<p>Next copy the contents of this text file to your Linux or BSD box.  The default SSL location is /etc/ssl on Ubuntu Linux.  Save this contents of your certificate request to something like &#8220;www.mydomain.com.csr&#8221;.  </p>
<p>With the CSR on the certificate authority server, you&#8217;re ready to go.  Take a look and see where your CA certificate and key are at.  In this example, the CA certificate is in /etc/ssl/cacert.pem.  The private key is in /etc/ssl/private/cakey.pem.</p>
<div class="code panel" style="border-width: 1px;">
<div class="codeContent panelContent">
root@hostname:/etc/ssl# openssl x509 -req -days 365 -in www.mydomain.com.csr -CA /etc/ssl/cacert.pem -CAkey /etc/ssl/private/cakey.pem -CAcreateserial -out /etc/ssl/www.mydomain.com.cer<br />
Signature ok<br />
subject=/C=US/ST=Utah/L=Layton/O=JW Network Consulting/OU=Technology/CN=www.mydomain.com<br />
Getting CA Private Key<br />
Enter pass phrase for /etc/ssl/private/cakey.pem:<br />
root@hostname:/etc/ssl#
</div>
</div>
<p>You now have your signed SSL certificate, /etc/ssl/www.mydomain.com.cer.  Copy the contents of the file to a text file on your IIS server.  Change the extension to .cer so IIS knows what to do with it.  Open the properties of your website and go to the Directory Security tab.  Click the Server Certificate button again and process the pending certificate request.  Point it to your signed SSL certificate, C:\www.mydomain.com.cer, and finish the wizard off.  </p>
<p>That&#8217;s it.  </p>

<!-- start wp-tags-to-technorati 1.01 -->

<p class='technorati-tags'>Technorati Tags: <a class='technorati-link' href='http://technorati.com/tag/bsd' rel='tag' target='_self'>bsd</a>, <a class='technorati-link' href='http://technorati.com/tag/IIS' rel='tag' target='_self'>IIS</a>, <a class='technorati-link' href='http://technorati.com/tag/linux' rel='tag' target='_self'>linux</a>, <a class='technorati-link' href='http://technorati.com/tag/sign+certificate' rel='tag' target='_self'>sign certificate</a>, <a class='technorati-link' href='http://technorati.com/tag/ssl' rel='tag' target='_self'>ssl</a></p>

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.jwnetworkconsulting.com/consulting/signing-ssl-certificate-requests/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FreeBSD 7.0 Build</title>
		<link>http://www.jwnetworkconsulting.com/consulting/freebsd-70-build</link>
		<comments>http://www.jwnetworkconsulting.com/consulting/freebsd-70-build#comments</comments>
		<pubDate>Mon, 13 Oct 2008 02:43:07 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://sysadmins.dyndns.org/?p=101</guid>
		<description><![CDATA[Introduction
This document contains basic instructions on building a system using FreeBSD 7.0.   				This covers security standards, configuration options, networking configuration, etc. 				The information used in this example probably doesn&#8217;t match your environment or hardware 				exactly.  Verify your network, hardware and other internal system build standards before 				using the information contained here.  [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>This document contains basic instructions on building a system using FreeBSD 7.0.   				This covers security standards, configuration options, networking configuration, etc. 				The information used in this example probably doesn&#8217;t match your environment or hardware 				exactly.  Verify your network, hardware and other internal system build standards before 				using the information contained here.  <strong>Use this document at your own risk.</strong></p>
<p>This document assumes technical knowledge of FreeBSD, especially in regards to kernel  				configuration (which is highly dependant on server hardware, application usage, and  				expected functionality.)</p>
<h3>Before You Begin</h3>
<p>Make sure that you have the following items completed and available for the installation:</p>
<ol>
<li>FreeBSD 7.0-RELEASE disc</li>
<li>Hardware has been updated with the correct configuration for its type  						(see hardware preparation documentation specific for the platform and model.)</li>
<li>Obtained server name and IP addresses</li>
</ol>
<h3>Operating System Installation</h3>
<ol>
<li>Boot from FreeBSD 7.0-RELEASE  installation media.  Accept the Boot Loader default when it is loaded.</li>
<li>Country Selection &#8211; United States</li>
<li>Choose &#8220;Custom&#8221; under the Main Installation Screen
<ol type="a">
<li>Select &#8220;Partition&#8221;
<ol type="i">
<li>Select free space and choose &#8220;A&#8221; to use the entire disk.  You will need to allocate disk differently 								    if you have particular storage requirements, such as direct attached storage.</li>
<li>Set the partition as bootable with &#8220;S&#8221;</li>
<li>Select &#8220;Q&#8221; to finish</li>
</ol>
</li>
</ol>
</li>
<li>When prompted on the Boot Manager Screen, select &#8220;Standard&#8221;</li>
<li>Select &#8220;Label&#8221; to begin assigning and labeling disk slices
<ol type="a">
<li>The following is an example.  I tend to make /var, /home and /opt separate slices so that if something fills that 							volume up, it doesn&#8217;t cause problems with the rest of the system.  Customize this as you need to.</li>
<li>As an example, use the following partition scheme:
<ul>
<li>swap &#8211; 512 MB</li>
<li>/ &#8211; 1024 MB</li>
<li>/usr &#8211; 8192 MB  (This can be more if needed, but I use 8192MB as a minimum)</li>
<li>/var &#8211; 1024 MB  (Running a large MySQL database will require an increase here)</li>
<li>/tmp &#8211; 512 MB</li>
<li>/home &#8211; 4096 MB</li>
<li>/opt &#8211; What ever is left.  I generally push large databases, applications or other data here so it doesn&#8217;t  								interfere with normal system operations.</li>
</ul>
</li>
<li>Hit &#8220;Q&#8221; to finish</li>
</ol>
</li>
<li>Choose &#8220;Distributions&#8221; under the Main Installation Screen
<ol type="a">
<li>Select only the following distributions:
<ul>
<li>Minimal</li>
<li>Custom</li>
<li>base</li>
<li>kernels</li>
<li>dict</li>
<li>doc</li>
<li>info</li>
<li>man</li>
<li>catman</li>
<li>proflibs</li>
<li>src &#8211; ALL</li>
<li>ports</li>
<li>local</li>
</ul>
</li>
<li>Back out to the Main Installation Screen</li>
</ol>
</li>
<li>Select &#8220;Media&#8221;
<ol>
<li>Choose &#8220;CD-ROM&#8221;</li>
</ol>
</li>
<li>Select &#8220;Commit&#8221; to finalize these settings
<ol type="a">
<li>Verify the settings by choosing &#8220;Yes&#8221;</li>
<li>The operating system will now be installed from CD-ROM</li>
</ol>
</li>
<li>After installation, when prompted to set last options, choose &#8220;Yes&#8221;
<ol type="a">
<li>Set root password</li>
<li>Set the time zone.  I use the Pacific time zone in the US as an example here.
<ol type="i">
<li>Select &#8220;No&#8221; when asked to set the clock to UTC</li>
<li>Select America &#8211; North and South</li>
<li>United States</li>
<li>Pacific Time &#8211; Confirm abbreviation of the time zone</li>
</ol>
</li>
</ol>
</li>
<li>Configure &#8220;Networking&#8221;
<ol type="a">
<li>Enable sshd</li>
<li>Select &#8220;Interfaces&#8221;
<ol type="i">
<li>Select interface you wish to configure</li>
<li>Do not enable Ipv6 (unless you need it)</li>
<li>Do not enable DHCP (unless you need it)</li>
<li>Enter hostname</li>
<li>Enter domain name</li>
<li>Enter Gateway &#8211; Appropriate gateway for the network you are on</li>
<li>Enter DNS server(s)</li>
<li>Enter IP address and subnet mask</li>
<li>Select Yes to bring up the interface</li>
<li>Exit back up out of Interfaces</li>
</ol>
</li>
<li>Configure &#8220;Startup&#8221;
<ol type="i">
<li>Unselect &#8220;quotas&#8221;</li>
</ol>
</li>
</ol>
</li>
<li>Select &#8220;Exit&#8221; twice, followed by &#8220;Exit Install&#8221;, then &#8220;Yes&#8221;</li>
<li>The server will be automatically rebooted, finishing the installation</li>
</ol>
<h3>Operating System Configuration</h3>
<ol>
<li>Log into the server as root</li>
<li>vi /etc/rc.conf and ensure the following options are set:
<ul>
<li>check_quotas=&#8221;NO&#8221;</li>
<li>defaultrouter=&#8221;x.x.x.x&#8221;</li>
<li>hostname=&#8221;hostname&#8221;</li>
<li>ifconfig_=&#8221;x.x.x.x netmask x.x.x.x&#8221;</li>
<li>xntpd_enable=&#8221;YES&#8221;</li>
<li>xntpd_program=&#8221;ntpd&#8221;</li>
<li>xntpd_flags=&#8221;-c /etc/ntpd.conf -p /var/run/ntpd.pid&#8221;</li>
</ul>
</li>
<p>Note:	Instances of &#8220;x.x.x.x&#8221; should be replaced with the proper IP address or network mask</p>
<li>vi /etc/resolv.conf and ensure the following lines are set:
<ul>
<li>domain	domain.com</li>
<li>nameserver	x.x.x.x</li>
<li>nameserver	x.x.x.x</li>
<li>search	search.com domains.com</li>
</ul>
</li>
<li>Configure NTP
<ol type="a">
<li>ntpdate local.time.server</li>
<li>vi /etc/ntpd.conf, erase all contents (if any) and insert the following:
<ul>
<li>server server 0.north-america.pool.ntp.org</li>
<li>server server 1.north-america.pool.ntp.org</li>
<li>server server 2.north-america.pool.ntp.org</li>
<li>driftfile /etc/ntpd/drift</li>
<li>multicastclient</li>
<li>broadcastdelay  0.008</li>
<li>restrict X.X.X.X mask X.X.X.X nomodify notrap</li>
</ul>
</li>
</ol>
</li>
<li>Configure the message of the day (MOTD) to something appropriate</li>
<li>run &#8220;chpass&#8221;
<ol type="a">
<li>Change &#8220;Charlie &amp;&#8221; to read &#8220;HOSTNAME &amp;&#8221;</li>
</ol>
</li>
<li>Disable unneeded terminals
<ol type="a">
<li>vi /etc/ttys</li>
<li>Comment out (or delete) everything in the Virtual Terminal section  							except the following ttyvs:
<ul>
<li>ttyv0</li>
<li>ttyv1</li>
<li>ttyv2</li>
</ul>
</li>
<li>Save and quit vi</li>
<li>killall -HUP init</li>
</ol>
</li>
<li>Install basic packages
<ol type="a">
<li>pkg_add -r bash</li>
<li>Install cvsup-without-gui</li>
<li>pkg_add -r sudo</li>
<li>pkg_add -r portupgrade</li>
</ol>
</li>
<li>Configure cvsUp
<ol type="i">
<li>vi /etc/cvsupfile and enter the following:
<ul>
<li>*default	tag=RELENGE_6_3</li>
<li>*default	host=cvsup12.freebsd.org</li>
<li>*default	prefix=/usr</li>
<li>*default	base=/var/db</li>
<li>*default	release=cvs delete use-rel-suffix compress</li>
<li>src-all</li>
<li>ports-all</li>
<li>docs-all</li>
</ul>
</li>
<li>Save and quit</li>
</ol>
</li>
<li>Run CVSup
<ol type="i">
<li>/usr/local/bin/cvsup /etc/cvsupfile</li>
<li>This will take a fair amount of time; leave the install  						and go do something else for awhile</li>
</ol>
</li>
<li>Update your world
<ol type="a">
<li>cd /usr/src</li>
<li>Check to see if the obj subdirectory exists; remove it  						(and all of its contents) if it does</li>
<li>make buildworld</li>
<li>This will take even longer than the cvsup; find something better to do  						then watch the pretty text scrolling by</li>
<li>cp /usr/src/sys/i386/conf/SMP /usr/src/sys/i386/conf/MYCUSTOMKERNEL</li>
<li>If you want to be able to connect to shares on Windows systems, edit MYCUSTOMKERNEL  						and add the following options:
<ul>
<li>options SMBFS</li>
<li>options LIBMCHAIN</li>
<li>options LIBICONV</li>
<li>options NETSMB</li>
<li>options NETSMBCRYPTO</li>
</ul>
</li>
<li>cd /usr/src &#8211; (just to make sure we are still in the right place)</li>
<li>make buildkernel KERNCONF= MYCUSTOMKERNEL</li>
<li>This will also take a while, but not nearly as long as buildworld.   						Once it finishes compiling, we next type</li>
<li>make installkernel KERNCONF= MYCUSTOMKERNEL</li>
<li>make installworld</li>
<li>Once this completes it is time to reboot into our newly updated OS.</li>
<li>init 6</li>
<li>Once the box comes back online, log in as root again and merge our config files</li>
<li>mergemaster</li>
<li>This will install new files and walk you through the process of merging changes  						into existing files.  My general rule of thumb is to install all files that I  						have not modified</li>
</ol>
</li>
<li>run portsnap and upgrade packages as needed with portupgrade.</li>
<li>Configure portupgrade and verify that all ports are up to date:
<ol type="a">
<li>portsdb -Uu</li>
<li>portversion</li>
</ol>
</li>
<li>Configure users
<ol type="a">
<li>adduser &#8211; follow the prompts</li>
<li>visudo
<ul>
<li>Add the user create a user alias and add your new user to the 								alias.</li>
<li>copy the line for root privileges, paste below and change to your 									user alias</li>
</ul>
</li>
</ol>
</li>
<li>Configure aliases
<ol type="a">
<li>vi /etc/aliases and change
<ul>
<li>root:	sysadmin@somedomain.com</li>
</ul>
</li>
<li>Write and quit</li>
<li>newaliases</li>
</ol>
</li>
<li>init 6	; manually cycle server power</li>
<li>Make sure everything starts up properly on boot</li>
<li>Done</li>
</ol>

<!-- start wp-tags-to-technorati 1.01 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.jwnetworkconsulting.com/consulting/freebsd-70-build/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>FreeBSD 6.3 Build</title>
		<link>http://www.jwnetworkconsulting.com/consulting/freebsd-63-build</link>
		<comments>http://www.jwnetworkconsulting.com/consulting/freebsd-63-build#comments</comments>
		<pubDate>Mon, 13 Oct 2008 01:55:04 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Consulting]]></category>
		<category><![CDATA[FreeBSD]]></category>

		<guid isPermaLink="false">http://sysadmins.dyndns.org/?p=96</guid>
		<description><![CDATA[Introduction
This document contains basic instructions on building a system using FreeBSD 6.3.   				This covers security standards, configuration options, networking configuration, etc. 				The information used in this example probably doesn&#8217;t match your environment or hardware 				exactly.  Verify your network, hardware and other internal system build standards before 				using the information contained here.  [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction</h3>
<p>This document contains basic instructions on building a system using FreeBSD 6.3.   				This covers security standards, configuration options, networking configuration, etc. 				The information used in this example probably doesn&#8217;t match your environment or hardware 				exactly.  Verify your network, hardware and other internal system build standards before 				using the information contained here.  <strong>Use this document at your own risk.</strong></p>
<p>This document assumes technical knowledge of FreeBSD, especially in regards to kernel  				configuration (which is highly dependant on server hardware, application usage, and  				expected functionality.)</p>
<h3>Before You Begin</h3>
<p>Make sure that you have the following items completed and available for the installation:</p>
<ol>
<li>FreeBSD 6.3-RELEASE disc</li>
<li>Hardware has been updated with the correct configuration for its type  						(see hardware preparation documentation specific for the platform and model.)</li>
<li>Obtained server name and IP addresses</li>
</ol>
<h3>Operating System Installation</h3>
<ol>
<li>Boot from FreeBSD 6.3-RELEASE  installation media.  Ignore Boot Loader when it is loaded.</li>
<li>Country Selection &#8211; United States</li>
<li>Choose &#8220;Custom&#8221; under the Main Installation Screen
<ol type="a">
<li>Select &#8220;Partition&#8221;
<ol type="i">
<li>Select free space and choose &#8220;A&#8221; to use the entire disk</li>
<li>Set the partition as bootable with &#8220;S&#8221;</li>
<li>Select &#8220;Q&#8221; to finish</li>
</ol>
</li>
</ol>
</li>
<li>When prompted on the Boot Manager Screen, select &#8220;Standard&#8221;</li>
<li>Select &#8220;Label&#8221; to begin assigning and labeling disk slices
<ol type="a">
<li>Use the following partition scheme:
<ul>
<li>swap &#8211; 512 MB</li>
<li>/ &#8211; 1024 MB</li>
<li>/usr &#8211; 8192 MB  (This can be more if needed, but I use 8192MB as a minimum)</li>
<li>/var &#8211; 1024 MB  (Running a large MySQL database will require an increase here)</li>
<li>/tmp &#8211; 512 MB</li>
<li>/home &#8211; 4096 MB</li>
<li>/opt &#8211; What ever is left.</li>
</ul>
</li>
<li>Hit &#8220;Q&#8221; to finish</li>
</ol>
</li>
<li>Choose &#8220;Distributions&#8221; under the Main Installation Screen
<ol type="a">
<li>Select only the following distributions:
<ul>
<li>Minimal</li>
<li>Custom</li>
<li>base</li>
<li>kernels</li>
<li>dict</li>
<li>doc</li>
<li>man</li>
<li>catman</li>
<li>proflibs</li>
<li>src &#8211; ALL</li>
<li>ports</li>
<li>local</li>
</ul>
</li>
<li>Back out to the Main Installation Screen</li>
</ol>
</li>
<li>Select &#8220;Media&#8221;
<ol>
<li>Choose &#8220;CD-ROM&#8221;</li>
</ol>
</li>
<li>Select &#8220;Commit&#8221; to finalize these settings
<ol type="a">
<li>Verify the settings by choosing &#8220;Yes&#8221;</li>
<li>The operating system will now be installed from CD-ROM</li>
</ol>
</li>
<li>After installation, when prompted to set last options, choose &#8220;Yes&#8221;
<ol type="a">
<li>Set root password</li>
<li>Set the time zone.  I use the Pacific time zone in the US as an example here.
<ol type="i">
<li>Select &#8220;No&#8221; when asked to set the clock to UTC</li>
<li>Select America &#8211; North and South</li>
<li>United States</li>
<li>Pacific Time &#8211; Confirm abbreviation of the time zone</li>
</ol>
</li>
</ol>
</li>
<li>Configure &#8220;Networking&#8221;
<ol type="a">
<li>Enable ssh, leave the rest at defaults</li>
<li>Select &#8220;Interfaces&#8221;
<ol type="i">
<li>Select interface you wish to configure</li>
<li>Do not enable Ipv6 (unless you need it)</li>
<li>Do not enable DHCP (unless you need it)</li>
<li>Enter hostname</li>
<li>Enter domain name</li>
<li>Enter Gateway &#8211; Appropriate gateway for the network you are on</li>
<li>Enter DNS server(s)</li>
<li>Enter IP address and subnet mask</li>
<li>Select Yes to bring up the interface</li>
<li>Exit back up out of Interfaces</li>
</ol>
</li>
<li>Configure &#8220;Startup&#8221;
<ol type="i">
<li>Unselect &#8220;quotas&#8221;</li>
</ol>
</li>
</ol>
</li>
<li>Select &#8220;Exit&#8221; twice, followed by &#8220;Exit Install&#8221;, then &#8220;Yes&#8221;</li>
<li>The server will be automatically rebooted, finishing the installation</li>
</ol>
<h3>Operating System Configuration</h3>
<ol>
<li>On startup the server will prompt you to type in random junk to provide  					a seed value for the SSH keys.  Just pound on the keyboard until you get bored.</li>
<li>Log into the server as root</li>
<li>vi /etc/rc.conf and ensure the following options are set:
<ul>
<li>check_quotas=&#8221;NO&#8221;</li>
<li>defaultrouter=&#8221;x.x.x.x&#8221;</li>
<li>hostname=&#8221;hostname&#8221;</li>
<li>ifconfig_=&#8221;x.x.x.x netmask x.x.x.x&#8221;</li>
<li>xntpd_enable=&#8221;YES&#8221;</li>
<li>xntpd_program=&#8221;ntpd&#8221;</li>
<li>xntpd_flags=&#8221;-c /etc/ntpd.conf -p /var/run/ntpd.pid&#8221;</li>
</ul>
</li>
<p>Note:	Instances of &#8220;x.x.x.x&#8221; should be replaced with the proper IP address or network mask</p>
<li>vi /etc/resolv.conf and ensure the following lines are set:
<ul>
<li>domain	domain.com</li>
<li>nameserver	x.x.x.x</li>
<li>nameserver	x.x.x.x</li>
<li>search	search.com domains.com</li>
</ul>
</li>
<li>Configure the message of the day (MOTD) to something appropriate</li>
<li>run &#8220;chpass&#8221;
<ol type="a">
<li>Change &#8220;Charlie &amp;&#8221; to read &#8220;HOSTNAME &amp;&#8221;</li>
</ol>
</li>
<li>Disable unneeded terminals
<ol type="a">
<li>vi /etc/ttys</li>
<li>Comment out (or delete) everything in the Virtual Terminal section  							except the following ttyvs:
<ul>
<li>ttyv0</li>
<li>ttyv1</li>
<li>ttyv2</li>
</ul>
</li>
<li>Save and quit vi</li>
<li>killall -HUP init</li>
</ol>
</li>
<li>Install bash
<ol type="a">
<li>pkg_add -r bash</li>
</ol>
</li>
<li>Install cvsup-without-gui
<ol type="a">
<li>pkg_add -r cvsup-without-guiv</li>
<li>vi /etc/cvsupfile and enter the following:
<ul>
<li>*default	tag=RELENG_6_3</li>
<li>*default	host=cvsup12.freebsd.org</li>
<li>*default	prefix=/usr</li>
<li>*default	base=/var/db</li>
<li>*default	release=cvs delete use-rel-suffix compress</li>
<li>src-all</li>
<li>ports-all</li>
<li>docs-all</li>
</ul>
</li>
<li>Save and quit</li>
<li>Run CVSup
<ol type="i">
<li>/usr/local/bin/cvsup /etc/cvsupfile</li>
<li>This will take a fair amount of time; leave the install  									and go do something else for awhile</li>
</ol>
</li>
</ol>
</li>
<li>Update your world
<ol type="a">
<li>cd /usr/src</li>
<li>Check to see if the obj subdirectory exists; remove it  							(and all of its contents) if it does</li>
<li>make buildworld</li>
<li>This will take even longer than the cvsup; find something better to do  							then watch the pretty text scrolling by</li>
<li>cp /usr/src/sys/i386/conf/SMP /usr/src/sys/i386/conf/MYCUSTOMKERNEL</li>
<li>If you want to be able to connect to shares on Windows systems, edit MYCUSTOMKERNEL  						and add the following options:
<ul>
<li># Compile in SMBFS support</li>
<li>options SMBFS</li>
<li>options LIBMCHAIN</li>
<li>options LIBICONV</li>
<li>options NETSMB</li>
<li>options NETSMBCRYPTO</li>
</ul>
</li>
<li>cd /usr/src &#8211; (just to make sure we are still in the right place)</li>
<li>make buildkernel KERNCONF= MYCUSTOMKERNEL</li>
<li>This will also take a while, but not nearly as long as buildworld.   							Once it finishes compiling, we next type</li>
<li>make installkernel KERNCONF= MYCUSTOMKERNEL</li>
<li>make installworld</li>
<li>Once this completes it is time to reboot into our newly updated OS.</li>
<li>init 6</li>
<li>Once the box comes back online, log in as root again and merge our config files</li>
<li>mergemaster</li>
<li>This will install new files and walk you through the process of merging changes  							into existing files.  My general rule of thumb is to install all files that I  							have not modified</li>
</ol>
</li>
<li>Install basic packages
<ol type="a">
<li>pkg_add -r sudo</li>
<li>pkg_add -r portupgrade</li>
<li>pkg_add -r portsnap</li>
</ol>
</li>
<li>run portsnap and upgrade packages as needed with portupgrade.</li>
<li>visudo and verify that privileges are set correctly.</li>
<li>Configure portupgrade and verify that all ports are up to date:
<ol type="a">
<li>portsdb -Uu</li>
<li>portversion</li>
</ol>
</li>
<li>Configure NTP
<ol type="a">
<li>ntpdate local.time.server</li>
<li>vi /etc/ntpd.conf, erase all contents (if any) and insert the following:
<ul>
<li>server local.time.server</li>
<li>driftfile /etc/ntp/drift</li>
<li>multicastclient</li>
<li>broadcastdelay  0.008</li>
<li>restrict X.X.X.X mask X.X.X.X nomodify notrap</li>
</ul>
</li>
</ol>
</li>
<li>Configure aliases
<ol type="a">
<li>vi /etc/aliases and change
<ul>
<li>root:	sysadmin@somedomain.com</li>
</ul>
</li>
<li>Write and quit</li>
<li>newaliases</li>
</ol>
</li>
<li>init 6	; manually cycle server power</li>
<li>Make sure everything starts up properly on boot</li>
<li>Done</li>
</ol>

<!-- start wp-tags-to-technorati 1.01 -->

<!-- end wp-tags-to-technorati -->
]]></content:encoded>
			<wfw:commentRss>http://www.jwnetworkconsulting.com/consulting/freebsd-63-build/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
