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

<channel>
	<title>Cinq Software</title>
	<atom:link href="http://cinq.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cinq.com</link>
	<description>my code</description>
	<pubDate>Sat, 29 Nov 2008 02:47:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Host Mac Addresses on a Cisco Switch</title>
		<link>http://cinq.com/2008/09/08/host-mac-addresses-on-a-cisco-switch/</link>
		<comments>http://cinq.com/2008/09/08/host-mac-addresses-on-a-cisco-switch/#comments</comments>
		<pubDate>Mon, 08 Sep 2008 18:05:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[documentation]]></category>

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

		<category><![CDATA[mac address]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=26</guid>
		<description><![CDATA[I have to find where a server nic is connected in the network. I was certain there was a way to know what mac address was on which port but I needed Google to find a good article to show me how to get that information.
Once on the switch you can simply execute:
sh mac address-table
to [...]]]></description>
			<content:encoded><![CDATA[<p>I have to find where a server nic is connected in the network. I was certain there was a way to know what mac address was on which port but I needed Google to find a good article to show me how to get that information.</p>
<p>Once on the switch you can simply execute:</p>
<p><strong>sh mac address-table</strong></p>
<p>to see all the mac addresses the switch is aware of but when you are looking for a specific mac address you can execute this:</p>
<p><strong>sh mac-address-table address 0011.bbcc.ddzz</strong></p>
<p>Very simple and very convenient if I could only find the nic somewhere.</p>
<p><em>Ref.: <a href="http://www.itsyourip.com/cisco/howto-find-switchport-for-a-mac-address-on-a-cisco-catalyst-switch/">http://www.itsyourip.com/cisco/howto-find-switchport-for-a-mac-address-on-a-cisco-catalyst-switch/</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2008/09/08/host-mac-addresses-on-a-cisco-switch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Code kata</title>
		<link>http://cinq.com/2008/06/26/code-kata/</link>
		<comments>http://cinq.com/2008/06/26/code-kata/#comments</comments>
		<pubDate>Thu, 26 Jun 2008 16:20:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[code]]></category>

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

		<guid isPermaLink="false">http://cinq.com/?p=25</guid>
		<description><![CDATA[Until I followed a link from a twitter friend I had never heard of this term.
As a small time programmer I am always looking for ways to improve the code that I do and I also look at ways to improve myself as a programmer. Code kata is certainly a generic approach at these goals [...]]]></description>
			<content:encoded><![CDATA[<p>Until I followed a link from a twitter friend I had never heard of this term.</p>
<p>As a small time programmer I am always looking for ways to improve the code that I do and I also look at ways to improve myself as a programmer. Code kata is certainly a generic approach at these goals that is worth reading about.</p>
<p>Not everything they propose I will be able to try right away. It all depends on your environment.</p>
<p>It is more than just practicing at solving specific coding puzzle. It is about learning the tools that you use, communicating with the people that are around you, reading code that others do and try to maintain it, getting code reviews and much more.</p>
<p>I have to sit down and write what I will do to improve my programming ways. What I think easily make sense and that I can do rapidly:</p>
<ol>
<li>read about new features in Eclipse</li>
<li>read about codig algorithm in Java</li>
<li>learn Python</li>
<li>I have to ask a programmer at work to review some of my code</li>
</ol>
<p>If I can get those done in the next month I will see some improvement for sure.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2008/06/26/code-kata/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Swing Explorer</title>
		<link>http://cinq.com/2008/05/06/swing-explorer/</link>
		<comments>http://cinq.com/2008/05/06/swing-explorer/#comments</comments>
		<pubDate>Wed, 07 May 2008 01:29:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[java]]></category>

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

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

		<guid isPermaLink="false">http://cinq.com/?p=24</guid>
		<description><![CDATA[I was reading an article today about this piece of software and I taught that it was quite interesting. You can see all the parts of a swing application in this swing debugger. For someone like me that is not always sure how all the parts are linked together it is a quick visual view. [...]]]></description>
			<content:encoded><![CDATA[<p>I was reading an article today about this piece of software and I taught that it was quite interesting. You can see all the parts of a swing application in this swing debugger. For someone like me that is not always sure how all the parts are linked together it is a quick visual view. Worth a try for sure.</p>
<p>Ref:</p>
<ul>
<li><a href="https://swingexplorer.dev.java.net/">https://swingexplorer.dev.java.net/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2008/05/06/swing-explorer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Disable ipv6 on RHEL5</title>
		<link>http://cinq.com/2008/05/05/disable-ipv6-on-rhel5/</link>
		<comments>http://cinq.com/2008/05/05/disable-ipv6-on-rhel5/#comments</comments>
		<pubDate>Mon, 05 May 2008 20:42:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=23</guid>
		<description><![CDATA[Found a post that explained what was needed to disable ipv6 on our installation of RHEL5.
The only thing that we really need is to add a line in /etc/modprobe.conf
alias net-pf-10 ipv6 off
Simple enough!
Ref:

http://www.vincentverhagen.nl/2007/06/22/disable-ipv6-on-red-hat/

]]></description>
			<content:encoded><![CDATA[<p>Found a post that explained what was needed to disable ipv6 on our installation of RHEL5.</p>
<p>The only thing that we really need is to add a line in /etc/modprobe.conf</p>
<p>alias net-pf-10<code> ipv6 off</code></p>
<p>Simple enough!</p>
<p>Ref:</p>
<ul>
<li><a href="http://www.vincentverhagen.nl/2007/06/22/disable-ipv6-on-red-hat/">http://www.vincentverhagen.nl/2007/06/22/disable-ipv6-on-red-hat/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2008/05/05/disable-ipv6-on-rhel5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bonding NICs in RHEL5</title>
		<link>http://cinq.com/2008/04/23/bonding-nics-in-rhel5/</link>
		<comments>http://cinq.com/2008/04/23/bonding-nics-in-rhel5/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 19:47:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cinq.com/?p=22</guid>
		<description><![CDATA[We started testing some NIC bonding on our RHEL 5 VM and we will be testing on real hardware soon. The ultimate goal is to add this setup in our kickstart file.
We created these files for testing:
/etc/sysconfig/network-scripts/ifcfg-bond0
DEVICE=bond0
BOOTPROTO=dhcp
ONBOOT=yes
USERCTL=no
IPV6INIT=no
Added these lines to /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1:
MASTER=bond0
SLAVE=yes
in /etc/modprobe.conf we added these lines:
alias bond0 bonding
options bond0 miimon=100 mode=1
We just need [...]]]></description>
			<content:encoded><![CDATA[<p>We started testing some NIC bonding on our RHEL 5 VM and we will be testing on real hardware soon. The ultimate goal is to add this setup in our kickstart file.</p>
<p>We created these files for testing:</p>
<p>/etc/sysconfig/network-scripts/ifcfg-bond0</p>
<p>DEVICE=bond0<br />
BOOTPROTO=dhcp<br />
ONBOOT=yes<br />
USERCTL=no<br />
IPV6INIT=no</p>
<p>Added these lines to /etc/sysconfig/network-scripts/ifcfg-eth0 and ifcfg-eth1:</p>
<p>MASTER=bond0<br />
SLAVE=yes</p>
<p>in /etc/modprobe.conf we added these lines:</p>
<p>alias bond0 bonding<br />
options bond0 miimon=100 mode=1</p>
<p>We just need to test on some physical servers and see how all this works now.</p>
<p>Reference:</p>
<ul>
<li><a href="http://www.linuxtopia.org/online_books/rhel5/rhel5_administration/rhel5_s1-modules-ethernet.html#s2-modules-bonding">http://www.linuxtopia.org/online_books/rhel5/rhel5_administration/rhel5_s1-modules-ethernet.html#s2-modules-bonding</a></li>
<li><a href="http://mergy.org/tag/rhel-5/">http://mergy.org/tag/rhel-5/</a><a href="http://www.linuxtopia.org/online_books/rhel5/rhel5_administration/rhel5_s1-modules-ethernet.html#s2-modules-bonding"></a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2008/04/23/bonding-nics-in-rhel5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rebuilding the DVD ISO for CentOS 5 or RHEL 5</title>
		<link>http://cinq.com/2008/04/14/rebuilding-the-dvd-iso-for-centos-5-or-rhel-5/</link>
		<comments>http://cinq.com/2008/04/14/rebuilding-the-dvd-iso-for-centos-5-or-rhel-5/#comments</comments>
		<pubDate>Mon, 14 Apr 2008 17:28:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

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

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

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

		<guid isPermaLink="false">http://cinq.com/?p=20</guid>
		<description><![CDATA[I found a few documents on the Internet about what I needed to do to rebuild the DVD to integrate my kickstart file. Unfortunately none of the solution had all the needed command in one place for my setup to work so here is my cookbook from the different sources.
First I mounted the dvdrom with [...]]]></description>
			<content:encoded><![CDATA[<p>I found a few documents on the Internet about what I needed to do to rebuild the DVD to integrate my kickstart file. Unfortunately none of the solution had all the needed command in one place for my setup to work so here is my cookbook from the different sources.</p>
<p>First I mounted the dvdrom with the CentOS DVD to /mnt/cdrom:</p>
<p><span style="color: #888888;">mount /dev/cdrom /mnt/cdrom</span></p>
<p>Then I copied a few files:</p>
<ul>
<li><span style="color: #888888;">cd /tmp</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/isolinux ./</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/CentOS ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/* ./isolinux/  [say yes to overwrite the TRANS.TBL]</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/.discinfo ./isolinux/</span></li>
<li><span style="color: #888888;">cp ks.cfg /tmp/isolinux/</span></li>
</ul>
<p>For my RHEL5.1 rebuild I did similar commands but the paths are a bit different:</p>
<ul>
<li><span style="color: #888888;">cd /tmp</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/isolinux ./</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/Server ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/VT ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/images ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/Cluster ./isolinux/</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/ClusterStorage ./isolinux/</span></li>
<li><span style="color: #888888;">cp /mnt/cdrom/* ./isolinux/  [say yes to overwrite the TRANS.TBL]</span></li>
<li><span style="color: #888888;">cp -R /mnt/cdrom/.discinfo ./isolinux/</span></li>
<li><span style="color: #888888;">cp ks.cfg /tmp/isolinux/</span></li>
</ul>
<p style="text-align: left;"><span style="color: #ffffff;">I had to change permissions on 2 files:</span></p>
<ul>
<li><span style="color: #888888;">chmod 664 ./isolinux/isolinux.bin</span></li>
<li><span style="color: #888888;">chmod 664 ./isolinux/isolinux.cfg</span></li>
</ul>
<p>I had to edit the isolinux.cfg (in the isolinux directory) to change a couple of lines:</p>
<ul>
<li>the &#8220;<span style="color: #888888;">default linux</span>&#8221; line became &#8220;<span style="color: #888888;">default ks</span>&#8220;</li>
<li>The 2 line after &#8220;label ks&#8221; went from &#8220;<span style="color: #888888;">append ks initrd=initrd.img</span>&#8221; to &#8220;<span style="color: #888888;">append ks=cdrom:/ks.cfg initrd=initrd.img</span>&#8220;</li>
</ul>
<p>The isolinux.cfg file now looks like:</p>
<pre><span style="color: #888888;"><strong>default ks</strong>
prompt 1
timeout 600
display boot.msg
F1 boot.msg
F2 options.msg
F3 general.msg
F4 param.msg
F5 rescue.msg
label linux
kernel vmlinuz
append initrd=initrd.img
label text
kernel vmlinuz
append initrd=initrd.img text
label ks
kernel vmlinuz
<strong>append ks=cdrom:/ks.cfg initrd=initrd.img</strong>
label local
localboot 1
label memtest86
kernel memtest
append -</span></pre>
<p>To build the ISO (all this on one line):</p>
<p><span style="color: #888888;">mkisofs -o centos5-dvd1.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -r -R -J -V &#8220;CentOS 5.1 (CentOS) Disk1&#8243; -A &#8220;CentOS 5.1 (CentOS) Disk1&#8243; -p &#8220;Cinq&#8221; -T isolinux/</span></p>
<p>For Red Hat Entreprise Linux 5.1 I had to change the label for the DVD from &#8220;CentOS 5.1 (CentOS) Disk1&#8243; to &#8220;RHEL_5.1 x86_64 DVD&#8221; (obviously I am using the x64 version for RHEL5) so the command became:</p>
<p><span style="color: #888888;">mkisofs -o centos5-dvd1.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -r -R -J -V &#8220;RHEL_5.1 x86_64 DVD&#8221; -A &#8220;RHEL_5.1 x86_64 DVD&#8221; -p &#8220;Cinq&#8221; -T isolinux/</span></p>
<p>Reference sites:</p>
<ul>
<li><a href="http://www.techonthenet.com/linux/centos4_update.php">http://www.techonthenet.com/linux/centos4_update.php</a></li>
<li><a href="https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&amp;order=ASC&amp;topic_id=3635&amp;forum=27&amp;move=next&amp;topic_time=1149676608">https://www.centos.org/modules/newbb/viewtopic.php?viewmode=flat&amp;order=ASC&amp;topic_id=3635&amp;forum=27&amp;move=next&amp;topic_time=1149676608</a></li>
<li><a href="http://blog.nominet.org.uk/tech/2005/09/19/building-a-redhat-enterprise-linux-serial-console-boot-dvd/">http://blog.nominet.org.uk/tech/2005/09/19/building-a-redhat-enterprise-linux-serial-console-boot-dvd/</a></li>
<li><a href="http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/System_Administration_Guide/Kickstart_Installations-Kickstart_Options.html">http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/en-US/System_Administration_Guide/Kickstart_Installations-Kickstart_Options.html</a></li>
<li><a href="http://nootech.wordpress.com/2007/12/11/build-a-custom-centos-5-install-cd/">http://nootech.wordpress.com/2007/12/11/build-a-custom-centos-5-install-cd/</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2008/04/14/rebuilding-the-dvd-iso-for-centos-5-or-rhel-5/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New presentation</title>
		<link>http://cinq.com/2008/04/08/hello-world/</link>
		<comments>http://cinq.com/2008/04/08/hello-world/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 17:35:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[general]]></category>

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

		<guid isPermaLink="false">http://cinq.com/wptest/?p=1</guid>
		<description><![CDATA[It was time for an update. New presentation, new tools to post the content I wanted to put in this site.
]]></description>
			<content:encoded><![CDATA[<p>It was time for an update. New presentation, new tools to post the content I wanted to put in this site.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2008/04/08/hello-world/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Synergy</title>
		<link>http://cinq.com/2007/12/27/synergy/</link>
		<comments>http://cinq.com/2007/12/27/synergy/#comments</comments>
		<pubDate>Fri, 28 Dec 2007 01:14:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://cinq.com/wptest/?p=3</guid>
		<description><![CDATA[This piece of software seems quite promising to solve some of the issues that I have on my desk. I would like different computer to integrate a bit better and the main 2 features promise just that: software kvm and shared clipboard. I will have to test Synergy on my main Linux desktop with either [...]]]></description>
			<content:encoded><![CDATA[<p>This piece of software seems quite promising to solve some of the issues that I have on my desk. I would like different computer to integrate a bit better and the main 2 features promise just that: software kvm and shared clipboard. I will have to test <a href="http://synergy2.sourceforge.net/">Synergy</a> on my main Linux desktop with either my Mac and the Windows laptop or maybe a second Linux desktop. I need more screen space on my desk.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2007/12/27/synergy/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Beryl</title>
		<link>http://cinq.com/2007/10/23/beryl/</link>
		<comments>http://cinq.com/2007/10/23/beryl/#comments</comments>
		<pubDate>Wed, 24 Oct 2007 01:30:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://cinq.com/wptest/?p=4</guid>
		<description><![CDATA[Special effect for Linux is at the Beryl Project. I will be trying this in a VMWare with KUbuntu. May make me switch distro&#8230;
]]></description>
			<content:encoded><![CDATA[<p>Special effect for Linux is at the <a href="http://www.beryl-project.org/">Beryl Project.</a> I will be trying this in a VMWare with KUbuntu. May make me switch distro&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2007/10/23/beryl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>OpenProj</title>
		<link>http://cinq.com/2007/10/10/openproj/</link>
		<comments>http://cinq.com/2007/10/10/openproj/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 20:40:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://cinq.com/wptest/2007/10/10/openproj/</guid>
		<description><![CDATA[OpenProj is a nice application to do project management. All done in Java so it works on all my workstations.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://openproj.org/">OpenProj</a> is a nice application to do project management. All done in Java so it works on all my workstations.</p>
]]></content:encoded>
			<wfw:commentRss>http://cinq.com/2007/10/10/openproj/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
