<?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>Everything technical &#187; Hacking</title>
	<atom:link href="http://www.lbotti.net/blog/category/hacking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lbotti.net/blog</link>
	<description>Linux, Java, Python...just techie blogging</description>
	<lastBuildDate>Fri, 08 Oct 2010 22:46:29 +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>Getting lost</title>
		<link>http://www.lbotti.net/blog/2009/06/25/getting-lost/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/06/25/getting-lost/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 12:06:20 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[RPM]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=40</guid>
		<description><![CDATA[At Byte-code meetup I just launched the idea for a new projet to support the Prince2 project management methodology. Right now, I just registered at sourceforge and nothing else. But the plan is clear (and will be managed in a Prince2 manner, by the way): Django / Python powered GPL v2 Integration with external tools [...]]]></description>
			<content:encoded><![CDATA[<p>At <a title="Byte-Code 2009 Meetup" title='Original Link: http://www.byte-code.com/meetup2009/'  href="http://www.lbotti.net/blog/?zl9nYqKI" target="_blank">Byte-code meetup</a> I just launched the idea for a new projet to support the Prince2 project management methodology.</p>
<p>Right now, I just registered at sourceforge and nothing else. But the plan is clear (and will be managed in a Prince2 manner, by the way):</p>
<ul>
<li><a title='Original Link: http://www.djangoproject.com/'  href="http://www.lbotti.net/blog/?0CeP8aRr" target="_blank">Django</a> / Python powered</li>
<li>GPL v2</li>
<li>Integration with external tools ( <a title="trac" title='Original Link: http://trac.edgewall.org'  href="http://www.lbotti.net/blog/?w2QFcd6d">trac</a> comes to mind, but also <a title='Original Link: http://www.taskjuggler.org/'  href="http://www.lbotti.net/blog/?MCJG0_Jp" target="_blank">taskjuggler</a> )</li>
</ul>
<p>Django is a little hazard &#8211; never programmed seriously in Python, and the Django world is a new one for me. Anyway, I am just willing to move away from the Java world for a while.</p>
<p>Now comes the best &#8211; I will try to do it using <strong>Fedora way</strong> . This means that every additional package (Python or  Django)   will be rpm&#8217;ed.</p>
<p>Django by itself it&#8217;s a no-brainer &#8211; just <em>yum install Django</em> (observe the capital &#8216;D&#8217; here), but I was looking at <a title="Pinax" title='Original Link: http://pinaxproject.com/'  href="http://www.lbotti.net/blog/?lHD_YdIN" target="_blank">Pinax</a> and some more Django extensions, mostly hosted at google code.</p>
<p>Benefits of this plan:</p>
<ul>
<li>Enhance package building knowledge</li>
<li>Easy installation</li>
<li>Really join fedora community</li>
</ul>
<p>So I will create a new category, starting today, where I will summarize my steps. Stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/06/25/getting-lost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home Server &#8211; Part Three</title>
		<link>http://www.lbotti.net/blog/2009/06/12/home-server-part-three/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/06/12/home-server-part-three/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 12:56:47 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Home Server]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=36</guid>
		<description><![CDATA[Well, a six month release cycle make me wonder, so instead of keeping my home server up to date with fedora, I decided to give Centos 5.3 a try. It went&#8230;well, apart from a known issue with my motherboard network card. CentOS 5.3 installs all right without complaining, but every few seconds the network card [...]]]></description>
			<content:encoded><![CDATA[<p>Well, a six month release cycle make me wonder, so instead of keeping my home server up to date with fedora, I decided to give Centos 5.3 a try.</p>
<p>It went&#8230;well, apart from a known issue with my motherboard network card. CentOS 5.3 installs all right without complaining, but every few seconds the network card delays the response.</p>
<p>Given that I use the little beast for dhcp, DNS and iscsi, this is not what i was looking for. Luckily enough, after searching for a while, I found the issue (module r8169) and built the r8168 with dkms provided by rpmforge.</p>
<p>Now all is going well. Another addition to the setup, I bought a Western Digital MyBook Studio II for backup and safety purposes. Two disks, one terabyte each, raid 1 setting.</p>
<p>Exported part of it through iscsi for the mac (storage of all digital photos through iPhoto, thanks) and the rest is for me. Connection is fast (esata2), and, anyway, I am using it mostly through WiFi, so anything could be fast enough (except USB 1.1, i think).</p>
<p>Happy? Yes, now I am confident my backups will survive a disk failure. I did not  find iscsi-target (IET implementation) in a CentOS 64 bit package, through.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/06/12/home-server-part-three/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Regione Lombardia does it partially right &#8211; second post</title>
		<link>http://www.lbotti.net/blog/2008/10/22/regione-lombardia-does-it-partially-right-second-post/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2008/10/22/regione-lombardia-does-it-partially-right-second-post/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 13:54:31 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Hacking]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=21</guid>
		<description><![CDATA[I have found that a partially, x86 only package exist for the ACR38 smart card reader. Also, looking on DAG repository, there is some packaging for RH5. So here start my first shot at packaging for Fedora&#8230;.stay tuned.]]></description>
			<content:encoded><![CDATA[<p>I have found that a partially, x86 only package exist for the ACR38 smart card reader. Also, looking on <a title='Original Link: http://dag.wieers.com/rpm/packages/pcsc-lite-acr38u/'  href="http://www.lbotti.net/blog/?d9hITOTw">DAG</a> repository, there is some packaging for RH5. So here start my first shot at packaging for Fedora&#8230;.stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2008/10/22/regione-lombardia-does-it-partially-right-second-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iSCSI &#8211; Nice Solution</title>
		<link>http://www.lbotti.net/blog/2008/10/20/iscsi-nice-solution/#utm_source=feed&#038;utm_medium=feed&#038;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2008/10/20/iscsi-nice-solution/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 13:37:36 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[iSCSI]]></category>
		<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=13</guid>
		<description><![CDATA[Prior Events I like my Linux Notebook. I really do. I started to dual boot Suse Linux back in 2002, I set it up as primary OS in 2003, I removed dual booting in 2005, using some virtualization solution or the other for things that required Windows. By the way, during these years, I saw [...]]]></description>
			<content:encoded><![CDATA[<p><span style="font-size: medium;"><strong>Prior Events</strong></span></p>
<p>I like my Linux Notebook. I really do. I started to dual boot Suse Linux back in 2002, I set it up as primary OS in 2003, I removed dual booting in 2005, using some virtualization solution or the other for things that required Windows. By the way, during these years, I saw less and less needs to do that.<br />
During these time, as professional, I bought several notebooks (If I remeber correctly, about five notbeooks from 2001 to 2008). In these times, when I was to change my notebook, the old one would be used by my wife in our home network.<br />
Well, let me say that &#8211; it was a pain, getting back to 2000/XP to fix things, with all the cycle of installation, maintenance and antivirus.<br />
These year, i asked to my wife if she were willing to try a Mac. Shock and horror, but less shock than a windows machine in my house. Also, I am attracted to Mac OS X. I admit that.<br />
So this MacBook ended in our home, and my wife is using that mainly by herself. No maintenance required.</p>
<p><span style="font-size: medium;"><strong>Backup, backup, always backup</strong></span></p>
<p>I am quite fearful to lose my digital data. Projects, documentation, invoices, mails, mostly reside on thin slices of metal with some magnetic coating&#8230; scratching heads hanging over them with only microns of thin air. Scary, indeed? It&#8217;s your hard disk.<br />
So, for the macbook, the solution in Leopard was&#8230; time machine. Quite ambitious as a backup application, indeed easy to setup and use.<br />
One drawback: only directly attached (firewire and USB) disks, or the Apple time capsule. See, a year ago I ended up aquiring this NAS device (Freecom FSG-3 250 GB, wireless) which, altough useful, i found somewhat limited.<br />
Anyway, i could back to this NAS with some hacking, which was not recomended. In the meantime, i replaced the FSG-3 with a dual desktop abaco computer (  <a title='Original Link: http://www.abacocomputers.com/english/Business/Dual-Desktop.html'  href="http://www.lbotti.net/blog/?di9OqZOS" target="_blank">Abaco</a> ) . So now I have this full featured x86 dual core low power machine. I began thinking again of the backup over the network with time machine.</p>
<p><span style="font-size: medium;"><strong>What I did</strong></span><br />
<strong><br />
Initialize Time Machine</strong><br />
First step, was to take the USB disk i was willing to use as a backup unit, partition it, and format as a HFSplus file system. HFSplus is the Mac OS X journaled file system, think ext3. On this unit, attached via USB, i started to use Time Machine through the control panel. This way, first backup is done locally, probably faster than on the network.</p>
<p><strong>Install iSCSI Target<br />
</strong>iSCSI <strong>target</strong> is the <strong>Server</strong> machine which exports file systems and / or devices. A client uses an iSCSI <strong>Initiator</strong> to connect to a target. When connected, the device is seen as a local device, with all defaults options available.  Exposing a  target is a simple three line configuration file:</p>
<blockquote><p>Target iqn.yyyy-MM.domain.name:uniqueidentifier<br />
Lun 0 Path=/dev/sdc,Type=fileio<br />
Alias MacLacie</p></blockquote>
<p><strong>Test iSCSI</strong><br />
Before going further in the iSCSI path I checked the configuration installing the Linux Initiator on my machine. After some fiddling with the console, a sudden iscsi start opened a nautilus connection with the content of remote, iSCSI attached disk. Server was working.</p>
<p><strong>MacOS side</strong><br />
I was under the impression that Leopard had a native iSCSI initiator, but that is not the case. I downloaded and installed the free (but not open source) <strong>globalSAN</strong> <strong>iSCSI Initiator </strong>from <a title='Original Link: http://www.studionetworksolutions.com/products/product_detail.php?pi=11'  href="http://www.lbotti.net/blog/?CmYOX4TD" target="_blank">studio network solutions</a></p>
<p><strong>Reconfigure Time Machine</strong><br />
You can attach the iSCSI device through the control panel applet in System Preferences. After that, the device is sensed and usable from Time Machine. Backup through wireless of a delta (around 600 MB) then took around ten minutes. Not bad.</p>
<p><span style="font-size: medium;"><strong>What I have to do</strong></span></p>
<ul>
<li><strong>Hal rules rewrite </strong>the device is seen as /dev/sdc through HAL. I have to rewrite some rules to force device location (cannot use UUID for device&#8230;)</li>
<li><strong>Services check </strong>Shut down the machine and restart &#8211; everything should work ok</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2008/10/20/iscsi-nice-solution/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

