<?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>ub[3]rgeek.net</title>
	<atom:link href="http://blog.ub3rgeek.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ub3rgeek.net</link>
	<description>Words and ideas from a mildly misanthropic technologist.</description>
	<lastBuildDate>Fri, 13 Aug 2010 03:48:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Site updates &#8212; unification the themes</title>
		<link>http://blog.ub3rgeek.net/2010/08/12/site-updates-unification-the-themes/</link>
		<comments>http://blog.ub3rgeek.net/2010/08/12/site-updates-unification-the-themes/#comments</comments>
		<pubDate>Fri, 13 Aug 2010 03:48:39 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://blog.ub3rgeek.net/2010/08/12/site-updates-unification-the-themes/</guid>
		<description><![CDATA[I spent a little time in the last day or so updating Wordpress and loggerhead with themes that look pretty close to the main ub3rgeek.net page.  I apologize if something looks funky.  Please feel free to let me know if you find anything broken.
]]></description>
			<content:encoded><![CDATA[<p>I spent a little time in the last day or so updating Wordpress and loggerhead with themes that look pretty close to the main ub3rgeek.net page.  I apologize if something looks funky.  Please feel free to let me know if you find anything broken.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2010/08/12/site-updates-unification-the-themes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WiFi Calling &#8211; The biggest reason I am staying with T-Mobile</title>
		<link>http://blog.ub3rgeek.net/2010/08/12/wifi-calling-the-biggest-reason-i-am-staying-with-t-mobile/</link>
		<comments>http://blog.ub3rgeek.net/2010/08/12/wifi-calling-the-biggest-reason-i-am-staying-with-t-mobile/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 17:47:13 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[cellphones]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://blog.ub3rgeek.net/?p=405</guid>
		<description><![CDATA[It is pretty obvious that T-Mobile is a fourth-string carrier here in the United States.  They were pretty late to the 3G game and while now with their HSPA+ network they have the fastest network currently in wide availability in the US they still have a long way to go to even catch up [...]]]></description>
			<content:encoded><![CDATA[<p>It is pretty obvious that T-Mobile is a fourth-string carrier here in the United States.  They were pretty late to the 3G game and while now with their HSPA+ network they have the fastest network currently in wide availability in the US they still have a long way to go to even catch up with Sprint.</p>
<p>That said, around 3 years ago <a href="http://blog.ub3rgeek.net/2008/03/03/silly-things-amuse-me-but-global-is-the-future/">I left Sprint (after 7 years)</a> and went over to the magenta side.  I started traveling internationally and wanted a GSM phone and so, firmly remembering my hatred for Cingulair wireless (now AT&#038;T) I went to the only provider at the time that would enable me to roam almost anywhere.  And boy am I lucky that I did.</p>
<p><a href="http://blog.ub3rgeek.net/wp-content/uploads/2010/08/Capture2_11_51.jpg"><img src="http://blog.ub3rgeek.net/wp-content/uploads/2010/08/Capture2_11_51-300x225.jpg" alt="BlackBerry 9700, T-Mobile, UMA" title="UMA From Australia" width="300" height="225" class="alignleft size-medium wp-image-406" /></a><br />
No other US nation-wide carrier presently supports dual-mode calling (WiFi and Cellular) which is a huge shame as it has been the single best feature of being a T-Mobile customer.  Being able to fill the gaps in their coverage with WiFi is wonderful by itself but the true surprise is being able to reduce or even eliminate roaming charges when traveling <em>internationally</em>.  I spent two weeks in Australia earlier this summer and while I was there when I could I spent much of my time actually registered on the T-Mobile network via UMA as opposed to roaming on Vodafone AU.  This saved me about $80 on my bill versus the previous year when I was in Australia without having a phone capable of WiFi.</p>
<p>I really don&#8217;t know why every carrier doesn&#8217;t support this, being able to fill the gaps in your network by using unlicensed access technologies sure beats the hell out of the expensive femtocell technology, and the customer benefits of reducing roaming charges is a pretty compelling business case (if you ask me).</p>
<p>As an aside, presently only the BlackBerry and a couple Nokia handsets on T-Mobile support UMA.  This is one of the huge reasons I won&#8217;t even consider switching to Android at this point.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2010/08/12/wifi-calling-the-biggest-reason-i-am-staying-with-t-mobile/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Advantages to working smarter&#8230;</title>
		<link>http://blog.ub3rgeek.net/2010/07/26/advantages-to-working-smarter/</link>
		<comments>http://blog.ub3rgeek.net/2010/07/26/advantages-to-working-smarter/#comments</comments>
		<pubDate>Mon, 26 Jul 2010 16:40:33 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[telecommuting]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.ub3rgeek.net/?p=400</guid>
		<description><![CDATA[Now I know that this may not even apply universally to everyone in the Information Technology field but I felt that I needed to share anyway.
One of the greatest things about my current job is the ability to work from just about anywhere using just about any computer as long as I have an Internet [...]]]></description>
			<content:encoded><![CDATA[<p>Now I know that this may not even apply universally to everyone in the Information Technology field but I felt that I needed to share anyway.</p>
<p>One of the greatest things about my current job is the ability to work from just about anywhere using just about any computer as long as I have an Internet connection and a SSH client.  I frequently find myself working from home on my personal laptop, or from friend&#8217;s houses using their own computers and I am as effective as I would be at the office.  Today really cemented that fact with me when I made the Monday morning blunder of  arriving to work without my laptop.  Instead of driving all the way back home (and wasting even more of the morning) I just grabbed a spare laptop that is laying around the office and using that today.</p>
<p><a href="http://blog.ub3rgeek.net/wp-content/uploads/2010/07/Capture12_15_3.jpg"><img src="http://blog.ub3rgeek.net/wp-content/uploads/2010/07/Capture12_15_3-300x225.jpg" alt="" title="MidpSSH on BlackBerry" width="300" height="225" class="alignleft size-medium wp-image-401" /></a>I remember a number of nights earlier in the year when I was on-call and out somewhere either without my laptop or without an Internet connection.  Though it was slightly slower than I would have been on a laptop I managed to resolve a number of production critical emergencies using nothing more than my BlackBerry and MidpSSH.</p>
<p>I leverage a few tools to make this happen but the most important one I think of them all is GNU screen.  The usefulness of this to anyone who wants to be able to use any computer in the world to be productive cannot be over-stressed.  I recall one evening while I was on vacation in Australia last month where I noticed (via our internal IRC channel) that people were trying to troubleshoot a problem with our network storage infrastructure and was able to connect in to my work computer 12,000 miles away and fix the issues with nothing more than a terminal application on my laptop.  </p>
<p>For IM and IRC I have as much connected to Irssi as I can reasonably manage.  Irssi is a really great compliment to screen and there are a number of sites advocating that particular use case.  I never miss anything with this configuration as I am always online and Irssi is kind enough to log everything and provide a pretty lengthy scroll-back buffer.  What I end up with is essentially one screen session that contains my e-mail (using mutt) for both home and work, IRC, IM, and many of our internal web-based tools (thanks to w3m).  Thanks to work being almost exclusively a Linux shop all of this can sit running all the time on a system sitting in one of our data centres with what essentially amounts to a Gigabit Ethernet connection to the Internet.  From there all I ever really need is ssh(1) to connect to any of several hundred servers scattered across the United States and I can manage to be just as productive as if I was sitting in the office.</p>
<p>I honestly can&#8217;t imagine considering a job where I&#8217;m tied down to an office, or at the very least one where I was tied down to an office and then expected to work non-normal business hours.  With pretty simple tools it is extremely easy to allow IT people to work from anywhere happily and securely.  The ability for employees to continue to do their job from anywhere on the planet should the need arise is not only great for morale and general quality of life (you mean I can work from the beach?!) but makes sense when business critical applications and services require specific expertise that may not be replicated anywhere else in the company (what do you mean Bob is on vacation in Fiji?!).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2010/07/26/advantages-to-working-smarter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The heady dreams of youth revisited&#8230; flight!</title>
		<link>http://blog.ub3rgeek.net/2010/07/20/the-heady-dreams-of-youth-revisited-flight/</link>
		<comments>http://blog.ub3rgeek.net/2010/07/20/the-heady-dreams-of-youth-revisited-flight/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 16:05:40 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[flying]]></category>
		<category><![CDATA[travel]]></category>

		<guid isPermaLink="false">http://blog.ub3rgeek.net/?p=397</guid>
		<description><![CDATA[Earlier this year I had the good fortune to visit some friends in California and take my first ride in a light airplane.  In spite of the 29,000+ miles I have flown this year the smallest plane I had been on prior was a twin-turboprop Delta Connection flight out of IAD to ROC so [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this year I had the good fortune to <a href="http://www.flickr.com/photos/mernisse/sets/72157623445015053/">visit some friends</a> in California and take my first ride in a light airplane.  In spite of the 29,000+ miles I have flown this year the smallest plane I had been on prior was a twin-turboprop Delta Connection flight out of <acronym title="Washington Dulles International Airport">IAD</acronym> to <acronym title="Greater Rochester International Airport">ROC</acronym> so this was a really unique experience for me.</p>
<p>We flew from <acronym title="Auburn Municipal Airport">AUN</acronym> out over the San Francisco Bay, out to the Golden Gate Bridge and then down the Pacific coast to <acronym title="Half-Moon Bay">HAF</acronym> where we went and had dinner.  After dinner we flew over San Francisco back up to <acronym title="Auburn Municipal Airport">AUN</acronym> after dark which was a truly beautiful view and if I am honest was almost magical.</p>
<p>I think it jarred something loose in my head.  For as long as I can remember I have always been fascinated with aviation and have always wanted to learn to fly.  For years though that dream sat idle in the pile of things that would be nice to do someday when I made &#8216;real money&#8217; and could afford such extravagances (like air conditioning or food).  I&#8217;m not really sure how much I was smiling after that first flight but I imagine you probably could have seen it from at least 10,000ft.  I think I was hooked at that very moment.  It really doesn&#8217;t help that my friend is a very persuasive individual when he is passionate about something, and flying is something he is exceptionally passionate about.  It took me a few months, and a <a href="http://www.flickr.com/photos/mernisse/sets/72157623455330849/">few</a> more <a href="http://www.flickr.com/photos/mernisse/sets/72157624178257145/">trips</a> to convince me that it was truly something within my grasp but last week I finally got down to the local airport <acronym title="Williamson-Sodus Airport">SDC</acronym>, and took an intro flight with the resident <acronym title="Certified Flight Instructor Instrument">CFII</acronym>.  </p>
<p>We flew out of SDC and then down towards my house in Fairport, circled around and came back.  It was only a half-hour of flying time but it was easily the most memorable half hour of my life in the last few years.  And to be clear in the last few years I have been to <a href="http://www.flickr.com/photos/mernisse/sets/72157608657619868/">Edinburgh and London</a>, <a href="http://www.flickr.com/photos/mernisse/sets/72157621554334633/">Australia</a>&#8230; <a href="http://www.flickr.com/photos/mernisse/sets/72157624213439464/">twice</a> as well as <a href="http://www.flickr.com/photos/mernisse/sets/72157607415695506/">California</a> <a href="http://www.flickr.com/photos/mernisse/sets/72157624178257145/">three</a> times.  So that is a statement that I do not take lightly.</p>
<p>There are some logistics still up in the air but never before have I been quite as excited about anything as I am about the prospect of being able to take to the sky and explore the world of General Aviation.  </p>
<p>While my wallet will never be quite the same again I can&#8217;t thank everyone who finally kicked me off this cliff enough.  I can&#8217;t promise I will take malicious notes here chronicling my experience as I seem to have an aversion to updating this damnable thing but I am sure I will update more often than I have recently.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2010/07/20/the-heady-dreams-of-youth-revisited-flight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PXEboot VMWare ESXi 4.0 Installer</title>
		<link>http://blog.ub3rgeek.net/2010/05/01/pxeboot-vmware-esxi-4-0-installer/</link>
		<comments>http://blog.ub3rgeek.net/2010/05/01/pxeboot-vmware-esxi-4-0-installer/#comments</comments>
		<pubDate>Sat, 01 May 2010 16:35:12 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://blog.ub3rgeek.net/?p=384</guid>
		<description><![CDATA[Introduction, or Why I care&#8230;
I have been meaning to install ESXi on a server I have sitting in the house for a while but a lack of CD-ROM drive has been stalling things for a while so I wanted to see if there was any chance of booting the ISO image from the network.
The server [...]]]></description>
			<content:encoded><![CDATA[<h3>Introduction, or Why I care&#8230;</h3>
<p>I have been meaning to install ESXi on a server I have sitting in the house for a while but a lack of CD-ROM drive has been stalling things for a while so I wanted to see if there was any chance of booting the ISO image from the network.</p>
<p>The server has internal storage, so I&#8217;m not RUNNING ESXi off the PXEBoot image, I&#8217;m installing it.</p>
<ol>
<li>Yes, there sure is</li>
<li>All the guides currently around the Internet, SUCK.</li>
</ol>
<h3>Prerequisites, or what you should already know&#8230;</h3>
<p>You will obviously require a working PXEboot Network infrastructure, which means a functioning TFTP server and a functioning DHCP server, which is setup to give out your TFTP server and PXELinux executable.  There are numerous guides on this so I&#8217;m not going to go into that here.  For reference, I&#8217;m running Ubuntu Server 9.10 on my TFTP host and OpenBSD 4.7-current on my DHCP server.</p>
<h3>Process, or what the hell do I do&#8230;</h3>
<p>Get the VMWare ESXi ISO from their website, this should be more straightforward than it is, but what can you do.  Once you have the image, use something like Daemon Tools under Windows, or a loopback mount(8) under Linux to get access to the ISO.  The root directory of the ISO should look something like this:</p>
<pre>
boot.cat
cimstg.tgz
cim.vgz
cisco_n1k
ienviron.tgz
image.tgz
install.tgz
isolinux.bin
isolinux.cfg
mboot.c32
menu.c32
README.txt
sys.vgz
vmkboot.gz
vmkernel.gz
</pre>
<p>If you look at the isolinux.cfg file, you will see what files are loaded for boot.  I copied mboot.c32 (the chainloader), and *gz to a subdirectory in my tftpboot dir (the Ubuntu default of /var/lib/tftpboot in my case) called esxi.  I then added the following line to my pxelinux.cfg/default file:</p>
<p><code><br />
LABEL esxi<br />
        kernel mboot.c32<br />
        append esxi/vmkboot.gz --- esxi/vmkernel.gz --- esxi/sys.vgz --- esxi/cim.vgz --- esxi/ienviron.tgz --- esxi/install.tgz --- esxi/image.tgz<br />
</code></p>
<p>You should now be able to boot your system and select Network Boot, it will take a while to tftp over the image.tgz file but once it does it should fire up the ESXi installer and let you install as you would over the harddrive.  A few minutes later you should have a screen telling you to reboot and then you should have a working ESXi server.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2010/05/01/pxeboot-vmware-esxi-4-0-installer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bluetooth DUN with BlackBerry 9700, T-Mobile and Ubuntu 9.10</title>
		<link>http://blog.ub3rgeek.net/2009/12/29/bluetooth-dun-with-blackberry-9700-t-mobile-and-ubuntu-9-10/</link>
		<comments>http://blog.ub3rgeek.net/2009/12/29/bluetooth-dun-with-blackberry-9700-t-mobile-and-ubuntu-9-10/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 22:44:39 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[bluetooth]]></category>
		<category><![CDATA[dun]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[t-mobile]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.ub3rgeek.net/?p=367</guid>
		<description><![CDATA[I just bought a new laptop (Thinkpad T500) but the only WWAN cards available built in were for either Verizon or AT&#038;T, which is suboptimal as I use T-Mobile which uses the AWS UMTS bands (1,4,8) instead of the bands used in the US by AT&#038;T (1,2,5,6).  Since my Blackberry 9700 supports T-Mobile 3G [...]]]></description>
			<content:encoded><![CDATA[<p>I just bought a new laptop (Thinkpad T500) but the only WWAN cards available built in were for either Verizon or AT&#038;T, which is suboptimal as I use T-Mobile which uses the <a href="http://en.wikipedia.org/wiki/Advanced_Wireless_Services">AWS</a> <a href="http://en.wikipedia.org/wiki/UMTS_frequency_bands">UMTS bands</a> (1,4,8) instead of the bands used in the US by AT&#038;T (1,2,5,6).  Since my Blackberry 9700 supports T-Mobile 3G as well as their implementation of <a href="http://en.wikipedia.org/wiki/Unlicensed_Mobile_Access">UMA</a> I decided to try to get the Bluetooth DUN working.</p>
<p><div id="attachment_368" class="wp-caption alignleft" style="width: 310px"><img src="http://blog.ub3rgeek.net/wp-content/uploads/2009/12/tmo-uma-bt-ppp-300x179.png" alt="Bluetooth DUN, T-Mobile UMA" title="T-Mobile Bluetooth DUN Speedtest" width="300" height="179" class="size-medium wp-image-368" /><p class="wp-caption-text">Bluetooth DUN, T-Mobile UMA</p></div>I was hoping that with 9.10, things would have progressed enough that I could pair the phone with the computer and let NetworkManager take care of all of the irritating tedious stuff.  With my GPRS PCMCIA card this is basically the case, NetworkManager notices that it is a GPRS WWAN card, and asks me who my carrier is and connects just fine.  Unfortunately this is not the case with Bluetooth.  I can get the phone paired but for some reason it exclaims that this is not a GPRS modem and refuses to let me tell it otherwise, so I&#8217;m forced to go about this the hard way.</p>
<p>After much searching, this post got me the closest though recent changes either with the new OS 5.0 on the 9700 or T-Mobile&#8217;s network have made some tweaks necessary. </p>
<p><a href="http://pegelinux.wordpress.com/2008/06/11/blackberry-curve-8310-as-bluetooth-modem-on-ubuntu-hardy/">http://pegelinux.wordpress.com/2008/06/11/blackberry-curve-8310-as-bluetooth-modem-on-ubuntu-hardy/</a></p>
<p>I will not go into all the step-by-step details as it is covered above and elsewhere, but first you need to get your computer to bind to the Blackberry DUN service via Bluetooth, I chose to edit /etc/bluetooth/rfcomm.conf to make this happen automatically, but BlueManager also seems to be able to do the same thing with a much more friendly UI if you want to try that route, anyway you cut it, you need to have the DUN service show up as a /dev/rfcomm# device.  Once you have completed that you will want to setup pppd(8) much like the above article suggests.</p>
<p>This resulted in a session that looked like the following for me:<br />
<code><br />
mernisse@mernisse-laptop:/etc/chatscripts$ pppd call gprs<br />
Press CTRL-C to close the connection at any stage!<br />
defining PDP context...</p>
<p>OK</p>
<p>OK<br />
waiting for connect...</p>
<p>CONNECT<br />
Connected.<br />
If the following ppp negotiations fail,<br />
try restarting the phone.</p>
<p>Script /etc/chatscripts/gprs-connect-chat finished (pid 14835), status = 0x0<br />
Serial connection established.<br />
using channel 1<br />
Using interface ppp0<br />
Connect: ppp0 &lt; --&gt; /dev/rfcomm0<br />
sent LCP ConfReq id=0x1 &lt;asyncmap 0x0&gt; &lt;magic 0x5db98b32&gt;<br />
rcvd LCP ConfReq id=0x0 &lt;asyncmap 0x0&gt; &lt;auth pap&gt;<br />
sent LCP ConfAck id=0x0 &lt;asyncmap 0x0&gt; &lt;auth pap&gt;<br />
rcvd LCP ConfRej id=0x1 &lt;magic 0x5db98b32&gt;<br />
sent LCP ConfReq id=0x2 &lt;asyncmap 0x0&gt;<br />
rcvd LCP ConfAck id=0x2 &lt;/asyncmap&gt;&lt;asyncmap 0x0&gt;<br />
sent PAP AuthReq id=0x1 user="mernisse-laptop" password=""<br />
rcvd PAP AuthAck id=0x0<br />
PAP authentication succeeded<br />
sent CCP ConfReq id=0x1 &lt;deflate 15&gt; &lt;/deflate&gt;&lt;deflate (old#) 15&gt;<br />
sent IPCP ConfReq id=0x1 &lt;addr 0.0.0.0&gt; &lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
rcvd LCP ProtRej id=0x1 80 fd 01 01 00 0c 1a 04 78 00 18 04 78 00<br />
Protocol-Reject for 'Compression Control Protocol' (0x80fd) received<br />
rcvd IPCP ConfReq id=0x2 &lt;addr 169.254.1.1&gt;<br />
sent IPCP ConfAck id=0x2 &lt;/addr&gt;&lt;addr 169.254.1.1&gt;<br />
rcvd IPCP ConfNak id=0x1 &lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
sent IPCP ConfReq id=0x2 &lt;addr 0.0.0.0&gt; &lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x2 &lt;/ms&gt;&lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
sent IPCP ConfReq id=0x3 &lt;addr 0.0.0.0&gt; &lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x3 &lt;/ms&gt;&lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
sent IPCP ConfReq id=0x4 &lt;addr 0.0.0.0&gt; &lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x4 &lt;/ms&gt;&lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
sent IPCP ConfReq id=0x5 &lt;addr 0.0.0.0&gt; &lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x5 &lt;/ms&gt;&lt;ms -dns1 0.0.0.0&gt; &lt;/ms&gt;&lt;ms -dns2 0.0.0.0&gt;<br />
sent IPCP ConfReq id=0x6 &lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x6<br />
sent IPCP ConfReq id=0x7 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x7<br />
sent IPCP ConfReq id=0x8 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x8<br />
sent IPCP ConfReq id=0x9 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x9<br />
sent IPCP ConfReq id=0xa &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0xa &lt;/addr&gt;&lt;addr 14.36.76.18&gt;<br />
sent IPCP ConfReq id=0xb<br />
rcvd IPCP ConfAck id=0xb<br />
Could not determine local IP address<br />
Connect time 0.1 minutes.<br />
Sent 186 bytes, received 120 bytes.<br />
sent IPCP TermReq id=0xc "Could not determine local IP address"<br />
rcvd IPCP TermAck id=0xc<br />
sent LCP TermReq id=0x3 "No network protocols running"<br />
rcvd LCP TermAck id=0x3<br />
Connection terminated.</p>
<p>Sending break to the modem</p>
<p>PDP context detached<br />
Script /etc/chatscripts/gprs-disconnect-chat finished (pid 14843), status = 0x0<br />
Serial link disconnected.<br />
</code></p>
<p>As you can see, a number of Naks have been received for things that do not work and the connection fails.  Tracking each error down step by step I removed <strong>noauth</strong> from the peers file and replaced it with <strong>user &#8220;&#8221;</strong> to force a null user-name in the PAP authentication.  I also removed <strong>userpeerdns</strong> as it appears that the Blackberry was refusing to give it to me.  The final piece was that I was hitting what I assumed to be a race condition, as the Blackberry did not have an IP address to give me yet, it kept sending ConfNak to me until it finished setting up the tunnel to T-Mobile on my behalf&#8230; (see inset)<div id="attachment_370" class="wp-caption alignright" style="width: 310px"><img src="http://blog.ub3rgeek.net/wp-content/uploads/2009/12/Capture16_58_36-300x225.jpg" alt="Tunnel List" title="E-Screen Tunnel View" width="300" height="225" class="size-medium wp-image-370" /><p class="wp-caption-text">Tunnel List</p></div>  To overcome this I had to up the ipcp-max-configure to accomidate, the default according to pppd(8) is 10 so I set it to 20.  This, along with a few other tweaks allowed me to connect successfully.</p>
<p><code><br />
mernisse@mernisse-laptop:/etc/ppp/peers$ pppd call gprs<br />
Press CTRL-C to close the connection at any stage!<br />
defining PDP context...</p>
<p>OK</p>
<p>OK<br />
waiting for connect...</p>
<p>CONNECT<br />
Connected.<br />
If the following ppp negotiations fail,<br />
try restarting the phone.</p>
<p>Script /etc/chatscripts/gprs-connect-chat finished (pid 15068), status = 0x0<br />
Serial connection established.<br />
using channel 12<br />
Using interface ppp0<br />
Connect: ppp0 &lt; --&gt; /dev/rfcomm0<br />
sent LCP ConfReq id=0x1 &lt;asyncmap 0x0&gt; &lt;magic 0x448e9c82&gt;<br />
rcvd LCP ConfReq id=0x0 &lt;asyncmap 0x0&gt; &lt;auth pap&gt;<br />
sent LCP ConfAck id=0x0 &lt;asyncmap 0x0&gt; &lt;auth pap&gt;<br />
rcvd LCP ConfRej id=0x1 &lt;magic 0x448e9c82&gt;<br />
sent LCP ConfReq id=0x2 &lt;asyncmap 0x0&gt;<br />
rcvd LCP ConfAck id=0x2 &lt;/asyncmap&gt;&lt;asyncmap 0x0&gt;<br />
sent PAP AuthReq id=0x1 user="" password=&lt;hidden&gt;<br />
rcvd PAP AuthAck id=0x1<br />
PAP authentication succeeded<br />
sent IPCP ConfReq id=0x1 &lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfReq id=0x1 &lt;/addr&gt;&lt;addr 169.254.1.1&gt;<br />
sent IPCP ConfAck id=0x1 &lt;/addr&gt;&lt;addr 169.254.1.1&gt;<br />
rcvd IPCP ConfNak id=0x1<br />
sent IPCP ConfReq id=0x2 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x2<br />
sent IPCP ConfReq id=0x3 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x3<br />
sent IPCP ConfReq id=0x4 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x4<br />
sent IPCP ConfReq id=0x5 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x5<br />
sent IPCP ConfReq id=0x6 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x6<br />
sent IPCP ConfReq id=0x7 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x7<br />
sent IPCP ConfReq id=0x8 &lt;/addr&gt;&lt;addr 0.0.0.0&gt;<br />
rcvd IPCP ConfNak id=0x8 &lt;/addr&gt;&lt;addr 14.34.55.230&gt;<br />
sent IPCP ConfReq id=0x9 &lt;/addr&gt;&lt;addr 14.34.55.230&gt;<br />
rcvd IPCP ConfAck id=0x9 &lt;/addr&gt;&lt;addr 14.34.55.230&gt;<br />
replacing old default route to wlan0 192.168.196.1<br />
Cannot determine ethernet address for proxy ARP<br />
local  IP address 14.34.55.230<br />
remote IP address 169.254.1.1<br />
Script /etc/ppp/ip-up started (pid 15070)<br />
Script /etc/ppp/ip-up finished (pid 15070), status = 0x0<br />
^CTerminating on signal 2<br />
Connect time 4.7 minutes.<br />
Sent 300422 bytes, received 1437245 bytes.<br />
restoring old default route to wlan0 192.168.196.1<br />
Script /etc/ppp/ip-down started (pid 15112)<br />
sent LCP TermReq id=0x3 "User request"<br />
rcvd LCP TermAck id=0x3<br />
Connection terminated.</p>
<p>Sending break to the modem</p>
<p>PDP context detached<br />
Script /etc/chatscripts/gprs-disconnect-chat finished (pid 15117), status = 0x0<br />
Serial link disconnected.<br />
Script /etc/ppp/ip-down finished (pid 15112), status = 0x0<br />
mernisse@mernisse-laptop:/etc/ppp/peers$<br />
</code></p>
<p>Looking at the phone it appears that it snuck into Modem Mode and I was able to ssh around and perform the speedtest that adorns the top of this post.  I used the <strong>gprs-disconnect-chat</strong> file unmodified from the post I linked to, but modified the <a href="http://www.ub3rgeek.net/gprs/gprs">gprs</a> and <a href="http://www.ub3rgeek.net/gprs-connect-chat">gprs-connect-chat</a> files which you can get by clicking on their names or looking at <a href="http://www.ub3rgeek.net/gprs/">http://www.ub3rgeek.net/gprs/</a><div id="attachment_369" class="wp-caption alignleft" style="width: 310px"><img src="http://blog.ub3rgeek.net/wp-content/uploads/2009/12/Capture16_55_48-300x225.jpg" alt="Modem Mode, UMA" title="Blackberry 9700 - Modem Mode" width="300" height="225" class="size-medium wp-image-369" /><p class="wp-caption-text">Modem Mode, UMA</p></div>  Hopefully this will help someone get past this needlessly difficult hurdle and also enjoy wireless data anywhere in T-Mobile&#8217;s coverage area.  Cheers.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2009/12/29/bluetooth-dun-with-blackberry-9700-t-mobile-and-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Backups!</title>
		<link>http://blog.ub3rgeek.net/2009/12/05/backups/</link>
		<comments>http://blog.ub3rgeek.net/2009/12/05/backups/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 21:26:36 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://blog.ub3rgeek.net/?p=365</guid>
		<description><![CDATA[With hard drive capacity growing by leaps and bounds it is not uncommon for most people to have computers with several hundred Gigabytes worth of internal storage.  While drives have gotten much more reliable the importance of good backups have only increased with more and more of our data being stored on our computers. [...]]]></description>
			<content:encoded><![CDATA[<p>With hard drive capacity growing by leaps and bounds it is not uncommon for most people to have computers with several hundred Gigabytes worth of internal storage.  While drives have gotten much more reliable the importance of good backups have only increased with more and more of our data being stored on our computers.  Digital photos, movies, music, financial documents, e-mails, all live on our computers and could easily be deleted, or corrupted by user error, application faults, or a physical failure of a part in your computer.</p>
<p><strong>Backups prevent:</strong></p>
<ol>
<li>Data loss from computer error. (Operating System or Application Crash)</li>
<li>Data loss from drive failure.</li>
<li>Data loss from user error. (Accidental deletion, alteration, etc)</li>
<li>Data loss from disaster. (House burns down, computer lost or stolen)</li>
</ol>
<p><em>It is important to note that RAID systems ONLY address drive failures and should <strong>NOT</strong> be thought of as a backup solution.</em></p>
<p><strong>My Goals:</strong><br />
I really like Time Machine.  Apple did an AMAZING job with that application and bundled with the Time Capsule you get a really robust, high-capacity versioned backup solution that solves 90% of the problems that backups are supposed to solve.  If you periodically copy your Time Machine backup to an external hard drive and store that at a friend&#8217;s house or in a safe deposit box or at the office, then you get 100% of the backup goals in a neat little package.  You can even restore a Time Machine backup from the OS X restore CD.  Slick.</p>
<p>Since I don&#8217;t run OS X I have to engineer a solution myself.  I want a system that allows me to produce versioned backups on the network without much interaction.  It must be encrypted on disk as my laptop&#8217;s /home is encrypted and storing the backup unencrypted would be a super-easy attack vector.  Ideally the storage would be swappable so I can have 2 drives and swap it with an off-site drive periodically and so I could fairly easily restore the data to a new drive when the drive in my laptop (or the backup drive) scorches itself.</p>
<p><strong>My Solution:</strong></p>
<ul>
<li>USB 2.0 hard drive with dm-crypt whole-drive encryption</li>
<li><a href="http://rdiff-backup.nongnu.org/">rdiff-backup</a> over ssh</li>
<li>cron(8) and some <a href="http://repo.ub3rgeek.net/branches//top/misc-scripts/annotate/head%3A/backup.sh">custom scripts</a></li>
</ul>
<p>I have an old IBM ThinkPad R42 laptop that I&#8217;m not using for anything anymore so I tossed Ubuntu 9.10 on it and plugged it into the network.  (I would use my server but I do not have any USB 2.0 ports on that machine currently.)  I connected a 250GB USB hard drive to the ThinkPad and <a herf="https://help.ubuntu.com/community/EncryptedFilesystemHowto3">encrypted a partition using dm-crypt</a> to store the backups and meta-data.</p>
<p>I then setup ssh on the ThinkPad to trust my ssh key from my laptop and I setup sudo(8) to allow my user to run rdiff-backup without entering my password.  Combined with my <a href="http://repo.ub3rgeek.net/branches//top/misc-scripts/annotate/head%3A/backup.sh">backup.sh</a> script, i can fire off a backup in the background from cron(8) that doesn&#8217;t really affect the performance of my laptop over the network.</p>
<p>I am a big fan of jwz and this is how <a href="http://www.jwz.org/doc/backups.html">he does backups</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2009/12/05/backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>13 years with Linux</title>
		<link>http://blog.ub3rgeek.net/2009/09/16/13-years-with-linux/</link>
		<comments>http://blog.ub3rgeek.net/2009/09/16/13-years-with-linux/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 19:40:27 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[slackware]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://blog.ub3rgeek.net/?p=363</guid>
		<description><![CDATA[I first installed Linux from floppy disks back in 1996 on an old computer I had laying around.  A friend of mine whom I knew through a local BBS had told me about this thing &#8220;Linux&#8221;, it was like Unix but for cheap Intel computers.  I was amazed and after some tinkering I [...]]]></description>
			<content:encoded><![CDATA[<p>I first installed Linux from floppy disks back in 1996 on an old computer I had laying around.  A friend of mine whom I knew through a local BBS had told me about this thing &#8220;Linux&#8221;, it was like Unix but for cheap Intel computers.  I was amazed and after some tinkering I was also completely hooked.  From that point I have always had at least one Linux machine running in my home.  I got my mother to buy our first Internet connection with the promise that everyone in the house could use it, all thanks to Linux and this new thing called IP Masquerading.</p>
<p>That first Linux distribution was Slackware, a distribution by Patrick J. Volkerding which has always focused on simplicity, stability and having a sane collection of packages and defaults right out of the box.  It is kind of like the OpenBSD of Linux if I was to try to make a really unnecessary analogy.  Over the years my home server has always been Slackware, it was what I was the most comfortable with and it has never let me down.  I even ran Slackware on my workstations up until a few years ago when World of Warcraft came around and I needed something a little more bleeding edge to get an X server with all the fancy direct rendering and 3d acceleration bits to make wine happy.  I have trusted literally TeraBytes of data to Slackware and have not once been let down.</p>
<p>Over the last few days I have been struggling with a number of problems with my Sirius transcoder scripts.  Between Sipie being unloved and requiring some work, and vlc being a royal pain sometimes I decided to upgrade my home server to Slackware 13.0.  I have to start by saying i&#8217;m impressed with Slackware and the progress it has made over the years, a very small team (usually of one) has been able to make a stable, secure, reliable distribution for a very long time and the new version is no exception.  And Slackware 13.0 is no exception to this rule, now bringing in amd64 support into the core distribution.</p>
<p>After a good 2 days of fighting the realization came that I just had to embrace, I have changed.  The sad truth is that as with hardware I have come to expect software to Just Work(tm) and leave me out of it.  I spend 60 hours a week wrestling with hardware and software in my job as a Systems Administrator for an ISP and I just don&#8217;t enjoy fighting it when I get home like I used to.  My server acts as a media server for my PS3 so I can enjoy media content on my TV, a VOIP server for my home (I do not have a land line any longer) and hosts a number of status monitoring applications and stream recorders that I turn into podcasts for my private consumption.  I need it all to just quietly work and cause me as little grief as possible.</p>
<p>So sadly it became time for me to go from loyal Slackware user for over a decade to full-on Ubuntu convert.  We use Debian (and now Ubuntu) at work and I have been using Ubuntu in varying places since a friend of mine gave me a link in a chat pointing to what he promised was going to be a new Linux distribution that would change how people looked a Linux.  It just made sense to convert, it meant I didn&#8217;t have to maintain 2 local mirrors anymore for security updates, I am much more comfortable with apt(8) and dpkg(8) and utilities like slapt-get(8) and swaret(8) are just kind of (very good) 3rd party hacks on top of the Slackware package management system.</p>
<p>It is amazing to see how far this dream has come, more and more I find myself quietly relying on various Free Software products to make my life simpler, easier and better and Slackware and Ubuntu have both been huge parts of that software stack.  Thanks Pat, for 13 years of reliability, stability, security and sanity.  Thanks also to Mark and Matt and the entire Ubuntu/Canonical gang for literally changing how thousands of people think of Linux.  I converted my Mother a few weeks ago and have had less calls about the computer than I ever did with Windows. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2009/09/16/13-years-with-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BlackBerry SMS logger and site changes</title>
		<link>http://blog.ub3rgeek.net/2009/08/21/blackberry-sms-logger-and-site-changes/</link>
		<comments>http://blog.ub3rgeek.net/2009/08/21/blackberry-sms-logger-and-site-changes/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 00:37:07 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[bazaar]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[cvs]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://blog.ub3rgeek.net/?p=361</guid>
		<description><![CDATA[Firstly let me apologize for the mess, right now I have moved the WordPress installation to a standalone domain for back-end architecture reasons.  There are redirects in place for most things but some things may be broken.  Accept my apologies in advance for the inconvenience.
Secondly I have removed my old Gallery instance.  [...]]]></description>
			<content:encoded><![CDATA[<p>Firstly let me apologize for the mess, right now I have moved the WordPress installation to a standalone domain for back-end architecture reasons.  There are redirects in place for most things but some things may be broken.  Accept my apologies in advance for the inconvenience.</p>
<p>Secondly I have removed my old Gallery instance.  I&#8217;ve been using Gallery 1 for ages because I don&#8217;t see a good reason to upgrade to Gallery 2 which I consider HIGHLY inferior due to the reliance on a RDBMS.  As a replacement I have redirected all /gallery/ URLs to <a href="http://flickr.com/photos/mernisse/">my Flickr page</a>.</p>
<p>Thirdly, as a result of moving to Bazaar from CVS, much of the code that has been linked in previous entries is now over at <a href="http://repo.ub3rgeek.net/">repo.ub3rgeek.net</a>.</p>
<p>Finally, for anyone with a BlackBerry that would like to get the SMS messages off the device so they can save the memory without losing the messages, or just to be able to use Unix tools to manipulate the messages I have written a small Python script which can be used, alongside <a href="http://netdirect.ca/software/packages/barry">the Barry Project</a>&#8217;s btool program to extract the SMS messages to a set of files sorted by Phone Number of the person you are corresponding with.<br />
You can get the script at <a href="http://repo.ub3rgeek.net/branches//top/bbtools/files">http://repo.ub3rgeek.net/branches//top/bbtools/files</a>.  Feel free to let me know if you find it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2009/08/21/blackberry-sms-logger-and-site-changes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Revision Control Revision</title>
		<link>http://blog.ub3rgeek.net/2009/06/01/revision-control-revision/</link>
		<comments>http://blog.ub3rgeek.net/2009/06/01/revision-control-revision/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 00:28:06 +0000</pubDate>
		<dc:creator>mernisse</dc:creator>
				<category><![CDATA[life the universe and everything]]></category>
		<category><![CDATA[blackberry]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://ub3rgeek.net/wp/?p=357</guid>
		<description><![CDATA[I&#8217;ve been using CVS for revision control for quite some time for a number of different things here, not the least of which being a public repository of scripts and miscellany that I have tossed into the Internet for public consumption.  Recently I have started to feel the desire to change to one of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using CVS for revision control for quite some time for a number of different things here, not the least of which being a public repository of scripts and miscellany that I have tossed into the Internet for public consumption.  Recently I have started to feel the desire to change to one of the newer version control systems out there.  Git and Hg smell a lot of &#8216;ooh shiny&#8217; syndrome and we use Subversion at work so I was sort of naturally drawn towards Bazaar.  It doesn&#8217;t help that I&#8217;m a huge fan of Canonical and Ubuntu, and as that seems to be the VCS du jour over there these days I figured that this would give me a good excuse to learn it.</p>
<p>The moral of this story as I&#8217;m sure no one cares why I chose which VCS is to say that any of the code hosted on my CVSweb and linked to in one of my previous posts is likely to have moved to the new loggerhead interface over at <a href="http://repo.ub3rgeek.net">repo.ub3rgeek.net</a>.  If you happen to follow me on <a href="http://friendfeed.com/mernisse">FriendFeed</a> or watch the <a href="http://ub3rgeek.net">home page</a> here, you will see updates from my bazaar commits as they happen.</p>
<p>Fancy, eh?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ub3rgeek.net/2009/06/01/revision-control-revision/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
