<?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>Carlton's Online Notebook</title>
	<atom:link href="http://carlton.oriley.net/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://carlton.oriley.net/blog</link>
	<description>Linux, Asterisk, Open Source, iPhone, Macintosh, Family, etc...</description>
	<lastBuildDate>Tue, 08 Feb 2011 00:33:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Compiling 32-bit and 64-bit libraries on Snow Leopard</title>
		<link>http://carlton.oriley.net/blog/?p=49</link>
		<comments>http://carlton.oriley.net/blog/?p=49#comments</comments>
		<pubDate>Wed, 05 Jan 2011 17:55:49 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[macintosh]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=49</guid>
		<description><![CDATA[I&#8217;m going to document how I did this so that I don&#8217;t have to look this up again in the future.  I&#8217;m sure there is a better way to compile things once as both 32 and 64 bit, but this worked for me and was easy enough.  The issue I had was that [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m going to document how I did this so that I don&#8217;t have to look this up again in the future.  I&#8217;m sure there is a better way to compile things once as both 32 and 64 bit, but this worked for me and was easy enough.  The issue I had was that gpg requires 32-bit version of libgpg-error and libgcrypt, however I was doing some work with otr-python and since python is 64-bit I wanted to have libotr be 64-bit and thus the conflict with 32-bit libgpg-error and libgcrypt.  What I did was essentially download the libgpg-error and libgcrypt source and then the following:</p>
<ol>
<li>For libgpg-error do a normal ./configure ; make ; sudo make install</li>
<li>For libgcrypt do a normal ./configure ; make ; sudo make install</li>
</ol>
<p>This should have built and installed the 64-bit versions of libgpg-error and libgcrypt.  Now I&#8217;m going to rebuild them for 32-bit only using:</p>
<ol>
<li>For libgpg-error do LDFLAGS=&#8221;-arch i386 -m32&#8243; CFLAGS=&#8221;-arch i386 -m32&#8243; ./configure &#8211;host=i386-apple-darwin10.5.0 ; make</li>
<li>For libgcrypt do LDFLAGS=&#8221;-arch i386 -m32&#8243; CFLAGS=&#8221;-arch i386 -m32&#8243; ./configure &#8211;host=i386-apple-darwin10.5.0 ; make</li>
</ol>
<p><b>NOTE: Do not do a sudo make install</b><br />
Now you need to combine the 64-bit and 32-bit libraries into one.  Macs come with the tool you need called lipo. For libgpg-error do the following from the libgpg-error source directory:<br />
<code><br />
# lipo -create src/.libs/libgpg-error.0.dylib /usr/local/lib/libgpg-error.0.dylib -output /tmp/libgpg-error.0.dylib<br />
# sudo mv /tmp/libgpg-error.0.dylib /usr/local/lib/libgpg-error.0.dylib<br />
</code><br />
And from the libgcrypt source directory:<br />
<code><br />
# lipo -create src/.libs/libgcrypt.11.6.0.dylib /usr/local/lib/libgcrypt.11.6.0.dylib -output /tmp/libgcrypt.11.6.0.dylib<br />
# sudo mv /tmp/libgcrypt-11.6.0.dylib /usr/local/lib/libgcrypt-11.6.0.dylib<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=49</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>G.722 Codec Support For Asterisk 1.4</title>
		<link>http://carlton.oriley.net/blog/?p=43</link>
		<comments>http://carlton.oriley.net/blog/?p=43#comments</comments>
		<pubDate>Thu, 21 Jan 2010 14:02:54 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[g722]]></category>
		<category><![CDATA[hd]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=43</guid>
		<description><![CDATA[My new favorite IP phone is the Polycom 650, which supports wideband audio (G.722 codec). Asterisk has pass through support in the 1.4 branches, however they can&#8217;t transcode between other codecs, which makes checking voicemail. hearing ringing, and other things not audible. I noticed they have full codec support in the head repository, so I [...]]]></description>
			<content:encoded><![CDATA[<p>My new favorite IP phone is the Polycom 650, which supports wideband audio (G.722 codec). Asterisk has pass through support in the 1.4 branches, however they can&#8217;t transcode between other codecs, which makes checking voicemail. hearing ringing, and other things not audible. I noticed they have full codec support in the head repository, so I back ported the code and created the attached patch for those that want G.722 support in Asterisk 1.4.11 (it was originally written for Asterisk 1.4.7.1, but works with 1.4.11 so far). To load this patch you need to do the following from inside of the Asterisk source code directory:<br />
<code><br />
# patch -p0 < asterisk-1.4-g722.patch<br />
</code><br />
This patch was last tested on asterisk 1.4.11 (by me at least).</p>
<p><a href="http://carlton.oriley.net/asterisk-1.4-g722.patch.txt">Download Patch</a></p>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=43</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple versus Microsoft</title>
		<link>http://carlton.oriley.net/blog/?p=41</link>
		<comments>http://carlton.oriley.net/blog/?p=41#comments</comments>
		<pubDate>Sat, 02 Jan 2010 01:03:11 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=41</guid>
		<description><![CDATA[Editorial comment on how the Apple versus Microsoft battles is like comparing apples to oranges.  They are not competitors.]]></description>
			<content:encoded><![CDATA[<p>So I haven&#8217;t used my blog to write editorial posts before, but as we ring in the new year I thought I&#8217;d express my views  on Apple and Microsoft.  This is not the standard &#8220;I love X, and Y sucks&#8221; comparison.  I have become a big fan of Apple over the last 12 months (having gone from zero Macs to three in my house in that time).  I don&#8217;t understand why both Apple and Microsoft continue to really go after each other, when, fundamentally, each is not a competitor to the other. Apple is a hardware company and Microsoft is a software company (except for the XBox).<br />
Apple makes laptops, desktops, phones, MP3 players, keyboard, mice (and maybe soon a tablet), and software.  The software is roughly there to encourage you to buy their hardware.  This is the primary reason Apple has never pursued selling their OS X operating system for generic PC&#8217;s even though everyone knows it will run on them.  My opinion is that they make really nice hardware and is fairly close enough in price to equivalent PC&#8217;s (where you get quality parts underneath).  The only exception is the Mac Pro desktop, which I still find overpriced.<br />
Microsoft on the other hand makes Microsoft Windows (Desktop and Server), Microsoft Office, Microsoft Communications Server, Windows Mobile, mice, keyboards, and cameras (I&#8217;m sure some other hardware as well, but not the actual PC).  Microsoft is more than happy to sell you their software without any hardware.  In fact, I know a lot of people that run Windows on their Mac (I do with Bootcamp).<br />
Given these complimentary stances, I&#8217;m surprised that Microsoft hasn&#8217;t chosen to embrace the Macintosh and Apple.  There is much money to be gained for Microsoft to create iPhone/iTouch apps (a quick search today shows only 2, Bing and Seadragon Mobile) that more tightly integrate with their other software products.  Marketing that fact that you can run Windows on the Macintosh (instead of trying to show how cheap PC hardware can undercut their bottom line) to get the best of both worlds would be a much better strategy.  Microsoft makes a version of Office for the Mac, but it isn&#8217;t as full featured as it is for the PC.  Imagine if Microsoft embraced the Mac so much that end users could comfortably buy their software whether they were on a PC or a Mac?  That would only increase their sales and bottom line and maybe keep their foothold on that #1 slot.</p>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=41</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Postfix SSL GMail SMTP Relay on Fedora (or CentOS)</title>
		<link>http://carlton.oriley.net/blog/?p=31</link>
		<comments>http://carlton.oriley.net/blog/?p=31#comments</comments>
		<pubDate>Thu, 03 Dec 2009 16:12:10 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=31</guid>
		<description><![CDATA[The original directions for this came from here.  I&#8217;ve only modified them for a clean build of a Fedora based server or box.  They should work for Ubuntu, SUSE, etc if you have created a Certificate Authority already.

Make sure you&#8217;ve installed postfix and removed sendmail:

# yum install postfix
# yum remove sendmail


Make sure postfix [...]]]></description>
			<content:encoded><![CDATA[<p>The original directions for this came from <a href="http://bookmarks.honewatson.com/2008/04/20/postfix-gmail-smtp-relay/">here</a>.  I&#8217;ve only modified them for a clean build of a Fedora based server or box.  They should work for Ubuntu, SUSE, etc if you have created a Certificate Authority already.</p>
<ol>
<li>Make sure you&#8217;ve installed postfix and removed sendmail:<br />
<code><br />
# yum install postfix<br />
# yum remove sendmail<br />
</code>
</li>
<li>Make sure postfix has been built with the necessary dependencies (both commands below should return something, if not, then you will need a different version of postfix):<br />
<code><br />
# ldd `which postfix` | grep libsasl<br />
# ldd `which postfix` | grep libssl<br />
</code>
</li>
<li>Make sure openssl and openssl-perl are installed so we can generate certificates and create SSL connections to GMail<br />
<code><br />
# yum install openssl openssl-perl<br />
</code>
</li>
<li>Need to create a Certificate Authority (if you don&#8217;t already have one):<br />
<code><br />
# cd /etc/pki/tls/misc<br />
# ./CA.pl -newca<br />
</code><br />
You will be prompted for the file name (just hit Enter).  Then you will be asked for a PEM pass phrase, which you need to remember.  You can fill out the Country Name, State or Province Name, Locality Name, Organization Name, and Organizational Unit Name to your liking (or take the defaults).  You need to remember the Organization Name (if you changed it) as it must match one in a key we create later.  For the Common Name, fill in &#8220;CA&#8221; (without quotes).  Take defaults for everything else and when prompted to enter the pass phrase you need to enter the same one you did above.
</li>
<li>Create a client key that is sent to GMail to start the SSL encryption:<br />
<code><br />
# cd /etc/pki/tls<br />
# mkdir gmail_relay<br />
# cd gmail_relay<br />
# openssl genrsa -out server.key 1024<br />
# openssl req -new -key server.key -out server.csr<br />
# openssl ca -out server.pem -infiles server.csr<br />
</code><br />
The second openssl command above will prompt you for the Country, State, Locality, etc parameters again.  The only value that has to match what was entered for the Certificate Authority is the Organization Name.  For the Common Name you should put your server name (fully qualified preferred, but does not really matter).  The last command will prompt you for your CA pass phrase that you used earlier.  When asked if you want to Sign the certificate, say yes.  also when asked if you should commit it, say yes.
</li>
<li>Add the following to the bottom of the file /etc/postfix/main.cf.  The last setting for any option is the one that is saved, so anything above this will not be affect these final settings:<br />
<code><br />
#### GMail SSL SMTP Relay<br />
relayhost = [smtp.gmail.com]:587</p>
<p>#auth<br />
smtp_sasl_auth_enable=yes<br />
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd</p>
<p>#tls<br />
smtp_use_tls = yes<br />
smtp_sasl_security_options = noanonymous<br />
smtp_sasl_tls_security_options = noanonymous<br />
smtp_tls_note_starttls_offer = yes<br />
tls_random_source = dev:/dev/urandom<br />
smtp_tls_scert_verifydepth = 5<br />
smtp_tls_key_file=/etc/pki/tls/gmail_relay/server.key<br />
smtp_tls_cert_file=/etc/pki/tls/gmail_relay/server.pem<br />
smtpd_tls_ask_ccert = yes<br />
smtpd_tls_req_ccert =no<br />
smtp_tls_enforce_peername = no<br />
</code>
</li>
<li>Create /etc/postfix/sasl_passwd file with your GMail login credentials that looks like below:<br />
<code><br />
gmail-smtp.l.google.com user@gmail.com:password<br />
smtp.gmail.com user@gmail.com:password<br />
</code><br />
Obviously, you need to change user to your username and password to your gmail password.
</li>
<li>Protect the files with your GMail login data:<br />
<code><br />
# chmod o-r /etc/postfix/sasl_passwd<br />
# chmod o-r /etc/postfix/sasl_passwd.db<br />
# chown postfix /etc/postfix/sasl_passwd<br />
# chown postfix /etc/postfix/sasl_passwd.db<br />
</code>
</li>
<li>Restart Postfix and enjoy having your email from your server sent through your GMail account:<br />
<code><br />
# /etc/init.d/postfix restart<br />
</code>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=31</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PGPMail with Snow Leopard Mail.app</title>
		<link>http://carlton.oriley.net/blog/?p=20</link>
		<comments>http://carlton.oriley.net/blog/?p=20#comments</comments>
		<pubDate>Wed, 02 Dec 2009 22:02:01 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[mail.app]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[snow leopard]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=20</guid>
		<description><![CDATA[Getting GPGMail working with Mail.app in Snow Leopard 64-bit mode.]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been working on getting everything running with Snow Leopard (64 bit kernel mode) as I did with Leopard.  The last remaining piece of software that was not working correctly was the GPGMail plugin.  The plugin uses undocumented API&#8217;s for Mail.app and with the change over to 64 bit for all applications it seemed to have broken.  I was searching around google and found someone that had updated it to work with SL (the original author does not have the time to do it), however with the 10.6.2 update it broke again.  The fix was simply to add the new UUID&#8217;s that 10.6.2 changed and it worked again.  As I can&#8217;t seem to find the original link, I&#8217;ve included the fixed zip file here if anyone would like to use it.  All you have to do is unzip this file, then move the GPGMail.mailbundle folder to your ~/Library/Mail/Bundles directory (make sure Mail.app isn&#8217;t running first).  When you start Mail.app your GPG plugin will work again and have all the options in the preferences menus.  You may need to also enable bundles support for mail (if you aren&#8217;t using any plugins currently, or it&#8217;s a fresh install).  To do this open a Terminal and type:<br />
<code><br />
defaults write com.apple.mail EnableBundles 1<br />
</code></p>
<p><a title="Download GPGMail-1.2.1" href="http://carlton.oriley.net/blog/wp-content/uploads/2009/12/GPGMail-1.2.1.mailbundle.zip">Download GPGMail-1.2.1</a></p>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=20</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Ubuntu Apt Mirror on CentOS Server</title>
		<link>http://carlton.oriley.net/blog/?p=17</link>
		<comments>http://carlton.oriley.net/blog/?p=17#comments</comments>
		<pubDate>Wed, 24 Jun 2009 20:19:01 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=17</guid>
		<description><![CDATA[So I run an internal CentOS server that contains a complete mirror of the CentOS repositories that we use for all our servers at work.  This saves a lot of time/bandwidth as the local mirror syncs itself with the outside world once a day (around midnight) and all the local servers point at the local [...]]]></description>
			<content:encoded><![CDATA[<p>So I run an internal CentOS server that contains a complete mirror of the CentOS repositories that we use for all our servers at work.  This saves a lot of time/bandwidth as the local mirror syncs itself with the outside world once a day (around midnight) and all the local servers point at the local mirror for installs or updates.  Well, we also have a lot of Ubuntu desktops so I wanted to use the same machine to also create a local Ubuntu repository.  The tool of choice for this job is apt-mirror.  I couldn&#8217;t find an RPM (and my initial attempt at downloading the source and building was missing some prerequisites and had issues) so I figured, why not use Ubuntu to create an Ubuntu repository.  I didn&#8217;t want to have a machine dedicated to this purpose, so in comes my favorite tool for Debian/Ubuntu systems:  debootstrap.  Fortunately, there is an RPM for debootstrap for FC10, but since it only relies on Python it can be downloaded and installed directly into CentOS 5.2.  So to get a base Ubuntu install created do the following steps (at this time the highest release in Fedora&#8217;s RPM is intrepid, but that will work for our purposes):</p>
<p><code></p>
<ol>
<li>Download <a href="http://download.fedoraproject.org/pub/fedora/linux/releases/10/Everything/i386/os/Packages/debootstrap-1.0.10-1.fc10.noarch.rpm">debootstrap RPM</a> it is the same for i386 and X86_64 systems.</li>
<li># rpm -ivh debootstrap-1.0.10-1.fc10.noarch.rpm</li>
<li># mkdir /chroot</li>
<li># deboostrap --arch (amd64 or i386) intrepid /chroot/ubuntu-8.10</li>
<li># chroot /chroot/ubuntu-8.10</li>
<li>(inside-chroot)# apt-get update</li>
<li>#apt-get install apt-mirror</li>
</ol>
<p></code></p>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=17</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Repository Error (Failed to fetch&#8230; Meta-index file&#8230; malformed Release&#8230;)</title>
		<link>http://carlton.oriley.net/blog/?p=16</link>
		<comments>http://carlton.oriley.net/blog/?p=16#comments</comments>
		<pubDate>Thu, 30 Apr 2009 17:17:26 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=16</guid>
		<description><![CDATA[I created a local Ubuntu repository and redirected archive.ubuntu.com, us.archive.ubuntu.com, archive.canonical.com, and packages.medibuntu.org to it so that we can do updates locally and not keep bothering the real mirrors for every desktop in our office (not to mention building thumb drives).  I had a machine that kept giving me the following error after doing this, [...]]]></description>
			<content:encoded><![CDATA[<p>I created a local Ubuntu repository and redirected archive.ubuntu.com, us.archive.ubuntu.com, archive.canonical.com, and packages.medibuntu.org to it so that we can do updates locally and not keep bothering the real mirrors for every desktop in our office (not to mention building thumb drives).  I had a machine that kept giving me the following error after doing this, but none of the others did:</p>
<p><code><br />
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/jaunty/Release  Unable to find expected entry  main/binary-i386/Packages in Meta-index file (malformed Release file?)</code></p>
<p><code>E: Some index files failed to download, they have been ignored, or old ones used instead.</code></p>
<p>Since it was only one machine, I figured I had some inconsistencies with my apt database so the fix was simply to remove /var/lib/apt/list directory and then rebuild it and do a new apt-get update.  So if you have the same isssue here&#8217;s the steps to fix it:</p>
<p><code><br />
# sudo rm -rf /var/lib/apt/lists<br />
# sudo mkdir -p /var/lib/apt/lists/partial<br />
# sudo apt-get update<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=16</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boot Linux from USB on MacBook Pro 17&#8243;</title>
		<link>http://carlton.oriley.net/blog/?p=15</link>
		<comments>http://carlton.oriley.net/blog/?p=15#comments</comments>
		<pubDate>Mon, 23 Mar 2009 21:00:51 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=15</guid>
		<description><![CDATA[UPDATED:  March 24, 2009
I have been a long time Linux guy and have recently fallen victim to loving the MacBook Pro&#8217;s (and OS X as well).  I still wanted to have a nice way to work in Linux on my MacBook Pro without some crazy repartioning/Boot Camp hack, so I tried putting Ubuntu on a [...]]]></description>
			<content:encoded><![CDATA[<p>UPDATED:  March 24, 2009</p>
<p>I have been a long time Linux guy and have recently fallen victim to loving the MacBook Pro&#8217;s (and OS X as well).  I still wanted to have a nice way to work in Linux on my MacBook Pro without some crazy repartioning/Boot Camp hack, so I tried putting Ubuntu on a USB stick and boot it with my MBP 3,2 only to find (even using rEFIt, that it didn&#8217;t work).  So alot of reading later, it is general consensus that it is not going to work in any easy way on an MPB 3,2.  So I got a new Aluminum MBP 5,2 recently and thought, why not give it another shot.  I grabbed by Ubuntu 8.10 (created using debootstrap and some other customizations) and the latest rEFIt, 0.12) and to my surprise I got a GRUB boot screen and eventually a Gnome desktop.  I was quite surprised and happy.  Next step is to get rEFIt installed onto a USB hard disk and have it boot that external disk, so that I don&#8217;t need a rEFIt CD.  I do not want to install rEFIt to my HD as the idea would be to have something portable for my work MacBook Pro, my wife&#8217;s MacBook Pro, my personal MacBook Pro and any other MacBook Pro (5th gen v. 2) that I came across.</p>
<p>UPDATE:</p>
<p>It works!  Can now boot Linux on an unmodified MacBook Pro (5,2) from a single USB stick (or external hard drive).  I created a small 25MB partition as the first partition, formated it as Mac OS X Journaled and installed rEFIt to it, then followed that partition with a 100 MB boot partition, and then a root partition on a thumb drive (if using an external hard drive you could create swap as well, but I don&#8217;t do that on thumb drives so they don&#8217;t get worn out).  Install linux normally (debootstrap is how I do it) onto the second and third partitions.  Make sure Grub is installed to the MBR of the drive and points to the /boot partition as the second partition.  Then take the USB drive to a MacBook Pro and insert it.  Turn on the MBP and hold down the Alt/Option key until you see a boot menu offering Mac OS X or rEFIt.  Choose rEFIt.  After that you&#8217;ll be give a menu to choose OS X again or Linux.  Here, choose Linux.  Tada, now comes the Grub boot screen and then on into the Linux of your choice.  Congrats and enjoy&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=15</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadcom 4328 802.11a/b/g/n and Ubuntu 8.10</title>
		<link>http://carlton.oriley.net/blog/?p=14</link>
		<comments>http://carlton.oriley.net/blog/?p=14#comments</comments>
		<pubDate>Sun, 01 Mar 2009 16:01:33 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bcm4328]]></category>
		<category><![CDATA[broadcom]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=14</guid>
		<description><![CDATA[So I recently swapped my Intel WiFi card in my Dell Inspiron E1705 for the Broadcom 4328 in order to have it work with my Mac OS X Leopard trial.  I noticed that when I booted into Ubuntu my wireless was now broken and need some fixing.  Make sure you have a wired ethernet connection [...]]]></description>
			<content:encoded><![CDATA[<p>So I recently swapped my Intel WiFi card in my Dell Inspiron E1705 for the Broadcom 4328 in order to have it work with my Mac OS X Leopard trial.  I noticed that when I booted into Ubuntu my wireless was now broken and need some fixing.  Make sure you have a wired ethernet connection that works as you might need it.  I started by going to System -&gt; Administration -&gt; Hardware Drivers and make sure that &#8220;Broadcom STA wireless driver&#8221; is active.  This will allow it to work, but there is some sort of problem with the ssb kernel module that breaks the wl driver.  The fix is fairly simple, put the following in the file /usr/local/bin/fixbroadcom:</p>
<p><code>#!/bin/sh<br />
rmmod b44 wl ssb b43<br />
modprobe b44<br />
modprobe wl</code></p>
<p>From the command prompt make sure the new file is executable with:</p>
<p><code># chmod +x /usr/local/bin/fixbroadcom</code></p>
<p>Then add the following line to /etc/rc.local right above where it says <code>exit 0</code>:</p>
<p><code>/usr/local/bin/fixbroadcom</code></p>
<p>Now when you reboot your wireless should be up and working using the wl knernel driver.</p>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=14</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby Library for Aastra XML Applications</title>
		<link>http://carlton.oriley.net/blog/?p=13</link>
		<comments>http://carlton.oriley.net/blog/?p=13#comments</comments>
		<pubDate>Sun, 09 Nov 2008 03:25:32 +0000</pubDate>
		<dc:creator>carlton</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[asterisk]]></category>

		<guid isPermaLink="false">http://carlton.oriley.net/blog/?p=13</guid>
		<description><![CDATA[I&#8217;ve recently had the pleasure to play with some Aastra 57i&#8217;s.  I got heavily involved in creating some XML applications for these phones and found them to be very powerful in what Aastra exposes to the developer.  My only problem was that Aastra has all these nice libraries in PHP, but I had a legacy [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently had the pleasure to play with some Aastra 57i&#8217;s.  I got heavily involved in creating some XML applications for these phones and found them to be very powerful in what Aastra exposes to the developer.  My only problem was that Aastra has all these nice libraries in PHP, but I had a legacy Rails application that worked with Polycom phones that I wanted to add Aastra support to.  So I set out to port all those PHP classes to Ruby ones and create what was needed to make it work with a rails application.  I now offer these libraries up to anyone who many want to use them for their own use.  They are at least 99.999999% compatible with the examples for PHP, especially when it comes to parameters.  You&#8217;ll just have to change syntax to that for Ruby.  To run the GD examples you&#8217;ll need to get ruby-gd (it&#8217;s available as a gem) installed. Here&#8217;s some directions to get the sample apps up and running with Rails:</p>
<ol>
<li>Create a rails project in a directory called aastra.</li>
<p><code># rails aastra</code></p>
<li>Go into the root directory of the rails application.</li>
<p><code># cd aastra</code></p>
<li>Unzip the aastra-ruby.zip file into the root of your rails application by running.</li>
<p><code># unzip PATH_TO_ZIP/aastra-ruby.zip</code></p>
<li>Start the rails server by running.</li>
<p><code># script/server</code></p>
<li>Map one of your phone&#8217;s softkeys as XML with value of the demo application at http://yourserver:3000/aastra/aastra_sample.</li>
<li>Optionally map one of your phone&#8217;s softkeys as XML with the value of the GD demo application at http://yourserver:3000/aastra/aastra_gd_sample.</li>
</ol>
<p>I&#8217;ve created a <a href="http://code.google.com/p/ruby-aastra/">Google Code</a> project for it.<br />
Download library from <a href="http://code.google.com/p/ruby-aastra/downloads/list">Google Code</a>.<br />
View rdoc documentation <a href="/aastra-ruby-rdoc/">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://carlton.oriley.net/blog/?feed=rss2&amp;p=13</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
