<?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>n00tz.net &#187; Software</title>
	<atom:link href="http://n00tz.net/category/references/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://n00tz.net</link>
	<description>so you think you&#039;re savvy? reviews.ramblings.references</description>
	<lastBuildDate>Wed, 04 Jan 2012 04:20:00 +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>One Way to Utilize Static Routing in Windows</title>
		<link>http://n00tz.net/2011/05/static-routing-windows/</link>
		<comments>http://n00tz.net/2011/05/static-routing-windows/#comments</comments>
		<pubDate>Thu, 26 May 2011 04:06:48 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[References]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[ipconfig]]></category>
		<category><![CDATA[route]]></category>
		<category><![CDATA[route add]]></category>
		<category><![CDATA[static routes]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://n00tz.net/?p=20899</guid>
		<description><![CDATA[One of my friends was having an issue passing specific traffic on a network he was using and came to me for assistance (all web traffic was allowed, but certain ports were blocked to specific hosts). I couldn&#8217;t duplicate the problem on my home network so we went over the various options that were successful [...]]]></description>
			<content:encoded><![CDATA[<p>One of my friends was having an issue passing specific traffic on a network he was using and came to me for assistance (all web traffic was allowed, but certain ports were blocked to specific hosts). I couldn&#8217;t duplicate the problem on my home network so we went over the various options that were successful in passing the traffic as desired. Connecting via an Open Wireless network in the area allows him to bypass the issue entirely. Being that this was non-sensitive information, this could provide the path to creating a happy environment for his applications. I&#8217;m being purposefully vague here. The gist is that while connected to one network he couldn&#8217;t access non-standard port services, but while on the open wifi connection he was unable to access LAN services. He wants to be able to access both at the same time, and doesn&#8217;t want to bother the firewall administrator every time there&#8217;s a new port change he needs to make to continue using the corporate network.</p>
<p>We first attempted a metric change to the wireless adapter to have higher priority, thinking that it would fall back to the wired interface for anything inaccessible by the wireless adapter (similar to a load balancer &#8211; of sorts). That didn&#8217;t work as I expected so we were back to square one.</p>
<p>The solution I am cooking up is an attempt to remedy that.<span id="more-20899"></span></p>
<p>Windows computers have long been able to create static routes that define IP rules for traffic to be handled in a specific way. Thankfully you can also specify which adapter can take user specified routes out of the box.</p>
<p>First of all, we need to know some information about the interfaces available on your computer. To do that, open a command prompt (in administrator mode on Vista and Win7) and type &#8220;ipconfig /all&#8221;, press Enter and you should be presented with something similar to what&#8217;s below.</p>
<p><a href="http://n00tz.net/files/ipconfig.png"><img class="aligncenter size-medium wp-image-20901" title="ipconfig" src="http://n00tz.net/files/ipconfig-295x300.png" alt="" width="295" height="300" /></a></p>
<p>Take note of the IP address and Gateway of your Wireless Network Connection. In my case above, the Wireless IP is 192.168.100.100 and the Gateway is 192.168.100.1, whereas the Wired IP is 192.168.100.102 and has the same gateway. If your wireless connects to a different AP than what is on your wired network, you will probably be on a different gateway for each adapter.</p>
<p>Next, we need a bit of information from the current routing table. To see your current routing table, open a command prompt (in administrator mode on Vista and Win7) and type &#8220;route print&#8221;, press Enter and you should be presented with something similar to what&#8217;s below.</p>
<p><a href="http://n00tz.net/files/routetable.png"><img class="aligncenter size-medium wp-image-20900" title="routetable" src="http://n00tz.net/files/routetable-300x215.png" alt="" width="300" height="215" /></a></p>
<p>The first section printed out will be your Interface List. You need to take note of the Interface Number your intended forced traffic will be going over (in this case, the WLAN adapter is #10). You should also look below the Interface List to the IPv4 Route Table. Take note of the Gateway for your WLAN card. You&#8217;ll need to know what IP address your WLAN card is using to determine that information, which is why we looked that up previously.</p>
<p>Lastly, You&#8217;ll need to determine the IP addresses of the services you are trying to access. If it&#8217;s a DNS name, you can resolve it by pinging the canonical name. For demonstration purposes we&#8217;ll use the IP address and subnet of my ISP, <a href="http://whois.arin.net/rest/org/DALTON-9/pft">Dalton Utilities</a>. Their subnet is 205.144.208.0/20, or expanded for use in the command we&#8217;re going to use a host of 205.144.208.0 with a subnet mask of 255.255.240.0.</p>
<pre><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;">Now we can get into the actual static routing!</span></pre>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;">The information needed for the <a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_tcpip_pro_addstaticroute.mspx?mfr=true">ROUTE command</a>, is DESTINATION (use the host address), SUBNETMASK (255.255.255.255 if just a single IP address), GATEWAY (from the adapter you are using), METRIC (we&#8217;re not going to specify one), and INTERFACE (for our example, it&#8217;s &#8220;10&#8243; from the WLAN adapter using the route print command above). We will also add a -p switch at the end to make this persistent (to add it to the Windows registry so it can be enabled on a restart).</span></p>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;">The command we will be executing for our example follows:</span></p>
<pre>route add 205.144.208.0 mask 255.255.240.0 192.168.100.1 if 10 -p</pre>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;">Type &#8220;route print&#8221; again to verify the route is in the list under persistent routes, and begin utilizing your new static route over your secondary interface! </span></p>
<p><span style="font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px; line-height: 19px; white-space: normal;">How are you using this information? Tell me below.</span><script type="text/javascript"><!--
google_ad_client = "ca-pub-8560919435827269";
/* Content banner 1 */
google_ad_slot = "4219269169";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2011/05/static-routing-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing Your Windows 7 Boot Drive</title>
		<link>http://n00tz.net/2011/04/changing-your-windows-7-boot-drive/</link>
		<comments>http://n00tz.net/2011/04/changing-your-windows-7-boot-drive/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 15:07:27 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[bcdboot]]></category>
		<category><![CDATA[bcdedit]]></category>
		<category><![CDATA[Bootable Harddrive]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://n00tz.net/?p=19292</guid>
		<description><![CDATA[If you followed the methods in my earlier post, upon unplugging the hard drive from the computer&#8217;s USB port you would have been unable to boot to the newly installed Operating System. Keeping the drive tethered to your computer is probably not what you had intended. There&#8217;s a simple procedure that fixes this! In my [...]]]></description>
			<content:encoded><![CDATA[<p>If you followed the methods in my <a title="Creating a Windows 7 Bootable Hard-drive Installer" href="http://n00tz.net/2011/03/creating-a-windows-7-bootable-hard-drive-installer/" target="_blank">earlier post</a>, upon unplugging the hard drive from the computer&#8217;s USB port you would have been unable to boot to the newly installed Operating System. Keeping the drive tethered to your computer is probably not what you had intended. There&#8217;s a simple procedure that fixes this!</p>
<p>In my example, the USB Installer is on Drive D:\, and the operating system is installed  to the desired Drive C:\.</p>
<p>Step 1 &#8212; Open a command prompt with administrative privileges. To do so, open the Start Menu, and type &#8220;CMD&#8221; in the search prompt. Right-Click on the resulting program and &#8220;Run as Administrator&#8221;. This will invoke UAC as configured.</p>
<p>Step 2 &#8212; In the command prompt, type the following command:</p>
<blockquote><p>bcdboot C:\Windows /s C:</p></blockquote>
<p>Step 3 &#8212; Open up Disk Manager. To do so, right click on the &#8220;Computer&#8221; hotlink in the start menu (or your &#8220;My Computer&#8221; if you&#8217;ve added it to the desktop) and select &#8220;Manage&#8221;. Again, this will invoke UAC as configured. On the Explorer Window you are presented with, the left pane will contain Disk Manager. Click it once to open it to the main pane.</p>
<p>Step 4 &#8212; Mark the C:\ Partition as Active by right clicking on the graphical map and selecting &#8220;Mark Partition as Active..&#8221; from the context menu.</p>
<p>Step 5 &#8212; Unmount the USB drive (Eject first), and reboot. All Done!</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2011/04/changing-your-windows-7-boot-drive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a Windows 7 Bootable Hard-drive Installer</title>
		<link>http://n00tz.net/2011/03/creating-a-windows-7-bootable-hard-drive-installer/</link>
		<comments>http://n00tz.net/2011/03/creating-a-windows-7-bootable-hard-drive-installer/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 05:17:29 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Bootable Harddrive]]></category>
		<category><![CDATA[Installation]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://n00tz.net/?p=18053</guid>
		<description><![CDATA[If you don&#8217;t have a DVD drive in your computer you might have a hard time converting that .ISO into a usable method to install Windows 7. Fortunately, I have a method that works using a USB-connected Hard Drive. Step 1 &#8211; Collect the iso images. Step 2 &#8211; Install Virtual Drive that can read [...]]]></description>
			<content:encoded><![CDATA[<p>If you don&#8217;t have a DVD drive in your computer you might have a hard time converting that .ISO into a usable method to install Windows 7. Fortunately, I have a method that works using a USB-connected Hard Drive.</p>
<p>Step 1 &#8211; Collect the iso images.</p>
<p>Step 2 &#8211; Install Virtual Drive that can read .iso images. I use VirtualCloneDrive from Elaborate Bytes. Freeware that works well. I&#8217;ve also used Daemon Tools in the past.</p>
<p>Step 3 &#8211; Partition and format your hard drive. Partition an 8GB section of the hard drive you&#8217;re planning to use and format it with the FAT32 file system.</p>
<p>Step 4 &#8211; Mount the ISO and copy the files to the newly created partition using XCOPY</p>
<blockquote><p>xcopy [SOURCE]:\* [DESTINATION]:\* /e</p></blockquote>
<p>Step 5 &#8211; Mark the partition as active. Right click on your Computer and select &#8220;Manage&#8221;. Go to Disk Management, right click on your new partition, select &#8220;Mark Partition as Active&#8221;.</p>
<p>Step 6 &#8211; Reboot and select your USB Hard Drive as your boot device. All BIOSes are different so the process is not documented here.</p>
<p>You will need to follow up with <a title="Changing Your Windows 7 Boot Drive" href="http://n00tz.net/2011/04/changing-your-windows-7-boot-drive/">my next post to complete the whole process</a> and be able to disconnect your hard drive.</p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2011/03/creating-a-windows-7-bootable-hard-drive-installer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blocking Countries From Accessing Your Apache Website</title>
		<link>http://n00tz.net/2010/12/blocking-countries-from-accessing-your-apache-website/</link>
		<comments>http://n00tz.net/2010/12/blocking-countries-from-accessing-your-apache-website/#comments</comments>
		<pubDate>Mon, 13 Dec 2010 17:58:10 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[blocking IP]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[forum]]></category>
		<category><![CDATA[SPAM prevention]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://n00tz.net/?p=14798</guid>
		<description><![CDATA[Admit it, a lot of your traffic is spambots. I know I see a lot of traffic from other countries to my blog for various reasons, and a good portion of them are SPAM. Blogging aside, what if you&#8217;ve got a community site that only a limited number of users will need access to? Well [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "ca-pub-8560919435827269";
/* content banner 2 */
google_ad_slot = "7002914232";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>Admit it, a lot of your traffic is spambots. I know I see a lot of traffic from other countries to my blog for various reasons, and a good portion of them are SPAM. Blogging aside, what if you&#8217;ve got a community site that only a limited number of users will need access to? Well what about using that .htaccess for the purposes of keeping everyone else out!</p>
<p>That was the problem I ran into with one of my community sites. I was getting daily notifications of &#8220;new users&#8221; most of which were obvious combinations of a first-name/last-name dictionary attack, using out-of-country email addresses or free domain email addresses that require no invite, from IP addresses of non-community origin. I needed to remove the annoyance of these persistent email notifications. The solution was to eliminate access to the site from outside my community.<span id="more-14798"></span></p>
<p>Step one was determining IP addresses. For my situation, I wanted to limit access to the entire United States. I did some searching and found a US zone file at IPdeny.com. <a href="http://www.ipdeny.com/ipblocks/" target="_blank">Here is a listing</a> of all countries they have zone files for. Step two was formatting the zone information such that it could be parsed through an Apache .htaccess file. I copied the zone information into a text document (using <a href="http://notepad-plus-plus.org/" target="_blank">Notepad++</a>), added the Limit clause to the top with the order clause below it, and set up a macro to add the allow from before each IP address on every line. After a portion of time, my macro completed and I added a deny from all line, and closed the Limit tag.</p>
<p>The result looked like this:</p>
<blockquote><p>&lt;Limit GET HEAD POST&gt;<br />
order deny,allow<br />
allow from 3.0.0.0/8<br />
allow from 4.0.0.0/8<br />
&#8230;<br />
allow from 216.255.192.0/19<br />
allow from 216.255.240.0/20<br />
deny from all<br />
&lt;/LIMIT&gt;</p></blockquote>
<p>At that point it was just a matter of saving the document out to my .htaccess file and testing. To do so, I searched the document for my IP block and commented it out with a &#8216;#&#8217;. I got a 403 Forbidden page, so I uncommented my IP block and tried again. PRESTO! Works like a charm.</p>
<p>A couple of other things you may want to do would include blocking a single country (instead of allowing a single country like I did) or to allow additional IPs through, in the case of someone unable to access using the list you obtained. To block a single country, you would change the &#8220;allow from&#8221; statements to &#8220;deny from&#8221; statements and use the IP addresses from that specific country. Some people would only like to block the most notorious countries (Nigeria, for example). In order to add a single IP address you create a new line, and put the IP address with a /32 on the end. You can add as many &#8220;allow from&#8221; or &#8220;deny from&#8221; IPs to this list as you desire.</p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2010/12/blocking-countries-from-accessing-your-apache-website/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Building a TFTPD Server</title>
		<link>http://n00tz.net/2010/07/tftpd/</link>
		<comments>http://n00tz.net/2010/07/tftpd/#comments</comments>
		<pubDate>Fri, 23 Jul 2010 20:50:32 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[atftp]]></category>
		<category><![CDATA[atftpd]]></category>
		<category><![CDATA[DRAC-III]]></category>
		<category><![CDATA[Firmware]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Step-By-Step]]></category>
		<category><![CDATA[TFTP]]></category>
		<category><![CDATA[tftpd]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMWare ESXi]]></category>

		<guid isPermaLink="false">http://n00tz.net/?p=6528</guid>
		<description><![CDATA[TFTP, or Trivial File Transfer Protocol is a relatively lightweight protocol used for transferring single files at a timewithout the bulk of the massive capabilities of FTP. TFTP is used most often with embedded devices for firmware updates, or VoIP phones to get the latest configuration. Today, I ran into the desire to upgrade some [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol" target="_blank">TFTP, or Trivial File Transfer Protocol</a> is a relatively lightweight protocol used for transferring single files at a time<a href="http://n00tz.net/files/atftp.png"><img class="alignright size-full wp-image-6665" title="atftp" src="http://n00tz.net/files/atftp.png" alt="" width="247" height="187" /></a>without the bulk of the massive capabilities of FTP. TFTP is used most often with embedded devices for firmware updates, or VoIP phones to get the latest configuration. Today, I ran into the desire to upgrade some firmware on the DRAC-III device in my Dell PowerEdge 1650 that I just bought on EBay. After gaining access to the embedded web server&#8217;s firmware update page I found that it required a tftpd server to pull firmware images from. So, I began to deploy one here at the house for firmware updates I&#8217;ll undoubtedly need in the coming months as my home infrastructure grows.</p>
<p>After some searching across the web I found that there wasn&#8217;t a very good write up on the step by step procedure to enable a TFTP daemon on Ubuntu (my choice for linux servers). <span id="more-6528"></span>I had actually messed around with the tftpd package, but in the little bit I was able to find I determined I wanted to use the <a href="http://packages.ubuntu.com/search?keywords=atftp&amp;searchon=names&amp;suite=all&amp;section=all" target="_blank">&#8216;atftp&#8217; and &#8216;atftpd&#8217; packages</a> available in <a href="http://packages.ubuntu.com/" target="_blank">Ubuntu&#8217;s universe repositories</a> due to more adoption in instructions that were available. In what I&#8217;ve been able to determine, both the server daemon (atftpd) and the client program (atftp) are necessary on the server (computer). The reasoning, as best as I&#8217;ve been able to determine, is that the server (daemon) only makes the files available. The client (program) does all of the &#8220;work&#8221; in negotiating connections between each other, so a client (program) is necessary on both the server (computer) and the client (computer). I hope that made sense.</p>
<p>So that you have a baseline of expectations, I&#8217;ll be open with the specs and configuration of the server I&#8217;m using:</p>
<ul>
<li>Ubuntu Server 10.4 Lucid Lynx x86 (32 bit)</li>
<li>Dual 1.4Ghz Pentium3 CPUs</li>
<li>512MB RAM</li>
<li>Running as Guest OS on VMWare ESXi 3.5 Update5</li>
</ul>
<p>Now, let&#8217;s get atftpd installed.</p>
<ol>
<li>Get Root.
<ol>
<blockquote>
<li>sudo -i</li>
</blockquote>
</ol>
</li>
<li>Install atftpd.
<ol>
<blockquote>
<li>apt-get install atftpd</li>
</blockquote>
</ol>
</li>
<li>Edit atftpd&#8217;s configuration.
<ol>
<blockquote>
<li>pico -w /etc/default/atftpd</li>
<li>change &#8220;USE_INETD=true&#8221; to &#8220;USE_INETD=false&#8221;</li>
<li>ctrl+x, enter, y</li>
</blockquote>
</ol>
</li>
<li>Start atftpd.
<ol>
<blockquote>
<li>invoke-rc.d atftpd start</li>
</blockquote>
</ol>
</li>
<li>Add the tftp directory.
<ol>
<blockquote>
<li>cd /srv</li>
<li>mkdir tftp</li>
<li>chmod 777 tftp</li>
<li>chown nobody:nogroup tftp</li>
</blockquote>
</ol>
</li>
<li>Restart atftpd.
<ol>
<blockquote>
<li>/etc/init.d/atftpd restart</li>
</blockquote>
</ol>
</li>
<li>Install the client (program).
<ol>
<blockquote>
<li>apt-get install atftp</li>
</blockquote>
</ol>
</li>
<li>Done!</li>
</ol>
<p>At this point, use your favorite SCP client (program) to upload any firmware files to the /srv/tftp folder. Once it is uploaded, point the tftp location in your firmware update process to your newly deployed tftpd server. Easy enough!</p>
<p>Thanks for visiting, if you have any questions feel free to comment below and I&#8217;ll do my best to reply and help you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2010/07/tftpd/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Quick Post: Mani Admin Plugin for Source Dedicated Server</title>
		<link>http://n00tz.net/2010/07/quick-post-mani-admin-plugin-for-source-dedicated-server/</link>
		<comments>http://n00tz.net/2010/07/quick-post-mani-admin-plugin-for-source-dedicated-server/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 18:17:48 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Counter-Strike]]></category>
		<category><![CDATA[Day of Defeat]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Mani Admin Plugin]]></category>
		<category><![CDATA[MetaMod]]></category>
		<category><![CDATA[MetaMod:Source]]></category>
		<category><![CDATA[Source]]></category>
		<category><![CDATA[Source Dedicated Server]]></category>
		<category><![CDATA[Team Fortress 2]]></category>

		<guid isPermaLink="false">http://n00tz.net/?p=5793</guid>
		<description><![CDATA[In setting up a dedicated source engine game server for Internet/LAN use, I was having problems getting the server to work with MetaMod:Source and the Mani Admin Plugin. It would hard-fault and close as soon as a round would begin. If you run into this same issue with a memory error and the following error in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://n00tz.net/files/source_engine2.png"><img class="alignleft size-medium wp-image-5830" title="source_engine" src="http://n00tz.net/files/source_engine2-300x91.png" alt="Source Engine" width="120" height="46" /></a>In setting up a dedicated source engine game server for Internet/LAN use, I was having problems getting the server to work with <a href="http://www.sourcemm.net/" target="_blank">MetaMod:Source</a> and the <a href="http://www.sourcemm.net/plugins" target="_blank">Mani Admin Plugin</a>. It would hard-fault and close as soon as a round would begin.</p>
<p>If you run into this same issue with a memory error and the following error in the server console window:</p>
<blockquote><p>workthreadpool.cpp (296) : Assertion Failed:CWorkThreadPool::StopWorkThreads: Some threads required forcible termination.</p></blockquote>
<p>The fix is to update your cfg/mani_admin_plugin/gametypes.txt with the <a href="http://www.mani-admin-plugin.com/joomla/index.php?option=com_content&amp;view=article&amp;id=90&amp;Itemid=73" target="_blank">one generated here</a> at the <a href="http://www.mani-admin-plugin.com/joomla/index.php" target="_blank">Mani Admin Plugin&#8217;s site</a>.</p>
<p>It took me a bit to find this fix, so hopefully the search engines were nice to you and directed you here.</p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2010/07/quick-post-mani-admin-plugin-for-source-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing VMWare Tools (ESXi vSphere 4) on Ubuntu Server Edition</title>
		<link>http://n00tz.net/2010/06/installing-vmware-tools-esxi-vsphere-4-on-ubuntu-server-edition/</link>
		<comments>http://n00tz.net/2010/06/installing-vmware-tools-esxi-vsphere-4-on-ubuntu-server-edition/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 23:30:32 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[binutils]]></category>
		<category><![CDATA[build-essential]]></category>
		<category><![CDATA[guest operating system]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Lucid Lynx]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[VMWare ESXi]]></category>
		<category><![CDATA[VMWare Tools]]></category>
		<category><![CDATA[vSphere]]></category>

		<guid isPermaLink="false">http://n00tz.net/?p=313</guid>
		<description><![CDATA[This post is for preservation, because just about the time I forget the steps is the time I need to reinstall VMWare Tools on an Ubuntu Guest on an ESXi Host. sudo -i apt-get update apt-get upgrade apt-get install build-essential binutils linux-headers-$(uname -r) mount /dev/scd0 /cdrom cp -a /cdrom/VMwareTools* /tmp/ cd /tmp/ tar -vxzf VMwareTools*.gz [...]]]></description>
			<content:encoded><![CDATA[<p>This post is for preservation, because just about the time I forget the steps is the time I need to reinstall VMWare Tools on an Ubuntu Guest on an ESXi Host.</p>
<ol>
<li>sudo -i</li>
<li>apt-get update</li>
<li>apt-get upgrade</li>
<li>apt-get install build-essential binutils linux-headers-$(uname -r)</li>
<li>mount /dev/scd0 /cdrom</li>
<li>cp -a /cdrom/VMwareTools* /tmp/</li>
<li>cd /tmp/</li>
<li>tar -vxzf VMwareTools*.gz</li>
<li>cd vmware-tools-distrib/</li>
<li>./vmware-install.pl</li>
</ol>
<p>CD-ROM mount point may vary. Accept all defaults for vmware-install perl script.</p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2010/06/installing-vmware-tools-esxi-vsphere-4-on-ubuntu-server-edition/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Quick Tip: Synergy on Windows 7</title>
		<link>http://n00tz.net/2010/01/quick-tip-synergy-on-windows-7/</link>
		<comments>http://n00tz.net/2010/01/quick-tip-synergy-on-windows-7/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 20:48:24 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Display Fusion]]></category>
		<category><![CDATA[dual monitor]]></category>
		<category><![CDATA[multi-monitor]]></category>
		<category><![CDATA[Synergy]]></category>
		<category><![CDATA[Synergy2]]></category>
		<category><![CDATA[UAC]]></category>
		<category><![CDATA[User Account Control]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://n00tz.net/2010/01/quick-tip-synergy-on-windows-7/</guid>
		<description><![CDATA[For those of you that aren’t familiar with Synergy, it is a very essential server/client tool for anyone using multiple computers at their desk. It eliminates the need to have multiple keyboards and mice on your desk, while virtually extending your desktop across Windows, Mac, and Linux environments. You still connect your monitors to the [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you that aren’t familiar with Synergy, it is a very essential server/client tool for anyone using multiple computers at their desk. It eliminates the need to have multiple keyboards and mice on your desk, while virtually extending your desktop across Windows, Mac, and Linux environments. You still connect your monitors to the varying computers. I’ve seen seamless <a href="http://www.flickr.com/photos/phragmunkee/2213200478/" target="_blank">Quad-monitor (Three different OSes: WinXP, WinVista with dual monitors, OSX)</a> setups using this program. </p>
<p>This post won’t outline how to use Synergy, but rather just how to take care of the little things that will keep it from being a good experience on Windows Vista/7. I’m writing the rest of this post for those that are already familiar with Synergy, and instructions are targeted at Windows 7 Professional users.</p>
<p>Anyways, I was running into problems with my Synergy client on my home-office setup. I have a laptop docked with a second monitor for my office computer (operating as the Synergy client), and then a single monitor rig in portrait-orientation for my home computer (operating as the Synergy server). I use <a href="http://www.binaryfortress.com/displayfusion/" target="_blank">Display Fusion</a>, which runs as an administrator-level service on my desktop, and I use the multi-monitor taskbar available on the paid version of the software. I was unable to use the Synerg-ized mouse to select a window on that Display Fusion taskbar, and considering that was my 24” monitor where a lot of my work takes place it would be a huge problem if the laptop didn’t have a keyboard. On top of that, every time the client computer would prompt for UAC approval for various things, I would lose the ability to use my G5 mouse and G15 keyboard on my office laptop. </p>
<p> <span id="more-310"></span>
<p>I knew you could auto-elevate privileges, but just hadn’t taken the time to do it. Let’s get that out of the way, as that’s the first thing I noticed in the problems I was having.</p>
<h5>Step 1. Open secpol.msc </h5>
<p><a href="http://n00tz.net/files/UAC1.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" title="UAC1" border="0" alt="UAC1" src="http://n00tz.net/files/UAC1_thumb.png" width="371" height="429" /></a></p>
<h5>Step 2. Set UAC Behavior for Administrators to ‘Elevate without prompting’</h5>
<p><a href="http://n00tz.net/files/UAC2.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" title="UAC2" border="0" alt="UAC2" src="http://n00tz.net/files/UAC2_thumb.png" width="375" height="194" /></a> </p>
</p>
<p>Next up is configuring Synergy to run as Administrator. I want to note that this was my initial guess as to why it wasn’t allowing me to Auto-start on computer start, however even after forcing it to run as Administrator and installing the Auto-start service, it still wasn’t working. I found out this is due to the way the System user interacts (or rather doesn’t) with the user’s desktop.</p>
<h5>Step 3. Run Synergy as Administrator.</h5>
<p><a href="http://n00tz.net/files/UACSynergyAdmin.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" title="UACSynergyAdmin" border="0" alt="UACSynergyAdmin" src="http://n00tz.net/files/UACSynergyAdmin_thumb.png" width="376" height="330" /></a> </p>
<p>Right click on the shortcut for Synergy, and click the Advanced… button. Check the “Run as administrator” box.</p>
<h5>Step 4. Auto-start Synergy on Log-in</h5>
<p><a href="http://n00tz.net/files/UACSynergyAdmin1.png"><img style="border-right-width: 0px;border-top-width: 0px;border-bottom-width: 0px;border-left-width: 0px" title="UACSynergyAdmin" border="0" alt="UACSynergyAdmin" src="http://n00tz.net/files/UACSynergyAdmin_thumb1.png" width="380" height="264" /></a> </p>
<h5>Step 5. Start Synergy!</h5>
<p>Follow these steps on both the server and client if they’re both Windows 7 machines, it’s just that simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2010/01/quick-tip-synergy-on-windows-7/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Un-Tethering your Windows Mobile Device</title>
		<link>http://n00tz.net/2009/06/untethering-winmo/</link>
		<comments>http://n00tz.net/2009/06/untethering-winmo/#comments</comments>
		<pubDate>Wed, 24 Jun 2009 03:19:05 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[3G router]]></category>
		<category><![CDATA[internet anywhere]]></category>
		<category><![CDATA[omnia]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[tethering]]></category>
		<category><![CDATA[WiFi Hotspot]]></category>
		<category><![CDATA[Windows Mobile 6.1]]></category>
		<category><![CDATA[WMWifiRouter]]></category>

		<guid isPermaLink="false">http://www.n00tz.net/?p=110</guid>
		<description><![CDATA[A couple months ago, my boss came to me and told me my work cell contract was eligible for a new phone upgrade. I did some research, and moving away from a hacked moto-Razr would only prove worthwhile if I were to pack in a few more features (like email, mobile internet, and maybe a [...]]]></description>
			<content:encoded><![CDATA[<p>A couple months ago, my boss came to me and told me my work cell contract was eligible for a new phone upgrade. I did some research, and moving away from a hacked moto-Razr would only prove worthwhile if I were to pack in a few more features (like email, mobile internet, and maybe a better camera). I first asked for a BlackBerry Pearl because I already had a BlackBerry World Edition 8830 and I didn&#8217;t need the extra bulk. When he vetoed my request to add an additional BlackBerry Data Plan to the already pretty hefty data plan the company had, I went back to the drawing board.</p>
<p>Things I knew I wanted:</p>
<ul>
<li>Exchange Support</li>
<li>WiFi and/or Mobile Internet that does not suck.</li>
<li>Decent Camera (the BB8830 doesn&#8217;t have a camera)</li>
</ul>
<p><span id="more-110"></span>The only decent mobiles out there that had Exchange Support for email were Windows Mobile 6.1 powered phones. I was also looking to not appear too greedy, so I tried to keep the budget for the new phone under $150. With our provider, the only real option at this point was the Samsung Omnia. I wasn&#8217;t upset with that, because it appeared to have fairly good user ratings. I received the phone and was pleased. It connected to Exchange without any trouble, it had an 802.11 radio, and a fantastic camera with more features stock than the iPhone.</p>
<p>Every few weeks I am the On-Call technician for the ISP/hosting company I work for. I&#8217;d like to be able to attach my cell phone to my laptop and be able to handle 95% of the work that I would typically be responsible for while on-call, which only requires a stable internet connection for RDP or SSH. I began to look for tethering options and came across <a href="http://us.wmwifirouter.com/consumer/" target="_blank">WMWifiRouter</a> in my searches. I was a bit skeptical because my wireless network has a reputation for disabling certain &#8220;features&#8221; that may allow the user to do more than they want to provide, but I gave it a go. Here were the necessary steps to make this work for my phone:</p>
<p><img class="alignright size-medium wp-image-112" src="http://www.n00tz.net/wp-content/blog.dir/2/files/wirelessnetwork-254x300.png" alt="wirelessnetwork" /></p>
<ol>
<li><a href="http://www.google.com/search?hl=en&amp;as_q=internet+connection+sharing+windows+mobile+6.1">Enable Internet Connection Sharing</a> on your windows mobile phone.</li>
<li>Restart the phone.</li>
<li>Install WMWifiRouter.</li>
<li>Restart the phone.</li>
<li>Run WMWifiRouter.</li>
<li>Connect to the wireless ad-hoc network it creates (see image) from your laptop or other wireless device.</li>
</ol>
<p>From there, you should be able to browse the internet, download files, run a speed test, and connect to your office VPN to scare the night technician by printing to the network printer.</p>
<p><img class="alignleft size-medium wp-image-111" src="http://www.n00tz.net/wp-content/blog.dir/2/files/speedtestnet-300x179.png" alt="speedtestnet" /></p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2009/06/untethering-winmo/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Setting up a Streaming Media Server on Ubuntu 8.04LTS (Hardy Heron)</title>
		<link>http://n00tz.net/2008/07/vlc-media-server-ubuntu-hardy/</link>
		<comments>http://n00tz.net/2008/07/vlc-media-server-ubuntu-hardy/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 18:59:05 +0000</pubDate>
		<dc:creator>n00tz</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[media server]]></category>
		<category><![CDATA[port forwarding]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[streaming]]></category>
		<category><![CDATA[ubuntu hardy]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vlc]]></category>

		<guid isPermaLink="false">http://www.n00tz.net/?p=17</guid>
		<description><![CDATA[I don&#8217;t fall asleep easily when I&#8217;m on-call so I decided I&#8217;d watch Dexter Season 2. I didn&#8217;t want to download 4.1GBs of xvid/avi&#8217;s from my parents house to my place because it&#8217;s entirely unnecessary to have the videos in two places. So, let me explain how I got a Streaming Media daemon working on [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.n00tz.net/wp-content/blog.dir/2/files/vlc-logo.jpg"><img class="alignleft size-medium wp-image-16" src="http://www.n00tz.net/wp-content/blog.dir/2/files/vlc-logo-300x300.jpg" alt="" width="155" height="144" /></a>I don&#8217;t fall asleep easily when I&#8217;m on-call so I decided I&#8217;d watch Dexter Season 2. I didn&#8217;t want to download 4.1GBs of xvid/avi&#8217;s from my parents house to my place because it&#8217;s entirely unnecessary to have the videos in two places. So, let me explain how I got a Streaming Media daemon working on my server.</p>
<p>I did some searching and there wasn&#8217;t anything super awesome out there that would keep me away from using the command line interface of VLC. So, the first step was to install vlc. I also use screen so I can log out of my SSH session and just use the web interface available on VLC, so I&#8217;ll include steps for using screen.</p>
<div class="codeheader">Code:</div>
<div class="code">
<pre style="margin-top: 0pt">sudo apt-get install vlc screen</pre>
</div>
<p>During or after installing vlc, you might as well set up the port forwarding on your router for access to the web interface. Log into your router and open up port 8080 to your server. If you are not trying to stream over the internet or don&#8217;t have a persistant dynamic or static IP address, you can skip this step. Check <a href="http://www.portforward.com/english/routers/port_forwarding/routerindex.htm" target="_blank">http://www.portforward.com/english/routers/port_forwarding/routerindex.htm</a> for information on how to port forward on your router.<span id="more-17"></span></p>
<p>The next step was to get into screen and start the media daemon.</p>
<div class="codeheader">Code:</div>
<div class="code">
<pre style="margin-top: 0pt">screen
 vlc -I http</pre>
</div>
<p>You can then press &#8216;CTRL&#8217;+'A&#8217; followed by pressing &#8216;D&#8217; to detach from your screen instance and log out of your server (this is the glory of screen). You can reconnect to screen later by entering &#8216;screen -r&#8217; at the shell of your server. I use screen for all of my console-based server daemons or anything I want to have run while disconnected from the SSH session I&#8217;m in (HLDS, SRCDS, VLC, &#8216;apt-get upgrade&#8217;, &#8216;tail -f&#8217;).</p>
<p style="text-align: center">Then browse to your server by going to <a href="http://your.server.ip:8080/" target="_blank">http://your.server.ip:8080/</a> . You should be greeted with an html representation of the VLC interface you may be familiar with on your computer. It will look something like this:</p>
<p style="text-align: center"><a href="http://n00tz.net/2008/07/vlc-media-server-ubuntu-hardy/vlc-http-interface/"><img class="aligncenter size-full wp-image-298" src="http://n00tz.net/files/vlc-http-interface1.png" alt="vlc-http-interface" width="321" height="87" /></a></p>
<p>At this point you can toggle the Stream Output by clicking on the icon that has three staggered arrows pointing to the right (on the default theme). From here you want to check the &#8216;UDP&#8217; box enter your external IP and a port (default is port 1234 on VLC UDP client) to use for streaming. This method makes it easiest for connecting the client side for streaming, which in most cases is ideal. If you&#8217;re going to set this up for less savvy users simplifying their end makes it easier on you as the admin, TRUST ME.</p>
<p>Next, open up UDP ports 1234 on the client router forwarding it to the viewing computer again this won&#8217;t be necessary over LAN and won&#8217;t be possible from a NAT&#8217;d server. Start VLC on the client computer and open Network Stream (CTRL+N) and click OK.</p>
<p>Back on the Web Interface, open the file and play it. If you don&#8217;t have any port forwarding or NAT issues, you&#8217;re done!</p>
<p>UNLESS-<br />
The first 2 episodes I have are not encoded with anything special, so I was able to stream them without adding any extra codecs to my server. However, episode 3 needed xvid codecs.</p>
<p>Here&#8217;s the steps to add the &#8220;non-free&#8221; w32codecs:</p>
<div class="codeheader">Code:</div>
<div class="code">
<pre style="margin-top: 0pt">sudo wget http://www.medibuntu.org/sources.list.d/hardy.list -O /etc/apt/sources.list.d/medibuntu.list</pre>
<pre style="margin-top: 0pt">sudo apt-get update &amp;&amp; sudo apt-get install medibuntu-keyring &amp;&amp; sudo apt-get update</pre>
<pre style="margin-top: 0pt">sudo apt-get install w32codecs</pre>
</div>
<p>Restart the vlc daemon and you&#8217;ll be able to play xvid (and I assume divx as well).</p>
]]></content:encoded>
			<wfw:commentRss>http://n00tz.net/2008/07/vlc-media-server-ubuntu-hardy/feed/</wfw:commentRss>
		<slash:comments>40</slash:comments>
		</item>
	</channel>
</rss>

