<?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>homecomputerlab</title>
	<atom:link href="http://www.homecomputerlab.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.homecomputerlab.com</link>
	<description>If you aren&#039;t ahead you&#039;re falling behind</description>
	<lastBuildDate>Wed, 11 Jan 2012 21:28:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Watch for file changes in realtime</title>
		<link>http://www.homecomputerlab.com/watch-for-file-changes-in-realtime</link>
		<comments>http://www.homecomputerlab.com/watch-for-file-changes-in-realtime#comments</comments>
		<pubDate>Fri, 30 Dec 2011 23:40:08 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=635</guid>
		<description><![CDATA[watch --differences --interval 3 'df; ls -FlAt;']]></description>
			<content:encoded><![CDATA[<p><code>watch --differences --interval 3 'df; ls -FlAt;'</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/watch-for-file-changes-in-realtime/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create a Bootable Windows 2008 USB Install Disk</title>
		<link>http://www.homecomputerlab.com/create-a-bootable-windows-2008-usb-install-disk</link>
		<comments>http://www.homecomputerlab.com/create-a-bootable-windows-2008-usb-install-disk#comments</comments>
		<pubDate>Sun, 18 Dec 2011 16:16:37 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=607</guid>
		<description><![CDATA[LINUX Create a new NTFS (type 7 in linux) partition and set it as bootable. Then simply copy the contents of your Windows 2008 iso to the drive and create a Windows compatible MBR on the USB boot drive. # cfdisk /dev/sdx # mkfs.ntfs -f /dev/sdx1 # mount -o loop win2008.iso /mnt/iso # mount /dev/sdx1 [...]]]></description>
			<content:encoded><![CDATA[<p><span style="text-decoration: underline;"><strong>LINUX</strong></span><br />
Create a new NTFS (type 7 in linux) partition and set it as bootable. Then simply copy the contents of your Windows 2008 iso to the drive and create a Windows compatible MBR on the USB boot drive.</p>
<p><code># cfdisk /dev/sdx<br />
# mkfs.ntfs -f /dev/sdx1<br />
# mount -o loop win2008.iso /mnt/iso<br />
# mount /dev/sdx1 /mnt/usb<br />
# cp -r /mnt/iso/* /mnt/usb/<br />
# lilo -M  /dev/sdx mbr</code></p>
<p><span style="text-decoration: underline;"><strong>WINDOWS</strong></span><br />
The windows instructions I copied from the following website <a title="http://bramp.net/blog/create-bootable-windows-server-2008-usb-stick" href="http://bramp.net/blog/create-bootable-windows-server-2008-usb-stick">http://bramp.net/blog/create-bootable-windows-server-2008-usb-stick</a> I had a look at these instructions first before I was able to replicate the process under linux and produce the instructions above. I have included the windows instructions here for completeness.</p>
<p>Select the USB device from the list and substitute the disk number below when necessary. In this example Y:\ is my mounted image or physical DVD and X:\ is my USB device</p>
<p><code>C:\&gt; diskpart<br />
DISKPART&gt; list disk<br />
DISKPART&gt; select disk x<br />
DISKPART&gt; clean<br />
DISKPART&gt; create partition primary<br />
DISKPART&gt; select partition x<br />
DISKPART&gt; active<br />
DISKPART&gt; format fs=fat32<br />
DISKPART&gt; assign<br />
DISKPART&gt; exit<br />
C:\&gt; xcopy Y:\*.* /s/e/f X:\</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/create-a-bootable-windows-2008-usb-install-disk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco &#8211; Forwarding Broadcast packets</title>
		<link>http://www.homecomputerlab.com/cisco-forwarding-broadcast-packets</link>
		<comments>http://www.homecomputerlab.com/cisco-forwarding-broadcast-packets#comments</comments>
		<pubDate>Sat, 17 Dec 2011 16:43:56 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=596</guid>
		<description><![CDATA[By design routers do not forward broadcast packets for a number of reasons but instead create seperate broadcast domains, but what if you do want to forward certain broadcast packets between different vlans or physical networks? I rely on a lot of different remote management tools to administer the servers in my loft remotely. One [...]]]></description>
			<content:encoded><![CDATA[<p>By design routers do not forward broadcast packets for a number of reasons but instead create seperate broadcast domains, but what if you do want to forward certain broadcast packets between different vlans or physical networks?</p>
<p>I rely on a lot of different remote management tools to administer the servers in my loft remotely. One of these tools is remote Wake-on-LAN. In order to forward WoL packets between networks you can use the <em>ip-helper address</em> command on Cisco routers.</p>
<p>On the Router where the Wol packets will originate from, we tell the router to allow forwarding of udp packets on port 9. (This is the discard port that WoL packets use.) Then under the interface where the WoL packets will originate from, we tell the router where to forward the packets to.</p>
<p><code>R1(config)# ip forward-protocol udp 9<br />
R1(config-if)# ip helper-address 192.168.1.255</code></p>
<p>Now all we need to do is create an access list on the other router to allow the forwarded broadcast messages, otherwise you could open yourself up to a possible <a title="Smurf DOS Attack" href="http://en.wikipedia.org/wiki/Smurf_attack">Smurf DOS attack.</a> Then we tell the router on which interfaces we will allow the forwaded broadcast messages to be received on.</p>
<p><code>R2(config)# access-list 101 permit udp 192.168.0.0 0.0.0.255 192.168.1.0 0.0.0.255 eq 9<br />
R2(config-if)# ip directed-broadcast 101</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/cisco-forwarding-broadcast-packets/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Opensource Firewall, Proxy, Content Filter &amp; Console Server</title>
		<link>http://www.homecomputerlab.com/opensource-firewall-proxy-content-filter-console-server</link>
		<comments>http://www.homecomputerlab.com/opensource-firewall-proxy-content-filter-console-server#comments</comments>
		<pubDate>Sat, 17 Dec 2011 13:00:39 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=584</guid>
		<description><![CDATA[Well, this year Christmas has come early for me, I recently bought a new server from ebay which I have just gotten around to racking up in the homecomputerlab today. It&#8217;s another ITX form factor server based on the VIA-EPIA chipset which I am now well familiar with. This particular model however, is the VIA-EPIA [...]]]></description>
			<content:encoded><![CDATA[<p>Well, this year Christmas has come early for me, I recently bought a new server from ebay which I have just gotten around to racking up in the homecomputerlab today.</p>
<p>It&#8217;s another ITX form factor server based on the VIA-EPIA chipset which I am now well familiar with. This particular model however, is the <a title="VIA-EPIA PD Series" href="http://www.via.com.tw/en/products/embedded/ProductDetail.jsp?id=241">VIA-EPIA PD Series</a> which comes with 2x FastEthernet NIC&#8217;s and 4x Serial COM ports which when combined with its low noise and low power consumtion, makes it the perfect platform to deploy as an opensource firewall/proxy/content filter server as well as a console server for my Cisco Lab.</p>
<p>I have played with both <a title="pfSense" href="http://www.pfsense.org/">pfSense</a> and <a title="Untangle" href="http://www.untangle.com/">Untangle</a> as virtual machines in a sandbox environment in the past, but I am looking forward to seeing how they perform on the VIA-EPIA baremetal hardware and also in a real world environment. Something else that I&#8217;ve had a look into and would be interested in playing with is a Dual Firewall DMZ, but that will have to come later, much later, baby steps first :)</p>
<p><a href="http://www.homecomputerlab.com/wp-content/media/Opensource_Firewall/VIA-EPIA-PD_Top.jpg"><img class="alignnone" title="VIA EPIA PD" src="http://www.homecomputerlab.com/wp-content/media/Opensource_Firewall/VIA-EPIA-PD_Top-300x200.jpg" alt="" width="300" height="200" /></a> <a href="http://www.homecomputerlab.com/wp-content/media/Opensource_Firewall/VIA-EPIA-PD_Profile.jpg"><img class="alignnone" title="VIA EPIA PD" src="http://www.homecomputerlab.com/wp-content/media/Opensource_Firewall/VIA-EPIA-PD_Profile-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p><a title="VIA-EPIA PD Series Manual" href="http://www.homecomputerlab.com/wp-content/media/Opensource_Firewall/VIA_EPIA-PD.pdf">VIA EPIA PD Manual</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/opensource-firewall-proxy-content-filter-console-server/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Schedule Server Reboot</title>
		<link>http://www.homecomputerlab.com/schedule-server-reboot</link>
		<comments>http://www.homecomputerlab.com/schedule-server-reboot#comments</comments>
		<pubDate>Thu, 08 Dec 2011 01:14:23 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=576</guid>
		<description><![CDATA[Windows: schtasks /create /tn "Reboot" /tr "shutdown /r /t 1" /sc once /st HH:MM:ss /sd dd/mm/yyyy /ru "System" Linux: sudo shutdown -r HH:MM]]></description>
			<content:encoded><![CDATA[<p>Windows:<br />
<code>schtasks /create /tn "Reboot" /tr "shutdown /r /t 1" /sc once /st HH:MM:ss /sd dd/mm/yyyy /ru "System"</code></p>
<p>Linux:<br />
<code>sudo shutdown -r HH:MM</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/schedule-server-reboot/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace a text string in multiple documents</title>
		<link>http://www.homecomputerlab.com/replace-a-text-string-in-multiple-documents</link>
		<comments>http://www.homecomputerlab.com/replace-a-text-string-in-multiple-documents#comments</comments>
		<pubDate>Thu, 08 Dec 2011 01:08:59 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=562</guid>
		<description><![CDATA[sed -i 's/old-word/new-word/g' /home/user/docs/*]]></description>
			<content:encoded><![CDATA[<p><code>sed -i 's/old-word/new-word/g' /home/user/docs/*</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/replace-a-text-string-in-multiple-documents/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cisco ADSL Router Repeatedly drops internet connection</title>
		<link>http://www.homecomputerlab.com/cisco-adsl-router-repeatedly-drops-internet-connection</link>
		<comments>http://www.homecomputerlab.com/cisco-adsl-router-repeatedly-drops-internet-connection#comments</comments>
		<pubDate>Thu, 08 Dec 2011 00:52:49 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[ADSL]]></category>
		<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=544</guid>
		<description><![CDATA[After I got my (new) 2nd ADSL line installed, I noticed my Cisco 877 Router would constantly drop it&#8217;s internet connection and often not be able to reconnect to the internet again for extended periods of time. I plugged in the cheap generic router originally shipped by my provider to troubleshoot the problem and sure [...]]]></description>
			<content:encoded><![CDATA[<p>After I got my (new) 2nd ADSL line installed, I noticed my Cisco 877 Router would constantly drop it&#8217;s internet connection and often not be able to reconnect to the internet again for extended periods of time. I plugged in the cheap generic router originally shipped by my provider to troubleshoot the problem and sure enough the connection came up first time and stayed up for a full day and a half before I was satisfied that the problem was definitely an issue with my Cisco Router.</p>
<p>My first port of call was to run a debug on the router to try and narrow down the issue:<br />
<em>Don&#8217;t forget the &#8216;temrinal monitor&#8217; command if you are running your debug from a remote session</em><br />
<code>debug atm events</code><br />
<em></em><br />
<a href="http://www.homecomputerlab.com/wp-content/media/Troubleshoot_ADSL_Router/debug_atm_events.png"><img class="alignnone" src="http://www.homecomputerlab.com/wp-content/media/Troubleshoot_ADSL_Router/debug_atm_events.png" alt="" width="685" height="389" /></a></p>
<p>After a quick google search of the error I was receiving and a speed read through the Cisco website the problem seemed to be an issue with the Alcatel DSL Chipset and the recommended resolution, a quick firmware update for the chipset, not to be confused with an IOS upgrade. To get my current DSL chipset firmware version I needed to issue the following command which confirmed my suspicions of the out of date firmware.<br />
<code>show dsl int ATM 0</code><br />
It was then just a simple matter of downloading the new updated firmware file from the Cisco website <a title="ftp://ftp.cisco.com/pub/access/800/" href="ftp://ftp.cisco.com/pub/access/800/" target="_blank">ftp://ftp.cisco.com/pub/access/800/</a> and copying the adsl_alc_20190.bin file to my router.<br />
<code>copy tftp: flash:</code><br />
<code>reload</code><br />
The result? My connection is now rock solid and I&#8217;m currently sitting on ~2Weeks uptime &#8211; not too shabby for an ADSL circuit! I also noticed that my connection syncs are slightly higher than before, so overall a win win and probably a good idea to update your chipset firmware whether you&#8217;re connection is dropping out of not, if anything for the higher sync rates.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/cisco-adsl-router-repeatedly-drops-internet-connection/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edimax EN-7811Un &#8211; Wireless N Linux driver</title>
		<link>http://www.homecomputerlab.com/edimax-en-7811un-wireless-n-linux-driver</link>
		<comments>http://www.homecomputerlab.com/edimax-en-7811un-wireless-n-linux-driver#comments</comments>
		<pubDate>Tue, 06 Dec 2011 02:46:59 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=522</guid>
		<description><![CDATA[Since I&#8217;m constantly moving large files around my network which seem to take forever on my ancient Laptop that only supports wireless b/g, I decided to invest in an Edimax EN-7811Un Wireless N adapter to take advantage of my Wireless N capable Cisco887W Router. Unfortunately however, I quickly discovered that Ubuntu 10.04 does not natively [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.homecomputerlab.com/wp-content/media/Edimax_7811Un/Edimax-EW7811UN.jpg"><img class="alignright" src="http://www.homecomputerlab.com/wp-content/media/Edimax_7811Un/Edimax-EW7811UN_thumb.jpg" alt="" width="90" height="90" /></a>Since I&#8217;m constantly moving large files around my network which seem to take forever on my ancient Laptop that only supports wireless b/g, I decided to invest in an Edimax EN-7811Un Wireless N adapter to take advantage of my Wireless N capable Cisco887W Router. Unfortunately however, I quickly discovered that Ubuntu 10.04 does not natively support the Edimax wireless device even running the latest 10.04 Kernel 2.6.32-36 (as of 05-12-2011) and I would need to manually install the Linux driver myself.</p>
<p>The first thing you will need to do, is identify your current built-in wireless device (if any):<br />
<code>lspci -k <em>(Take note of the module being used)</em></code><br />
There is an excellent guide located here which you can use to help identify your hardware and corresponding driver modules if you need help:<br />
<a title="http://www.cyberciti.biz/tips/linux-find-supported-pci-hardware-drivers.html" href="http://www.cyberciti.biz/tips/linux-find-supported-pci-hardware-drivers.html" target="_blank">http://www.cyberciti.biz/tips/linux-find-supported-pci-hardware-drivers.html</a></p>
<p>Then you will need to disable/blacklist the module from being loaded:<br />
<code>sudo nano /etc/modprobe.d/blacklist.conf<br />
#Blacklist built in wifi<br />
blacklist ipw2200 <em>(module name)</em></code><br />
Then install the drivers:<br />
<code>sudo apt-get install build-essential<br />
cd to extracted drivers directory<br />
make<br />
sudo make install<br />
sudo modprobe 8192cu</code><br />
Whenever an updated kernel is installed, you will need to rebuild the driver module again from source for the new kernel.<br />
<code>cd to extracted drivers directory<br />
make clean<br />
make<br />
sudo make install<br />
sudo modprobe 8192cu</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/edimax-en-7811un-wireless-n-linux-driver/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Append domain suffix to DNS lookup &amp; prevent changes to /etc/resolv.conf</title>
		<link>http://www.homecomputerlab.com/append-domain-suffix-to-dns-lookup-prevent-changes-to-etcresolv-conf</link>
		<comments>http://www.homecomputerlab.com/append-domain-suffix-to-dns-lookup-prevent-changes-to-etcresolv-conf#comments</comments>
		<pubDate>Tue, 06 Dec 2011 01:14:03 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=495</guid>
		<description><![CDATA[I had an issue today with a Linux box we shipped to an international office that uses a separate domain name to our Head Office. We enabled zone transfers on the local DNS servers in order to give access to the required services, however we still needed to tell the Linux box which domain names [...]]]></description>
			<content:encoded><![CDATA[<p>I had an issue today with a Linux box we shipped to an international office that uses a separate domain name to our Head Office. We enabled zone transfers on the local DNS servers in order to give access to the required services, however we still needed to tell the Linux box which domain names to append whilst performing the name lookups and once that was done we needed to write protect the /etc/resolv.conf file so that the changes would not be overwritten after the next reboot. The necessary config options were as follows:</p>
<ul>
<li>domain &#8211; The local domain name</li>
<li>search &#8211; The domains to search (domain suffix to append)</li>
<li>nameserver &#8211; The name lookup servers to use</li>
</ul>
<p><em>cat /etc/resolv.conf</em><br />
<code>domain localdomain.com<br />
search localdomain.com<br />
search seconddomain.com<br />
nameserver 192.168.0.254<br />
nameserver 192.168.0.253<br />
nameserver 4.2.2.2</code><br />
Once all changes have been made and you would like to write protect the /etc/resolv.conf file from any changes being made, you can do so with the following command:<br />
<code>sudo chattr +i /etc/resolv.conf</code><br />
To remove the write protection, the command is as follows:<br />
<code>sudo chattr -i /etc/resolv.conf</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/append-domain-suffix-to-dns-lookup-prevent-changes-to-etcresolv-conf/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home Computer Lab Update 22-11-2011</title>
		<link>http://www.homecomputerlab.com/home-computer-lab-update-22-11-2011</link>
		<comments>http://www.homecomputerlab.com/home-computer-lab-update-22-11-2011#comments</comments>
		<pubDate>Wed, 23 Nov 2011 01:01:47 +0000</pubDate>
		<dc:creator>Tyrell Beveridge</dc:creator>
				<category><![CDATA[Hardware]]></category>

		<guid isPermaLink="false">http://www.homecomputerlab.com/?p=457</guid>
		<description><![CDATA[I recently had a 2nd internet line installed at home for my homecomputerlab which I am quite excited about because it means I can finally start working on a few projects I&#8217;ve been wanting to do for a while. Although I will be unable to offer any meaningful kind of SLA&#8217;s, I should hopefully be [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had a <a href="http://www.homecomputerlab.com/installation-of-a-2nd-adsl-line">2nd internet line installed</a> at home for my homecomputerlab which I am quite excited about because it means I can finally start working on a few projects I&#8217;ve been wanting to do for a while.</p>
<p>Although I will be unable to offer any meaningful kind of SLA&#8217;s, I should hopefully be able to start doing some proper web hosting for a few friends I have spoken to in the past and also hopefully a charity or two; my Grandmother runs an animal rescue shelter in South Africa!</p>
<p>The other thing I&#8217;d like to do is get my postfix email server back online, although I will probably end up doing a fresh install. I get embarrassed sometimes giving out a @hotmail address. I guess it could be worse, it could be an @aol account :)</p>
<p>Besides that, theres a few routing protocols I&#8217;d like to play with as well as configure a site to site VPN from a static ip address to a dynamic ip address, now that I finally have a static IP!</p>
<p>Here&#8217;s is the latest pic of the homecomputerlab which has grown somewhat since my last post.</p>
<p><a href="http://www.homecomputerlab.com/wp-content/media/HomeLab_update_22_11_2011/HomeLab_22-11-2011.jpg"><img class="alignnone" src="http://www.homecomputerlab.com/wp-content/media/HomeLab_update_22_11_2011/HomeLab_22-11-2011-300x200.jpg" alt="" width="300" height="200" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.homecomputerlab.com/home-computer-lab-update-22-11-2011/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

