<?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>Fri, 23 Jul 2010 20:50:32 +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>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>0</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>3</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>6</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>29</slash:comments>
		</item>
	</channel>
</rss>
