<?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>core</title>
	<atom:link href="http://www.myfotoblast.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.myfotoblast.com/blog</link>
	<description></description>
	<lastBuildDate>Sat, 12 May 2012 08:02:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>gpg notes</title>
		<link>http://www.myfotoblast.com/blog/?p=124</link>
		<comments>http://www.myfotoblast.com/blog/?p=124#comments</comments>
		<pubDate>Tue, 08 May 2012 11:03:09 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Embedded system]]></category>

		<guid isPermaLink="false">http://www.myfotoblast.com/blog/?p=124</guid>
		<description><![CDATA[compress multiple files and encrypt using gpg tar -cv folder &#124; gpg -e -r recipientGpgKey -o output.tar.gpg to decompress the above file:(prepare recipientGpgKey passphrase ) gpg --output output.tar --decrypt output.tar.gpg you must specify &#8211;secret-keyring pathtokeyring if secret key is not &#8230; <a href="http://www.myfotoblast.com/blog/?p=124">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>compress multiple files and encrypt using gpg<br />
<code>tar -cv folder | gpg  -e -r recipientGpgKey -o output.tar.gpg</code></p>
<p>to decompress the above file:(prepare recipientGpgKey passphrase )<br />
<code>gpg --output  output.tar --decrypt  output.tar.gpg</code></p>
<p>you must specify &#8211;secret-keyring pathtokeyring if secret key is not available on the machine</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=124</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fwknopd with SPA, Part 2.</title>
		<link>http://www.myfotoblast.com/blog/?p=78</link>
		<comments>http://www.myfotoblast.com/blog/?p=78#comments</comments>
		<pubDate>Sat, 15 Oct 2011 10:41:28 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.myfotoblast.com/blog/?p=78</guid>
		<description><![CDATA[View both keys with gpg &#8211;list-keys $ gpg &#8211;list-keys pub 1024D/AAAAAAAA 2008-03-07 uid test fwknop sub 2048g/DDDDDDDD 2008-03-07 Export both keys from remote and local terminals. gpg -a --export AAAAAAAA > remote.asc gpg -a --export BBBBBBBB > local.asc where AAAAAAAA &#8230; <a href="http://www.myfotoblast.com/blog/?p=78">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>View both keys with gpg &#8211;list-keys</p>
<p>$ gpg &#8211;list-keys<br />
pub   1024D/AAAAAAAA 2008-03-07<br />
uid    test fwknop <username-test@example.com><br />
sub   2048g/DDDDDDDD 2008-03-07</p>
<p>Export both keys from remote and local terminals.</p>
<p><code>gpg -a --export AAAAAAAA > remote.asc</code><br />
<code>gpg -a --export BBBBBBBB > local.asc</code><br />
where AAAAAAAA is the remote key id and BBBBBBBB is the local key id. </p>
<p>securely transfer remote.asc to local terminal.<br />
securely transfer local.asc to remote terminal.</p>
<p>import and signed both keys, you will need to enter the correct passphrase when signing both keys.</p>
<p>on local terminal<br />
<code><br />
$ gpg --import remote.asc<br />
$ gpg --edit-key AAAAAAAA<br />
Command> sign<br />
Command> save<br />
</code></p>
<p>on remote terminal<br />
<code><br />
$ gpg --import local.asc<br />
$ gpg --edit-key BBBBBBBB<br />
Command> sign<br />
Command> save<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=78</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fwknopd with SPA Part.1</title>
		<link>http://www.myfotoblast.com/blog/?p=76</link>
		<comments>http://www.myfotoblast.com/blog/?p=76#comments</comments>
		<pubDate>Sat, 15 Oct 2011 10:29:57 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.myfotoblast.com/blog/?p=76</guid>
		<description><![CDATA[Generate gpg keys on both remote and local terminal : gpg --gen-key Please select what kind of key you want: Select (1) DSA and Elgamal (default) What keysize do you want? (2048) Choose default 2048(just press enter) Key is valid &#8230; <a href="http://www.myfotoblast.com/blog/?p=76">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Generate gpg keys on both remote and local terminal :</p>
<p><code>gpg --gen-key</code><br />
Please select what kind of key you want:<br />
Select (1) DSA and Elgamal (default)</p>
<p>What keysize do you want? (2048)<br />
Choose default 2048(just press enter)</p>
<p>Key is valid for? (0)<br />
press enter key does not expire</p>
<p>Is this correct? (y/N)<br />
press y</p>
<p>Real name:<br />
enter key name e.g: term-Gpg</p>
<p>Email address:<br />
enter email&#8230;</p>
<p>Comment:<br />
optional press enter if none</p>
<p>Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit?<br />
press O and enter</p>
<p>You need a Passphrase to protect your secret key.<br />
enter your ultra duper secure passpharse.</p>
<p>generate some activity on the terminal,move your mouse or search for a file. while it generates random<br />
bytes.</p>
<p>finally if all goes well&#8230; the ff will be shown.</p>
<p>public and secret key created and signed.</p>
<p>gpg: checking the trustdb<br />
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model<br />
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u<br />
pub   1024D/YYYYXXXX 2011-06-03<br />
      Key fingerprint = 1111 2222 3333 4444 5555  6666 7777 8888 9999 aaaa<br />
uid                  Term7-Gpg <jmfermo@bodegasite.com><br />
sub   2048g/XXXXYYY 2011-06-03</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=76</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>installing oflademo on red5</title>
		<link>http://www.myfotoblast.com/blog/?p=72</link>
		<comments>http://www.myfotoblast.com/blog/?p=72#comments</comments>
		<pubDate>Fri, 16 Sep 2011 08:54:04 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.myfotoblast.com/blog/?p=72</guid>
		<description><![CDATA[wget http://trac.red5.org/downloads/1_0/red5-1.0.0-RC1.tar.gz tar xvzf red5-1.0.0-RC1.tar.gz cd red5-1.0.0/webapps/ mkdir oflaDemo cd oflaDemo wget http://red5.googlecode.com/svn-history/r3990/snapshots/oflaDemo-r3989-java6.war unzip oflaDemo-r3989-java6.war cd ../.. ./red5.sh]]></description>
			<content:encoded><![CDATA[<p><code><br />
wget http://trac.red5.org/downloads/1_0/red5-1.0.0-RC1.tar.gz</p>
<p>tar xvzf red5-1.0.0-RC1.tar.gz</p>
<p>cd red5-1.0.0/webapps/<br />
mkdir oflaDemo<br />
cd oflaDemo<br />
wget http://red5.googlecode.com/svn-history/r3990/snapshots/oflaDemo-r3989-java6.war<br />
unzip oflaDemo-r3989-java6.war<br />
cd ../..<br />
./red5.sh</p>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=72</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel not loading usbserial on Huawei modems</title>
		<link>http://www.myfotoblast.com/blog/?p=69</link>
		<comments>http://www.myfotoblast.com/blog/?p=69#comments</comments>
		<pubDate>Wed, 14 Sep 2011 10:29:30 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.myfotoblast.com/blog/?p=69</guid>
		<description><![CDATA[remove pl2303 and usb_storage driver rmmod pl2303 rmmod usb_storage then reinsert huawei modem again]]></description>
			<content:encoded><![CDATA[<p>remove pl2303 and usb_storage driver<br />
<code>rmmod pl2303<br />
rmmod usb_storage<br />
</code><br />
then reinsert huawei modem again</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=69</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Common AT commands</title>
		<link>http://www.myfotoblast.com/blog/?p=67</link>
		<comments>http://www.myfotoblast.com/blog/?p=67#comments</comments>
		<pubDate>Mon, 12 Sep 2011 05:08:38 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.myfotoblast.com/blog/?p=67</guid>
		<description><![CDATA[Read all SMS in text mode: AT+CMGF=1 (set TEXT MODE) AT+CMGL=&#8221;ALL&#8221; Read single sms in text mode: AT+CMGF=1 (set TEXT MODE) AT+CMGR=1 (location index) Delete single sms: AT+CMGD=1 (location index) Sending SMS in text mode: AT+CMGF=1 (set TEXT MODE) AT+CMGS=&#8221;0912xxxyyyy&#8221; &#8230; <a href="http://www.myfotoblast.com/blog/?p=67">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Read all SMS in text mode:<br />
AT+CMGF=1 (set TEXT MODE)<br />
AT+CMGL=&#8221;ALL&#8221;</p>
<p>Read single sms in text mode:<br />
AT+CMGF=1 (set TEXT MODE)<br />
AT+CMGR=1 (location index)</p>
<p>Delete single sms:<br />
AT+CMGD=1 (location index)</p>
<p>Sending SMS in text mode:<br />
AT+CMGF=1 (set TEXT MODE)<br />
AT+CMGS=&#8221;0912xxxyyyy&#8221;<br />
> test message<br />
Press Ctrl+z<br />
Press Enter</p>
<p>Read Sim Number:<br />
AT+CPBS=&#8221;ON&#8221;<br />
AT+CPBR=1<br />
+CPBR: 1,&#8221;+63948xxxyyyy&#8221;,145,&#8221;"</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=67</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>setup apache to handle Eric Blue&#8217;s Document Browser 1.0</title>
		<link>http://www.myfotoblast.com/blog/?p=64</link>
		<comments>http://www.myfotoblast.com/blog/?p=64#comments</comments>
		<pubDate>Mon, 29 Aug 2011 08:39:54 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.myfotoblast.com/blog/?p=64</guid>
		<description><![CDATA[download doc_browser http://eric-blue.com/projects/docbrowser/doc_browser_1_0.zip extract contents to a directory named projects/docbrowser create the ff. doc.conf inside apache conf.d Alias /projects /var/www/projects Order allow,deny Allow from all Options +ExecCGI AddHandler cgi-script .cgi .pl ensure that list.cgi and convert.cgi have execute permission enabled. &#8230; <a href="http://www.myfotoblast.com/blog/?p=64">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>download doc_browser http://eric-blue.com/projects/docbrowser/doc_browser_1_0.zip</p>
<p>extract contents to a directory named projects/docbrowser</p>
<p>create the ff. doc.conf inside apache conf.d<br />
<code><br />
Alias /projects /var/www/projects</p>
<p><Location /projects><br />
    Order allow,deny<br />
    Allow from all<br />
</Location></p>
<p><Directory /var/www/projects><br />
Options +ExecCGI<br />
AddHandler cgi-script .cgi .pl<br />
</Directory><br />
</code></p>
<p>ensure that list.cgi and convert.cgi have execute permission enabled.</p>
<p>those script requires the ff. perl module<br />
perl-HTML-Entities-Numbered (centos 5.6 base repo)<br />
perl-Log-Log4perl (rpmforge)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=64</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Allow normal user to run smartd in pfsense 1.2.3</title>
		<link>http://www.myfotoblast.com/blog/?p=60</link>
		<comments>http://www.myfotoblast.com/blog/?p=60#comments</comments>
		<pubDate>Fri, 19 Aug 2011 10:10:52 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://core.palawanisland.info/blog/?p=60</guid>
		<description><![CDATA[chmod 4555 /usr/local/sbin/smartctl]]></description>
			<content:encoded><![CDATA[<p><code>chmod 4555 /usr/local/sbin/smartctl</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=60</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SMARTD on zabbix</title>
		<link>http://www.myfotoblast.com/blog/?p=46</link>
		<comments>http://www.myfotoblast.com/blog/?p=46#comments</comments>
		<pubDate>Sun, 12 Dec 2010 12:43:17 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://core.palawanisland.info/blog/?p=46</guid>
		<description><![CDATA[UserParameter=system.smartd[*],sudo smartctl -A $1&#124; grep $2&#124; tail -1&#124; cut -c 88-&#124;cut -f1 -d&#8217; &#8216; zabbix ALL=NOPASSWD: /usr/sbin/smartctl download template here]]></description>
			<content:encoded><![CDATA[<p>UserParameter=system.smartd[*],sudo smartctl -A $1| grep $2| tail -1| cut -c 88-|cut -f1 -d&#8217; &#8216;</p>
<p>zabbix ALL=NOPASSWD: /usr/sbin/smartctl</p>
<p>download template here<br />
<a href="http://www.zabbix.com/forum/showpost.php?p=50821&#038;postcount=3"></p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=46</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lm_sensors 3.20 w/ coretemp using CENTOS 5.5 on GA-G31M-E2SL w/ it8718 chip</title>
		<link>http://www.myfotoblast.com/blog/?p=44</link>
		<comments>http://www.myfotoblast.com/blog/?p=44#comments</comments>
		<pubDate>Sun, 12 Dec 2010 07:07:46 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://core.palawanisland.info/blog/?p=44</guid>
		<description><![CDATA[1. add elrepo to your repositories 2. yum &#8211;enablerepo=elrepo install kmod-coretemp # this will install lm_sensor 2.10.8 as its dependencies. 3. lsmod &#124; grep coretemp # coretemp should be loaded by now 4. download latest lm_sensors 3.20 source, compile and &#8230; <a href="http://www.myfotoblast.com/blog/?p=44">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>1. add elrepo to your repositories<br />
2. yum &#8211;enablerepo=elrepo install kmod-coretemp # this will install lm_sensor 2.10.8 as its dependencies.<br />
3. lsmod | grep coretemp # coretemp should be loaded by now<br />
4. download latest lm_sensors 3.20 source, compile and install<br />
5. edit /etc/init.d/lm_sensors entry<br />
  from : PSENSORS=/usr/bin/sensors<br />
  to: PSENSORS=/usr/local/bin/sensors<br />
8. chkconfig lm_sensors on<br />
9. done</p>
<p>modinfo it87<br />
modinfo coretemp</p>
<p>optional<br />
1. add the ff. to your zabbix_agent.conf<br />
UserParameter=sensors[*],/usr/local/bin/sensors | grep &#8220;$1&#8243; | head -$2 | tail -1 | awk &#8220;{print $&#8221;$3&#8243;}&#8221; | sed &#8216;s/[-!@#\$%^&#038;*()°+a-zA-Z]//g&#8217;<br />
2. add the ff to your sensors3.conf under the chip it87 entry<br />
label fan1 &#8220;CPU Fan&#8221;    </p>
]]></content:encoded>
			<wfw:commentRss>http://www.myfotoblast.com/blog/?feed=rss2&#038;p=44</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

