<?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>Thronic.com</title>
	<atom:link href="http://thronic.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://thronic.com</link>
	<description>Personal Computing and Development by Dag J. Nedrelid</description>
	<lastBuildDate>Wed, 28 Apr 2010 12:21:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google-like search suggestion tool</title>
		<link>http://thronic.com/2010/development/devlog/google-like-search-suggestion-tool/</link>
		<comments>http://thronic.com/2010/development/devlog/google-like-search-suggestion-tool/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 11:53:57 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Devlog]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=202</guid>
		<description><![CDATA[A search tool that resembles the way google shows suggestions when typing keywords. Basically a simple javascript application that I wrote from scratch to see if I could create something similar.

&#160;
ReviewSpindle
A gateway between articles and affiliate links.
Key features:
* It dynamically updates the suggestion list with bold character recognition.
* The suggestion list can be navigated using [...]]]></description>
			<content:encoded><![CDATA[<p>A search tool that resembles the way google shows suggestions when typing keywords. Basically a simple javascript application that I wrote from scratch to see if I could create something similar.<br />
<span id="more-202"></span>
<p>&nbsp;</p>
<p><a href="http://reviewspindle.com/" target="_blank">ReviewSpindle</a><br />
A gateway between articles and affiliate links.</p>
<p>Key features:<br />
* It dynamically updates the suggestion list with bold character recognition.<br />
* The suggestion list can be navigated using arrow keys and mouse.<br />
* When using arrow keys, movement takes over from mouse location.</p>
<p>The application JS code is easily available through viewing the source. The PHP used is just a 2-dimensional array with titles and urls. And a foreach-loop to check for form submits, along with populating the JS version of the array.</p>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2010/development/devlog/google-like-search-suggestion-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Bash Color</title>
		<link>http://thronic.com/2010/computing/linux-bash-color/</link>
		<comments>http://thronic.com/2010/computing/linux-bash-color/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 10:41:04 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=201</guid>
		<description><![CDATA[A note of my favorite linux bash color string, for future use.
&#160;
&#160;

Inserted into .bashrc
export PS1=&#8217;\[\033[02;36m\]\u@\h \[\033[01;39m\]\W \$ \[\033[00m\]&#8216;

]]></description>
			<content:encoded><![CDATA[<p><strong>A note of my favorite linux bash color string, for future use.</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span id="more-201"></span></p>
<p>Inserted into .bashrc</p>
<blockquote><p style="margin:0px">export PS1=&#8217;\[\033[02;36m\]\u@\h \[\033[01;39m\]\W \$ \[\033[00m\]&#8216;</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2010/computing/linux-bash-color/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resize a div layer with javascript</title>
		<link>http://thronic.com/2010/development/resize-a-div-layer-with-javascript/</link>
		<comments>http://thronic.com/2010/development/resize-a-div-layer-with-javascript/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:19:34 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=199</guid>
		<description><![CDATA[Formula and example included.
&#160;
&#160;

Pseudo formula:

// Acronyms used to save space.
New style.left = PCW+((E.X-PCX)-(MDX-PCX))
New style.top = PCH+((E.Y-PCY)-(MDY-PCY))
// PCW/PCH = Previous Container Width/Height.
// E.X/E.Y = Event X/Y.
// PCX/PCY = Previous Container Left/Top.
// MDX/MDY = Mouse Down X/Y (where you clicked).


With this formula you will resize the layer relative to where you clicked on it. An extended version [...]]]></description>
			<content:encoded><![CDATA[<p>Formula and example included.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span id="more-199"></span></p>
<p>Pseudo formula:</p>
<blockquote><p style="margin:0px">
// Acronyms used to save space.<br />
New style.left = PCW+((E.X-PCX)-(MDX-PCX))<br />
New style.top = PCH+((E.Y-PCY)-(MDY-PCY))</p>
<p>// PCW/PCH = Previous Container Width/Height.<br />
// E.X/E.Y = Event X/Y.<br />
// PCX/PCY = Previous Container Left/Top.<br />
// MDX/MDY = Mouse Down X/Y (where you clicked).
</p>
</blockquote>
<p>With this formula you will resize the layer relative to where you clicked on it. An extended version of the movement formula. In effect it will take the existing width/height and add the amount of pixel movement as a positive or negative number.</p>
<p><a href="http://thronic.com/pubfiles/divresize.html" target="_blank">My example</a>, just view the source to see my code.</p>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2010/development/resize-a-div-layer-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving a div layer with javascript</title>
		<link>http://thronic.com/2010/development/moving-a-div-layer-with-javascript/</link>
		<comments>http://thronic.com/2010/development/moving-a-div-layer-with-javascript/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 14:11:14 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=198</guid>
		<description><![CDATA[Formula and example included.
&#160;
&#160;

Pseudo formula:

New style.left = MovingMouseX-(PushedMouseX-PreviousStyleLeft)
New style.top = MovingMouseY-(PushedMouseY-PreviousStyleTop)


With this formula you will move the layer relative to where you clicked on it.
My example, just view the source to see my code.
]]></description>
			<content:encoded><![CDATA[<p>Formula and example included.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span id="more-198"></span></p>
<p>Pseudo formula:</p>
<blockquote><p style="margin:0px">
New style.left = MovingMouseX-(PushedMouseX-PreviousStyleLeft)<br />
New style.top = MovingMouseY-(PushedMouseY-PreviousStyleTop)
</p>
</blockquote>
<p>With this formula you will move the layer relative to where you clicked on it.</p>
<p><a href="http://thronic.com/pubfiles/divmove.html" target="_blank">My example</a>, just view the source to see my code.</p>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2010/development/moving-a-div-layer-with-javascript/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Web Galaxy &#187; A sci-fi browser game</title>
		<link>http://thronic.com/2010/development/devlog/web-galaxy-a-sci-fi-browser-game/</link>
		<comments>http://thronic.com/2010/development/devlog/web-galaxy-a-sci-fi-browser-game/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 17:06:29 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[Devlog]]></category>
		<category><![CDATA[Gaming]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=189</guid>
		<description><![CDATA[Web Galaxy is a simple multiplayer browser game. It was made spontaneously without any specific game design in mind, I pretty much winged the whole thing as I went along based on awesome randomness. All codes and algorithms is original work. I borrowed graphics from the web and processed most of it through photoshop to [...]]]></description>
			<content:encoded><![CDATA[<p>Web Galaxy is a simple multiplayer browser game. It was made spontaneously without any specific game design in mind, I pretty much winged the whole thing as I went along based on awesome randomness. All codes and algorithms is original work. I borrowed graphics from the web and processed most of it through photoshop to get what I needed.</p>
<p><span id="more-189"></span></p>
<p>Web Galaxy currently has 10 solar systems with 30 asteroids in every system by default. Web browsers may lag when running more than 30-50 asteroids in the solar system view through the asteroid movement engine, I want to avoid that. If I were to add support for more player activity I would probably want to build more solar systems instead.</p>
<p><strong>Technical</strong><br />
Mainly Javascript functionality. DHTML for effects, AJAX for real-time database updates, PHP and MySQL for back-end. The whole project consists of 15 images and 6 web files, 903KiB in total size. Game is wrapped in a very simple and basic user login system, just enough to keep players separated. The game should work without cookies as well.</p>
<p>I started making the game Feb. 9, 2010. Game was considered completed enough for testing on the Feb. 15, 2010. And that is where it is right now until I decide to put more work into it. The next step would be to create a messaging and/or chat system between players.</p>
<p><strong>Gameplay illustrations:</strong><br />

<a href='http://thronic.com/2010/development/devlog/web-galaxy-a-sci-fi-browser-game/attachment/wgg1/' title='Establish your home base.'><img width="150" height="150" src="http://thronic.com/wp-content/uploads/2010/02/WGG1-150x150.jpg" class="attachment-thumbnail" alt="Step1: Build your command center, ship factory and ship tech center. Build a spaceship and upgrade it with a laser weapon. Upgrade your command center with mineral operations to earn more minerals. You can do this on every asteroid you claim." title="Establish your home base." /></a>
<a href='http://thronic.com/2010/development/devlog/web-galaxy-a-sci-fi-browser-game/attachment/wgg2/' title='Travel the galaxy.'><img width="150" height="150" src="http://thronic.com/wp-content/uploads/2010/02/WGG2-150x150.jpg" class="attachment-thumbnail" alt="Step2: Once you have built a spaceship, you can travel the web galaxy to increase your empire and build more Mineral Operations. Mineral Operations will increase your economy." title="Travel the galaxy." /></a>
<a href='http://thronic.com/2010/development/devlog/web-galaxy-a-sci-fi-browser-game/attachment/wgg3/' title='Travel to solar systems in search for other asteroids.'><img width="150" height="150" src="http://thronic.com/wp-content/uploads/2010/02/WGG3-150x150.jpg" class="attachment-thumbnail" alt="Step3: Travel to solar systems in search for other asteroids." title="Travel to solar systems in search for other asteroids." /></a>
<a href='http://thronic.com/2010/development/devlog/web-galaxy-a-sci-fi-browser-game/attachment/wgg4/' title='Attack other players with your spaceship.'><img width="150" height="150" src="http://thronic.com/wp-content/uploads/2010/02/WGG4-150x150.jpg" class="attachment-thumbnail" alt="Step4: If you attack another player&#039;s home base, they will be struck hard, loose their spaceship and will either have to use a nuclear defense or wait for help from other players." title="Attack other players with your spaceship." /></a>
<a href='http://thronic.com/2010/development/devlog/web-galaxy-a-sci-fi-browser-game/attachment/wgg5/' title='Structure struck by laser weapon.'><img width="150" height="150" src="http://thronic.com/wp-content/uploads/2010/02/WGG5-150x150.jpg" class="attachment-thumbnail" alt="The spaceship laser weapon is a powerful thing, but it also cost you 500 minerals every time you fire it, so consider your targets!" title="Structure struck by laser weapon." /></a>
<a href='http://thronic.com/2010/development/devlog/web-galaxy-a-sci-fi-browser-game/attachment/wgg6/' title='Expand your empire for survival and glory.'><img width="150" height="150" src="http://thronic.com/wp-content/uploads/2010/02/WGG6-150x150.jpg" class="attachment-thumbnail" alt="Step5: After wiping another player from an asteroid surface, you can claim the asteroid for yourself. More mineral operations means more minerals! And more survival as you will generate a lot of minerals, and be able to use more nuclear defenses." title="Expand your empire for survival and glory." /></a>
</p>
<p>You can try out the game yourself <a href="http://webgalaxygame.thronic.com/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2010/development/devlog/web-galaxy-a-sci-fi-browser-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 on Asus Eee 900 PC</title>
		<link>http://thronic.com/2010/computing/windows-7-on-asus-eee-900-pc/</link>
		<comments>http://thronic.com/2010/computing/windows-7-on-asus-eee-900-pc/#comments</comments>
		<pubDate>Mon, 08 Feb 2010 02:19:04 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=187</guid>
		<description><![CDATA[I got bored and had to try it&#8230;
&#160;
&#160;

How did I install it?
Not hard at all. Create a bootable USB, copy the files over and BAM boot it up. I used a 4gb flash drive (Windows 7 Ultimate).
Did it work?
Oh yes. The OS runs smoother than full XP Pro SP3 (non 4gb ssd, it&#8217;s the 16gb [...]]]></description>
			<content:encoded><![CDATA[<p>I got bored and had to try it&#8230;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span id="more-187"></span></p>
<p><strong>How did I install it?</strong><br />
Not hard at all. <a href="http://thronic.com/2008/computing/creating-a-bootable-usb/" target="_blank">Create a bootable USB</a>, copy the files over and BAM boot it up. I used a 4gb flash drive (Windows 7 Ultimate).</p>
<p><strong>Did it work?</strong><br />
Oh yes. The OS runs smoother than full XP Pro SP3 (non 4gb ssd, it&#8217;s the 16gb linux pc), more fluid and less SSD lag during normal use. Sure it slows down during write/read intended operations like updating and saving/copying files but that&#8217;s expected. I would even say it even feels smoother than Win2000&#8230;</p>
<p>It boots fast enough and runs rather comfortable once up. I have not tweaked it in any way. IE8 is a hog to run and was annoyingly buggy at the asus website, but firefox runs smooth and was much more functional.</p>
<p><strong>Drivers</strong><br />
Right after the main windows setup I ran windows update, it takes care of the video, ethernet and wireless drivers iirc. I then downloaded the latest BIOS, Asus Update Utility and ACPI- and Chipset drivers. I ran all of it in XP SP3 compability mode and as administrator, just to be sure.</p>
<p><strong>So far, so good</strong><br />
After install I have about 7 GiB left and most things seem to work. I have not tested the camera, but the device manager shows no errors after the chipset and acpi driver setup. Sound worked out of the box. Suspend works, have not tested hibernation, gonna test it. Eth and wifi works. Hotkeys works, all of them &#8211; with proper OSD messages.</p>
<p>Tomorrow I&#8217;ll test hibernation and a 16gb SDHC card to install applications on or just use as storage space. </p>
<p><strong>Update</strong><br />
Hibernation works, and the 16gb SDHC card is surprisingly quick and functional. I had a small glitch where the battery gave me some misguided information to begin with, but seems fine now.</p>
<p>I&#8217;m happy with the result and I&#8217;m going to keep the system on the eee 900 for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2010/computing/windows-7-on-asus-eee-900-pc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE and PHP sessions</title>
		<link>http://thronic.com/2010/development/ie-and-php-sessions/</link>
		<comments>http://thronic.com/2010/development/ie-and-php-sessions/#comments</comments>
		<pubDate>Tue, 12 Jan 2010 12:46:35 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=180</guid>
		<description><![CDATA[I ran into a strange encounter after testing out a session based login system through an IE browser. I had been working mostly with it in other browsers, mainly Firefox where it was working fine.

IE would not recognize the session at all. IE did not block the cookies either, and I tested the SID constant [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into a strange encounter after testing out a session based login system through an IE browser. I had been working mostly with it in other browsers, mainly Firefox where it was working fine.</p>
<p><span id="more-180"></span></p>
<p>IE would not recognize the session at all. IE did not block the cookies either, and I tested the SID constant thoroughly, it was not getting populated either.</p>
<p><strong>The problem</strong><br />
In the same browser application I had open &#8211; just in another tab &#8211; I was logged into a HTTP AUTH session on another site, though under the same domain.</p>
<p>Of some reason IE seems to mix up the processes when opening up different tabs or windows through the same opened application. This way it doesn&#8217;t seem to properly keep track of which sessions belong to which processes.</p>
<p><strong>The solution</strong><br />
Exit the IE application and start a new one. If I open up my session based website in the first tab, it works. It also works fine after opening the HTTP AUTH website in a second tab. But I don&#8217;t know how stable this is.</p>
<p>Just another IE annoyance&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2010/development/ie-and-php-sessions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Wordpress 2.8.6 Spell Check Languages</title>
		<link>http://thronic.com/2009/development/webdev/wordpress-2-8-6-spell-check-languages/</link>
		<comments>http://thronic.com/2009/development/webdev/wordpress-2-8-6-spell-check-languages/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 16:33:54 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[WebDev]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=177</guid>
		<description><![CDATA[When trying to add norwegian as the default language for one of my wordpress sites, I had problems finding documentation for where the language list actually is located. Tracking it down myself become a long task as well. Here is how you can edit the languages for your wordpress system.

The most logical place to look, [...]]]></description>
			<content:encoded><![CDATA[<p>When trying to add norwegian as the default language for one of my wordpress sites, I had problems finding documentation for where the language list actually is located. Tracking it down myself become a long task as well. Here is how you can edit the languages for your wordpress system.</p>
<p><span id="more-177"></span></p>
<p>The most logical place to look, is in:<br />
<code>wp-includes/js/tinymce/plugins/spellchecker/editor_plugin.js</code></p>
<p>Changes made there however doesn&#8217;t reflect in the administration editor. You also need to make changes in:<br />
<code>/wp-admin/includes/post.php</code></p>
<p>By default, spell checker uses the google gmail engine. This does not support the norwegian language in my case. So I changed over to the pspell engine. This is what I did to make that work for me:</p>
<blockquote><p><code>(on the server, a debian box)<br />
// Check first if you already have your language available.<br />
#aspell dicts<br />
<em>-bash: aspell: command not found</em></p>
<p>// I did not, so I had to install it and make PHP support it as well.<br />
#apt-get install aspell-no php5-pspell</p>
<p>// Reload the apache web server to reflect PHP update.<br />
#/etc/init.d/apache2 reload</p>
<p>// Verify installation<br />
#aspell dicts<br />
<em>nb<br />
nn<br />
no</em></p>
<p>... Looks good.</code></p></blockquote>
<p>Next you change the engine in this file:<br />
/wp-includes/js/tinymce/plugins/spellchecker/config.php</p>
<p>from: $config['general.engine'] = &#8216;GoogleSpell&#8217;;<br />
to:	$config['general.engine'] = &#8216;PSpell&#8217;;</p>
<p>That&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2009/development/webdev/wordpress-2-8-6-spell-check-languages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reset MySQL Root Password</title>
		<link>http://thronic.com/2009/development/sql/reset-mysql-root-password/</link>
		<comments>http://thronic.com/2009/development/sql/reset-mysql-root-password/#comments</comments>
		<pubDate>Mon, 30 Nov 2009 13:11:46 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=175</guid>
		<description><![CDATA[If you have mysql- or root user shell access to the linux host where your mysql is running, you can reset the password like this:

(Debian based example).
First, stop the daemon:
#/etc/init.d/mysqld stop

Second, start mysql without privileges:
#mysqld --skip-grant-tables &#38;

Third, connect to the daemon and make changes:
#mysql
#UPDATE mysql.user SET Password=PASSWORD('NewPassword') WHERE User='root';
#FLUSH PRIVILEGES;
#quit

Now stop the daemon and start [...]]]></description>
			<content:encoded><![CDATA[<p>If you have mysql- or root user shell access to the linux host where your mysql is running, you can reset the password like this:</p>
<p><span id="more-175"></span></p>
<p>(Debian based example).</p>
<p>First, stop the daemon:</p>
<blockquote><p style="margin:0px"><code>#/etc/init.d/mysqld stop</code></p>
</blockquote>
<p>Second, start mysql without privileges:</p>
<blockquote><p style="margin:0px"><code>#mysqld --skip-grant-tables &amp;</code></p>
</blockquote>
<p>Third, connect to the daemon and make changes:</p>
<blockquote><p style="margin:0px"><code>#mysql<br />
#UPDATE mysql.user SET Password=PASSWORD('NewPassword') WHERE User='root';<br />
#FLUSH PRIVILEGES;<br />
#quit</code></p>
</blockquote>
<p>Now stop the daemon and start it normally:</p>
<blockquote><p style="margin:0px"><code>#/etc/init.d/mysql stop<br />
#/etc/init.d/mysql start</code></p>
</blockquote>
<p>It might be sufficient with a simple restart, but I like it the explicit way to be sure.</p>
<p>For more information on this subject, visit the official MySQL reference:<br />
<a href="http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix" target="_blank">http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix</a></p>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2009/development/sql/reset-mysql-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux hosts file</title>
		<link>http://thronic.com/2009/computing/linux-hosts-file/</link>
		<comments>http://thronic.com/2009/computing/linux-hosts-file/#comments</comments>
		<pubDate>Sat, 10 Oct 2009 21:57:47 +0000</pubDate>
		<dc:creator>Dag Jonny Nedrelid</dc:creator>
				<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://thronic.com/?p=170</guid>
		<description><![CDATA[Just a quick reminder to self for later &#8211; I had almost forgotten &#8211; on how to set up the hosts file. It&#8217;s important for having a fully qualified hostname for many linux network services to work.
&#160;


127.0.0.1       localhost.localdomain   localhost       the_hostname
x.x.x.x  [...]]]></description>
			<content:encoded><![CDATA[<p>Just a quick reminder to self for later &#8211; I had almost forgotten &#8211; on how to set up the hosts file. It&#8217;s important for having a fully qualified hostname for many linux network services to work.
<p>&nbsp;</p>
<p><span id="more-170"></span></p>
<blockquote><p><code>
<pre>127.0.0.1       localhost.localdomain   localhost       the_hostname
x.x.x.x    subdomain.realdomain.net   the_hostname
</pre>
<p></code></p></blockquote>
<p>The rest of the file might look like this:</p>
<blockquote><p><code>
<pre>
# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
</pre>
<p></code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://thronic.com/2009/computing/linux-hosts-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
