<?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>Gettin' My Geek On &#187; PC</title>
	<atom:link href="http://www.markstevens20.net/blog/tag/pc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markstevens20.net/blog</link>
	<description>Ramblings on my experiments with Linux, networking, and collaboration aps</description>
	<lastBuildDate>Sat, 30 Jan 2010 01:23:57 +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>Linux &#8211; Windows XP Home Networking</title>
		<link>http://www.markstevens20.net/blog/2009/06/linux-windows-xp-home-networking/</link>
		<comments>http://www.markstevens20.net/blog/2009/06/linux-windows-xp-home-networking/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 19:54:19 +0000</pubDate>
		<dc:creator>Mark Stevens</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[HomeNetworking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PC]]></category>
		<category><![CDATA[storage]]></category>

		<guid isPermaLink="false">http://www.markstevens20.net/blog/?p=88</guid>
		<description><![CDATA[I want to play with computers and networking.  My family doesn&#8217;t.  They are content with a basic Windows XP PC with email, web browsing and support for MP3 players and digital cameras.  Our XP PC is 5 years old and has exhausted its 80 GB hard drive.  Rather than buying a new Vista machine, I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/ehecatzin/63760739/"><img class="alignright" src="http://farm1.static.flickr.com/31/63760739_42e72b9ed1.jpg?v=0" alt="" width="320" height="240" /></a>I want to play with computers and networking.  My family doesn&#8217;t.  They are content with a basic Windows XP PC with email, web browsing and support for MP3 players and digital cameras.  Our XP PC is 5 years old and has exhausted its 80 GB hard drive.  Rather than buying a new Vista machine, I decided to <a title="Building a PC blog post" href="http://www.markstevens20.net/blog/?p=30" target="_blank">buy the parts to make a PC</a>, then <a title="Loading CentOS blog post" href="http://www.markstevens20.net/blog/?p=74" target="_blank">loaded CentOS Linux on it.</a> In addition to the new Liunx machine&#8217;s function as a &#8216;lab&#8217; for me to play with, it also had to provide additional storage and backup facilities for the family&#8217;s XP machine.   I know the simpler thing to do would be to simply buy a USB HDD for the XP machine, but this isn&#8217;t about simple, it&#8217;s about creating &#8216;learning opportunities.&#8217;</p>
<p>So, I have a Linux machine with tons of HDD storage space  (250 + 500 GB) .  The XP machine needs additional space.  And it must be transparent to the rest of the family.  I used <a title="http://us1.samba.org/samba/" href="http://us1.samba.org/samba/" target="_blank">Samba</a> to create file shares on the Linux machine, then created mapped network drives on the XP machine that connect automatically to the Linux machine&#8217;s HDDs at login.  It wasn&#8217;t hard, but did trip me up on a couple points.</p>
<p>Samba is an open source software package that allows Linux/Unix machines to participate in Windows networking as nodes in the Windows &#8220;Network Neighborhood&#8221; and therefore provide file sharing between Linux and Windows machines.  It was easy to install the Samba package on CentOS, using the Add/Remove software package from the desktop GUI, and included a GUI configuration tool for Samba.  The <a title="Depolyment Guide Samba Chapter" href="http://www.centos.org/docs/5/html/5.2/Deployment_Guide/ch-samba.html" target="_blank">CentOS deployment guide</a> provides good guidance for configuration, and the <a title="samba.org" href="http://us6.samba.org/samba/" target="_blank">samba.org</a> site provide an excellent extra level of detail for the software.  A couple of points to add that were key learnings for me:</p>
<ol>
<li><a href="http://www.markstevens20.net/blog/wp-content/uploads/2009/06/screenshot-package-manager.png"><img class="alignright size-medium wp-image-96" title="Samba Packages" src="http://www.markstevens20.net/blog/wp-content/uploads/2009/06/screenshot-package-manager-300x213.png" alt="Samba Packages" width="300" height="213" /></a>The Samba GUI provides a simple, easy configuration tool for the basic samba config, identifying the workgroup name, shared volumes and users/passwords.  The manual config is accomplished via the smb.conf file in /etc/samba.  Manual edit of the conf file provides more options than the GUI, including logging level, source IP address filtering, and preventing access to home directory.  However, if you make changes to this conf file, then make changes to the config via the GUI, your manual changes to the conf file will be removed.  So make the simple GUI config changes first, get a functioning system, then tweak the configuration with vi edits of the smb.conf file.</li>
<li>Windows XP required that I set samba up with &#8220;user&#8221; authentication, not &#8220;share&#8221;, and I had to encrypt the passwords on the Samba config.  Windows would not attempt to make connections when Samba was configured with unencrypted passwords.</li>
</ol>
<p>The Samba config was easier to config than the Windows XP side.  Once I had the Samba server running, I was able to go into &#8220;Network Neighborhood&#8221;, view the &#8220;workgroup nodes&#8221; and connect with the user/password set up in Samba.  Then I could map a drive letter to a share folder on the Linux box.  Easy, right?  Almost.  Even though I asked Windows to &#8216;reconnect at login&#8217;, Windows could not.  Looking at the Samba logs in var/log/samba/smbd.log (with logging set to level 3 via the conf file &#8220;log level = 3) I could tell that the problem was with XP, not Samba, and I suspect that Windows was not chaching the password.</p>
<p>The solution was a batch file that runs at startup on the XP machine.  I f<a title="http://www.watchingthenet.com/create-a-batch-file-to-map-drives-folders.html" href="http://www.watchingthenet.com/create-a-batch-file-to-map-drives-folders.html" target="_blank">ound a forum post</a> that explained the syntax very well, using the net use command.  My specific command was &#8220;net use S: \\server\storage passwd /USER:username&#8221;  Then I just had to store the batch file in the &#8216;startup&#8217; programs folder for &#8220;All Users&#8221;, and now the drive maps automatically at startup.  Then I&#8217;ll convert the &#8220;My Pictures&#8221; folder to a shortcut to a folder on the Samba shared volume.  Perfectly transparent to my family.</p>
<p>As long as the power is on the Linux box.</p>
<p><strong>Update Jul 20, 2009:</strong></p>
<p>I rebuilt my machine and used a firewall and Security Enhanced Linux (SELinux), which created a couple additional challenges.  First, the firewall had to be configured to allow smb protocol for Samba, which was easy.  Second, (and a bit more tricky) the smb.conf file had notes for SELinux, indicating that the shared folders needed to be marked with &#8220;samba_share_t&#8221;. The current labels can be displayed with &#8220;ls -ldZ /path&#8221;, and the label on a share folder can be set with &#8220;chcon -t samba_share_t /path&#8221;.<strong> </strong>Once I resolved these issues, all was fine.<strong><br />
</strong></p>
<p>Photo credit, <a title="http://www.flickr.com/photos/ehecatzin/63760739/" href="http://www.flickr.com/photos/ehecatzin/63760739/" target="_blank">eheçatzin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.markstevens20.net/blog/2009/06/linux-windows-xp-home-networking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a PC</title>
		<link>http://www.markstevens20.net/blog/2009/05/building-a-pc/</link>
		<comments>http://www.markstevens20.net/blog/2009/05/building-a-pc/#comments</comments>
		<pubDate>Thu, 28 May 2009 02:00:48 +0000</pubDate>
		<dc:creator>Mark Stevens</dc:creator>
				<category><![CDATA[Infrastructure]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[PC]]></category>

		<guid isPermaLink="false">http://www.markstevens20.net/blog/?p=30</guid>
		<description><![CDATA[Our home computer is about 5 years old and it&#8217;s time for a new one.  I figured its time to build one myself, and give my son a chance to experience first hand what is inside the black box  and understand the basics such as the difference between RAM memory and hard disk drive storage.  [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-43 alignright" title="masonpc" src="http://www.markstevens20.net/blog/wp-content/uploads/2009/05/masonpc.jpg" alt="Installing the Hard Drive" width="408" height="310" />Our home computer is about 5 years old and it&#8217;s time for a new one.  I figured its time to build one myself, and give my son a chance to experience first hand what is inside the black box  and understand the basics such as the difference between RAM memory and hard disk drive storage.  He is (almost) nine , has programmed a bit in <a title="scratch.mit.edu" href="http://scratch.mit.edu/" target="_blank">Scratch</a> and seems to have an interest in computers.</p>
<p>I worked with my friend Chris (computer aficionado) to assemble a list of components from <a title="http://newegg.com" href="http://newegg.com" target="_blank">newegg</a>.  I wanted to build a cheap machine, but still have enough power to allow me to experiment with <a title="LAMP on Wikipedia" href="http://en.wikipedia.org/wiki/LAMP_(software_bundle)" target="_blank">LAMP</a> infrastructure and virtualization, and also enough storage to archive the family&#8217;s growing collection of digital photos and video.</p>
<p>Here is what we chose for hardware:</p>
<ul>
<li><strong><a title="GIGABYTE GZ-X5BPD-500 Black SECC Steel / ABS ATX Mid Tower Computer Case - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16811233039" target="_blank">GIGABYTE GZ-X5BPD-500 Black SECC Steel / ABS ATX Mid Tower Computer Case </a></strong><a title="GIGABYTE GZ-X5BPD-500 Black SECC Steel / ABS ATX Mid Tower Computer Case - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16811233039" target="_blank">&#8211;Model #:GZ-X5BPD-500</a></li>
<li><strong><a title="ASUS M3N78-EM AM2+/AM2 NVIDIA GeForce 8300 HDMI Micro ATX AMD Motherboard - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813131354" target="_blank">ASUS M3N78-EM AM2+/AM2 NVIDIA GeForce 8300 HDMI Micro ATX AMD Motherboard </a></strong><a title="ASUS M3N78-EM AM2+/AM2 NVIDIA GeForce 8300 HDMI Micro ATX AMD Motherboard - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813131354" target="_blank">&#8211; Model M3N78-EM</a><strong><a title="ASUS M3N78-EM AM2+/AM2 NVIDIA GeForce 8300 HDMI Micro ATX AMD Motherboard - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16813131354" target="_blank"><br />
</a></strong></li>
<li><strong><a title="Thermaltake Purepower W0100RU 500W ATX 12V 2.0    Power Supply - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16817153052" target="_blank">Thermaltake Purepower W0100RU 500W ATX 12V 2.0    Power Supply </a></strong><a title="Thermaltake Purepower W0100RU 500W ATX 12V 2.0    Power Supply - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16817153052" target="_blank">&#8211; </a><a title="Thermaltake Purepower W0100RU 500W ATX 12V 2.0    Power Supply - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16817153052" target="_blank"><strong>Model #:</strong>W0100RU</a></li>
<li><strong><a title="AMD Athlon 64 X2 4400+ Brisbane 2.3GHz Socket AM2 Dual-Core Processor Model ADO4400IAA5DU - OEM(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16819103669" target="_blank">AMD Athlon 64 X2 4400+ Brisbane 2.3GHz Socket AM2 Dual-Core Processor </a></strong><a title="AMD Athlon 64 X2 4400+ Brisbane 2.3GHz Socket AM2 Dual-Core Processor Model ADO4400IAA5DU - OEM(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16819103669" target="_blank">&#8211;Model ADO4400IAA5DU</a></li>
<li><strong><a title="Kingston 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Dual Channel Kit Desktop Memory Model KVR800D2N6K2/4G - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820134641" target="_blank">Kingston 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Dual Channel Kit Desktop Memory Model KVR800D2N6K2/4G </a></strong><a title="Kingston 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400) Dual Channel Kit Desktop Memory Model KVR800D2N6K2/4G - Retail(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16820134641" target="_blank">&#8211; Model #:KVR800D2N6K2/4G</a></li>
<li><strong><a title="Seagate Barracuda 7200.10 ST3250410AS 250GB 7200 RPM SATA 3.0Gb/s 3.5&quot; Internal Hard Drive - OEM(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822148262" target="_blank">Seagate Barracuda 7200.10 ST3250410AS 250GB 7200 RPM SATA 3.0Gb/s 3.5&#8243; Internal Hard Drive </a></strong><a title="Seagate Barracuda 7200.10 ST3250410AS 250GB 7200 RPM SATA 3.0Gb/s 3.5&quot; Internal Hard Drive - OEM(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16822148262" target="_blank">&#8211; Model #:ST3250410AS</a></li>
<li><strong><a title="SAMSUNG 22X DVD Burner Black SATA Model SH-S223F - OEM(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16827151171" target="_blank">SAMSUNG 22X DVD Burner Black SATA </a></strong><a title="SAMSUNG 22X DVD Burner Black SATA Model SH-S223F - OEM(New Window)" href="http://www.newegg.com/Product/Product.aspx?Item=N82E16827151171" target="_blank">&#8211; Model SH-S223F</a></li>
<li><strong>And a Thermaltake CPU cooler, TR2-R1 P/N A4022 (more about this later).<br />
</strong></li>
</ul>
<p><img class="size-full wp-image-45 alignright" title="parts" src="http://www.markstevens20.net/blog/wp-content/uploads/2009/05/parts.jpg" alt="parts" width="448" height="336" /><br />
All said and done, minus rebates and including shipping, about 380  bucks.</p>
<p>I ordered the gear on Sunday morning, and received the shipment Thursday afternoon.  My son and I split the assembly pretty evenly, while my daughter even helped mount the HDD.  I won&#8217;t review the steps I took to build it, you can find that info many places on the web, such as <a title="pcmech.com/byopc" href="http://www.pcmech.com/byopc/" target="_blank">here</a>, <a title="build-your-own-computers.com" href="http://www.build-your-own-computers.com/" target="_blank">here </a>and <a title="kitchentablecomputers.com" href="http://www.kitchentablecomputers.com/" target="_blank">here</a>.  For the sake of transparency, I will mention the two mistakes that I made while building it:</p>
<ol>
<li>I mistakenly bought a CPU without a cooling fan.  Dumb. I had the correct CPU picked out, then at the last minute saw a cheaper/nearly identical version, and quickly picked it, not paying attention to the details (or the picture, clearly showing a CPU only).  Impact? Since I didn&#8217;t want to wait for the delivery of a fan, or attempt to exchange the CPU, I went out to CompUSA/TigerDirect and picked up a $23 Thermaltake CPU cooler and some thermal paste (more than I &#8216;saved&#8217; on my last-minute CPU choice).</li>
<li>Despite very good and very clear instructions from ASUS, I forgot to attach the 4 pin 12V ATX power cable to the motherboard.  I got the 24 pin power connection, but I guess I had seen too many web pages showing the connection of the 24 pin connector and convinced myself that was all that was needed.  The impact? When I turned on the machine, the CPU fan and the case fan would spin, but that was it.  The power LED would not come on, the monitor showed nothing, and I couldn&#8217;t turn off the motherboard with the soft switch, but rather had to cut the AC.  I started looking on the web for possible solutions.  I reseated the memory, &amp; CPU, disconnected the HDD and DVD, and checked the power switch connections.  I had all but given up and was ready to contact ASUS for an RMA, when I gave the board one last look over and spotted the 4 pin &#8216;hole&#8217;, then rechecked the ASUS manual and found a very clear statement (as well as a picture): &#8220;Do not forget to connect the  4 pin ATX 12V power plug. Otherwise the system will not boot.&#8221; Duhuhh.  I&#8217;m lucky that I didn&#8217;t fry the board with my power cycles.</li>
</ol>
<p>So, with only a couple of stumbles (er, rather,  &#8220;learning opportunities&#8221;), I now have a system that will POST.  More importantly, the day after completing the build, my son asked me, &#8220;I wonder if my Nintendo DS has the same parts as the computer?&#8221;  That alone was worth the time and energy spent. I like seeing the lightbulbs ignite.</p>
<p>Next adventure on the new PC, loading CentOS Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.markstevens20.net/blog/2009/05/building-a-pc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
