<?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/"
	>

<channel>
	<title>Cymen's Blog</title>
	<atom:link href="http://blog.cymen.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.cymen.org</link>
	<description></description>
	<pubDate>Mon, 22 Dec 2008 16:14:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Shooting Yourself in the Foot with Perl</title>
		<link>http://blog.cymen.org/2008/12/22/shooting-yourself-in-the-foot-with-perl/</link>
		<comments>http://blog.cymen.org/2008/12/22/shooting-yourself-in-the-foot-with-perl/#comments</comments>
		<pubDate>Mon, 22 Dec 2008 16:14:42 +0000</pubDate>
		<dc:creator>Cymen</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://blog.cymen.org/?p=36</guid>
		<description><![CDATA[Returning Multiple Values
$error, $hash = function_a( ... );
if ( $error ) { error(); }    // never runs
Correction:
($error, $hash) = function_a( ... );
if ( $error ) { error(); }    // runs on error
]]></description>
			<content:encoded><![CDATA[<p><strong>Returning Multiple Values</strong></p>
<pre>$error, $hash = function_a( ... );
if ( $error ) { error(); }    // never runs</pre>
<p>Correction:</p>
<pre>($error, $hash) = function_a( ... );
if ( $error ) { error(); }    // runs on error</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.cymen.org/2008/12/22/shooting-yourself-in-the-foot-with-perl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Abit Airpace and Windows Server 2008 64bit</title>
		<link>http://blog.cymen.org/2008/11/26/abit-airpace-and-windows-server-2008-64bit/</link>
		<comments>http://blog.cymen.org/2008/11/26/abit-airpace-and-windows-server-2008-64bit/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 06:49:36 +0000</pubDate>
		<dc:creator>Cymen</dc:creator>
		
		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[64bit]]></category>

		<category><![CDATA[abit airpace]]></category>

		<category><![CDATA[drivers]]></category>

		<category><![CDATA[server 2008]]></category>

		<category><![CDATA[vista]]></category>

		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.cymen.org/?p=30</guid>
		<description><![CDATA[To get the Abit Airpace wi-fi card to work with Windows Server 2008 64bit grab the generic Atheros drivers from with a file name similar to vista-7.6.0.126-whql.zip:
http://www.atheros.cz/
Then edit one of the two .inf files depending on:
32bit: netathr.inf
64bit: netathrx.inf
And add these two lines under [Atheros.NTX86] (or 64bit: [Atheros.NTamd64]):
; Abit Airpace
%ATHR.DeviceDesc.3067%              = ATHR_DEV_001C.ndi,        PCI\VEN_168C&#38;DEV=001C&#38;SUBSYS_1033147B
Now reinstall the driver [...]]]></description>
			<content:encoded><![CDATA[<p>To get the Abit Airpace wi-fi card to work with Windows Server 2008 64bit grab the generic Atheros drivers from with a file name similar to <strong>vista-7.6.0.126-whql.zip</strong>:</p>
<p><a href="http://www.atheros.cz/" target="_blank">http://www.atheros.cz/</a></p>
<p>Then edit one of the two .inf files depending on:</p>
<p>32bit: netathr.inf<br />
64bit: netathrx.inf</p>
<p>And add these two lines under [Atheros.NTX86] (or 64bit: [Atheros.NTamd64]):</p>
<p>; Abit Airpace<br />
%ATHR.DeviceDesc.3067%              = ATHR_DEV_001C.ndi,        PCI\VEN_168C&amp;DEV=001C&amp;SUBSYS_1033147B</p>
<p>Now reinstall the driver using the folder with the modified .inf file as the driver source. Note that these instructions will work for Windows Server 2008 32bit, Server 2008 64bit, Vista 32bit and Vista 64bit.</p>
<p><a href="http://blog.cymen.org/wp-content/uploads/2008/11/vista-760126-whql-airpace.zip">vista-760126-whql-airpace</a> (locally-hosted modified version to support Abit Airpace)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.cymen.org/2008/11/26/abit-airpace-and-windows-server-2008-64bit/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Power Usage: Q6600, P53G, 2 GB RAM, WD 640 GB SATA, Antec 430w&#8230;</title>
		<link>http://blog.cymen.org/2008/10/18/power-usage-q6600-p53g-2-gb-ram-wd-640-gb-sata-antec-430w/</link>
		<comments>http://blog.cymen.org/2008/10/18/power-usage-q6600-p53g-2-gb-ram-wd-640-gb-sata-antec-430w/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 00:22:25 +0000</pubDate>
		<dc:creator>Cymen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[power usage]]></category>

		<guid isPermaLink="false">http://blog.cymen.org/?p=24</guid>
		<description><![CDATA[Power usage:

Idle: 50 watts
Load: ?

System configuration:

CPU: Intel Q6600 (quad core, 2.4 Ghz, EIST enabled)
Motherboard: PC Chips P53G
Power Supply: Antec EarthWatts 430w
Hard Drive: Western Digital 640 GB SATA
RAM: 2 GB
OS: Debian Etch amd64 (2.6.25 for workable SATA driver)

]]></description>
			<content:encoded><![CDATA[<p>Power usage:</p>
<ul>
<li>Idle: 50 watts</li>
<li>Load: ?</li>
</ul>
<p>System configuration:</p>
<ul>
<li>CPU: Intel Q6600 (quad core, 2.4 Ghz, EIST enabled)</li>
<li>Motherboard: PC Chips P53G</li>
<li>Power Supply: Antec EarthWatts 430w</li>
<li>Hard Drive: Western Digital 640 GB SATA</li>
<li>RAM: 2 GB</li>
<li>OS: Debian Etch amd64 (2.6.25 for workable SATA driver)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.cymen.org/2008/10/18/power-usage-q6600-p53g-2-gb-ram-wd-640-gb-sata-antec-430w/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linux - Securely redirecting console to virtual terminal for logging</title>
		<link>http://blog.cymen.org/2008/10/16/linux-securely-redirecting-console-to-virtual-terminal-for-logging/</link>
		<comments>http://blog.cymen.org/2008/10/16/linux-securely-redirecting-console-to-virtual-terminal-for-logging/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 22:43:53 +0000</pubDate>
		<dc:creator>Cymen</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[console]]></category>

		<category><![CDATA[screen]]></category>

		<category><![CDATA[script]]></category>

		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://blog.cymen.org/?p=18</guid>
		<description><![CDATA[I want to be able to log a ssh session to a unused virtual terminal (/dev/ttyX) so that I can leave something running yet not allow any intrusion into the ssh session by unauthorized users at the keyboard. This is what I ended up doing:

Give user write access to /dev/tty devices.
Install screen and script.
Run screen [...]]]></description>
			<content:encoded><![CDATA[<p>I want to be able to log a ssh session to a unused virtual terminal (/dev/ttyX) so that I can leave something running yet not allow any intrusion into the ssh session by unauthorized users at the keyboard. This is what I ended up doing:</p>
<ol>
<li>Give user write access to /dev/tty devices.</li>
<li>Install screen and script.</li>
<li>Run screen with simple &#8220;screen&#8221;.</li>
<li>Run script with output to virtual terminal and flushing option: &#8220;script -f /dev/ttyX&#8221;.</li>
<li>Do regular ssh session and begin whatever it is you want to monitor.</li>
<li>Disconnect from screen&#8217;ed session (CTRL-a d).</li>
<li>Switch to virtual terminal script is dumping to.</li>
</ol>
<div>This works out quite well in practice &#8212; I&#8217;m not noticing any issues and it is fairly simple to accomplish. On my debian etch install, I had to add my user to the root group (or I could have given all users write access to /dev/tty devices).</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.cymen.org/2008/10/16/linux-securely-redirecting-console-to-virtual-terminal-for-logging/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
