<?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>ArvinderKang.com &#187; Leopard</title>
	<atom:link href="http://arvinderkang.com/tag/leopard/feed/" rel="self" type="application/rss+xml" />
	<link>http://arvinderkang.com</link>
	<description>The world is my backyard.</description>
	<lastBuildDate>Thu, 29 Jul 2010 22:58:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Imaging ppc iMacs using Deploy Studio</title>
		<link>http://arvinderkang.com/2009/12/07/imaging-ppc-imacs-using-deploy-studio/</link>
		<comments>http://arvinderkang.com/2009/12/07/imaging-ppc-imacs-using-deploy-studio/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 22:46:14 +0000</pubDate>
		<dc:creator>Arvinder Kang</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[deploy studio]]></category>
		<category><![CDATA[imaging]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[OS X 10.5]]></category>
		<category><![CDATA[ppc]]></category>

		<guid isPermaLink="false">http://arvinderkang.com/2009/12/07/imaging-ppc-imacs-using-deploy-studio/</guid>
		<description><![CDATA[For imaging(reinstalling/updating/blah blah!) more than fifty ppc iMacs and G5 Mac Towers in less than a day, I started using Deploy Studio instead of NetRestore. However on booting a client from the NetBoot server, i got the following sign on &#8230; <a href="http://arvinderkang.com/2009/12/07/imaging-ppc-imacs-using-deploy-studio/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>For imaging(reinstalling/updating/blah blah!) more than fifty ppc iMacs and G5 Mac Towers in less than a day, I started using <a href="http://www.deploystudio.com/" title="Image. Deploy. Configure.">Deploy Studio</a> instead of <a href="http://www.bombich.com/deprecated.html" title="Bombich.com: Bombich Software">NetRestore</a>.</p>

<p>However on booting a client from the NetBoot server, i got the following sign on <a href="http://en.wikipedia.org/wiki/PowerPC" title="PowerPC - Wikipedia, the free encyclopedia">ppc</a> client machine</p>

<p><img src="http://arvinderkang.com/wp-content/uploads/2009/12/netboot.jpg" alt="netboot" /></p>

<hr />

<p>After reading some notes on NetBoot <a href="http://www.bombich.com/mactips/netboot.html" title="Bombich.com: Troubleshooting the NetBoot Process">here</a>, I found this reason:</p>

<blockquote>
  <p>The mach.macos.mkext file is a kernel extensions cache &#8212; a file containing all the important kernel extensions for basic network booting.
  Its fairly uncommon to run into problems in this stage of the Netboot process, however, there are a couple specific issues that can cause kernel panics at this point. Possible problems would be:</p>
  
  <p>Not having a mach.macosx and mach.macosx.mkext file in your Netboot set</p>
</blockquote>

<p>And when checked <em>mach.macosx.mkext</em> was actually missing from the nbi&#8217;s dmg file. So I generated one using following code</p>

<p><code>
    kextcache -a ppc -m /Library/NetBoot/NetBootSP0/DeployStudioRuntime-091207-145110.nbi/ppc/mach.macosx.mkext -N -L /Volumes/DeployStudioRuntime/System/Library/Extensions/
</code></p>

<p>And my netboot imaging operation was back in business. Ahhh&#8230;. Freshly minted macs by the time I walk in tomorrow morning.</p>
]]></content:encoded>
			<wfw:commentRss>http://arvinderkang.com/2009/12/07/imaging-ppc-imacs-using-deploy-studio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leopard firewall revisited</title>
		<link>http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/</link>
		<comments>http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 21:19:13 +0000</pubDate>
		<dc:creator>Arvinder Kang</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[ipfw]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[waterroof]]></category>

		<guid isPermaLink="false">http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/</guid>
		<description><![CDATA[While bringing up firewalls for my test server, I thought of doing a little check on my machine. The logs raised both my eyebrows. Dear Google told me, I was not the only one. Leopard introduced application based firewall, while &#8230; <a href="http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://arvinderkang.com/wp-content/uploads/2009/03/orion-aveugle-cherchant-le-soleil.jpg" alt="Orion Aveugle Cherchant le Soleil" /></p>

<p>While bringing up firewalls for my test server, I thought of doing a little check on my machine. The logs raised both my eyebrows. Dear Google told me, <a href="http://db.tidbits.com/article/9294" title="TidBITS Safe Computing: Leopard Firewall Takes One Step Forward, Three Steps Back">I was not the only one</a>.</p>

<p>Leopard introduced application based firewall, while the old ipfw still exists with just one default rule (Accept everything from everything!)</p>

<pre><code>65535 allow ip from any to any
</code></pre>

<p><span id="more-188"></span>
So with Application firewall doing its best, lets add some ipfw rules. One way to do is <a href="http://www.freebsd.org/doc/en/books/handbook/firewalls-ipfw.html" title="IPFW">making and adding new rules</a>. However Newton said &#8220;<em>Pigmaei gigantum humeris impositi plusquam ipsi gigantes vident</em>(If I have seen a little further it is by standing on the shoulders of Giants.)&#8221;</p>

<p>So I downloaded the tested <a href="http://securosis.com/2007/11/15/ipfw-rules/" title="ipfw Rules, 2007/11/15 revision | securosis.com">ipfw rule list from securosis.com</a> to start with and tweaked to my taste, and imported the file into <a href="http://www.hanynet.com/waterroof/" title="WaterRoof ipfw firewall frontend">WaterRoof</a>, an ipfw frontend.</p>

<p>To check your ipfw rules, use “sudo ipfw list“. When you’re satisfied with your rules, install them for future reboots with “Tools > Rules Configuration > Save to startup configuration” and “Tools > Startup Script > Install Startup Script”.</p>

<p>I also installed <a href="http://www.wireshark.org/" title="Wireshark: Go deep.">WireShark</a>, originally known as Ethereal, but could not get it working. However a look at network log is much more satisfactory now than before.</p>

<p>Image: Cedalion standing on the shoulders of Orion from Blind Orion Searching for the Rising Sun by Nicolas Poussin, 1658. This image is in the public domain.</p>
]]></content:encoded>
			<wfw:commentRss>http://arvinderkang.com/2009/03/07/leopard-firewall-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing RMagick on OS X Leopard</title>
		<link>http://arvinderkang.com/2008/08/01/installing-rmagick-on-os-x-leopard/</link>
		<comments>http://arvinderkang.com/2008/08/01/installing-rmagick-on-os-x-leopard/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 08:26:37 +0000</pubDate>
		<dc:creator>Arvinder Kang</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[ImageMagick]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[RMagick]]></category>

		<guid isPermaLink="false">http://arvinderkang.com/2008/08/02/installing-rmagick-on-os-x-leopard/</guid>
		<description><![CDATA[I work with Ruby on Leopard and and I need RMagick. If you are a programmer and don&#8217;t know what RMagick is, you should know how code can melt your picture into art in Ruby:). Thanks to Onrails.org for the &#8230; <a href="http://arvinderkang.com/2008/08/01/installing-rmagick-on-os-x-leopard/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://arvinderkang.com/wp-content/uploads/2008/08/rmagick-clown.jpg" alt="Rmagick Clown" /></p>

<p>I work with Ruby on Leopard and and I need <a href="http://rmagick.rubyforge.org/" title="RMagick Download Page">RMagick</a>.</p>

<p>If you are a programmer and don&#8217;t know what RMagick is, you should know <a href="http://rmagick.rubyforge.org/portfolio2.html" title="RMagick Portfolio (page 2)">how code can melt your picture into art in Ruby:)</a>.</p>

<p><span id="more-88"></span>
Thanks to <a href="http://onrails.org/articles/2007/11/03/installing-rmagick-on-leopard-without-macports-or-fink" title="Installing RMagick on Leopard (without MacPorts or Fink)">Onrails.org for the starting script</a>, I have removed some cruft and added some spice.</p>

<p>RMagicK install tastes good with <a href="http://www.brewhighpoint.com/" title="Buy High Point Coffee">freshly brewed UpTown coffee</a>.</p>

<pre><code>#!/bin/sh
mkdir -p ~/Scripts
cd ~/Scripts
if [ -d ImageMagickInstall ]
then
# remove old ImageMagickInstall directory if it exists 
   rm -rf ImageMagickInstall
fi
cd ~/Scripts/ImageMagickInstall

curl -O http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz
tar xzvf freetype-2.3.5.tar.gz
cd freetype-2.3.5
./configure --prefix=/usr/local
make
sudo make install
cd ..

curl -O http://superb-west.dl.sourceforge.net/sourceforge/libpng/libpng-1.2.22.tar.bz2
tar jxvf libpng-1.2.22.tar.bz2
cd libpng-1.2.22
./configure --prefix=/usr/local
make
sudo make install
cd ..

curl -O ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz
tar xzvf jpegsrc.v6b.tar.gz
cd jpeg-6b
ln -s `which glibtool` ./libtool
export MACOSX_DEPLOYMENT_TARGET=10.5
./configure --enable-shared --prefix=/usr/local
make
sudo make install
cd ..

curl -O ftp://ftp.remotesensing.org/libtiff/tiff-3.8.2.tar.gz
tar xzvf tiff-3.8.2.tar.gz
cd tiff-3.8.2
./configure --prefix=/usr/local
make
sudo make install
cd ..

curl -O http://jaist.dl.sourceforge.net/sourceforge/wvware/libwmf-0.2.8.4.tar.gz
tar xzvf libwmf-0.2.8.4.tar.gz
cd libwmf-0.2.8.4
make clean
./configure
make
sudo make install
cd ..

curl -O http://www.littlecms.com/lcms-1.17.tar.gz
tar xzvf lcms-1.17.tar.gz
cd lcms-1.17
make clean
./configure
make
sudo make install
cd ..

curl -O http://ufpr.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-8.60.tar.gz
tar zxvf ghostscript-8.60.tar.gz
cd ghostscript-8.60/
./configure  --prefix=/usr/local
make
sudo make install
cd ..

curl -O http://ufpr.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-fonts-std-8.11.tar.gz
tar zxvf ghostscript-fonts-std-8.11.tar.gz
sudo mv fonts /usr/local/share/ghostscript

curl -O http://internap.dl.sourceforge.net/sourceforge/imagemagick/ImageMagick-6.4.2-5.tar.gz
tar xzvf ImageMagick-universal-apple-darwin9.4.0.tar.gz
cd ImageMagick-6.4.2.2
export CPPFLAGS=-I/usr/local/include
export LDFLAGS=-L/usr/local/lib
./configure --prefix=/usr/local --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --with-gs-font-dir=/usr/local/share/ghostscript/fonts
make
sudo make install
cd ..

sudo gem install RMagick
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://arvinderkang.com/2008/08/01/installing-rmagick-on-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing command line MP3 player</title>
		<link>http://arvinderkang.com/2008/06/28/installing-command-line-mp3-player/</link>
		<comments>http://arvinderkang.com/2008/06/28/installing-command-line-mp3-player/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 11:28:23 +0000</pubDate>
		<dc:creator>Arvinder Kang</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[Leopard]]></category>
		<category><![CDATA[mp3 player]]></category>
		<category><![CDATA[mpg123]]></category>
		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://arvinderkang.com/2008/06/29/installing-command-line-mp3-player/</guid>
		<description><![CDATA[mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3. I was playing with Ruby scripts and needed a command line mp3 player which was not a resource hog. Steps I took for my OS X &#8230; <a href="http://arvinderkang.com/2008/06/28/installing-command-line-mp3-player/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img src="http://arvinderkang.com/wp-content/uploads/2008/06/mpg-123-player.png" alt="Mpg 123 Player" /></p>

<p><a href="http://www.mpg123.de/" title="mpg123, Fast MP3 Player for Linux and UNIX systems">mpg123</a> is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3.</p>

<p>I was playing with Ruby scripts and needed a command line mp3 player which was not a resource hog.</p>

<p>Steps I took for my OS X (Should work on Linux/Unix box):</p>

<p>Download the latest version from <a href="http://www.mpg123.de/download.shtml" title="mpg123: download">the website</a>.</p>

<p>Untar the archive</p>

<pre><code>tar -xvf mpg123-1.4.3.tar
</code></pre>

<p>Compile and install the player</p>

<pre><code>./configure --prefix=/usr/local/mpg123
make
make install
</code></pre>

<p>Add the path to .bash&#95;profile</p>

<pre><code>echo 'export PATH=/usr/local/mpg123/bin:$PATH' &gt;&gt; ~/.bash_profile
</code></pre>

<p>Load the new path</p>

<pre><code>source ~/.bash_profile
</code></pre>

<p>Enjoy playing music from command-line!</p>

<pre><code> mpg123 ~/Music/Bagho_Bagh_Gippy_Grewal.mp3
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://arvinderkang.com/2008/06/28/installing-command-line-mp3-player/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->