<?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>YiBi&#039;s Life&#124;Live Log &#187; linux Archives  &#8211; YiBi&#8217;s Numb Log</title>
	<atom:link href="http://blog.yibi.org/tag/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.yibi.org</link>
	<description>Blogging about what I like to do</description>
	<lastBuildDate>Wed, 04 Jan 2012 16:36:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Aptitude Easter Egg</title>
		<link>http://blog.yibi.org/2011/11/10/aptitude-easter-egg</link>
		<comments>http://blog.yibi.org/2011/11/10/aptitude-easter-egg#comments</comments>
		<pubDate>Thu, 10 Nov 2011 00:04:09 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[Geek Toys]]></category>
		<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[aptitude]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[easter egg]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=1230</guid>
		<description><![CDATA[This Easter Egg has been around for a while, but I just discovered it from Wikipedia. Really geeky. :) Related<a href="http://blog.yibi.org/2011/11/10/aptitude-easter-egg" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse' rel='bookmark' title='IPhone Tethering &#8211; Use and Abuse!'>IPhone Tethering &#8211; Use and Abuse!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>This Easter Egg has been around for a while, but I just discovered it from Wikipedia. Really geeky. :)</p>
<p><img style="display: block; margin-left: auto; margin-right: auto;" title="debian-easter-egg.png" src="http://blog.yibi.org/wp-content/uploads/2011/11/debian-easter-egg.png" border="0" alt="Debian Aptitude Easter Egg" width="480" height="281" /></p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2010/01/29/iphone-tethering-use-and-abuse' rel='bookmark' title='IPhone Tethering &#8211; Use and Abuse!'>IPhone Tethering &#8211; Use and Abuse!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/11/10/aptitude-easter-egg/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Official PPS Client For Linux Is Available</title>
		<link>http://blog.yibi.org/2011/09/03/official-pps-client-for-linux-is-available</link>
		<comments>http://blog.yibi.org/2011/09/03/official-pps-client-for-linux-is-available#comments</comments>
		<pubDate>Sat, 03 Sep 2011 09:53:52 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[The Fun Stuff]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[p2p]]></category>
		<category><![CDATA[pps client for linux]]></category>
		<category><![CDATA[pps.tv]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=1100</guid>
		<description><![CDATA[It&#8217;s really strange why nothing shows up when I googled for &#8220;pps client for linux&#8221;. I discover the official client<a href="http://blog.yibi.org/2011/09/03/official-pps-client-for-linux-is-available" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2011/09/14/more-about-p2p-tv-on-mac-os-x' rel='bookmark' title='More About P2P TV On Mac OS X'>More About P2P TV On Mac OS X</a></li>
<li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
<li><a href='http://blog.yibi.org/2009/03/26/upgrading-to-ubuntu-904' rel='bookmark' title='Upgrading to Ubuntu 9.04'>Upgrading to Ubuntu 9.04</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s really strange why nothing shows up when I googled for &#8220;pps client for linux&#8221;.</p>
<p>I discover the official client only when I went to <a href="http://pps.tv">http://pps.tv</a>.</p>
<p>Anyway these are the links for <a href="http://download.ppstream.com/linux/PPStream.rpm">Fedora</a> and <a href="http://download.ppstream.com/linux/PPStream.deb">Ubuntu</a>.</p>
<p>I guess the Ubuntu version should work for Debian but I haven&#8217;t tried them packages myself.</p>
<p>Now the missing piece is an official client for Mac. Meanwhile, I&#8217;m enjoying it on my iPad. :)</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2011/09/14/more-about-p2p-tv-on-mac-os-x' rel='bookmark' title='More About P2P TV On Mac OS X'>More About P2P TV On Mac OS X</a></li>
<li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
<li><a href='http://blog.yibi.org/2009/03/26/upgrading-to-ubuntu-904' rel='bookmark' title='Upgrading to Ubuntu 9.04'>Upgrading to Ubuntu 9.04</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/09/03/official-pps-client-for-linux-is-available/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux HA &#8211; Heartbeat, Corosync, Pacemaker?</title>
		<link>http://blog.yibi.org/2011/08/25/linux-ha-heartbeat-corosync-pacemaker</link>
		<comments>http://blog.yibi.org/2011/08/25/linux-ha-heartbeat-corosync-pacemaker#comments</comments>
		<pubDate>Thu, 25 Aug 2011 14:34:35 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[corosync]]></category>
		<category><![CDATA[drbd]]></category>
		<category><![CDATA[drbd management console]]></category>
		<category><![CDATA[heartbeat]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux ha]]></category>
		<category><![CDATA[pacemaker]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=1062</guid>
		<description><![CDATA[Came across some interesting and useful stuff when doing HA on my Linux boxes. I thought I share it here.<a href="http://blog.yibi.org/2011/08/25/linux-ha-heartbeat-corosync-pacemaker" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux' rel='bookmark' title='Installing FreeNX On Red Hat Enterprise Linux'>Installing FreeNX On Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2009/04/04/why-run-linux-on-mac' rel='bookmark' title='Why run Linux on Mac?'>Why run Linux on Mac?</a></li>
<li><a href='http://blog.yibi.org/2010/09/25/puppet-certificate-verify-failed' rel='bookmark' title='Puppet &#8211; Certificate Verify Failed'>Puppet &#8211; Certificate Verify Failed</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Came across some interesting and useful stuff when doing HA on my Linux boxes. I thought I share it here.</p>
<p><strong>Heartbeat, Corosync, Pacemaker?</strong></p>
<p>This article talks about the functions of the various functions of the different components, namely Heartbeat, Corosync and Pacemaker. This should clear the doubt for beginners on the functions of the various components in a Linux HA setup.</p>
<p><a href="http://theclusterguy.clusterlabs.org/post/1262495133/pacemaker-heartbeat-corosync-wtf">http://theclusterguy.clusterlabs.org/post/1262495133/pacemaker-heartbeat-corosync-wtf</a></p>
<p>A tool that I discovered from LinBits, i.e. the folks behind DRBD.</p>
<p style="font-size: 13px;"><strong>DRBD Management Console</strong></p>
<p><a href="http://www.drbd.org/download/drbd-mc/">http://www.drbd.org/download/drbd-mc/</a></p>
<p>This DRBD management console is named wrongly. It should be called the Linux System Management Console. With this GUI, you can:</p>
<p>1. Manage your disks. This includes creating/deleting/resizing the volume group/logical volume, the underlying DRBD resource, the filesystem, all in one action.</p>
<p>2. Manage Virtual Machines. KVM is supported.</p>
<p>3. Setting up and managing HA clusters from scratch. No struggling with the &#8220;crm configure&#8221; mumbo-jumbo.</p>
<p>This significantly lowers the bar for people who wants to try out clustering, DRBD etc.</p>
<p>I&#8217;m building a HA cluster running a couple of services right now. After which i will share the details of my setup with everyone here.</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux' rel='bookmark' title='Installing FreeNX On Red Hat Enterprise Linux'>Installing FreeNX On Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2009/04/04/why-run-linux-on-mac' rel='bookmark' title='Why run Linux on Mac?'>Why run Linux on Mac?</a></li>
<li><a href='http://blog.yibi.org/2010/09/25/puppet-certificate-verify-failed' rel='bookmark' title='Puppet &#8211; Certificate Verify Failed'>Puppet &#8211; Certificate Verify Failed</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/08/25/linux-ha-heartbeat-corosync-pacemaker/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sniffing Traffic From A Remote Machine With Wireshark</title>
		<link>http://blog.yibi.org/2011/08/18/sniffing-traffic-from-a-remote-machine-with-wireshark</link>
		<comments>http://blog.yibi.org/2011/08/18/sniffing-traffic-from-a-remote-machine-with-wireshark#comments</comments>
		<pubDate>Thu, 18 Aug 2011 02:21:28 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[5 Minute Guides]]></category>
		<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network sniffing]]></category>
		<category><![CDATA[network traffic]]></category>
		<category><![CDATA[network utilization]]></category>
		<category><![CDATA[tcpdump]]></category>
		<category><![CDATA[tcpdump command]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=1046</guid>
		<description><![CDATA[It can be a pain sometimes to try to read tcpdump results on the fly when you only have SSH<a href="http://blog.yibi.org/2011/08/18/sniffing-traffic-from-a-remote-machine-with-wireshark" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2011/05/24/hunting-down-the-rogue-process' rel='bookmark' title='Hunting Down The Rogue Process'>Hunting Down The Rogue Process</a></li>
<li><a href='http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux' rel='bookmark' title='Installing FreeNX On Red Hat Enterprise Linux'>Installing FreeNX On Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2011/08/07/opensource-home-surveillance-with-zoneminder' rel='bookmark' title='OpenSource Home Surveillance With ZoneMinder'>OpenSource Home Surveillance With ZoneMinder</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>It can be a pain sometimes to try to read tcpdump results on the fly when you only have SSH access. The usual way is to write the capture into a file and have Wireshark read and analyse the file subsequently.</p>
<p>There&#8217;s another way to have <strong>Wireshark read tcpdump output on the fly though by sending the dump to a named pipe and sending it via ssh to your local machine</strong> with Wireshark for real-time analysis. <strong>But be warned that this might take up significant bandwidth</strong> if the machine are sniffing has high network utilization. This is the command for sniffing all the remote network traffic on eth0.</p>
<blockquote><p>ssh root@tcpdump -i eth0 -s 1500 -w &#8211;  | wireshark -k -i -</p></blockquote>
<p>You can apply additional filters on the tcpdump command to reduce the data sent over the network. There are other ways to do this but I think this is the simplest most straightforward way to get work done.</p>
<p style="text-align: center;"><a href="http://lh4.ggpht.com/-MAK2A214KXU/TkxyWdMmrYI/AAAAAAAAAVY/XgEQAv2aA_Y/remote-wireshark.jpg?imgmax=640" rel="lightbox[2011-7-4-10-5-6]"><img class="pie-img aligncenter" style="margin-top: 10px; margin-bottom: 10px;" src="http://lh4.ggpht.com/-MAK2A214KXU/TkxyWdMmrYI/AAAAAAAAAVY/XgEQAv2aA_Y/remote-wireshark.jpg?imgmax=320" alt="remote-wireshark.png" width="320" height="256" /></a></p>
<p>&nbsp;</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2011/05/24/hunting-down-the-rogue-process' rel='bookmark' title='Hunting Down The Rogue Process'>Hunting Down The Rogue Process</a></li>
<li><a href='http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux' rel='bookmark' title='Installing FreeNX On Red Hat Enterprise Linux'>Installing FreeNX On Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2011/08/07/opensource-home-surveillance-with-zoneminder' rel='bookmark' title='OpenSource Home Surveillance With ZoneMinder'>OpenSource Home Surveillance With ZoneMinder</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/08/18/sniffing-traffic-from-a-remote-machine-with-wireshark/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing FreeNX On Red Hat Enterprise Linux</title>
		<link>http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux</link>
		<comments>http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux#comments</comments>
		<pubDate>Wed, 10 Aug 2011 05:26:28 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[freenx]]></category>
		<category><![CDATA[freenx setup]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux remote access]]></category>
		<category><![CDATA[linux thin client]]></category>
		<category><![CDATA[nx]]></category>
		<category><![CDATA[rebuilding rpm]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[RHEL]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=1010</guid>
		<description><![CDATA[What is NX? NoMachine NX is an enterprise-class solution for secure remote access, desktop virtualization, and hosted desktop deployment built<a href="http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2011/07/19/installing-openvas-on-red-hat-enterprise-linux-6' rel='bookmark' title='Installing OpenVAS On Red Hat Enterprise Linux 6'>Installing OpenVAS On Red Hat Enterprise Linux 6</a></li>
<li><a href='http://blog.yibi.org/2010/12/21/ldap-authentication-for-ssh-in-red-hat-enterprise-linux' rel='bookmark' title='LDAP Authentication for SSH in Red Hat Enterprise Linux'>LDAP Authentication for SSH in Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2011/06/29/ldap-authentication-red-hat-enterprise-linux-6-update' rel='bookmark' title='LDAP Authentication Red Hat Enterprise Linux 6 &#8211; Update'>LDAP Authentication Red Hat Enterprise Linux 6 &#8211; Update</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>What is NX?</p>
<blockquote><p>NoMachine NX is an enterprise-class solution for secure remote access, desktop virtualization, and hosted desktop deployment built around the self-designed and self-developed NX suite of components. Thanks to its outstanding compression, session resilience and resource management and its integration with the powerful audio, printing and resource sharing capabilities of the Unix world, NX makes it possible to run any graphical application on any operating system across any network connection. Via NX accessing remote desktops, servers and applications, whatever their location, is just as fast, easy and secure as if you were sitting in front of them. Together with easy-to-use management, deployment, and monitoring tools, NoMachine NX makes it possible to transform any traditional desktop computing environment into a centrally managed, globally accessible, virtual desktop infrastructure.</p></blockquote>
<p>In short, it&#8217;s like VNC, but much more powerful and versatile. The data compression between the client and server is excellent, allowing the users to connect over flaky connections. eg 3G. The users can also resume their previous login session and continue their work where they left off. NX works on SSH, there&#8217;s no oddball firewall adjustments. Whatever machine that allows SSH will work with NX.</p>
<p>NX server is a commercial software. There&#8217;s a community version available for free, but it can only support 2 concurrent users. So, the natural alternative is FreeNX.</p>
<p>There are 2 ways to get FreeNX installed on RHEL 6.</p>
<p>1. Install the readily compiled packages from ATRPM</p>
<p>2. Get the source rpms from ATRPM and rebuild them.</p>
<p>Option 1 is the way to go for most people. It&#8217;s painless and fast.</p>
<p>In my environment however, I can&#8217;t add external repositories into my servers because there&#8217;s no direct internet connection for all the machines. So I&#8217;m going on Option 2. I have a mixture of RHEL5 and RHEL6 machine in my network, so I opt to maintain my own repositories for certain software to maintain consistency. And why ATRPM? Simply because I can&#8217;t find any repositories that has freeNX rpms.</p>
<p>So here&#8217;s the quick and dirty guide to get FreeNX running.</p>
<p>1. Get all the neccesary source rpms</p>
<blockquote><p>wget http://dl.atrpms.net/all/nx-3.3.0-38.src.rpm</p>
<p> </p>
<p>wget http://dl.atrpms.net/all/freenx-server-0.7.3-18.src.rpm</p>
</blockquote>
<p>2. Rebuild the source rpms.</p>
<blockquote><p>rpmbuild &#8211;rebuild nx-3.3.0-38.src.rpm</p>
<p> </p>
<p>rpmbuild &#8211;rebuild freenx-server-0.7.3-18.src.rpm</p>
</blockquote>
<p>3. Install the built rpms in the following order</p>
<blockquote><p>yum -y localinstall /root/rpmbuild/RPMS/x86_64/nx-3.3.0-38.el6.x86_64.rpm</p>
<p> </p>
<p>yum -y localinstall /root/rpmbuild/RPMS/x86_64/freenx-server-0.7.3-18.el6.x86_64.rpm</p>
</blockquote>
<p>4. Initialize NX. Choose &#8216;No&#8217;  when the script prompts for custom keypair.</p>
<blockquote><p>root# /usr/libexec/nx/nxsetup &#8211;install &#8212;&#8212;&gt; It is recommended that you use the NoMachine key for easier setup. If you answer &#8220;y&#8221;, FreeNX creates a custom KeyPair and expects you to setup your clients manually. &#8220;N&#8221; is default and uses the NoMachine key for installation.</p>
<p> </p>
<p>Do you want to use your own custom KeyPair? [y/N] N Setting up /etc/nxserver &#8230;done</p>
</blockquote>
<p>That&#8217;s it! FreeNX setup is done. This will work on all Red Hat like distros like CentOS, Fedora.</p>
<p> </p>
<p>On the client side, download the NX client from <a href="http://www.nomachine.com/download.php">http://www.nomachine.com/download.php</a>.</p>
<p>The rest of the steps are straightforward and can be found from the NX website.</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2011/07/19/installing-openvas-on-red-hat-enterprise-linux-6' rel='bookmark' title='Installing OpenVAS On Red Hat Enterprise Linux 6'>Installing OpenVAS On Red Hat Enterprise Linux 6</a></li>
<li><a href='http://blog.yibi.org/2010/12/21/ldap-authentication-for-ssh-in-red-hat-enterprise-linux' rel='bookmark' title='LDAP Authentication for SSH in Red Hat Enterprise Linux'>LDAP Authentication for SSH in Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2011/06/29/ldap-authentication-red-hat-enterprise-linux-6-update' rel='bookmark' title='LDAP Authentication Red Hat Enterprise Linux 6 &#8211; Update'>LDAP Authentication Red Hat Enterprise Linux 6 &#8211; Update</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenSource Home Surveillance With ZoneMinder</title>
		<link>http://blog.yibi.org/2011/08/07/opensource-home-surveillance-with-zoneminder</link>
		<comments>http://blog.yibi.org/2011/08/07/opensource-home-surveillance-with-zoneminder#comments</comments>
		<pubDate>Sun, 07 Aug 2011 03:39:22 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[m1 fibre broadband]]></category>
		<category><![CDATA[ngnbn]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[opensource surveillance]]></category>
		<category><![CDATA[singapore ngnbn]]></category>
		<category><![CDATA[zoneminder]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=1000</guid>
		<description><![CDATA[Due to some very unfortunate incidents a few years back, I had to have home surveillance at my doorstep. Being a<a href="http://blog.yibi.org/2011/08/07/opensource-home-surveillance-with-zoneminder" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2011/12/03/foscam-bandwith-guzzler' rel='bookmark' title='Foscam Bandwidth Guzzler'>Foscam Bandwidth Guzzler</a></li>
<li><a href='http://blog.yibi.org/2011/06/26/m1-50mbps-fibre-broadband-on-the-way' rel='bookmark' title='M1 50Mbps Fibre Broadband On The Way'>M1 50Mbps Fibre Broadband On The Way</a></li>
<li><a href='http://blog.yibi.org/2011/09/01/foscam-fi8904w-with-poor-mans-poe-power-over-ethernet' rel='bookmark' title='Foscam Fi8904W With Poor Man&#8217;s POE (Power over Ethernet)'>Foscam Fi8904W With Poor Man&#8217;s POE (Power over Ethernet)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Due to some very unfortunate incidents a few years back, I had to have home surveillance at my doorstep. Being a techie, I would never pay for the expensive licenses home surveillance software and solution, so I got to doing it myself.</p>
<p>This is a simple illustration of my setup.</p>
<p><img title="opensource-surveillance-zoneminder.png" src="http://blog.yibi.org/wp-content/uploads/2011/08/opensource-surveillance-zoneminder.png" alt="Slide1" width="466" height="350" border="0" /></p>
<p><a href="http://www.zoneminder.com/">Zoneminder</a> is an open source project for video surveillance. The main highlights and advantages in my opinion are:</p>
<p>1. The server side motion detection features and capabilities is excellent. It&#8217;s comparable many commercial products that will cost an arm and a leg.</p>
<p>2. The access to the system is via the internet. That makes accessing the system very simple.</p>
<p>3. ZoneMinder works with a myriad of network cameras, from the very expensive cameras to my cheap China Foscam network camera.</p>
<p>The server is a reasonably power machine running on CentOS. CPU utilization is not an issue yet with 2 cameras and motion detection turned on.</p>
<p>My initial setup was using an ADSL line for the internet link. The uplink was pathetic, so I could only do 1 frame per second. Anything higher than that, my uplink will be congested.</p>
<p>Just 2 weeks ago however, my FTTH line was activated. My current plan is a 50Mbps down / 25 Mbps up plan from M1. With this major speed improvement, I&#8217;m currently doing 10 frames per second. That&#8217;s the max my camera can go, otherwise I would like to try 15 frames or more. The current utilization is about 3Mbps per camera because ZoneMinder is pulling MJPEG. I&#8217;m now contemplating getting a another camera that supports H.264 for better image quality.</p>
<p>Here&#8217;s a few links for reference if anyone wants to get your hands dirty. :)</p>
<p>http://www.zoneminder.com</p>
<p>http://www.howtoforge.com/video_surveillance_zoneminder_ubuntu</p>
<p>&nbsp;</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2011/12/03/foscam-bandwith-guzzler' rel='bookmark' title='Foscam Bandwidth Guzzler'>Foscam Bandwidth Guzzler</a></li>
<li><a href='http://blog.yibi.org/2011/06/26/m1-50mbps-fibre-broadband-on-the-way' rel='bookmark' title='M1 50Mbps Fibre Broadband On The Way'>M1 50Mbps Fibre Broadband On The Way</a></li>
<li><a href='http://blog.yibi.org/2011/09/01/foscam-fi8904w-with-poor-mans-poe-power-over-ethernet' rel='bookmark' title='Foscam Fi8904W With Poor Man&#8217;s POE (Power over Ethernet)'>Foscam Fi8904W With Poor Man&#8217;s POE (Power over Ethernet)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/08/07/opensource-home-surveillance-with-zoneminder/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing OpenVAS On Red Hat Enterprise Linux 6</title>
		<link>http://blog.yibi.org/2011/07/19/installing-openvas-on-red-hat-enterprise-linux-6</link>
		<comments>http://blog.yibi.org/2011/07/19/installing-openvas-on-red-hat-enterprise-linux-6#comments</comments>
		<pubDate>Tue, 19 Jul 2011 07:03:05 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[openvas]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[red hat enterprise]]></category>
		<category><![CDATA[scanner]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=924</guid>
		<description><![CDATA[Sometime I wonder why I&#8217;m paying for license and support when I don&#8217;t get/need them. Anyway, I&#8217;m trying to get<a href="http://blog.yibi.org/2011/07/19/installing-openvas-on-red-hat-enterprise-linux-6" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux' rel='bookmark' title='Installing FreeNX On Red Hat Enterprise Linux'>Installing FreeNX On Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2010/11/30/java-plugin-on-red-hat-enterprise-5-5' rel='bookmark' title='Java Plugin on Red Hat Enterprise 5.5'>Java Plugin on Red Hat Enterprise 5.5</a></li>
<li><a href='http://blog.yibi.org/2011/06/29/ldap-authentication-red-hat-enterprise-linux-6-update' rel='bookmark' title='LDAP Authentication Red Hat Enterprise Linux 6 &#8211; Update'>LDAP Authentication Red Hat Enterprise Linux 6 &#8211; Update</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Sometime I wonder why I&#8217;m paying for license and support when I don&#8217;t get/need them.</p>
<p>Anyway, I&#8217;m trying to get OpenVas on my server for VA tests. The packages recommended by OpenVAS doesn&#8217;t work because of failed dependencies, I have to get down to compiling it myself.</p>
<p>Preparation for all the following compilations:</p>
<p><strong>&gt; yum -y install libpcap-devel.x86_64 glib2-devel gnutls-devel gpgme-devel libuuid-devel sqlite-devel libmicrohttpd-devel libxml2-develyum libxslt-devel qt-devel qt-webkit-devel</strong></p>
<p>This is for openvas-libraries-4.0.5</p>
<p><strong>&gt; cmake -DCMAKE_INSTALL_PREFIX=/opt/openvas</strong><br />
<strong> &gt; make &amp;&amp; make doc &amp;&amp; make install</strong></p>
<p>This is for openvas-scanner-3.2.4 / openvas-manager-2.0.4 / openvas-administrator-1.1.1 / greenbone-security-assistant-2.0.1 / openvas-cli-1.1.2 / gsd-1.1.1</p>
<p><strong>&gt; export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/openvas/lib/pkgconfig</strong><br />
<strong>&gt; cmake -DCMAKE_INSTALL_PREFIX=/opt/openvas</strong><br />
<strong>&gt; make &amp;&amp; make doc &amp;&amp; make install</strong></p>
<p>Because we have installed OpenVAS in /opt/openvas, we have to add <strong>/opt/openvas/lib</strong> into the LDPATH. I did it by creating a file call <strong>/etc/ld.so.conf.d/openvas.conf</strong> and add /opt/openvas/lib in the file and<strong> run ldconfig</strong> to load the contents of openvas.conf.</p>
<p>The rest of the setup, you can download openvas-check-setup from <a href="http://wald.intevation.org/plugins/scmsvn/viewcvs.php/*checkout*/trunk/tools/openvas-check-setup?root=openvas" target="_blank">http://wald.intevation.org/plugins/scmsvn/viewcvs.php/*checkout*/trunk/tools/openvas-check-setup?root=openvas</a> and follow the instructions until you get no more errors from the check script.</p>
<p>More information can be found from this link &#8211; <a title="openvas" href="http://www.openvas.org/setup-and-start.html" target="_blank">http://www.openvas.org/setup-and-start.html</a></p>
<p>Compiling this thing is pretty painful. :)</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux' rel='bookmark' title='Installing FreeNX On Red Hat Enterprise Linux'>Installing FreeNX On Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2010/11/30/java-plugin-on-red-hat-enterprise-5-5' rel='bookmark' title='Java Plugin on Red Hat Enterprise 5.5'>Java Plugin on Red Hat Enterprise 5.5</a></li>
<li><a href='http://blog.yibi.org/2011/06/29/ldap-authentication-red-hat-enterprise-linux-6-update' rel='bookmark' title='LDAP Authentication Red Hat Enterprise Linux 6 &#8211; Update'>LDAP Authentication Red Hat Enterprise Linux 6 &#8211; Update</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/07/19/installing-openvas-on-red-hat-enterprise-linux-6/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Roll Your Own Cloud (from linux.conf.au 2011)</title>
		<link>http://blog.yibi.org/2011/07/06/roll-you-own-cloud</link>
		<comments>http://blog.yibi.org/2011/07/06/roll-you-own-cloud#comments</comments>
		<pubDate>Wed, 06 Jul 2011 05:24:16 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[drbd]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=914</guid>
		<description><![CDATA[I had sat through the entire video, but I will be coming back to this soon. After some consolidation in<a href="http://blog.yibi.org/2011/07/06/roll-you-own-cloud" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2010/11/18/red-hat-enterprise-linux-6-is-out' rel='bookmark' title='Red Hat Enterprise Linux 6 Is Out.'>Red Hat Enterprise Linux 6 Is Out.</a></li>
<li><a href='http://blog.yibi.org/2011/08/25/linux-ha-heartbeat-corosync-pacemaker' rel='bookmark' title='Linux HA &#8211; Heartbeat, Corosync, Pacemaker?'>Linux HA &#8211; Heartbeat, Corosync, Pacemaker?</a></li>
<li><a href='http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux' rel='bookmark' title='Installing FreeNX On Red Hat Enterprise Linux'>Installing FreeNX On Red Hat Enterprise Linux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had sat through the entire video, but I will be coming back to this soon. After some consolidation in my network, I&#8217;m going to end up with a couple of spare machines and alot of computing power. This will be the next project after the consolidation.</p>
<p><object width="480" height="390" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://blip.tv/play/AYKhmUgC" /><param name="allowscriptaccess" value="always" /><param name="allowfullscreen" value="true" /><embed width="480" height="390" type="application/x-shockwave-flash" src="http://blip.tv/play/AYKhmUgC" allowscriptaccess="always" allowfullscreen="true" /></object></p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2010/11/18/red-hat-enterprise-linux-6-is-out' rel='bookmark' title='Red Hat Enterprise Linux 6 Is Out.'>Red Hat Enterprise Linux 6 Is Out.</a></li>
<li><a href='http://blog.yibi.org/2011/08/25/linux-ha-heartbeat-corosync-pacemaker' rel='bookmark' title='Linux HA &#8211; Heartbeat, Corosync, Pacemaker?'>Linux HA &#8211; Heartbeat, Corosync, Pacemaker?</a></li>
<li><a href='http://blog.yibi.org/2011/08/10/installing-freenx-on-red-hat-enterprise-linux' rel='bookmark' title='Installing FreeNX On Red Hat Enterprise Linux'>Installing FreeNX On Red Hat Enterprise Linux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/07/06/roll-you-own-cloud/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LDAP Authentication Red Hat Enterprise Linux 6 &#8211; Update</title>
		<link>http://blog.yibi.org/2011/06/29/ldap-authentication-red-hat-enterprise-linux-6-update</link>
		<comments>http://blog.yibi.org/2011/06/29/ldap-authentication-red-hat-enterprise-linux-6-update#comments</comments>
		<pubDate>Wed, 29 Jun 2011 07:05:01 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[enterprise linux]]></category>
		<category><![CDATA[ldap authentication]]></category>
		<category><![CDATA[ldap server]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nslcd]]></category>
		<category><![CDATA[pam]]></category>
		<category><![CDATA[red hat enterprise]]></category>
		<category><![CDATA[Red Hat Enterprise Linux]]></category>
		<category><![CDATA[RHEL]]></category>
		<category><![CDATA[rhel 5]]></category>
		<category><![CDATA[rhel5]]></category>
		<category><![CDATA[rhel6]]></category>
		<category><![CDATA[sssd]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=904</guid>
		<description><![CDATA[I have gotten a few people asking about the problems they are having with their LDAP configurations on RHEL 6<a href="http://blog.yibi.org/2011/06/29/ldap-authentication-red-hat-enterprise-linux-6-update" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2010/12/21/ldap-authentication-for-ssh-in-red-hat-enterprise-linux' rel='bookmark' title='LDAP Authentication for SSH in Red Hat Enterprise Linux'>LDAP Authentication for SSH in Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2011/01/10/ldap-authentication-on-red-hat-enterprise-6' rel='bookmark' title='LDAP Authentication On Red Hat Enterprise 6'>LDAP Authentication On Red Hat Enterprise 6</a></li>
<li><a href='http://blog.yibi.org/2010/11/18/red-hat-enterprise-linux-6-is-out' rel='bookmark' title='Red Hat Enterprise Linux 6 Is Out.'>Red Hat Enterprise Linux 6 Is Out.</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I have gotten a few people asking about the problems they are having with their LDAP configurations on RHEL 6 based on <a title="LDAP Authentication On Red Hat Enterprise 6" href="http://blog.yibi.org/2011/01/10/ldap-authentication-on-red-hat-enterprise-6" target="_blank">my previous post</a> on this topic. I must say it&#8217;s a quite a pain having come from RHEL 5.</p>
<p>To summarise,</p>
<p>1. Take out sssd if you don&#8217;t need offline authentication</p>
<p>2. RHEL 6 defaults to TLS for LDAP authentication. Disable this behaviour by changing FORCELEGACY=YES in /etc/sysconfig/authconfig if you really do not want TLS between your client and the LDAP server.</p>
<p>3. nslcd is a neccesary component for LDAP authentication. Install <del>nss_pam_ldapd</del> nss-pam-ldapd and make sure nslcd is running.</p>
<p>Hope this helps anyone who is stuck with this issue.</p>
<p>*Edited &#8211; 20110805: Thanks to <a href="http://blog.yibi.org/2011/06/29/ldap-authentication-red-hat-enterprise-linux-6-update/comment-page-1#comment-1847" target="_blank">Frank M</a> for pointing out the typo in the nss-pam-ldapd package.</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2010/12/21/ldap-authentication-for-ssh-in-red-hat-enterprise-linux' rel='bookmark' title='LDAP Authentication for SSH in Red Hat Enterprise Linux'>LDAP Authentication for SSH in Red Hat Enterprise Linux</a></li>
<li><a href='http://blog.yibi.org/2011/01/10/ldap-authentication-on-red-hat-enterprise-6' rel='bookmark' title='LDAP Authentication On Red Hat Enterprise 6'>LDAP Authentication On Red Hat Enterprise 6</a></li>
<li><a href='http://blog.yibi.org/2010/11/18/red-hat-enterprise-linux-6-is-out' rel='bookmark' title='Red Hat Enterprise Linux 6 Is Out.'>Red Hat Enterprise Linux 6 Is Out.</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/06/29/ldap-authentication-red-hat-enterprise-linux-6-update/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Bluetooth Support In Ubuntu Is Weak&#8230;..</title>
		<link>http://blog.yibi.org/2011/01/25/bluetooth-support-in-ubuntu-is-weak</link>
		<comments>http://blog.yibi.org/2011/01/25/bluetooth-support-in-ubuntu-is-weak#comments</comments>
		<pubDate>Tue, 25 Jan 2011 14:43:30 +0000</pubDate>
		<dc:creator>yibi</dc:creator>
				<category><![CDATA[Geek Toys]]></category>
		<category><![CDATA[Rants]]></category>
		<category><![CDATA[The Techie Stuff]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[bluetooth keyboard]]></category>
		<category><![CDATA[desktop experience]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux distros]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.yibi.org/?p=830</guid>
		<description><![CDATA[I just got myself a bluetooth keyboard to get rid of all the wires running on my desk. First thing<a href="http://blog.yibi.org/2011/01/25/bluetooth-support-in-ubuntu-is-weak" class="searchmore">Read the Rest...</a><div class="clr"></div>


Related posts:<ol><li><a href='http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian' rel='bookmark' title='Native IPhone Tethering On Linux (Debian)'>Native IPhone Tethering On Linux (Debian)</a></li>
<li><a href='http://blog.yibi.org/2009/03/26/upgrading-to-ubuntu-904' rel='bookmark' title='Upgrading to Ubuntu 9.04'>Upgrading to Ubuntu 9.04</a></li>
<li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I just got myself a bluetooth keyboard to get rid of all the wires running on my desk. First thing I tried was to pair it with my notebook running Ubuntu 10.10. Pairing was ok. And that&#8217;s about it?! It was painful trying to get the keyboard properly connected. There&#8217;s no indication in dmesg that a keyboard is found, and after a few tries restarting bluetooth, restarting the keyboard, dmesg showed HID device detected, ie the keyboard, but it still doesn&#8217;t work.</p>
<p>At first I thought it could be the keyboard itself. Afterall, I got it from http://ww.taobao.com. So, I decided to pair it with my iPhone. Seamless. Paired, got it working right away. Switched off the keyboard, turned it on again and iPhone connected the keyboard automatically. My Macbook was the ultimate. Even in sleep mode, it was holding on to the connection to the keyboard. and I could wake the Macbook from sleep mode with this keyboard. The experience was perfect!</p>
<p>So, what&#8217;s wrong with Ubuntu? I know, with some troubleshooting and tinkering, I can definitely get it to work eventually, but it&#8217;s so much more troublesome compared to Mac. The Ubuntu desktop experience has improved and surpassed other Linux distros, but it&#8217;s still way way way behind Mac.</p>
<p>Enough of rants, I still need to try to get the keyboard to work. Shall update the blog once I solve the problem.</p>


<p>Related posts:<ol><li><a href='http://blog.yibi.org/2010/05/20/native-iphone-tethering-on-linux-debian' rel='bookmark' title='Native IPhone Tethering On Linux (Debian)'>Native IPhone Tethering On Linux (Debian)</a></li>
<li><a href='http://blog.yibi.org/2009/03/26/upgrading-to-ubuntu-904' rel='bookmark' title='Upgrading to Ubuntu 9.04'>Upgrading to Ubuntu 9.04</a></li>
<li><a href='http://blog.yibi.org/2010/01/27/linux-to-iphone-tethering-in-5-mins' rel='bookmark' title='Linux to IPhone Tethering In 5 Mins'>Linux to IPhone Tethering In 5 Mins</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.yibi.org/2011/01/25/bluetooth-support-in-ubuntu-is-weak/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

