<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Weave's ole blog</title>
	<atom:link href="http://blog.weaverling.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.weaverling.org</link>
	<description>What the world needs now, is yet another blog</description>
	<pubDate>Fri, 01 Aug 2008 20:20:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Defining multiple cell modems in Leopard</title>
		<link>http://blog.weaverling.org/2008/06/19/defining-multiple-cell-modems-in-leopard/</link>
		<comments>http://blog.weaverling.org/2008/06/19/defining-multiple-cell-modems-in-leopard/#comments</comments>
		<pubDate>Thu, 19 Jun 2008 23:21:18 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Tech Notes]]></category>

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

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

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

		<category><![CDATA[OS X]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/?p=21</guid>
		<description><![CDATA[This is a guide to show how to connect and configure multiple cellular wireless devices up to a computer running Apple's Mac OS X Leopard (10.5) using USB and Bluetooth. 

]]></description>
			<content:encoded><![CDATA[<p>I have two cellular data services that allow me to &#8220;tether&#8221; to them to provide Internet to my Mac.  No, I&#8217;m not mad. One is provided by my work for work purposes only, the other is personal.  The problem I had for a while was not knowing how to configure OS X to have both modems defined and usable. I would delete the settings for the old one and recreate the new one.  </p>
<p>But there is a way to do this using multiple bluetooth serial ports. This guide will show you how.</p>
<p>The phones in question and the connections are:</p>
<ul>
<li>Motorola V3M using Verizon&#8217;s Broadband Connect Service via USB cable</li>
<li>Motorola V3M using Verizon&#8217;s Broadband Connect Service via Bluetooth</li>
<li>Nokia N95 using T-Mobile&#8217;s Total Internet service via Bluetooth</li>
</ul>
<p>Using a USB cable is easiest to configure and at least allows the phone to not lose battery while being used (using Bluetooth drains the phone&#8217;s battery fast).   However it is a hassle at times when you just need a quick connection. It&#8217;s nice keeping it in the pocket for those purposes.</p>
<p>While this guide is specific to these model phones and services, the ideas presented should work for similar situations with some minor modifications. </p>
<h2><span id="more-21"></span><strong>Motorola V3M using Verizon via USB cable</strong></h2>
<p>Plug USB cable into your Mac. It <em>should</em> auto-detect it and offer to configure it. Open System Settings and go into the Network applet and the below dialog box should appear. (Note: All pics can be clicked to be resized larger if difficult to read). </p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-1.png"><img class="alignnone size-medium wp-image-20" title="v3m-usb-1" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-1-300x122.png" alt="Adding the interface" width="300" height="122" /></a></p>
<p>You should see it defined in the network window as show below. </p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-2.png"><img class="alignnone size-medium wp-image-22" title="Adding v3m via USB" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-2-300x241.png" alt="" width="300" height="241" /></a></p>
<p>If for some reason it does not appear, try to add it manually by clicking the + button at the bottom left of the network window.</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-3.png"><img class="alignnone size-medium wp-image-23" title="v3m-usb-3" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-3-300x238.png" alt="How to manually add a USB modem" width="300" height="238" /></a></p>
<p>Fill out the information as shown below substituting your own phone number where appropriate.  The password is vzw. This is only going to work if you have the Broadband Connect service added to your phone account. If not, it most likely will not work. (There are some hacks using older phones like e815 with old firmware to get around this. Try Google for how if interested).</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-4.png"><img class="alignnone size-medium wp-image-24" title="v3m-usb-4" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-4-300x241.png" alt="How to add account info for wireless cell network access" width="300" height="241" /></a></p>
<p>Click the Advanced&#8230; button and configure the first tab (Modem) as below.  (Vendor: Other and Model Support: Verizon)</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-5.png"><img class="alignnone size-medium wp-image-25" title="v3m-usb-5" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-5-300x213.png" alt="How to configure advanced settings, part 1" width="300" height="213" /></a></p>
<p>The last setting is what a lot of people don&#8217;t do, and leads to frequent disconnects. Click the PPP tab, then select Configuration menu entry next to Settings.  Ensure that PPP echo packets are <strong>OFF</strong>. </p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-6.png"><img class="alignnone size-medium wp-image-26" title="v3m-usb-6" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-6-300x213.png" alt="Turn off PPP echo packets" width="300" height="213" /></a></p>
<p>Click OK and that takes you back to original Network window. Be sure to hit Apply.  IF not, the settings you just did won&#8217;t be save. I also like to check &#8220;Show modem status in menu bar&#8221; but that is optional.  If you do this you can easily connect using the icon in the menu bar.</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-7.png"><img class="alignnone size-medium wp-image-27" title="v3m-usb-7" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-usb-7-300x168.png" alt="Menu icon for modem control" width="300" height="168" /></a></p>
<p>That should do it. You should now be able to connect to the Internet anywhere Verizon has wireless broadband service.  Note that sometimes when my laptop is put to sleep, when it comes out of that mode, I can&#8217;t connect again until I unplug the phone&#8217;s USB cable and reconnect.</p>
<h2>Motorola V3M using Verizon via Bluetooth</h2>
<p>First step is to pair the phone to the Mac. With Motorola phones on Verizon, you have to first make your phone briefly discoverable.  To do this, on the phone press the Menu key, go over to &#8220;Settings and Tools&#8221;, choose 8 for Connections, then 2 for Bluetooth.  Choose the Setup menu entry.  I recommend changing the Name to something more descriptive so you can find it when searching for the device easily.  Make sure the Power setting is On and then select Find Me.  You&#8217;ll have 60 seconds after that to pair it. If you run out of time, simply repeat the above steps.</p>
<p>On the Mac, go to System Preferences in the Apple menu, then run the Bluetooth applet. Click the Set Up New Device button.  This will bring up the Bluetooth Setup Assistant. Click Continue, then select Mobile Phone from the choices.</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-bt-1.png"><img class="alignnone size-medium wp-image-28" title="v3m-bt-1" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-bt-1-300x216.png" alt="Bluetooth Assistant device type choices" width="300" height="216" /></a></p>
<p>A scan will occur for nearby mobile phones. Select the appropriate device. (It may take a minute or so to convert the MAC address (a bunch of hex numbers) to a device name.  If you&#8217;re in an area with other people&#8217;s phones you may see them listed as well. This is why it&#8217;s a good idea to rename your device, as mentioned above.  In the below example both of my phones are in range and viewable. Select the Verizon one (v3m in this example)</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-bt-2.png"><img class="alignnone size-medium wp-image-29" title="v3m-bt-2" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-bt-2-300x216.png" alt="Bluetooth phone selection screen" width="300" height="216" /></a></p>
<p>Click Continue button and you&#8217;ll be prompted by the phone to enter a pairing code if you agree to bond with the computer. The code will be displayed on the Mac, like the example below (the code you get will almost certainly be different)</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-bt-3.png"><img class="alignnone size-medium wp-image-30" title="v3m-bt-3" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-bt-3-300x216.png" alt="Bluetooth pairing screen" width="300" height="216" /></a></p>
<p>The next dialog box asks you what you want to do with the phone (assuming the pairing is successful, if not repeat above steps).  Ensure the &#8220;Access the Internet with your phone&#8217;s data connection&#8221; is checked. </p>
<p>Ah success, hopefully. But to be safe, go back into network settings and look for the entry for Bluetooth modem.  Go into advanced and confirm that PPP echo packets are off (it should be, now the default for bluetooth connections).  The settings should match what was specified for the USB connection.</p>
<p>At this point you should be able to dial into the net without a USB cable. Just be aware that this chews up battery power on your phone quickly (the v3m also gets quite warm too!)</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-bt-6.png"><img class="alignnone size-medium wp-image-31" title="v3m-bt-6" src="http://blog.weaverling.org/wp-content/uploads/2008/06/v3m-bt-6-300x132.png" alt="Bluetooth connection to Internet" width="300" height="132" /></a></p>
<p>Well if that&#8217;s all you care about (one modem configuration) then all is well. But in my case I wanted to define a second phone and that&#8217;s where I tripped up, as we&#8217;ll see in the next section &#8212; and how to get around it.</p>
<h2>Nokia N95 using T-Mobile&#8217;s Internet service via Bluetooth</h2>
<p>This should work the same on most modern Symbian based Nokia phones.  The first step before we setup the bluetooth connection is to ensure the phone is configured correctly to use T-Mobile&#8217;s (US) service.  You also need to buy a data package from T-mobile. My plan is a 5-year old $20/month for VPN (no ports blocked and a public IP, albeit a dynamic one) and 100 MMS messages included.  It uses an APN of internet3.voicestream.com.  You may have to use internet2.voicestream.com instead. </p>
<p>To use the phone to tether to the laptop, you have to also set it up for that in addition to just configuring it to access the net from the phone.  </p>
<p>From the phone&#8217;s menu, choose Tools, then Settings, the scroll down and select Connection. From that menu choose &#8220;Packet Data.&#8221;</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/screenshot0003.jpg"><img class="alignnone size-medium wp-image-32" title="screenshot0003" src="http://blog.weaverling.org/wp-content/uploads/2008/06/screenshot0003-225x300.jpg" alt="Shows Packet Data screen on Nokia N95" width="225" height="300" /> </a></p>
<p>Enter the appropriate Access Point DNS name as show below. Just highlight it and select OK on the phone to enter it.   (Trivia, it&#8217;s voicestream.com because T-Mobile was once called VoiceStream)</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/screenshot0004.jpg"><img class="alignnone size-medium wp-image-33" title="screenshot0004" src="http://blog.weaverling.org/wp-content/uploads/2008/06/screenshot0004-225x300.jpg" alt="Access Point definition" width="225" height="300" /></a></p>
<p>Now back out of these screens and go back to the Tools screen, and choose Bluetooth. Make sure this phone has a descriptive name, turn on Bluetooth and make sure the phone is visible.</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/screenshot0005.jpg"><img class="alignnone size-medium wp-image-34" title="screenshot0005" src="http://blog.weaverling.org/wp-content/uploads/2008/06/screenshot0005-225x300.jpg" alt="Bluetooth settings for tethering a laptop" width="225" height="300" /></a></p>
<p><strong>NOW </strong>we should be able to pair and configure the phone, as was done with the Motorola example above. To save me time, I won&#8217;t dup most of the screens above. </p>
<p> </p>
<p>As above, open the Bluetooth Setup Assistant and pair the phone to the computer and tell it to use the phone as a modem.  Fill in the next screen as shown, using id/password of tmobile/tmobile. Now, doing this is going to overwrite some of your settings for your first bluetooth modem.  A real hassle. But don&#8217;t fret.</p>
<div><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/n95-1.png"><img class="alignnone size-medium wp-image-35" title="n95-1" src="http://blog.weaverling.org/wp-content/uploads/2008/06/n95-1-300x216.png" alt="Nokia Symbian Bluetooth settings" width="300" height="216" /></a></div>
<p>Now if you go back to network settings you&#8217;ll see the former bluetooth modem settings are wiped and replaced. Set the phone number to *99#, veryify PPP echo packets are turned off as above, and then click apply.  You should be able to make a call through this phone now using the Connect  button. If the phone prompts for connection, you can get rid of that prompt by going into bluetooth settings on the phone and setting the computer as an authorized device.</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/n95-2.png"><img class="alignnone size-medium wp-image-36" title="n95-2" src="http://blog.weaverling.org/wp-content/uploads/2008/06/n95-2-300x241.png" alt="Nokia N95 settings for tethering" width="300" height="241" /></a></p>
<h2>How to have two Bluetooth modems configured</h2>
<p>So, now that we wiped out the first settings, what now? Well this was where I was stuck for years and Google didn&#8217;t help, hence why I&#8217;m writing this post &#8212; hoping someone Googling for same info will find it and it will be of use.</p>
<p>The answer is to define two Bluetooth serial ports, one for each paired device. This can of course be extended to more than two if needed.</p>
<p>Open the Bluetooth preferences and select the first modem to configure (in this example, my v3m). Click the action wheel and choose &#8220;Show More Info&#8221;</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/adv-1.png"><img class="alignnone size-medium wp-image-37" title="adv-1" src="http://blog.weaverling.org/wp-content/uploads/2008/06/adv-1-300x195.png" alt="Show More Info" width="300" height="195" /></a></p>
<p>Note if Edit Serial Ports already shows as above, you don&#8217;t need to do show more info.  Either way, choose to Edit Serial Ports and you should see a dialog box similar to below. Just ensure the &#8220;Show in Network Preferences&#8221; box is checked, then click Apply.</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/adv-2.png"><img class="alignnone size-medium wp-image-38" title="adv-2" src="http://blog.weaverling.org/wp-content/uploads/2008/06/adv-2-281x300.png" alt="How to add a modem serial port to network config" width="281" height="300" /></a></p>
<p> </p>
<p>Go back to Network Preferences and it should prompt you that a new device was added. Select the device, and rename it to something more descriptive, like &#8220;V3M Dun&#8221; for example. Now configure it using the same settings as the original bluetooth setup above.</p>
<p>After done, do the same steps for your second phone. For my Nokia, the steps were a wee bit different so I suspect it may differ for other phones as well.</p>
<p>First, the Bluetooth settings for the N95 would not allow me to edit the serial ports. I had to choose &#8220;Show More Info&#8221; as above, then have it &#8220;Update Device Services.&#8221;</p>
<p>Next, the configuration screen was slightly different, as shown below. I had to select the Dial-UpNetworking line and then check to have that added to the Network Preferences.</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/adv-3.png"><img class="alignnone size-medium wp-image-39" title="adv-3" src="http://blog.weaverling.org/wp-content/uploads/2008/06/adv-3-280x300.png" alt="n95 dun port config" width="280" height="300" /></a></p>
<p>As before, go into Network Preferences. It should prompt to add the device. Rename it, then configure it as was done above.</p>
<p>Final optional step is to delete the original Bluetooth Modem config since you&#8217;ll be using the bluetooth serial ports into each phone.  When done your Network Prefs and modem dialer menu should look similar to below.</p>
<p><a href="http://blog.weaverling.org/wp-content/uploads/2008/06/adv-4.png"><img class="alignnone size-medium wp-image-40" title="adv-4" src="http://blog.weaverling.org/wp-content/uploads/2008/06/adv-4-300x163.png" alt="Finished product" width="300" height="163" /></a></p>
<h2>Postscript</h2>
<p>Some steps here can probably be eliminated, like each separate configuration of the bluetooth modem before defining the bluetooth DUN serial ports.  </p>
<p>If anyone reading this has anything to add, suggestions, or corrections, please leave a comment. Most likely your comment will get stuck in a moderation queue. My blog is a bit boring and I get maybe two legit comments a year on it (along with 20,000 spam comments that thankfully get handled OK)</p>
<p> </p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2008/06/19/defining-multiple-cell-modems-in-leopard/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Racism is alive</title>
		<link>http://blog.weaverling.org/2008/03/30/racism-is-alive/</link>
		<comments>http://blog.weaverling.org/2008/03/30/racism-is-alive/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 13:30:20 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/2008/03/30/racism-is-alive/</guid>
		<description><![CDATA[It was the day that Kosovo declared independence and we just happened to be in New York City that day. The city was a mess with people celebrating &#8212; which meant they all had to get home, wherever that was, at the end of the day.
Unfortunate timing, since my wife and I had to head [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.weaverling.org/wp-content/uploads/2008/03/2271898189_37e752e402_m.jpg" align="right" alt="Kosovo Independence" />It was the day that Kosovo declared independence and we just happened to be in New York City that day. The city was a mess with people celebrating &#8212; which meant they all had to get home, wherever that was, at the end of the day.</p>
<p>Unfortunate timing, since my wife and I had to head home as well. We went to Penn Station to catch an Amtrak train south. The place was mobbed. My  wife got a bit in front of me, trying to find a seat. We crammed ourselves into the train, no seats to be found. Yet another crappy train ride standing most of the way.In front of me was a black woman, next to her was an open seat with stuff piled on it. My wife was half-way down the car. I was about to ask the seated woman if the seat was vacant (I was pretty sure it was since there was only one seat check on it). Before doing so, the black woman asked.  The asian woman who was seated said something to the black lady, got up, went forward in the car a bit, said something to my wife, came back with my wife, said &#8220;Sorry&#8221; to the black lady, and my wife sat down.</p>
<p>I figured the woman knew my wife, but I started wondering if that was true, so I sent my wife a text message &#8220;Do you know that lady?&#8221; She sent me a reply back &#8220;Never seen her before in my life.</p>
<p>&#8220;Wow, I had a hard time believing what I just witnessed. This Asian woman just simply didn&#8217;t want a black person sitting next to her, so she went down the aisle of the train and grabbed the first white person she saw.  </p>
<p>At the next stop, as people got off the train, I made sure this lady got herself a seat.</p>
<p>Really pretty disturbing. I would have hoped this sort of thing never happens in this day and age. Guess I was being naive.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2008/03/30/racism-is-alive/feed/</wfw:commentRss>
		</item>
		<item>
		<title>TSA and expired drivers licenses&#8230;</title>
		<link>http://blog.weaverling.org/2006/06/05/tsa-and-expired-drivers-licenses/</link>
		<comments>http://blog.weaverling.org/2006/06/05/tsa-and-expired-drivers-licenses/#comments</comments>
		<pubDate>Mon, 05 Jun 2006 21:53:23 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/2006/06/05/tsa-and-expired-drivers-licenses/</guid>
		<description><![CDATA[Went to Florida today for a conference. As I was going through security, the TSA agent told me &#8220;I hope you are coming back before Friday.&#8221; I&#8217;m like, &#8220;Er, no, Sunday&#8230; Why?&#8221;
So she proceeds to tell me my drivers license expires on Friday and I won&#8217;t be able to use it to come back after [...]]]></description>
			<content:encoded><![CDATA[<p>Went to Florida today for a conference. As I was going through security, the TSA agent told me &#8220;I hope you are coming back before Friday.&#8221; I&#8217;m like, &#8220;Er, no, Sunday&#8230; Why?&#8221;</p>
<p>So she proceeds to tell me my drivers license expires on Friday and I won&#8217;t be able to use it to come back after that.</p>
<p>YOU GOTTA BE KIDDING ME.</p>
<p>So I say I&#8217;ll worry about it Sunday and she says &#8220;Fine, don&#8217;t say I never warned you.&#8221;</p>
<p>While waiting for my flight I do some googling for info and find <a href="http://www.sfgate.com/cgi-bin/article.cgi?f=/c/a/2004/10/24/TRGLA9BUS11.DTL">a few horror stories</a> about TSA and expired drivers licenses.</p>
<p>Gessh&#8230; a few other accounts told about how doing this can land you on the TSA watch list too, even after you get your license renewed.</p>
<p>Fortunately, I have a valid passport back home and a understanding wife who is going to send it to me here.</p>
<p>Now I just have to pray the passport doesn&#8217;t get lost. <img src='http://blog.weaverling.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><strong>Update July 2008: </strong>Since writing this I&#8217;ve found out that TSA will let you board a flight without ID or expired ID but you have to fully cooperate with their attempts to verify your identity. They will use some sort of national database with information about you and ask you a series of questions to determine if you are really you. So be prepared to know all sorts of information like your former addresses.  What they ask can change for each incident and person.  <a href="http://blog.wired.com/27bstroke6/2008/07/flying-without.html">Wired has an article</a> with more info about this.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2006/06/05/tsa-and-expired-drivers-licenses/feed/</wfw:commentRss>
		</item>
		<item>
		<title>GoDaddy SSL certs and Symbian phones</title>
		<link>http://blog.weaverling.org/2006/06/04/godaddy-ssl-certs-and-symbian-phones/</link>
		<comments>http://blog.weaverling.org/2006/06/04/godaddy-ssl-certs-and-symbian-phones/#comments</comments>
		<pubDate>Sun, 04 Jun 2006 22:08:25 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Tech Notes]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/2006/06/04/godaddy-ssl-certs-and-symbian-phones/</guid>
		<description><![CDATA[I recently got a cool Nokia N90 smart phone but it throws up SSL certificate warnings when used with GoDaddy issued SSL certificates. These certs are nice because they are only $30/year instead of several hundred for Verisign. Allegedly they work with all modern browsers. Sigh, not with the latest Symbian devices.
Not only does it [...]]]></description>
			<content:encoded><![CDATA[<p>I recently got a cool Nokia N90 smart phone but it throws up SSL certificate warnings when used with GoDaddy issued SSL certificates. These certs are nice because they are only $30/year instead of several hundred for Verisign. Allegedly they work with all modern browsers. Sigh, not with the latest Symbian devices.</p>
<p>Not only does it barf on websites that use GoDaddy, but also with my imap and smtp ssl certs used for my email. A pain when reading or sending on the N90.</p>
<p>I ensured the intermediate certificate was installed in the server correctly but that didn&#8217;t work.</p>
<p>Then I found <a href="http://discussion.forum.nokia.com/forum/showthread.php?t=77239">a posting on Nokia support forum</a> that said to install the root certificate in the phone using its native browser (not Opera). Which I did, by browsing to <a href="https://certificates.godaddy.com/Repository.go">GoDaddy&#8217;s SSL certificate page</a> and downloading the &#8220;Valicert Root — DER Format&#8221; root certificate. Once clicked, the phone&#8217;s browser prompts to install the cert and that root cert works for email as well!</p>
<p>Now I&#8217;m happy again!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2006/06/04/godaddy-ssl-certs-and-symbian-phones/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Rescaning SCSI bus for SAN disk adds</title>
		<link>http://blog.weaverling.org/2005/08/07/rescaning-scsi-bus-for-san-disk-adds/</link>
		<comments>http://blog.weaverling.org/2005/08/07/rescaning-scsi-bus-for-san-disk-adds/#comments</comments>
		<pubDate>Sun, 07 Aug 2005 05:02:50 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Tech Notes]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/2005/08/07/rescaning-scsi-bus-for-san-disk-adds/</guid>
		<description><![CDATA[This should not have been as difficult to do as it was. Simple concept, add disks and hence LUNs to the scan, and you want to use them on your host without having to umount all disks and reload the scsi driver. 
There&#8217;s a script to rescan the scsi bus from a website that automates [...]]]></description>
			<content:encoded><![CDATA[<p>This should not have been as difficult to do as it was. Simple concept, add disks and hence LUNs to the scan, and you want to use them on your host without having to umount all disks and reload the scsi driver. </p>
<p>There&#8217;s a <a href="http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh">script</a> to rescan the scsi bus from <a href="http://www.garloff.de/kurt/linux/">a website</a> that automates the process, but it didn&#8217;t work on one host I tried it.  </p>
<p>I found that since we use qlogic drivers there&#8217;s a <a href="http://info.ccone.at/INFO/Mail-Archives/redhat/Jun-2005/msg00034.html">command that has to be run</a> first to let the driver know that a rescan is coming (I guess). </p>
<p><code><br />
echo "scsi-qlascan" > /proc/scsi/<em>driver-name</em>/<em>adapter-id</em></code></p>
<p>After running it, I got this goodness in fdisk for the new device! <img src='http://blog.weaverling.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><code>Disk /dev/sdd: 2000.4 GB, 2000414572544 bytes<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2005/08/07/rescaning-scsi-bus-for-san-disk-adds/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Firefox popups</title>
		<link>http://blog.weaverling.org/2005/08/03/firefox-popups-wwwpetebevincom/</link>
		<comments>http://blog.weaverling.org/2005/08/03/firefox-popups-wwwpetebevincom/#comments</comments>
		<pubDate>Wed, 03 Aug 2005 17:26:37 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Tech Notes]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/2005/08/03/firefox-popups-wwwpetebevincom/</guid>
		<description><![CDATA[Just so I don&#8217;t forget, here&#8217;s a link to tell you how to stop Flash popups from Firefox.
In case that link goes dead&#8230;

  Type about:config into the Firefox location bar.
   
 Right-click on the page and select New and then Integer.
   
 Name it privacy.popups.disable_from_plugins
   
Set the value [...]]]></description>
			<content:encoded><![CDATA[<p>Just so I don&#8217;t forget, here&#8217;s a link to tell you how to stop <a href="http://www.petebevin.com/archives/2005/03/10/firefox_popups.html">Flash popups from Firefox</a>.</p>
<p>In case that link goes dead&#8230;</p>
<ol>
<li>  Type about:config into the Firefox location bar.
   </li>
<li> Right-click on the page and select New and then Integer.
   </li>
<li> Name it privacy.popups.disable_from_plugins
   </li>
<li>Set the value to 2.
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2005/08/03/firefox-popups-wwwpetebevincom/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Moving data with mirrors</title>
		<link>http://blog.weaverling.org/2005/08/03/moving-data-with-mirrors/</link>
		<comments>http://blog.weaverling.org/2005/08/03/moving-data-with-mirrors/#comments</comments>
		<pubDate>Wed, 03 Aug 2005 14:42:43 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Tech Notes]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/2005/07/30/moving-data-with-mirrors/</guid>
		<description><![CDATA[The main data volume on the system at work ran out of PEs due to the old default PE size of 4 MB and 64k of PEs being in the volume group.  There&#8217;s no way to change that without recreating the volume group, and blowing away everything.  So I have to move the [...]]]></description>
			<content:encoded><![CDATA[<p>The main data volume on the system at work ran out of PEs due to the old default PE size of 4 MB and 64k of PEs being in the volume group.  There&#8217;s no way to change that without recreating the volume group, and blowing away everything.  So I have to move the 250 gigs of crap to somewhere else, then delete the old volume group, recreate it, then move everything back. Since moving that much data requires several hours and hence downtime to users, that&#8217;s not good.</p>
<p>So, the idea is to move the data around live. This requires making a RAID 1 mirror on top of lvm &#8212; not usually done this way. It also requires learning enough about mdadm to be able to create a mirror without destroying the good data (ouch).  The process of intially creating the mirror <em>will</em> require the regular lvm device be unmounted and the RAID (md) device mounted. But after that is done, the syncing of the mirror can happen live. Hence downtime is kept to an absolute minimum.</p>
<p><span id="more-7"></span></p>
<p>There&#8217;s a real derth of information out there for doing this type of thing, and maybe for good reason. I&#8217;m also disappointed that this is quite a bit of hassle compared to how I used to do this sort of thing on a DG/UX (Data General) system back in the mid 90s.</p>
<ol>
<li>Create a new phys volume on temporary disk</li>
<li>Create a new volume group on new disk with larger extent size (32 megs)</li>
<li>Mirror the old data and new data together. NOTE: This requires RAID on top of lvm, not lvm on top of RAID</li>
<li>Break the mirror after it syncs, leaving data on the temporary disk</li>
<li>Create a new PV on the original disk with 32 meg PEs</li>
<li>Extend the volume group onto the new PE</li>
<li>Move the PEs from the temporary disk to the original disk</li>
<li>Shrink the volume group so it lives just on the original disk</li>
</ol>
<p>Of course, before doing any of this, testing and documentation is required, hence this post. Also, this procedure was used and tested on RHEL 3. <strong>For the love of your job, data, sanity, and all that is holy, do not trust what I am saying here. Use it as a guide with other docs and test it on non-production box with data you can afford to lose. Then before doing it on a production box, make sure you have safe backups &#8212; preferably multiples.</strong></p>
<p><strong>Some commands to use to get a feel for what is on your disk already</strong></p>
<ul>
<li><code>pvscan</code></li>
<li><code>vgdisplay -v <em>vg_group_name</em></code></li>
</ul>
<p>For purposes of the demo, the good data is on vg san0 and physical device /dev/sdd. The temporary disk will be named san2 on /dev/sdc.</p>
<p><strong>Initial test set up</strong></p>
<p><code>pvcreate /dev/sdc</code><br />
<code>vgcreate -s 16m san2 /dev/sdc</code> #  NOTE: Using 16m as extent size just for testing<br />
<code>lvcreate -l 60 --name newhome san2</code></p>
<p><strong>RAID 1 (mirror) background</strong></p>
<p>Idea will be to create a RAID 1 mirror consisting of the main data disk and a &#8220;missing&#8221; disk. This will start it off in a degraded mode. After that we can add the temporary (new) disk to it as a hot add and it wil rebuild the mirror onto it. After that is done, we mark as bad the original disk and leave ourselves with data on the new disk. Then we kill the mirror and go back to naked lvm.</p>
<p>Finding info on if you could create a mirror and preserve old data, let alone if it&#8217;s on top of lvm was difficult, as in, my googling could not find anyone who did it.</p>
<p><strong>Creating the mirror</strong></p>
<p><strong><em>THE ORDER OF THE DEVICES BELOW IS CRITICAL</em></strong>. The first device will be the master and will copy to the second device.</p>
<p><code>mdadm --create /dev/md0 -l 1 -n 2 /dev/san0/home /dev/san2/newhome<br />
mdadm --detail /dev/md0<br />
mount /dev/md0 /mnt/home</code></p>
<p>If that bothers you (and it really should) you can create the array with just the original disk, mount it, then hot add the second disk into the array after you know the data is there. Also, if you&#8217;re paranoid after reading the various notes below and intend to fsck the md device before mounting, it&#8217;ll save you time if you do it like this since the fsck won&#8217;t be beating the disk at the same time as the mirror sync is going.</p>
<p><code>mdadm --create /dev/md0 -l 1 -n 2 /dev/san0/home missing<br />
mdadm --detail /dev/md0<br />
fsck -f /dev/md0<br />
resize2fs /dev/md0<br />
mount /dev/md0 /mnt/home<br />
mdadm /dev/md0 -a /dev/san2/newhome </code></p>
<p>At this point the mirror should start rebuilding. Now it will say it has three devices and the missing will still be listed, but when it&#8217;s done the rebuild it only shows the two devices (but the total # of devices still says three). So maybe there&#8217;s a better way to do this, but it works.</p>
<p>Run the &#8211;detail option again to monitor when the drive is done rebuilding. At this point we should be able to break off the original disk and be left with our data on the new disk.</p>
<p>But before doing that, just in case, we should create an mdadm.conf file so if the array has to be stopped and restarted, we don&#8217;t have to scan for it.</p>
<p><code>echo -e 'DEVICE\t/dev/san0/home /dev/san2/newhome' &gt;&gt; /etc/mdadm.conf </code><br />
<code>mdadm --detail --scan &gt;&gt; /etc/mdadm.conf</code></p>
<p><strong>Stopping / Restarting the array</strong></p>
<p><code>mdadm --stop --scan</code> # will stop the array<br />
<code>mdadm --detail --scan</code> # will start the array iff mdadm.conf file above was appended with correct info<br />
<code>mdadm -Ac partitions -m 0 /dev/md0</code><code> # will start it back up (if there is no config file)<br />
</code></p>
<p><strong>Breaking the mirror</strong></p>
<p>After (and only after, verify first) that the mirror syncing is done (.e.g.  <code>mdadm --detail /dev/md0</code>), the mirror can be broken and we&#8217;ll have two identical mountable ext3 lvm partitions. One on the original disk, one on the temporary (new) disk.  Before killing the mirror, be sure to  unmount any file systems using the mirror.  When checking the rebuild status with mdadm, look for a line that says &#8220;Rebuild Status :&#8221; &#8212; if that line is not there, it&#8217;s rebuilt.</p>
<p><code>umount /dev/md0</code><br />
<code>mdadm --manage --set-faulty /dev/md0 /dev/san0/home</code><br />
<code>mdadm --manage --set-faulty /dev/md0 /dev/san2/newhome</code><br />
<code>mdadm --stop --scan</code></p>
<p>Once this is done we can actually mount and use the parition, but the raid &#8220;superblock&#8221; will still be associated with each partition and that could lead to it accidently being restarted. To really destroy the mirror, the raid superblock needs to be zeroed out.</p>
<p><code>mdadm --misc --zero-superblock /dev/san2/newhome</code><br />
<code>mdadm --misc --zero-superblock /dev/san0/home</code></p>
<p><strong>IMPORTANT NOTES</strong></p>
<p><strong>NOTE:</strong> This procedure goes for minimize downtime at the risk of file system safety. Before starting this you really should fsck the disk you are going to mirror &#8212; offline. Also, read notes below.</p>
<p><strong>NOTE:</strong> The set-faulty commands above aren&#8217;t really needed if you&#8217;re just going to zero the superblocks right away but if you don&#8217;t, you could technically mount up both partitions, make changes, then unmount them and restart the mirror with probably really bad effects.</p>
<p><strong>NOTE:</strong> fsck will fail on the mirror device because the size of the device shrinks a wee bit. However, once the mirror is broken, a fsck should work and pass OK.</p>
<p><strong>NOTE:</strong> When you import a disk with an ext3  file system into a mirror like this, the physical size of the partiton shrinks a bit because the md superblock is stored at the end of the partition. Hence while it will mount, it will fail a fsck and there&#8217;s the risk (I think) that real data might overwrite the raid superblock, especially if the partition is filled. Hence to be very safe, one should run &#8216;fsck -f /dev/md0 ; resize2fs /dev/md0&#8242; against the new raid partition before remounting.  However, once you do this, when you destroy the mirror the filesystem probably  should be rezised out to original size again.</p>
<p><strong>Reference websites</strong></p>
<ul>
<li><a href="http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html">Software RAID Howto</a></li>
<li><a href="http://www.networknewz.com/2003/0113.html">Article on RAID</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2005/08/03/moving-data-with-mirrors/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Evaluating Groupware</title>
		<link>http://blog.weaverling.org/2005/03/29/6/</link>
		<comments>http://blog.weaverling.org/2005/03/29/6/#comments</comments>
		<pubDate>Tue, 29 Mar 2005 19:42:01 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Tech Notes]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/2005/03/29/6/</guid>
		<description><![CDATA[My CTO wants a groupware product, easier said than done!]]></description>
			<content:encoded><![CDATA[<p>The quest has been given, to determine a good groupware package for where I work. The main component needed is a shared calendar interface.  We currently use sendmail on a linux box as an MTA, uw-imap as an imap server, and mailboxes are stored in &#8220;mbx&#8221; format. For mail clients, we allow any imap client and provide a webmail client from the fine folks at <a href="http://www.horde.org/">horde.org</a>.</p>
<p>The current version of horde we use has a calendar that is private only. The new version provides many groupware features including shared calendars, however, we are going to look at other groupware products as well.</p>
<p>It&#8217;s been basically narrowed down to either Microsoft Exchange or the latest set of Horde apps. One of my techs has set up a test exchange environment and to say it&#8217;s bloated is an understatement. Now granted it does a lot, but everything I hear is that most organizations hardly use all of Exchange features.  There&#8217;s also a huge hardware cost. We do 40,000 email accounts on one dual-xeon 3 ghz box runnign Linux. Apparently we need a farm of several exchange servers to handle that kind of a load. Even only giving 10% of our users exchange would require at least four servers (two front-end and two back-end). Ouch.</p>
<p>Regardless, I have no religion about either platform, as long as the resources are provided to adequately support the chosen platform.</p>
<p>So this blog entry is mainly a place holder to jot down notes and experiences and is not going to be complete. So don&#8217;t consider this a formal case study or implementation guide.  It will also focus primarily on horde since another tech has done Exchange. Hence it may seem biased towards that product. </p>
<p><strong>NOTE:</strong> This is all done on Redhat Enterprise Linux (RHEL) 4</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2005/03/29/6/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Redirecting back to home after logon</title>
		<link>http://blog.weaverling.org/2005/03/17/redirecting-back-to-home-after-logon/</link>
		<comments>http://blog.weaverling.org/2005/03/17/redirecting-back-to-home-after-logon/#comments</comments>
		<pubDate>Thu, 17 Mar 2005 22:31:49 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/2005/03/17/redirecting-back-to-home-after-logon/</guid>
		<description><![CDATA[I didn&#8217;t exactly like the default behavior of wordpress to send registered users to the dashboard after they log on, so I did a few google searches and found a faq page that looks like it&#8217;s out of date. But it got me close enough.
Trick was to go into the wp-login.php file and find the [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t exactly like the default behavior of wordpress to send registered users to the dashboard after they log on, so I did a few google searches and found <a href="http://faq.wordpress.net/view.php?p=52">a faq page</a> that looks like it&#8217;s out of date. But it got me close enough.</p>
<p>Trick was to go into the wp-login.php file and find the </p>
<p><code>case login:</code> </p>
<p>&#8230; statement, then go down a few lines and change the</p>
<p><code>$redirect_to = 'wp-admin/'</code></p>
<p>&#8230; statement and change it to just </p>
<p><code>$redirect_to = '/'</code></p>
<p>&#8230; to get the behavior I wanted.</p>
<p>If your blog isn&#8217;t in the root of your domain then that redirect should be to where it sits.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2005/03/17/redirecting-back-to-home-after-logon/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My last meal ever at Quiznos</title>
		<link>http://blog.weaverling.org/2005/03/14/4/</link>
		<comments>http://blog.weaverling.org/2005/03/14/4/#comments</comments>
		<pubDate>Tue, 15 Mar 2005 04:26:47 +0000</pubDate>
		<dc:creator>weave</dc:creator>
		
		<category><![CDATA[Rants]]></category>

		<guid isPermaLink="false">http://blog.weaverling.org/2005/03/14/4/</guid>
		<description><![CDATA[They switched to Pepsi products, I hate them.]]></description>
			<content:encoded><![CDATA[<div style="float:right; margin:1em; background: #eeeeee; padding: 1em;"><a href="/pics/static/quiznos.jpg" border="0"><img src="/pics/static/quiznos.jpg" alt="My last quiznos meal" width="320" height="240" border="0" /></a>
<p align="center"><strong>My last Quiznos Meal</strong></p>
</div>
<p>You are looking at the last meal I will ever buy at Quiznos. They did the unforgiveable, they switched from Coke products to that Pepsi sludge.  </p>
<p>It&#8217;s no secret that both Pepsi and Coke work to get exclusive rights to provide their stuff in places like this, by providing &#8220;incentives&#8221; to the owners to switch. And of course, the people that run these places see dollar signs in their head and switch, thinking that most people don&#8217;t care less &#8212; and probably that is true &#8212; but not <strong>this</strong> person.</p>
<p>I can&#8217;t imagine what the Coke and Pepsi reps tell their customers when working a deal like this. Do they say &#8220;You won&#8217;t lose any customers because they don&#8217;t care?&#8221;  If they say this, then they are admitting that their product is not so special.</p>
<p>Well, some people care. Nothing beats a nice cold Diet Coke. Diet Pepsi is horrible. It&#8217;s bad enough that it <em>does</em> influence my decision.  There&#8217;s a Subway down the street, and by golly, they toast their stuff now, and they serve Coke products, so I&#8217;m switching.  I even told the franchise owner I was switching after he told me he couldn&#8217;t sell Coke products due to the contract. </p>
<p>Now I&#8217;m sure Quiznos won&#8217;t care less that ole Weave is switching, and I&#8217;m sure they may pick up some diehard Pepsi losers, but that&#8217;s not the point. What happened to the customer is always right? What happened to giving the customer what they want? Why not provide them a choice?</p>
<p align="center" style="font-size:1.5em; font-weight: bold;">WE DESERVE THE RIGHT TO CHOOSE OUR OWN BRAND OF FIZZY DRINK</p>
<p>I know places lose some revenue from doing exclusives. Is it more than the incentive, I don&#8217;t know. Is the loss of goodwill worth it?  7-Eleven certainly has both company&#8217;s products in their fountains, for example. And for a while, they were making a big deal about giving people a choice. </p>
<p>My employer &#8220;used&#8221; to have both brands available in our cafeteria, but they switched to an exclusive Pepsi arrangement a year or so ago.  And you know what happened? They lose revenue cause of it. How can I make such a claim? Because from actual experience I know I and other Coke lovers now smuggle in our own supply. So instead of dropping $1.25 on a bottle of Diet Coke there a few times a day, I just bring in a 12 pack of my own. The company cafeteria operation now gets squat.</p>
<p>And if the pain of having to wash down my meatball sub with a Diet Pepsi wasn&#8217;t bad enough, to make matters worse, it wasn&#8217;t even an iTunes &#8220;free song&#8221; winner. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.weaverling.org/2005/03/14/4/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
