<?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>MCB Systems</title>
	<atom:link href="http://www.mcbsys.com/techblog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mcbsys.com/techblog</link>
	<description>Custom Software and I.T. Services</description>
	<lastBuildDate>Sat, 04 Feb 2012 17:53:10 +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>Office 365 Lync vs. Live Messenger for Small Business</title>
		<link>http://www.mcbsys.com/techblog/2012/01/office-365-lync-vs-live-messenger-for-small-business/</link>
		<comments>http://www.mcbsys.com/techblog/2012/01/office-365-lync-vs-live-messenger-for-small-business/#comments</comments>
		<pubDate>Fri, 20 Jan 2012 05:28:18 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[live messenger]]></category>
		<category><![CDATA[lync]]></category>
		<category><![CDATA[office 365]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2012/01/office-365-lync-vs-live-messenger-for-small-business/</guid>
		<description><![CDATA[I’ve used Windows Messenger for years to exchange instant messages with clients, friends, and family. The current iteration of Microsoft’s free IM client, Live Messenger, has been commercialized (displays ads) and doesn’t “feel” very business-like. Since Lync is included with Office 365, I decided to give that a try.
Lync Setup
Lync requires some updates to your [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve used Windows Messenger for years to exchange instant messages with clients, friends, and family. The current iteration of Microsoft’s free IM client, Live Messenger, has been commercialized (displays ads) and doesn’t “feel” very business-like. Since Lync is included with Office 365, I decided to give that a try.</p>
<h3><span id="more-1079"></span>Lync Setup</h3>
<p>Lync requires some updates to your <a href="http://onlinehelp.microsoft.com/en-us/office365-enterprises/hh416761.aspx" target="_blank">public DNS</a>, and you need to assign a Lync license to users in the Office 365 Management portal. You also need to decide how to set your global <strong>Domain federation</strong> and <strong>Public IM</strong>:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Lync 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-1_thumb.png" border="0" alt="Lync 1" width="354" height="57" /></a></p>
<p><strong>Domain federation</strong> defines whether you will be able to communicate with external organizations that use Lync. You can set it to be open to all with blacklists, open to none with whitelists, or completely disabled:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Lync 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-2_thumb.png" border="0" alt="Lync 2" width="354" height="95" /></a></p>
<p><strong>Public IM</strong> determines whether you will be able to communicate with Live Messenger clients. You can only turn this on if <strong>Domain federation</strong> is also turned on:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-3.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Lync 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-3_thumb.png" border="0" alt="Lync 3" width="354" height="137" /></a></p>
<p>If enabled globally, <strong>Domain federation</strong> and <strong>Public IM</strong> can be disabled at the user level.</p>
<h3>Lync Clobbers Live Messenger</h3>
<p>The first thing I discovered was that a few hours after turning on <strong>Domain federation</strong> and <strong>Public IM</strong> connectivity, my Live Messenger disconnected. When I tried to log back on, it told me that I could no longer use my Live ID for Live Messenger. Yup:&nbsp; because my Live ID is in my own domain, when I enabled Lync <strong>Public IM</strong> for that domain, Lync took precedence and disabled Live Messenger. You can only have one or the other in the same domain. Fortunately, disabling <strong>Public IM</strong> restored my Live Messenger connection so I could continue using Live Messenger while testing Lync.</p>
<p>This wouldn’t be a big deal if I could replace Live Messenger with Lync. But I can’t. Read on.</p>
<h3>Live Messenger Connects but Lync Doesn’t</h3>
<p>One of my friends works for a Fortune 1000 company that uses Lync in-house. Communications with this friend through Live Messenger work fine. However when I tried to connect to him from Office 365 Lync, I could not, nor could he connect to me.</p>
<p>I expect the problem is that his company’s <strong>Domain federation</strong> is set to only allow whitelisted domains. Since my domain is not on their list, my IMs can’t get through. But they <em>have</em> allowed <strong>Public IM</strong>, so Live Messenger works fine.</p>
<p>Unfortunately I can’t just call up the IT department of a $17 billion company and ask them to add my Lync domain to their Lync federation so I can chat with my buddy. Live Messenger is my only option to communicate with this friend.</p>
<h3>Office 365 Lync’s Weak Privacy</h3>
<p>In Live Messenger, I’ve come to expect that anyone who wants to be a “friend” must send me a request. Only those I approve can see my presence information, status updates, etc. This is the standard behavior for social networking (Facebook, LinkedIn, etc.).</p>
<p>Lync, on the other hand, lets any user see the picture, presence, and status message of any other user. Users do not need to grant permission first. And this includes federated domains. So if I allow open federation from any domain, that means that any Lync user in the world, by simply entering my email address, can see whether I am online and can send me instant messages. If they don’t have my email address, Lync will help them figure it out by returning my presence info once they guess the correct address. This happens without my knowledge or approval.</p>
<p>It works the other way too:&nbsp; I can see the status of anyone on an open Lync network, whether or not I have ever communicated with them via Lync. Here for example are a couple of Lync support engineers (I’ve hidden their last names):</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-4.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Lync 4" src="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-4_thumb.png" border="0" alt="Lync 4" width="209" height="244" /></a></p>
<p>Lync 2010 software does offer an <a href="http://technet.microsoft.com/en-us/library/gg399028.aspx" target="_blank">Enhanced Presence Privacy Mode</a>. When enabled, “the option to restrict presence information to contacts becomes available in the Lync 2010 Status options.” In other words, if I haven’t added the person to my Contacts list, that person couldn’t see my status (same as Live Messenger).</p>
<p>Unfortunately, Enhanced Presence Privacy is <em>disabled</em> in the Office 365 implementation of Lync, and since <a href="http://community.office365.com/en-us/w/administration/office-365-windows-powershell-content-map.aspx" target="_blank">Office 365 does not allow PowerShell access to Lync</a>, there is no way to change this. So the option to restrict presence information is not available in my Lync Status options:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-5.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Lync 5" src="http://www.mcbsys.com/techblog/wp-content/uploads/2012/01/Lync-5_thumb.png" border="0" alt="Lync 5" width="354" height="108" /></a></p>
<p>That means the only way to hide presence information is to set <strong>Domain federation</strong> to “Disabled for all domains except those intentionally allowed.” Even then, if I were to allow federation with my friend’s Fortune 1000 company, and if their IT department allowed my domain, all 6500 people who work there would be able to see my presence without my permission.</p>
<h3>Comparing Lync to Live Messenger</h3>
<p>Here’s a table summarizing what I’ve learned:</p>
<table border="0" cellspacing="0" cellpadding="2" width="550">
<tbody>
<tr>
<td width="183" valign="top"><strong>Feature</strong></td>
<td width="183" valign="top"><strong>Office 365 Lync</strong></td>
<td width="183" valign="top"><strong>Live Messenger</strong></td>
</tr>
<tr>
<td width="183" valign="top">Can communicate with any Lync or Live Messenger client.</td>
<td width="183" valign="top">Only if target domain allows my domain (unlikely with large company running Lync).</td>
<td width="183" valign="top">Yes. If target domain runs Lync, Public IM must be enabled (more likely with large company since privacy protected).</td>
</tr>
<tr>
<td width="183" valign="top">Can hide presence from everyone except my contacts.</td>
<td width="183" valign="top">No. Anyone in a federated Lync domain can see my presence.</td>
<td width="183" valign="top">Yes</td>
</tr>
<tr>
<td width="183" valign="top">One-to-one IM and video</td>
<td width="183" valign="top">Yes</td>
<td width="183" valign="top">Yes</td>
</tr>
<tr>
<td width="183" valign="top">Multi-party meetings and other advanced IM features.</td>
<td width="183" valign="top">Yes</td>
<td width="183" valign="top">No</td>
</tr>
<tr>
<td width="183" valign="top">Rotating advertising.</td>
<td width="183" valign="top">No</td>
<td width="183" valign="top">Yes</td>
</tr>
<tr>
<td width="183" valign="top">Free</td>
<td width="183" valign="top">No</td>
<td width="183" valign="top">Yes</td>
</tr>
</tbody>
</table>
<h3>Conclusion</h3>
<p>There is no doubt that Lync has some great features for meetings, etc. that go beyond what is available in Live Messenger. A small company with several far-flung employees needing to stay in touch could benefit from these features. However, due to the connectivity and privacy limitations of Office 365 Lync, you may also need to run Live Messenger for connecting with the outside world. And if all you need is one-on-one IM and video, Live Messenger offers better connectivity and privacy—as long as you can put up with the annoying ads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2012/01/office-365-lync-vs-live-messenger-for-small-business/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Machine Online but Programs Can&#8217;t Connect</title>
		<link>http://www.mcbsys.com/techblog/2011/12/machine-online-but-programs-cant-connect/</link>
		<comments>http://www.mcbsys.com/techblog/2011/12/machine-online-but-programs-cant-connect/#comments</comments>
		<pubDate>Thu, 29 Dec 2011 22:41:41 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[connectivity]]></category>
		<category><![CDATA[time sync]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/12/machine-online-but-programs-cant-connect/</guid>
		<description><![CDATA[I maintain a remote Windows XP Pro workstation that’s three or four years old. Today I had a strange situation:&#160; I could reach the machine using vPro and see that it was powered on, but it did not come up in LogMeIn. I eventually managed to connect to it using Remote Desktop and started diagnosing [...]]]></description>
			<content:encoded><![CDATA[<p>I maintain a remote Windows XP Pro workstation that’s three or four years old. Today I had a strange situation:&#160; I could reach the machine using vPro and see that it was powered on, but it did not come up in LogMeIn. I eventually managed to connect to it using Remote Desktop and started diagnosing the problem.</p>
<p>  <span id="more-1064"></span>
<p>The following things worked:</p>
<ul>
<li>vPro (shares the network port as the OS)</li>
<li>Remote Desktop</li>
<li>Internet Explorer</li>
</ul>
<p>The following things did not work:</p>
<ul>
<li>LogMeIn (“active but not online”)</li>
<li>Dyn Updater (“Unable to refresh host list. WinHttpOpenRequet failed. There may be a problem with your WINHTTP.DLL file.”)</li>
<li>GFI MAX agent (shows system offline for the last four days)</li>
</ul>
<p>Most articles on this issue suggest a firewall as the issue, but this machine only uses the Windows Firewall, which does not block outbound connections.</p>
<h3>Time to Connect</h3>
<p><a href="http://forums.techguy.org/6259014-post13.html" target="_blank">One post</a> mentioned inaccurate time as a potential issue. Well I had noticed that the system clock on this machine was off by almost six years:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/No-connection-1.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="No connection 1" border="0" alt="No connection 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/No-connection-1_thumb.png" width="354" height="305" /></a></p>
<p>I figured I would fix that later, but after seeing that post, I went ahead and manually corrected the date and time, and poof! everything came back online. Huh, never would have thought that having the correct time was related to allowing programs to connect to the Internet.</p>
<p>For some reason, the Windows Time Service was not automatically updating the date and time. When I tried <strong>w32tm /resync</strong>, I kept getting “The computer did not resync because no time data was available.” It took repeated tries, stopping and starting the service, etc. before I finally got it to respond to the resync:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/No-connection-2.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="No connection 2" border="0" alt="No connection 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/No-connection-2_thumb.png" width="554" height="362" /></a></p>
<h3>Long-Term Solution?</h3>
<p>It remains to be seen if this is a long-term solution. When I shut down the machine, vPro (which can access the machine when it is powered off) again reported the system time as back in 2006. (The machine may need a new CMOS battery, but I’m 1000 miles away so that won’t happen soon.) After powering back up today, the date and time reverted to the correct value. If that fails again, and Windows Time is not correcting the time, I may try a third-party time sync program like the <a href="http://www.worldtimeserver.com/atomic-clock/" target="_blank">Atomic Clock Sync</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/12/machine-online-but-programs-cant-connect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use Postini with Office 365</title>
		<link>http://www.mcbsys.com/techblog/2011/12/use-postini-with-office-365/</link>
		<comments>http://www.mcbsys.com/techblog/2011/12/use-postini-with-office-365/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 06:41:32 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[forefront]]></category>
		<category><![CDATA[office 365]]></category>
		<category><![CDATA[postini]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/12/use-postini-with-office-365/</guid>
		<description><![CDATA[The hosted Exchange part of Office 365 has been performing pretty well once I got it configured. However, I continue to have issues with Forefront, a separate-but-integrated piece that sits in front of hosted Exchange. Compared to the Google Postini service I used previously, Forefront has given me more spam, false positives, a 3-day wait [...]]]></description>
			<content:encoded><![CDATA[<p>The hosted Exchange part of Office 365 has been performing pretty well once I got it <a href="http://www.mcbsys.com/techblog/tag/office-365/" target="_blank">configured</a>. However, I continue to have issues with Forefront, a separate-but-integrated piece that sits in front of hosted Exchange. Compared to the Google Postini service I used previously, Forefront has given me more spam, false positives, a 3-day wait to see quarantine notices, and a separate quarantine email for each email alias. Since I still have my Postini account, I’ve decided to go back to Postini for spam and virus filtering. Here’s how I set that up.</p>
<h3><span id="more-1053"></span>Step 1:&nbsp; Tell Forefront to Allow Postini IPs</h3>
<ol>
<li>Go to <a title="https://admin.messaging.microsoft.com" href="https://admin.messaging.microsoft.com">https://admin.messaging.microsoft.com</a> and log in to your Forefront configuration. (If you’re using Firefox and get “Server Error in &#8216;/&#8217; Application”, try Internet Explorer instead.)</li>
<li>Click on the <strong>Administration</strong> tab. You should land on the <strong>Company</strong> sub-tab.</li>
<li>Set up an <strong>Inbound Connector</strong> that tells Forefront to not do any filtering on mail coming from Postini. The Help calls this an <a href="http://technet.microsoft.com/en-us/library/gg430159.aspx" target="_blank">Inbound Safe Listing Scenario</a>. See the detailed example below.</li>
<li>Click on the <strong>Domains</strong> sub-tab. Under <strong>Enabled Domains</strong>, click on your primary domain (not the yourdomain.onmicrosoft.com subdomain).</li>
<li>Next to <strong>Inbound Connectors</strong>, click on <strong>Select</strong>, choose the connector you just defined, then click on OK. This applies that connector to your domain.</li>
</ol>
<p>In order for the Inbound Connector to handle the mail, both the <strong>Sender Domains</strong> <em>and</em> the <strong>Sender IP Addresses</strong> must match.</p>
<p>Since we want mail from any domain to be handled by the connector, set <strong>Sender Domains</strong> to *.*.</p>
<p>We want to only accept mail from Postini’s servers. My Postini account is on Postini’s System 7 server, so the <a href="http://www.google.com/support/postini/bin/answer.py?answer=141669" target="_blank">range of IP addresses</a> that Postini may send from is 64.18.0.0 – 64.18.15.0. That translates to CIDR 64.18.0.0/20. Unfortunately, Forefront only allows CIDRs starting from /24, so you have to specify 16 CIDRs:</p>
<p>64.18.0.0/24, 64.18.1.0/24, 64.18.2.0/24, 64.18.3.0/24, 64.18.4.0/24, 64.18.5.0/24, 64.18.6.0/24, 64.18.7.0/24, 64.18.8.0/24, 64.18.9.0/24, 64.18.10.0/24, 64.18.11.0/24, 64.18.12.0/24, 64.18.13.0/24, 64.18.14.0/24, 64.18.15.0/24</p>
<p>The other trick is to uncheck the three <strong>Filtering</strong> boxes at the bottom of the dialog. Here’s an example of the complete Inbound Filter:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/Office-365-Postini-1.png" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Office 365 Postini 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/Office-365-Postini-1_thumb.png" border="0" alt="Office 365 Postini 1" width="354" height="478" /></a></p>
<p><strong>Note</strong> Be sure to <a href="http://www.google.com/support/postini/bin/answer.py?answer=141669" target="_blank">find out</a> what Postini system you are on. The example above only applies to System 7.</p>
<h3>Step 2:&nbsp; Set Postini to Deliver Email to Office 365</h3>
<ol>
<li>If you don’t remember your Office 365 “virtual server,” use nslookup or log in to your DNS provider to get the current MX record. It should be something like “mydomain-com.mail.eo.outlook.com”. Copy that destination server to the clipboard.</li>
<li>Log in to your Postini admin page.</li>
<li>Under <strong>Orgs and Users</strong>, <strong>Choose Org</strong> “[mydomain.com] Email Config 1”.</li>
<li>Click on <strong>Inbound Servers</strong> &gt; <strong>Delivery Manager</strong> &gt; <strong>Edit</strong>.</li>
<li>Change the <strong>Email Servers</strong> to point to your outlook.com virtual server.</li>
</ol>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/Office-365-Postini-2.png" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Office 365 Postini 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/Office-365-Postini-2_thumb.png" border="0" alt="Office 365 Postini 2" width="354" height="148" /></a></p>
<h3>Step 3:&nbsp; Update Your DNS to Point the MX to Postini</h3>
<ol>
<li>Log in to your public DNS provider.</li>
<li>Set the priority of the existing Office 365 MX record to 9. We’ll leave this in there for now in case the Postini routing doesn’t work.</li>
<li>Add your four Postini MX records at priorities 0 through 3.</li>
</ol>
<p>If you still have your original signup email from Postini, your MX records are listed there. If not, you’ll need to refer to <a href="http://www.google.com/support/appsecurity/bin/answer.py?answer=99589" target="_blank">this article</a> to figure them out. Mine look like this:</p>
<p>1st priority record: mcbsys.com.s7a1.psmtp.com.<br />
2nd priority record: mcbsys.com.s7a2.psmtp.com.<br />
3rd priority record: mcbsys.com.s7b1.psmtp.com.<br />
4th priority record: mcbsys.com.s7b2.psmtp.com.</p>
<h3>Step 4: Test</h3>
<p>Give the Forefront connector 45 minutes to propagate, and the DNS at least an hour. Send yourself some emails from an outside account (Yahoo, Gmail, whatever). Assuming that they get through, check the headers to see if they went through Postini. In the chain of “Received” servers, you should see that mail was received from something like “exprod7mx181.postini.com”. You should also see Postini’s spam measurements with headers like “x-pstn-neptune” and “xpstn-levels”.</p>
<p>The first stop in the chain after entering the Microsoft network should show that your Inbound Connector (“X-FOPE-CONNECTOR”) was applied, and should identify the sending Postini IP address in an “X-Safelisted-IP” header. The “X-Forefront-Antispam-Report” header is still there but apparently has no effect.</p>
<h3>Step 5:&nbsp; Remove Office 365 from DNS</h3>
<p>Once you are sure that all your mail is flowing through Postini to Office 365, you can update your public DNS to remove the priority 9 MX record left from Step 3. This will prevent spammers from directly targeting Office 365 by using out-of-sequence MX records.</p>
<p><strong>Note</strong> The new Inbound Connector only handles mail that goes to <em>your</em> domain, which is now flowing through Postini. Mail sent directly to your Office 365 address (yourname@yourdomain.onmicrosoft.com) does <em>not</em> go through Postini so it still relies on Forefront for filtering.</p>
<p>Congratulations, your email is flowing through Postini. Look forward to a single, daily quarantine report that includes all your email aliases, and hopefully more accurate discernment of ham vs. spam.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/12/use-postini-with-office-365/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>SBS 2008 Attempts Multiple Simultaneous Backups</title>
		<link>http://www.mcbsys.com/techblog/2011/11/sbs-2008-attempts-multiple-simultaneous-backups/</link>
		<comments>http://www.mcbsys.com/techblog/2011/11/sbs-2008-attempts-multiple-simultaneous-backups/#comments</comments>
		<pubDate>Sat, 19 Nov 2011 19:13:54 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[sbs]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/11/sbs-2008-attempts-multiple-simultaneous-backups/</guid>
		<description><![CDATA[I first had this issue in July 2010. SBS 2008 would attempt to run two identical backups for each one that was scheduled. The duplicate backup would fail with Microsoft-Windows-Backup event 518, “Backup started at &#8216;[date and time]&#8216; failed as another backup or recovery is in progress. Please re-run backup.” But the original backup completed [...]]]></description>
			<content:encoded><![CDATA[<p>I first had this issue in July 2010. SBS 2008 would attempt to run two identical backups for each one that was scheduled. The duplicate backup would fail with Microsoft-Windows-Backup event 518, “Backup started at &#8216;[date and time]&#8216; failed as another backup or recovery is in progress. Please re-run backup.” But the original backup completed fine, so there was no need to re-run it.</p>
<p><span id="more-1047"></span></p>
<p>A rep with Microsoft Partner Support spent quite a bit of time and effort trying to get to the root cause of this issue, but “no luck.” I decided to live with the annoying error messages in my daily report—then one day, after a reboot, I believe, they stopped. SBS 2008 was back to running only one backup as per schedule.</p>
<h3>Back with a Vengeance</h3>
<p>Then earlier this month, the issue suddenly returned, but worse: SBS was now trying to run up to five identical backup jobs at a time:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-1.png" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="SBS Backup 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-1_thumb.png" border="0" alt="SBS Backup 1" width="354" height="273" /></a></p>
<p>I found in <a href="http://social.technet.microsoft.com/Forums/en-US/windowsbackup/thread/d1cd8256-c778-4a28-aa5b-a5f75d544734" target="_blank">this thread</a> that at least half a dozen other users were experiencing the same issue. Fortunately, one of them had a good suggestion:&nbsp; manually modify the task to prevent starting a new instance if the task is already running:</p>
<ol>
<li>Open Task Scheduler.</li>
<li>Under Task Scheduler &gt; Task Scheduler Library &gt; Microsoft &gt; Windows &gt; Backup, double-click on the <strong>Microsoft-Windows-WindowsBackup</strong> task.</li>
<li>Click on the <strong>Settings</strong> tab.</li>
<li>Under <strong>If the task is already running, then the following rule applies</strong> change <strong>Run a new instance in parallel</strong> to <strong>Do not start a new instance</strong>.</li>
<li>Click on <strong>OK</strong> to save the changes.</li>
</ol>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-3.png" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="SBS Backup 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-3_thumb.png" border="0" alt="SBS Backup 3" width="354" height="265" /></a></p>
<p>This still doesn’t explain why the task tries to start multiple times in the first place. It’s certainly not the &#8220;SBS way&#8221; to have to manually edit the backup task in Task Scheduler. But at least it prevents multiple instances from attempting to start. A week later, I’m back to all green on my backup history:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-4.png" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="SBS Backup 4" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SBS-Backup-4_thumb.png" border="0" alt="SBS Backup 4" width="354" height="272" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/11/sbs-2008-attempts-multiple-simultaneous-backups/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Linksys SPA942 Busy Lamp Field with PiaF</title>
		<link>http://www.mcbsys.com/techblog/2011/11/linksys-spa942-busy-lamp-field-with-piaf/</link>
		<comments>http://www.mcbsys.com/techblog/2011/11/linksys-spa942-busy-lamp-field-with-piaf/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 20:37:27 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[linksys]]></category>
		<category><![CDATA[pbx in a flash]]></category>
		<category><![CDATA[piaf]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/11/spa942-busy-lamp-field-with-piaf/</guid>
		<description><![CDATA[A client has an old PBX in a Flash 1.3 installation running Asterisk 1.4.21.2. I’ve upgraded their Linksys SPA942 phones to the latest firmware, version 6.1.5(a). Can we get Busy Lamp Field (BLF) functionality to work on the empty line keys?

This post has a concise guide to SPA942 BLF configuration:
How to configure BLF with a [...]]]></description>
			<content:encoded><![CDATA[<p>A client has an old PBX in a Flash 1.3 installation running Asterisk 1.4.21.2. I’ve upgraded their Linksys SPA942 phones to the latest firmware, version 6.1.5(a). Can we get Busy Lamp Field (BLF) functionality to work on the empty line keys?</p>
<p><span id="more-1038"></span></p>
<p>This post has a concise guide to SPA942 BLF configuration:</p>
<p><a href="http://www.adrianandgenese.com/blogger/2011/02/15/how-to-configure-blf-with-a-linksys-spa942-and-asterisk-1-4/">How to configure BLF with a Linksys SPA942 and Asterisk 1.4</a></p>
<p>I found that I didn’t have to change the PBX in a Flash (PiaF) setup of Asterisk at all. To monitor extension 203, I just made these changes to <strong>Phone</strong> tab of the phone used by extension 200:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SPA942-BLF.png" target="_blank"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="SPA942 BLF" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/SPA942-BLF_thumb.png" border="0" alt="SPA942 BLF" width="554" height="161" /></a></p>
<h4>Notes</h4>
<ul>
<li>The <strong>Extension</strong> is <strong>Disabled</strong> and <strong>Shared Call Appearance</strong> is <strong>private.</strong></li>
<li>The extension being monitored does <em>not</em> need to be defined on an <strong>Ext</strong> tab on the “remote” phone. So if the admin is on 200 and is monitoring 203, the admin does not need 203 defined on an <strong>Ext</strong> tab.</li>
<li>The <strong>Short Name</strong> appears next to the line key when the phone is on hook.</li>
<li>The <strong>Extended Function</strong> looks like this:<br />
<code>fnc=blf+sd+cp;sub=203@$PROXY;ext=203@$PROXY</code></p>
<ul>
<li>blf = Busy Lamp Field</li>
<li>sd = Speed Dial</li>
<li>cp = Call Pickup</li>
</ul>
</li>
</ul>
<h4>Issues</h4>
<ul>
<li>The BLF function does work. However, when the line is off hook, the Short Names are not shown. So users would have to remember which line key is for whom, or use physical labels to identify the lines.</li>
<li>A quick test of transferring a call with the button failed. It could be that that requires some of the Asterisk-side modifications. I didn’t pursue this.</li>
<li>BLF subscriptions may not be supported by a hosted PBX solution, where you register each extensions directly with the external provider. Since most other functions are available in a hosted solution (e.g. <a href="http://voip.ms" target="_blank">voip.ms</a>), it may come down to whether it is worth running an in-house Asterisk server just to have BLF.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/11/linksys-spa942-busy-lamp-field-with-piaf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set Up VLAN and Site-to-Site VPN with Tomato</title>
		<link>http://www.mcbsys.com/techblog/2011/11/set-up-vlan-and-site-to-site-vpn-with-tomato/</link>
		<comments>http://www.mcbsys.com/techblog/2011/11/set-up-vlan-and-site-to-site-vpn-with-tomato/#comments</comments>
		<pubDate>Mon, 14 Nov 2011 23:45:14 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[tomato]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/11/set-up-vlan-and-site-to-site-vpn-with-tomato/</guid>
		<description><![CDATA[I wrote recently about setting up guest wireless with the Tomato router firmware. I also needed to be able to use site-to-site OpenVPN between two routers running Tomato. I’m using a “Toastman” build that includes both VLAN and VPN functionality, but how can I use them at the same time?
  
This is the main [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote recently about <a href="http://www.mcbsys.com/techblog/2011/11/set-up-guest-wireless-with-tomato/" target="_blank">setting up guest wireless</a> with the Tomato router firmware. I also needed to be able to use site-to-site OpenVPN between two routers running Tomato. I’m using a “Toastman” build that includes both VLAN and VPN functionality, but how can I use them at the same time?</p>
<p>  <span id="more-1033"></span>
<p>This is the main article I followed for setting up a site-to-site VPN:</p>
<p><a href="http://www.wasagacomputers.com/home/2010/8/10/tutorial-site-to-site-vpn-using-tomato-firmware-and-openvpn.html">http://www.wasagacomputers.com/home/2010/8/10/tutorial-site-to-site-vpn-using-tomato-firmware-and-openvpn.html</a></p>
<p>It seems that the last bit of his step 3, where you add 1194 to the port forwarding, is no longer required.</p>
<h3>VPN Can’t Ping from LAN to LAN</h3>
<p>Unfortunately after configuring the VPN, I could ping from the router to the other LAN, but I could not ping from one LAN to the other LAN. Not good!</p>
<p>I got lots of help from the <a href="http://www.linksysinfo.org/index.php?threads/site-to-site-vpn-can-ping-from-router-but-not-from-inside-network.35804/" target="_blank">VPN</a> and <a href="http://www.linksysinfo.org/index.php?threads/vlan-tags-work-for-you.34478/page-5#post-174323" target="_blank">VLAN</a> and authors. Long story short:&#160; the VLAN setup was not allowing packets on the local LAN to be forwarded to the VPN tunnel.</p>
<p>The solution is to manually add a one-line forwarding instruction to each router. The exact instruction depends on which VLAN you wan to route to which VPN tunnel. </p>
<p>The VLANs are listed under Advanced &gt; VLAN. Choose the Bridge name for the VLAN you want to connect.    <br /><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Tomato-VPN-1.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Tomato VPN 1" border="0" alt="Tomato VPN 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Tomato-VPN-1_thumb.png" width="554" height="122" /></a>    </p>
<p>The tunnels are named as follows: tun11 = OpenVPN Client1, tun12 = Client2, tun21 = Server1, and tun22 = Server2. You can see which tunnel is active under Advanced &gt; Routing. This screen shot is from my OpenVPN server:   <br /><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Tomato-VPN-2.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Tomato VPN 2" border="0" alt="Tomato VPN 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Tomato-VPN-2_thumb.png" width="554" height="117" /></a>    </p>
<p>On both the client and sever, my main LAN (that I want to share across the VPN) is on br0. The server is tun21 and the client is tun11. So on the OpenVPN server router, I ran this instruction from Tools &gt; System:</p>
<p><code>iptables -A FORWARD -i br0 -o tun21 -j ACCEPT</code></p>
<p>and on the OpenVPN client router I ran this instruction:</p>
<p> <code>
<p>iptables -A FORWARD -i br0 -o tun11 -j ACCEPT</p>
<p> </code>
<p>Voila! Bi-directional ping happiness, from server&#8217;s LAN to client&#8217;s LAN and vice-versa.</p>
<p>To make the instructions “sticky,” save the corresponding instruction in Administration &gt; Scripts &gt; Firewall on each router, and reboot the router.</p>
<p>This functionality may eventually become “standard” or part of the GUI, but for now, a pair of simple instructions lets you use OpenVPN on a router running VLANs.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/11/set-up-vlan-and-site-to-site-vpn-with-tomato/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Can&#8217;t Ping Server after Changing Router</title>
		<link>http://www.mcbsys.com/techblog/2011/11/cant-ping-server-after-changing-router/</link>
		<comments>http://www.mcbsys.com/techblog/2011/11/cant-ping-server-after-changing-router/#comments</comments>
		<pubDate>Sat, 12 Nov 2011 21:05:50 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[network]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/11/cant-ping-server-after-changing-router/</guid>
		<description><![CDATA[After installing a new router, I was no longer able to ping my Hyper-V server. Why not? The router sits at the edge of the network—how could it affect pinging on the local LAN?
  
Often failed pings are related to the firewall on the target machine. For example, the Windows Firewall setup on my [...]]]></description>
			<content:encoded><![CDATA[<p>After installing a new router, I was no longer able to ping my Hyper-V server. Why not? The router sits at the edge of the network—how could it affect pinging on the local LAN?</p>
<p>  <span id="more-1028"></span>
<p>Often failed pings are related to the firewall on the target machine. For example, the Windows Firewall setup on my Server 2008 R2 only allows ICMPv4 pings on Private networks:</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Change Network Type 4" border="0" alt="Change Network Type 4" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Change-Network-Type-4.png" width="550" height="101" /></p>
<p>By temporarily disabling individual firewall profiles on the server, I found that I could ping the server if I turned off the Public firewall profile. Huh? Why does the server thing it is on a Public network?</p>
<p>The answer is Network Location Awareness. You’ve seen the prompt when you connect a laptop to a new wireless network:&#160; is this a Home, Work, or Public network? Well I never saw that prompt on the server; apparently it just assumes that a new network (e.g. due to a new router) is Public, the most restrictive profile. </p>
<p>Note that this doesn’t affect domain-joined computers; they are automatically assigned to the Domain firewall profile. But it does affect my non-domain-joined Hyper-V server.</p>
<h3>Change the Network Type</h3>
<p>To tell the server it’s on a Private network, go to Network and Sharing Center, click on <strong>Public network:</strong></p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Change-Network-Type-1.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Change Network Type 1" border="0" alt="Change Network Type 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Change-Network-Type-1_thumb.png" width="554" height="242" /></a></p>
<p>Then choose <strong>Work network:</strong></p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Change-Network-Type-2.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Change Network Type 2" border="0" alt="Change Network Type 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Change-Network-Type-2_thumb.png" width="554" height="359" /></a></p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Change-Network-Type-3.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Change Network Type 3" border="0" alt="Change Network Type 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Change-Network-Type-3_thumb.png" width="554" height="245" /></a></p>
<p>That’s it! The server now knows it’s on a Private network, and the Private firewall profile applies. As long as that profile accepts ICMP (ping) requests, you should be able to ping the server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/11/cant-ping-server-after-changing-router/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get Asterisk to Use the G.729a Codec</title>
		<link>http://www.mcbsys.com/techblog/2011/11/get-asterisk-to-use-the-g-729a-codec/</link>
		<comments>http://www.mcbsys.com/techblog/2011/11/get-asterisk-to-use-the-g-729a-codec/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 06:37:19 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[asterisk]]></category>
		<category><![CDATA[piaf]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/11/get-asterisk-to-use-the-g-729a-codec/</guid>
		<description><![CDATA[I’m using Asterisk 1.8.5 under FreePBX 2.8.1.4. My endpoints (Polycom IP430 phone, SPA3102 ATA) and my ITSP all support the G.729a codec. I wanted to test audio quality using this compressed codec.

G.729a requires that you purchase a license if you are converting (transcoding) the audio to another codec. Although the licenses are inexpensive, I preferred [...]]]></description>
			<content:encoded><![CDATA[<p>I’m using Asterisk 1.8.5 under FreePBX 2.8.1.4. My endpoints (Polycom IP430 phone, SPA3102 ATA) and my ITSP all support the <a href="http://en.wikipedia.org/wiki/G.729" target="_blank">G.729a codec</a>. I wanted to test audio quality using this compressed codec.</p>
<p><span id="more-1016"></span></p>
<p>G.729a requires that you purchase a license if you are converting (transcoding) the audio to another codec. Although the licenses are inexpensive, I preferred to avoid the overhead of transcoding by simply <a href="http://www.voip-info.org/wiki/view/Asterisk+G.729+pass-thru" target="_blank">passing through</a> the G.729a packets.</p>
<p>“Passing through” means that both legs of the call must use G.729a. At first I hoped to be able to use the standard ulaw (G.711u) codec for all calls except those going to my ITSP. However, I eventually found that if the first leg of a call prefers ulaw, and the second leg requires G.729a, Asterisk will not go back and reinvite the first leg using G.729a (see my comment in <a href="http://www.freepbx.org/forum/freepbx/users/force-g729-codec-at-endpoint-phone-on-outbound-sip-trunk#comment-43130" target="_blank">this thread</a>). Bottom line:&nbsp; we need to set up the PBX to use G.729a on <em>all</em> calls, internal and external.</p>
<h3>Setting It Up</h3>
<p>Once that was clear, the setup was fairly simple:</p>
<ol>
<li>Download the current g729 sound files from <a href="http://downloads.asterisk.org/pub/telephony/sounds/" target="_blank">Digium</a>:<br />
<code>asterisk-core-sounds-en-g729-current.tar.gz<br />
asterisk-extra-sounds-en-g729-current.tar.gz</code><br />
These are required for the voicemail system to work after converting to G.729.</li>
<li>On the Asterisk machine, under <code>/var/lib/asterisk/sounds</code>, rename the <code>en</code> directory to <code>en.gsm</code>.</li>
<li>Create a new <code>en</code> directory and extract the new sounds there. Recursively change the group and Owner to <strong>asterisk</strong> and the permissions to <strong>775</strong> to match the original “en” directory.</li>
<li>In the FreePBX admin panel, go to <strong>Tools &gt; Config Edit</strong>. Add the following lines to sip_general_custom.conf:<br />
<code>disallow=all<br />
allow=g729<br />
allow=ulaw<br />
allow=alaw<br />
allow=gsm</code><br />
That puts g729 as the first priority for the whole system.</li>
<li>From the console, open the Asterisk CLI (<strong>asterisk –r</strong>). Make a call and type <strong>sip show channels</strong>. You should see the g729 codec on both legs of the call, whether you call internally or externally. Do try all combinations to make sure that G.729a is supported throughout. If not, the call will fail and you’ll see a corresponding message in the log (Tools &gt; Asterisk Logfiles). (Or if you a the G.729a license, the call will succeed but will be transcoded.)</li>
</ol>
<h3>Update:&nbsp; Still Need to Transcode</h3>
<p><span style="color: #0000ff;"><strong>November 5, 2011:</strong></span> Alas, not as easy as I thought. The above did set up G.729a pass-through on outbound calls. However, some problems remained:</p>
<ul>
<li>Inbound calls through the SPA3102 were still in G.711u format. Since Asterisk tried to use G.729a for the second leg, the call failed without a transcoder. Changing the SPA3102’s Preferred Codec to G729a solved that problem.</li>
<li>Voicemail greetings are not available in .g729 format. Converting from .WAV to .g729, or even creating new greetings in .g729, seems to require a transcoder.</li>
<li>Voicemail messages are not stored in .g729. This can be remedied by adding g729 to the list of formats in <code>voicemail.conf</code>, but still seems to have trouble without a transcoder.</li>
<li>Rod Montgomery, Directory of Services at Digium, writes in <a href="http://www.fonality.com/trixbox/forums/trixbox-pro/trixbox-pro-help/do-we-need-install-g729-if-we-want-use-it" target="_blank">this thread</a> that without a transcoder, Asterisk will not be able to process audio, e.g. DTMF codes for IVR and voicemail. I’m not sure about this one—it seemed to handle the DTMF when I called internally anyway.</li>
</ul>
<p>Bottom line, it still makes sense to set up pass-through for actual phone calls, but there are so many places that audio conversion is needed that it makes sense to get the transcoder. As Mr. Montgomery says in the post linked above, you only need as many licenses as you have simultaneous channels doing transcoding. So if you are making all calls in pass-through mode, you only need a few licenses for receiving and accessing voicemail, and possibly for IVR.</p>
<p>Info on transcoder licensing is available <a href="http://www.voip-info.org/wiki/view/Asterisk+G.729+Licensing" target="_blank">here</a>. For testing purposes, open-source binaries are available <a href="http://asterisk.hosting.lv/" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/11/get-asterisk-to-use-the-g-729a-codec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set Up Guest Wireless with Tomato</title>
		<link>http://www.mcbsys.com/techblog/2011/11/set-up-guest-wireless-with-tomato/</link>
		<comments>http://www.mcbsys.com/techblog/2011/11/set-up-guest-wireless-with-tomato/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 21:37:23 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[router]]></category>
		<category><![CDATA[tomato]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/11/set-up-guest-wireless-with-tomato/</guid>
		<description><![CDATA[I’ve been learning Tomato router firmware. This open-source firmware can enhance a low-end wireless router with some pretty advanced features.
One of my goals was to set up my wireless for guest-only access, i.e. not connected to my internal LAN (which are all hard-wired connections). Here’s one way to do that.
  
Basically we need a [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been learning <a href="http://en.wikipedia.org/wiki/Tomato_%28firmware%29" target="_blank">Tomato router firmware</a>. This open-source firmware can enhance a low-end wireless router with some pretty advanced features.</p>
<p>One of my goals was to set up my wireless for guest-only access, i.e. not connected to my internal LAN (which are all hard-wired connections). Here’s one way to do that.</p>
<p>  <span id="more-1014"></span>
<p>Basically we need a separate VLAN connected only to the wireless. Although this can be accomplished from the command line, Augusto Bott (“Teaman”) has added a nice GUI for VLANs (<a href="http://www.linksysinfo.org/index.php?threads/vlan-tags-work-for-you.34478/" target="_blank">thread</a>), and “Toastman” has added the VLAN enhancement to his builds tagged as “VLAN”.</p>
<p>So <a href="http://www.4shared.com/dir/v1BuINP3/Toastman_Builds.html#dir=79224764" target="_blank">download</a> and upgrade to a Toastman build that includes the VLAN enhancement. You’ll have to find the one that suits your router. I’m using a Cisco Linksys E2000, so I upgraded to <strong>tomato-E2000-NVRAM60K-1.28.4407.1MIPSR2-Toastman-VLAN-RT-VPN.bin</strong>. Get that set up as a standard wired and wireless router sharing the same LAN. Then follow these steps to split the wireless into a separate VLAN:</p>
<p>1. Under Basic &gt; Network, add a “bridge” with a new gateway IP. Enable DHCP if you want. Here I’m adding <strong>10.0.0.1</strong> for the new bridge <strong>1</strong> (br1) with DHCP enabled:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Tomato-Guest-VLAN-1.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Tomato Guest VLAN 1" border="0" alt="Tomato Guest VLAN 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Tomato-Guest-VLAN-1_thumb.png" width="554" height="106" /></a></p>
<p>Click on <strong>Add</strong>, then click on <strong>Save</strong> at the bottom of the screen. </p>
<p><strong>Note </strong>If you forget to click on <strong>Add</strong>, nothing will happen when you <strong>Save</strong>!</p>
<p>2. Under Advanced &gt; VLAN:</p>
<ol style="list-style-type: lower-alpha">
<li>Under VLAN, add VLAN ID <strong>3</strong> and link it to your new <strong>LAN1 (br1)</strong> bridge. Click on <strong>Add</strong>. </li>
<li>Under Wireless, change Bridge eth1 to <strong>LAN1 (br1)</strong>. </li>
</ol>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Tomato-Guest-VLAN-2.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Tomato Guest VLAN 2" border="0" alt="Tomato Guest VLAN 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/11/Tomato-Guest-VLAN-2_thumb.png" width="554" height="170" /></a></p>
<p>If you like, you can also include some wired ports in your new VLAN; if you do, remove those ports from VLAN 1. When you’re done, click on <strong>Save</strong> at the bottom of the page.</p>
<p>After the router reboots, you should be able to connect to the wireless network and get on the Internet. You can even ping the gateway of the other VLAN (192.168.200.1 in my example). But you will not be able to ping or access other computers on VLAN 1.</p>
<h3>Multiple SSIDs</h3>
<p>Note that what we have now is a single wireless LAN with no access to the main LAN. The next step would be to have two distinct wireless LANs, that is, two SSIDs. Several routers, including the Linksys E2000 with native firmware, offer this now. The idea is to set up one wireless network (e.g. SSID “Office”) that has full access to your network, plus a separate wireless network (SSID “Office-Guest”) that can only browse the Internet. Employees use the password for “Office”, and guests can be given Internet-only access by giving them the separate password for “Office-Guest”.</p>
<p>Currently, multi-SSID capability for Tomato is in the “experimental” stage, so multi-SSIDs will no doubt be a Tomato feature in the future.</p>
<p><strong><font color="#0000ff">Update November 14, 2011</font></strong> At the moment, VLAN functionality will impede your ability to set up a VPN, but there is an easy workaround:&#160; see <a title="http://www.mcbsys.com/techblog/2011/11/set-up-vlan-and-site-to-site-vpn-with-tomato/" href="http://www.mcbsys.com/techblog/2011/11/set-up-vlan-and-site-to-site-vpn-with-tomato/">Set Up VLAN and Site-to-Site VPN with Tomato</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/11/set-up-guest-wireless-with-tomato/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Set Up PostgreSQL for Rails 3.1</title>
		<link>http://www.mcbsys.com/techblog/2011/10/set-up-postgresql-for-rails-3-1/</link>
		<comments>http://www.mcbsys.com/techblog/2011/10/set-up-postgresql-for-rails-3-1/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 21:20:24 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/10/set-up-postgresql-for-rails-3-1/</guid>
		<description><![CDATA[Heroku requires PostgreSQL for production and recommends it for development. Here is the process I worked out for installing PostgreSQL 8.4 and setting up a Rails 3.1 project. I’m working in Ubuntu 10.04.
    Install PostgreSQL
1. Install PostgreSQL locally. See Local PostgreSQL Installation on the Heroku site.
sudo apt-get install postgresql
As of this writing, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.heroku.com" target="_blank">Heroku</a> requires PostgreSQL for production and recommends it for development. Here is the process I worked out for installing PostgreSQL 8.4 and setting up a Rails 3.1 project. I’m working in Ubuntu 10.04.</p>
<h3>   <span id="more-1003"></span> Install PostgreSQL</h3>
<p>1. Install PostgreSQL locally. See <a href="http://devcenter.heroku.com/articles/local-postgresql#ubuntu.">Local PostgreSQL Installation</a> on the Heroku site.</p>
<p><code>sudo apt-get install postgresql</code></p>
<p>As of this writing, this installs PostgreSQL 8.4, which matches the version on Heroku’s shared servers.</p>
<p>2. We also need libpq-dev. See <a href="http://stackoverflow.com/questions/4827092/unable-to-install-pg-gem).">this Stackoverflow article</a>.</p>
<p><code></code></p>
<p><code>sudo apt-get install libpq-dev </code></p>
<p><code></code></p>
<p><code></code></p>
<p>A <a href="http://whatcodecraves.com/articles/2008/02/05/setup_rails_with_postgresql/" target="_blank">different article</a> says to manually install the pg gem but I did <strong>not</strong> do that. (Well, I don&#8217;t think I did; there was a lot of trial and error in working this out.) However the gem is in my <strong>Gemfile</strong>.</p>
<p><code># sudo gem install pg</code></p>
<h3>Set Up a New Rails Project to Use PostgreSQL</h3>
<p>Generate a new Rails project with PostgreSQL as the database. I also add <code>–T</code> so it won’t make a Test folder (I’ll add rspec later).</p>
<p><strong>Note</strong> All instructions refer to <strong>myapp</strong>. Substitute your own application name.</p>
<p><code></code></p>
<p><code>cd ~/rails_projects     <br />rails new myapp -T</code></p>
<p><code></code></p>
<p><code><code>--database=postgresql       <br />cd myapp        <br /></code></code></p>
<p>This will create a <strong>config/database.yml</strong> file that uses PostgreSQL. The Gemfile will also load the &#8216;pg&#8217; gem instead of the &#8217;sqlite3&#8242; gem.</p>
<h3>Source Control</h3>
<p>You may want to exclude <strong>database.yml</strong> from source control since it will contain passwords. If you are using git, add <code>config/database.yml</code> to <strong>.gitignore</strong>. If you’ve already committed with a <strong>database.yml</strong> file, use this command to remove it from source control but not from the project:</p>
<p><code></code></p>
<p><code>git rm --cached config/database.yml</code></p>
<p><code></code></p>
<h3>Set up PostgreSQL</h3>
<p>This section is cobbled together from advice in the following articles:</p>
<ul>
<li><a href="http://www.funonrails.com/2011/03/getting-started-with-rails-3-postgres.html">Getting started with rails 3 &amp; postgres database</a> </li>
<li><a href="http://whatcodecraves.com/articles/2008/02/05/setup_rails_with_postgresql/">Setup Rails with Postgresql</a> </li>
<li><a href="http://mikewilliamson.wordpress.com/2010/12/21/creating-rails-users-in-postgres-on-ubuntu/">Creating Rails users in Postgres on Ubuntu</a> </li>
</ul>
<p>By default, PostgreSQL creates a <strong>postgres</strong> superuser with no password, and links that user to a new <strong>postgres</strong> system user. Our goal is to create and use a project-specific <em>database</em> user that does <em>not</em> have a corresponding system user account.</p>
<p>1. Change to default &quot;postgres&quot; admin user (will prompt for your Ubuntu password).</p>
<p><code>sudo su postgres</code></p>
<p>2. Use the <a href="http://www.postgresql.org/docs/current/static/app-psql.html">psql interactive terminal</a> to <a href="http://www.postgresql.org/docs/current/static/sql-createrole.html">create a role</a> that can create databases and log in (basically creates a user). Note the semicolon at the end of PostgreSQL commands! I used the password generator lat <a href="http://www.pctools.com/guides/password/" target="_blank">this site</a> to create a nice long password. If you’re “stuck” in the PostgreSQL shell, try <code>\q</code>.</p>
<p><code></code></p>
<p><code>psql template1 #starts Postgres interactive shell     <br />create role myapp with</code></p>
<p><code></code></p>
<p><code><code>createdb login password 'sPUKuBr6wRa36A7'; # make your own password       <br />select * from</code> <code>pg_user;&#160;&#160;&#160; # Verify user created (&quot;\q&quot; to exit!)       <br />select *</code> <code>from pg_shadow;&#160; # sysid and password hash listed here       <br />\l # list</code> <code>databases       <br />\q # exit Postgres shell        <br />exit # exit &quot;Postgres&quot; admin user</code></code></p>
<p>3. By default, PostgreSQL will try to use to your Ubuntu identity for logging in to the databases, but that identity has no database rights. That’s the default “ident” authentication method.</p>
<p>To tell PostgreSQL to use passwords instead, we need to update the <a href="http://www.postgresql.org/docs/current/static/auth-pg-hba-conf.html" target="_blank">pg_hba.conf</a> file (note &quot;sudo&quot; to allow opening protected file).</p>
<p><code></code></p>
<p><code>sudo gedit /etc/postgresql/8.4/main/pg_hba.conf</code></p>
<p><code></code></p>
<p><code></code></p>
<p>Add these four lines to <strong>pg_hba.conf</strong>, <em>before</em> the <code>local all all ident</code> line:</p>
<p><code></code></p>
<p><code>local <code>postgres&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </code><code>myapp&#160;&#160;&#160;&#160;&#160;&#160; md5       <br />local &quot;myapp_development&quot;</code> <code>myapp&#160;&#160;&#160;&#160;&#160;&#160; md5       <br />local</code> <code>&quot;myapp_test&quot;&#160;&#160;&#160;&#160;&#160; </code>&#160; <code>myapp&#160;&#160;&#160;&#160;&#160;&#160; md5       <br />local &quot;myapp_production&quot;&#160; </code><code>myapp&#160;&#160;&#160;&#160;&#160;&#160; md5</code></code></p>
<p><code></code></p>
<p><code></code></p>
<p>This tells PostgreSQL to accept MD5 passwords for the new &quot;myapp&quot; user when connecting to the project databases. Note that we must also allow access to the default “postgres” database so <code>rake db:create:all</code> can later create our project databases. Also, quote database names containing a special character (underscore). See <a href="http://stackoverflow.com/questions/5546301/ruby-on-rails-postgresql-ignores-my-password-in-database-yml">this Stackoverflow article</a> for more info.</p>
<p>4. Restart PostgreSQL.</p>
<p><code></code></p>
<p><code>sudo /etc/init.d/postgresql-8.4 restart</code></p>
<p><code></code></p>
<p><code></code></p>
<p>5. Test logging in to the default “postgres” database as the new user.</p>
<p><code></code></p>
<p><code>psql postgres -U myapp</code></p>
<p><code></code></p>
<p><code></code></p>
<p>This should prompt for a password. If you immediately get the message “Ident authentication failed for user &quot;myapp&quot;”, the <strong>pg_hba.conf</strong> file is not right. After supplying the password, use <code>\q</code> to exit the Postgres shell.</p>
<p>6. Edit the <strong>config/database.yml</strong> file and add the password from step 2 to all three databases. Save the file. Here is an excerpt:</p>
<p><code></code></p>
<p><code>test:     <br />&#160; adapter: postgresql      <br />&#160; encoding: unicode      <br />&#160; <code>database: myapp_test       <br />&#160; pool: 5        <br />&#160; username:</code>&#160;<code>myapp       <br />&#160; password: sPUKuBr6wRa36A7        <br /></code></code></p>
<p><code></code></p>
<p><code></code></p>
<p>7. Create all databases based on <strong>database.yml</strong>.</p>
<p><code></code></p>
<p><code>rake db:create:all</code></p>
<p><code></code></p>
<h3>Optional:&#160; Graphical UI for PostgreSQL</h3>
<p>This <a href="http://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools">list of PostgreSQL GUIs</a> pointed to <a href="http://www.postgresonline.com/journal/index.php?/archives/133-Database-Administration,-Reporting,-and-Light-application-development.html">this list</a>. I decided to try pgAdmin. There are advanced instructions for installing it under Ubuntu <a href="http://www.ubuntugeek.com/howto-setup-database-server-with-postgresql-and-pgadmin3.html">here</a>, but all I did was run this command:</p>
<p><code>sudo apt-get install pgadmin3</code></p>
<p>After that, I started the program from Applications &gt; Programing &gt; pgAdmin III and clicked on the “plug” icon to create a connection. From the <a href="http://www.pgadmin.org/docs/1.6/connect.html">documentation</a>, I learned that for a local connection, you can leave <strong>Host</strong> blank; just give it a name and the <strong>Username</strong> and <strong>Password</strong> defined above, and you’re connected!</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/10/PostgreSQL-pgAdmin.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="PostgreSQL pgAdmin" border="0" alt="PostgreSQL pgAdmin" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/10/PostgreSQL-pgAdmin_thumb.png" width="322" height="484" /></a></p>
<p>Note that this installs pgAdmin 1.10.2. From what I can tell from the <a href="http://www.pgadmin.org/development/changelog.php">pgAdmin Change Log</a>, that includes most of the support for PostgreSQL 8.4. A later version of pgAdmin may be required for PostgreSQL 9.1. Here’s a complicated <a href="http://www.pgadmin.org/download/ubuntu.php">article</a> on installing under Ubuntu, or maybe just use the latest installer <a href="http://www.enterprisedb.com/products-services-training/pgdownload">here</a>.</p>
<p>For data modeling, <a href="http://www.sqlpower.ca/page/architect">SQL Power Architect</a> looks promising, but I haven’t tried it yet.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/10/set-up-postgresql-for-rails-3-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install Rails 3.1 for the Rails Tutorial</title>
		<link>http://www.mcbsys.com/techblog/2011/09/install-rails-3-1-for-the-rails-tutorial/</link>
		<comments>http://www.mcbsys.com/techblog/2011/09/install-rails-3-1-for-the-rails-tutorial/#comments</comments>
		<pubDate>Tue, 27 Sep 2011 23:26:38 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/09/install-rails-3-1-for-the-rails-tutorial/</guid>
		<description><![CDATA[I’ve been working through Michael Hartl’s Ruby on Rails Tutorial. I had some trouble in chapter 13 installing the released version of Rails 3.1.0, so I thought I would post what worked for me.
 When I tried to follow section 13.1.1 Installing and configuring Rails 3.1, I got errors about an older Ruby version, then [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve been working through Michael Hartl’s <a href="http://ruby.railstutorial.org/" target="_blank">Ruby on Rails Tutorial</a>. I had some trouble in <a href="http://ruby.railstutorial.org/chapters/rails-3-1#top" target="_blank">chapter 13</a> installing the <a href="http://weblog.rubyonrails.org/2011/8/31/rails-3-1-0-has-been-released" target="_blank">released</a> version of Rails 3.1.0, so I thought I would post what worked for me.</p>
<p><span id="more-976"></span> When I tried to follow section <a href="http://ruby.railstutorial.org/chapters/rails-3-1#sec:installing_and_configuring_rails_3_1" target="_blank">13.1.1 Installing and configuring Rails 3.1</a>, I got errors about an older Ruby version, then about a missing ZenTest gem. I tried to follow the advice in the messages to update ruby and to run <strong>bundle install</strong>. But even after that, <strong>rails –v</strong> told me that I was still at Rails 3.0.9.</p>
<p>My main mistake was trying to run install Rails 3.1 in the existing <code>sample_app</code> folder, which includes a <code>gemfile</code> specifying older gem versions, including Rails 3.0.9.</p>
<p>I reverted my Ubuntu virtual machine and started over. Then, loosely following <a href="http://railsapps.github.com/installing-rails-3-1.html" target="_blank">Read This Before Installing Rails 3.1</a>, I got Rails 3.1. installed as follows.</p>
<p><code># IMPORTANT:&nbsp; go to root of Home folder to avoid<br />
# using project-specific gemfile<br />
cd ~</code></p>
<p><code># Upgrade RVM from 1.6.20 to 1.8.4<br />
rvm -v<br />
rvm get latest<br />
rvm reload<br />
rvm -v</code></p>
<p><code># Check installed rubies and default ruby<br />
rvm list<br />
# "=&gt; ruby-1.9.2-p180"<br />
ruby -v<br />
# "ruby 1.9.2p180 ..."</code></p>
<p><code># Check currently available version of Ruby<br />
rvm list known<br />
# shows 1.9.2[-p290]</code></p>
<p><code># Install current Ruby (takes a while to compile)<br />
rvm install ruby-1.9.2</code></p>
<p><code># Check installed rubies and default ruby<br />
rvm list<br />
ruby -v</code></p>
<p>&nbsp;</p>
<p><code># Change default to latest version and check again<br />
rvm --default use ruby-1.9.2-p290<br />
rvm list<br />
ruby -v</code></p>
<p><code># Make sure RubyGems is &gt;= 1.8.10 (security fix)<br />
gem -v</code></p>
<p><code># Check gemsets, create a default Rails 3.1 gemset, check again<br />
rvm gemset list<br />
rvm ruby-1.9.2@rails31 --create --default<br />
rvm gemset list</code></p>
<p><code># Check and update Rake 0.8.7 to 0.9.2 or newer<br />
rake --version<br />
gem update rake<br />
rake --version</code></p>
<p><code># NOW you can check and install Rails 3.1<br />
rails –v<br />
# "The program 'rails' is currently not installed."<br />
gem install rails --version=3.1.0<br />
# "file 'lib' not found" messages on ri and RDoc<br />
# documentation packages for rails-3.1.0, but seems<br />
# to work anyway<br />
rails -v<br />
# "Rails 3.1.0"</code></p>
<h3>Back to the Tutorial</h3>
<p>Now you are ready to work through the <em>Ruby on Rails Tutorial</em> section <a href="http://ruby.railstutorial.org/chapters/rails-3-1#sec:installing_and_configuring_rails_3_1" target="_blank">13.1.1 Installing and configuring Rails 3.1</a>. A few <span style="background-color: #ffff00;">additions</span> are necessary for things to go smoothly.</p>
<p><code># Create a project-specific gemset <span style="background-color: #ffff00;">and make it the default</span><br />
rvm --create use 1.9.2@rails31_tutorial<br />
<span style="background-color: #ffff00;">rvm --default use 1.9.2@rails31_tutorial</span></code></p>
<p><code># Install Rails 3.1 into to the project-specific gemset<br />
gem install rails --version=3.1.0<br />
rails -v</code></p>
<p><code># Use "rails new" to create an app skeleton<br />
cd ~/rails_projects<br />
rails new sample_app_31</code></p>
<p><code><span style="background-color: #ffff00;"># bundle install won’t work until you are in project folder<br />
cd sample_app_31</span></code></p>
<p><code><span style="background-color: #ffff00;"># Copy the updated gemfile below,</span> then install/update gems<br />
</code><code>bundle install</code></p>
<p><strong><span style="color: #0000ff;">Update January 10, 2012:</span></strong>&nbsp; I followed most of the above instructions to update to Ruby 1.9.3 and Rails 3.1.3. However because I was updating an existing project, after updating version numbers in my gemfile loosely following <a title="Example Gemfile for Rails 3.1.3" href="http://railsapps.github.com/rails-3-1-3-example-gemfile.html" target="_blank">this example</a>, <code>bundle install</code> failed with messages about rspec-rails depending on a version of railties that was not available. It turns out bundle was trying to use old versions of some gems based on <code>gemfile.lock</code>. So I ran <code>bundle update</code>, which ignores <code>gemfile.lock</code> and re-loads all gems.</p>
<h3>Gemfile Updates</h3>
<p>Things are obviously moving fast in Rails 3.1 development. I made some changes to my gemfile to get things running right. Here is the entire file, with comments about the changes:</p>
<p><code>source 'http://rubygems.org'</code></p>
<p><code>gem 'rails', '3.1.0'<br />
# 9/28/2011 Add 'therubyracer' to resolve&nbsp;<br />
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "Could not find a JavaScript runtime."<br />
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; See http://stackoverflow.com/questions/6282307<br />
gem 'therubyracer' </code></p>
<p><code>gem 'gravatar_image_tag', '1.0.0.pre2'<br />
# 9/28/2011:&nbsp; will_paginate 3.0.2 released 9/27/2011.<br />
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "kludge" patch in tutorial section 13.1.3<br />
#&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; no longer needed<br />
# gem 'will_paginate', '3.0.pre2'<br />
gem 'will_paginate', '3.0.2'<br />
gem 'sqlite3', '1.3.4'</code></p>
<p><code># Asset template engines<br />
gem 'sass-rails', "~&gt; 3.1.0.rc"<br />
gem 'coffee-script'<br />
gem 'uglifier'</code></p>
<p><code>gem 'jquery-rails'</code></p>
<p><code>group :development do<br />
&nbsp; gem 'rspec-rails', '2.6.1'<br />
&nbsp; gem 'annotate', '2.4.0'<br />
&nbsp; gem 'faker', '0.3.1'<br />
end</code></p>
<p><code>group :test do<br />
&nbsp; gem 'rspec-rails', '2.6.1'<br />
&nbsp; gem 'webrat', '0.7.1'<br />
&nbsp; # 9/28/2011:&nbsp; spork 0.9.0.rc9 from 6/30/2011 gets rid of<br />
&nbsp; #&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; some deprecation warnings at startup<br />
&nbsp; # gem 'spork', '0.9.0.rc5'<br />
&nbsp; gem 'spork', '0.9.0.rc9'<br />
&nbsp; gem 'factory_girl_rails', '1.0'</code></p>
<p><code>&nbsp; # 9/28/2011:&nbsp; Add autotest (from section 3.5 exercises)<br />
&nbsp; gem 'autotest', '4.4.6'<br />
&nbsp; gem 'autotest-rails-pure', '4.1.2'<br />
&nbsp; # gem 'autotest-fsevent', '0.2.4' # Mac OS X only<br />
&nbsp; gem 'autotest-growl', '0.2.9'<br />
end</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/09/install-rails-3-1-for-the-rails-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>APC &#8220;Battery Disconnected&#8221; May Mean Overheating</title>
		<link>http://www.mcbsys.com/techblog/2011/09/apc-battery-disconnected-may-mean-overheating/</link>
		<comments>http://www.mcbsys.com/techblog/2011/09/apc-battery-disconnected-may-mean-overheating/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 18:25:07 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[ups]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/09/apc-battery-disconnected-may-mean-overheating/</guid>
		<description><![CDATA[I got an email from APC PowerChute Business Edition that said simply “Battery Disconnected.” The connected UPS is an APC SmartUPS 1500 model DLA1500 (the Dell equivalent of an SUA1500). Of course the battery is not disconnected; the connection inside the unit is a very secure clip that can’t just wiggle loose. 
  
Once [...]]]></description>
			<content:encoded><![CDATA[<p>I got an email from APC PowerChute Business Edition that said simply “Battery Disconnected.” The connected UPS is an APC SmartUPS 1500 model DLA1500 (the Dell equivalent of an SUA1500). Of course the battery is not disconnected; the connection inside the unit is a very secure clip that can’t just wiggle loose. </p>
<p>  <span id="more-975"></span>
<p>Once I got on site, I found that the “Replace Battery” light was blinking. For some reason there was no corresponding event in the PowerChute event log. </p>
<p>Of greater concern was that the unit was almost too hot to touch. When I got the battery door open, I could see the batteries bulged somewhat and were very hot. The plastic pull tab broke off when I tried to pull out the batteries. I finally managed to hook a wrench around the top and pull them out. And get this:&#160; two hours after removing them, the batteries <em>still</em> felt hot! I guess I’m lucky I didn’t have flammable hydrogen gas escaping as <a href="http://www.dslreports.com/forum/r20349427-UPS-Battery-hot-removed-from-unit" target="_blank">this thread</a> says can happen. I disconnected the two batteries from each other and left them outside overnight to cool.</p>
<p>Reviewing the PowerChute data log, I see that the temperature is usually around 30 Celcius (86 Fahrenheit), but starting at about 7:30am, it slowly climbed to 41 C (106 F). The temperature was 40 C when the unit reported “battery disconnected.” Is it a coincidence that 40 C is the temperature at which the fan turns on (<a href="http://nam-en.apc.com/app/answers/detail/a_id/6672/~/smart-ups-fan-operation-parameters" target="_blank">KB article</a>)? Perhaps some safety switch was tripped to disconnect the battery? The fuse between the batteries did <em>not</em> trip.</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/APC-Data-Log2.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="APC Data Log" border="0" alt="APC Data Log" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/APC-Data-Log_thumb2.png" width="244" height="228" /></a></p>
<p>Here’s the event log, showing the “battery disconnected” event at 2:39pm:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/APC-Event-Log.png" target="_blank"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="APC Event Log" border="0" alt="APC Event Log" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/APC-Event-Log_thumb.png" width="244" height="173" /></a></p>
<p>And here’s the temperature graphed from 4:10am to 4:50pm:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/APC-Data-Graph.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="APC Data Graph" border="0" alt="APC Data Graph" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/APC-Data-Graph_thumb.png" width="244" height="111" /></a></p>
<h3>How Hot Is Too Hot?</h3>
<p>According to its <a href="http://www.apc.com/products/resource/include/techspec_index.cfm?base_sku=DLA1500" target="_blank">specs</a>, the DLA1500 is supposed to operate safely in an environment up to 40 C. The building where this unit is installed does not have air conditioning, but the <a href="http://weather.mercurynews.com/auto/mercurynews/history/airport/KSAN/2011/9/21/DailyHistory.html" target="_blank">high in San Diego</a> that day was 71 F, so the room was well below 80 F (27 C). I understand that ventilation is important, and I’ll move the UPS to sit on top of the server tower rather than beside it, but clearly the overheating here was not due to a hot room but to a battery or controller failure.</p>
<h3>What Should Have Happened</h3>
<p>I am definitely concerned that this high-end UPS did not detect a failed battery or an overheating condition earlier. All I got was the “battery disconnected” warning; since the server was still up, I didn’t consider it an emergency. Fortunately, it was a convenient time, so I went on site within a couple hours and discovered the overheated unit. </p>
<p><strong>Next time:</strong>&#160; carefully check the Internal UPS Temp column in the Data Log. If it has risen 10 C in one day, consider a shutdown and get on site.</p>
<p>I wondered why PowerChute hadn’t warned me about the overheating. It turns out that the default setting for “UPS Internal Temperature Threshold Exceeded” event is 70 C (158 F):</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/APC-Temp-Threshold.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="APC Temp Threshold" border="0" alt="APC Temp Threshold" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/APC-Temp-Threshold_thumb.png" width="244" height="111" /></a></p>
<p>Wow! If the unit is almost too hot to touch at 40 C, 70 C seems way too high.</p>
<p>I don’t know how accurate these internal temperature sensors are. At another location, I have an APC SU1400NET that always reports about 40 C, but its case is hardly warm to the touch.</p>
<p>Maybe the solution is to check the normal operating temperature for a given UPS in the Data Log, then to <strong>set PowerChute’s UPS Internal Temperature Threshold Exceeded event to trip about 5 degrees above</strong>. So if 30 C is normal, set PowerChute to 35 C. Note that this is a full shutdown event by default, but that is certainly preferable to risking a fire in the server room.</p>
<p>Has anyone else seen issues like this? What does PowerChute report as the typical internal temperature of your SmartUPS?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/09/apc-battery-disconnected-may-mean-overheating/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office 365, Safe Senders List and You</title>
		<link>http://www.mcbsys.com/techblog/2011/09/office-365-safe-senders-list-and-you/</link>
		<comments>http://www.mcbsys.com/techblog/2011/09/office-365-safe-senders-list-and-you/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 18:37:10 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[office 365]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/09/office-365-safe-senders-list-and-you/</guid>
		<description><![CDATA[Since moving to Office 365, I’ve been having trouble getting Outlook to treat mail from my own address as safe. Mail sent from my own address (e.g. from server monitoring scripts) keeps landing in my Junk E-Mail folder.
  
The obvious solution would seem to be adding the sending email address to the Safe Senders [...]]]></description>
			<content:encoded><![CDATA[<p>Since moving to Office 365, I’ve been having trouble getting Outlook to treat mail from my own address as safe. Mail sent from my own address (e.g. from server monitoring scripts) keeps landing in my Junk E-Mail folder.</p>
<p>  <span id="more-968"></span>
<p>The obvious solution would seem to be adding the sending email address to the Safe Senders list in Outlook. But whenever I did that, after a short while, it would disappear again. Then when I tried it from OWA, I got this message:&#160; “’User01@mydmain.com’ is your e-mail address or domain and can’t be added to your Safe Senders and Recipients list.”</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Safe Senders 1" border="0" alt="Safe Senders 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/Safe-Senders-1.png" width="480" height="217" /></p>
<p>Unfortunately there is no <strong>Why Not?</strong> button, and when I followed <a href="http://help.outlook.com/en-US/140/ms.exch.err.default.aspx?e=ms.exch.err.Ex60EC60&amp;pv=14.1.225.69" target="_blank">Click here for help</a>, no help was available for Error ID: Ex60EC60.</p>
<h3>Forefront and SPF Changes</h3>
<p>I thought maybe if Forefront cleared the mail, it would be accepted by Outlook. With the help of Forefront support, I set up my third-party SMTP server’s IP address as a permitted Inbound Connector, setting <strong>Spam Filtering: Disabled</strong>. </p>
<p>At the suggestion of Forefront support, I also added the SMTP server’s IP address to the SPF record at my domain host.</p>
<p>In the email headers, I see <code>X-Safelisted-IP: <em>&lt;SMTP server IP&gt;</em></code> and <code>Received-SPF: pass</code>, confirming that these changes are working. In fact, if Outlook is not running on my desktop, the mail is not treated as junk (as viewed in OWA). But as soon as I start Outlook, the mail is moved to Junk E-Mail.</p>
<h3>Exchange 2010 Blocks Safe Senders</h3>
<p>The Exchange Team published <a href="http://blogs.technet.com/b/exchange/archive/2011/07/08/accepted-domains-safe-senders-list-and-you.aspx" target="_blank">this article</a> that explains the problem:&#160; Exchange 2010 doesn’t allow adding your own domain to the Safe Senders list. The article says you <em>can</em> add your own email address, but in Office 365, even that is not allowed. The article also says to use <code>Add-IPAllowListEntry</code> to configure safe IPs, but that command is not supported by Office 365.</p>
<h3>Force Spam Confidence Level</h3>
<p>The article does hint at a workaround:&#160; if the Spam Confidence Level (SCL) of the email is –1, Outlook will not treat it is spam.</p>
<p>Currently the SCL on the email that Outlook is treating as junk is 0:</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Safe Senders 2" border="0" alt="Safe Senders 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/Safe-Senders-2.png" width="514" height="116" /></p>
<p>MS Partner Support provided the command that I needed to force the SCL to –1:&#160; <code>New-TransportRule</code>. First, start PowerShell and <a href="http://help.outlook.com/en-us/140/cc952755.aspx" target="_blank">connect to Office 365</a>. Then run commands like this (copy to Notepad to edit and eliminate line breaks):</p>
<p><code># List transport rules      <br />Get-TransportRule       <br /># Add transport rule       <br />New-TransportRule -Name &quot;Allow User01@mydomain.com&quot; -Comments &quot;Force SCL -1 on mail from User01@mydomain.com so Outlook will not move to Junk E-Mail&quot; -FromAddressContainsWords &quot;User01@mydomain.com -SetSCL -1       <br /># List transport rules       <br />Get-TransportRule       <br /># List new transport rule details       <br />Get-TransportRule &quot;Allow User01@mydomain.com&quot; | Format-List</code></p>
<p>After running the <code>New-TransportRule</code> command, the SCL was in fact set to –1, and the mail no longer landed in the Junk E-Mail folder.</p>
<p><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Safe Senders 3" border="0" alt="Safe Senders 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/Safe-Senders-3.png" width="524" height="111" /></p>
<p><strong>Note</strong> According to MS Partner Support, I could actually create a rule for my entire domain:</p>
<p><code>New-TransportRule -Name &quot;Allow mydomain.com&quot; -FromAddressContainsWords &quot;mydomain.com -SetSCL -1</code></p>
<p>Since adding the entire domain could potentially allow spammers to use spoofed headers, I decided to just go with the single address.</p>
<h3><font color="#0000ff">Update December 13, 2011</font></h3>
<p>I’ve discovered that you can view the spam confidence rules from within the Outlook web app:</p>
<ol>
<li>From the Office 365 Admin Overview page, under Exchange Online, click on <strong>Manage</strong>.</li>
<li>On the Exchange Server 2010 options, page, make sure it says <strong>Options: Manage My Organization</strong> at the top.</li>
<li>In the left column, click on <strong>Mail Control</strong>.</li>
<li>Make sure the <strong>Rules</strong> tab is shown.</li>
<li>Highlight each rule to see the conditions and action in the right column.</li>
</ol>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/Safe-Senders-4.png" target="_blank"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Safe Senders 4" border="0" alt="Safe Senders 4" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/12/Safe-Senders-4_thumb.png" width="554" height="395" /></a></p>
<p>You can delete rules here, and probably even add conditions to a rule. Unfortunately, you cannot create a new rule with for setting the Spam Confidence Level—that’s not one of the options in the drop-down list when creating a rule.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/09/office-365-safe-senders-list-and-you/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Windows Phone 7 Clobbers Office 365 Safe Senders</title>
		<link>http://www.mcbsys.com/techblog/2011/09/windows-phone-7-clobbers-office-365-safe-senders/</link>
		<comments>http://www.mcbsys.com/techblog/2011/09/windows-phone-7-clobbers-office-365-safe-senders/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 17:01:26 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[office 365]]></category>
		<category><![CDATA[windows phone 7]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/09/windows-phone-7-clobbers-office-365-safe-senders/</guid>
		<description><![CDATA[I set up Safe Senders with Office 365 by uploading a list through Outlook 2010. A few days later, I uploaded an expanded list. But then within 10-20 minutes, the list reverted to my old list? What the heck?
  
Finally a Tier 3 support guy asked, “Do you have a smart phone on that [...]]]></description>
			<content:encoded><![CDATA[<p>I set up Safe Senders with Office 365 by uploading a list through Outlook 2010. A few days later, I uploaded an expanded list. But then within 10-20 minutes, the list reverted to my old list? What the heck?</p>
<p>  <span id="more-964"></span>
<p>Finally a Tier 3 support guy asked, “Do you have a smart phone on that account? We’ve seen this since Android phones became popular.” Well yes I have a smart phone, but it’s a Windows Phone 7, which I chose mostly because of <a href="http://www.mcbsys.com/techblog/2011/02/good-bye-android/" target="_blank">Exchange issues in Android</a>.</p>
<p>Apparently the junk list on the smart phone (which I can’t see or modify) overwrites the list on the server. The tech’s suggestion was to remove the Exchange account from the phone, update the Office 365 safe senders from Outlook, then re-add the account to the phone. Sure enough, this time the new list “stuck.”</p>
<p>The tech said after the list should stay in sync going forward, but when I tried another bulk update, it again got clobbered. Fortunately, just turning off the phone for a few hours, without deleting the Exchange account from the phone, was enough to let me upload a new Safe Senders list.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/09/windows-phone-7-clobbers-office-365-safe-senders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PGP Desktop Corrupts Outlook 2010 Recover Deleted Items</title>
		<link>http://www.mcbsys.com/techblog/2011/09/pgp-desktop-corrupts-outlook-2010-recover-deleted-items/</link>
		<comments>http://www.mcbsys.com/techblog/2011/09/pgp-desktop-corrupts-outlook-2010-recover-deleted-items/#comments</comments>
		<pubDate>Thu, 08 Sep 2011 19:30:04 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[PGP]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/09/pgp-desktop-corrupts-outlook-2010-recover-deleted-items/</guid>
		<description><![CDATA[This one has driven me mad for weeks. Finally tracked it down to PGP Desktop. Here are the symptoms and a workaround.
Symptoms
On my primary Windows 7 machine, I use PGP Desktop 10.1.2 solely for manually encrypting and decrypting files and blocks of text. In Options, I have unchecked Secure Email. The log shows &#8220;PGP Messaging [...]]]></description>
			<content:encoded><![CDATA[<p>This one has driven me mad for weeks. Finally tracked it down to PGP Desktop. Here are the symptoms and a workaround.</p>
<h3><span id="more-958"></span>Symptoms</h3>
<p>On my primary Windows 7 machine, I use PGP Desktop 10.1.2 solely for manually encrypting and decrypting files and blocks of text. In Options, I have unchecked Secure Email. The log shows &#8220;PGP Messaging is disabled&#8221; but it also shows &#8220;Processing Message&#8221; on all my inbound email.</p>
<p>I use Outlook 2010 to access email. This worked fine with my local SBS 2008 server and Exchange 2007.</p>
<p>However I have recently migrated to Office 365, Microsoft&#8217;s latest cloud-based Exchange 2010 offering. I have experienced two problems:</p>
<ul>
<li>When I move an item in Outlook from one folder to another, it immediately appears in the Recover Deleted Items list, the hidden folder that allows recovery of permanently delete items for two weeks (by default). The same thing happens when I delete an email (which is basically just moving it to the Deleted Items folder). So, even before the item is hard-deleted, it is ready for recovery.</li>
<li>When I try to recover a deleted item from Outlook (<strong>Folder</strong> tab &gt; <strong>Recover Deleted Items</strong>), I get a popup message:&nbsp; &#8220;Outlook was unable to recover some or all of the items in this folder. Make sure you have the required permissions to recover items in this folder, and try again. If the problem persists, contact your administrator.&#8221;<br />
<a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/Deleted-Items-Recovery-Error1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="Deleted Items Recovery Error" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/09/Deleted-Items-Recovery-Error_thumb1.png" border="0" alt="Deleted Items Recovery Error" width="554" height="67" /></a><br />
The item is recovered in spite of the message.</li>
</ul>
<h3>Cause</h3>
<p>I thought at first that these were Office 365 or Outlook issues, and spent hours working with Microsoft support, creating new Outlook and Windows profiles, etc. Then I discovered that stopping the &#8220;PGP SDK Service&#8221; (PGPserv.exe) makes all of the problems go away.</p>
<p>Apparently PGP&#8217;s email proxy, although disabled, is somehow copying every item that is moved from one folder to another in Outlook into the hidden Recover Deleted Items folder, then blocking proper access to that folder. True, moving an item does permanently delete it from the source folder, but that doesn’t mean it should be kept in Recover Deleted Items.</p>
<h3>Workaround</h3>
<p>A Symantec tech support rep suggested upgrading to PGP Desktop 10.2, the first version to officially support Outlook 2010. I tried that, but it did not fix the issues:&nbsp; PGP Desktop still corrupts Recover Deleted Items in Outlook.</p>
<p>The Symantec rep’s other suggestion proved more helpful. I uninstalled PGP Desktop, then re-installed 10.1.2, following instructions in <a href="http://www.symantec.com/business/support/index?page=content&amp;id=TECH149282" target="_blank">this article</a> to exclude all functionality except NetShare. Notes:</p>
<ul>
<li>You need access to PGPDesktop.msi to follow the instructions, but Symantec only provides an .exe installer. To get the .msi, after an install (or before you uninstall), look for a folder beginning with “PGP” in<br />
<code>%UserProfile%\AppData\Local\Temp<br />
</code>Copy the PGPDesktop.msi to a more permanent location—I used<br />
<code>C:\ProgramData\PGP\Installer</code></li>
<li>After an uninstall and reboot, to re-install with as few options as possible, open a command prompt and navigate to the folder where you stored PGPDesktop.msi. Run the following command (put it on one line in Notepad first):<br />
<code>msiexec /I pgpdesktop.msi PGP_INSTALL_MAPI=0 PGP_INSTALL_NOTES=0 PGP_INSTALL_LSP=0 PGP_INSTALL_WDE=0 PGP_INSTALL_GROUPWISE=0 PGP_INSTALL_VDISK=0 PGP_INSTALL_MAPI_Plugin=0</code></li>
<li>You will get warnings that the PGPDekstop.msi file is from an “unknown publisher.” Why Symantec doesn’t sign its installers, I don’t know. I just mention it so you’ll know I had the same experience.</li>
</ul>
<p>After the reboot, you should find that PGP Desktop loads without the Mail options, and that it no longer interferes with Outlook. Of course if you want to use PGP integration for mail processing, you’ll need another solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/09/pgp-desktop-corrupts-outlook-2010-recover-deleted-items/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Office 365 in an SBS 2008 Environment, Take 2</title>
		<link>http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment-take-2/</link>
		<comments>http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment-take-2/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 17:49:12 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[office 365]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment-take-2/</guid>
		<description><![CDATA[After working with a very helpful Microsoft Support manager, here are some updated suggestions to the problems identified in the first version of this article.
Getting Mail to Leave SBS
The support manager reminded me that Office 365 offers an email alias in the mydomain.onmicrosoft.com domain. If my primary email is myuser@mydomain.com, Office 365 lets me use [...]]]></description>
			<content:encoded><![CDATA[<p>After working with a very helpful Microsoft Support manager, here are some updated suggestions to the problems identified in the <a href="http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment/" target="_blank">first version</a> of this article.</p>
<h3><span id="more-952"></span>Getting Mail to Leave SBS</h3>
<p>The support manager reminded me that Office 365 offers an email alias in the mydomain.onmicrosoft.com domain. If my primary email is <strong>myuser@mydomain.com</strong>, Office 365 lets me use <strong>myuser@mydomain.onmicrosoft.com</strong> as well. I had removed that alias but was able to re-add it through the Online Exchange mailbox configuration screen, under <strong>E-Mail Options</strong>.</p>
<p>So the solution is still to send the email to an account outside your domain, but you can use your custom subdomain on Office 365:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/O365-and-SBS-Update-1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="O365 and SBS Update 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/O365-and-SBS-Update-1_thumb.png" border="0" alt="O365 and SBS Update 1" width="354" height="388" /></a></p>
<h3>Getting Outlook to Autodiscover Office 365</h3>
<p>While editing the Service Connection Point in Active Directory Sites and Services does work, it’s probably not the “approved” way to do things.</p>
<p>The support manager recommended that I instead use the Exchange Management Shell to entirely remove the Autodiscover Virtual Directory using <a href="http://technet.microsoft.com/en-us/library/bb124113%28EXCHG.80%29.aspx" target="_blank">Remove-AutodiscoverVirtualDirectory</a>. Here’s how I did that:</p>
<p>1. Open an elevated command prompt and back up the IIS configuration (explained <a href="http://blogs.iis.net/bills/archive/2008/03/24/how-to-backup-restore-iis7-configuration.aspx" target="_blank">here</a>):</p>
<p><code>%windir%\system32\inetsrv\appcmd.exe add backup "Before Removing Autodiscover"</code></p>
<p>2. Open an <strong>elevated</strong> Exchange Management Shell and retrieve the current autodiscover virtual directory:</p>
<p><code>&gt;Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, Identity</code></p>
<p>Copy the Identity value to the clipboard.</p>
<p>3. In the Exchange Management Shell, remove the autodiscover virtual directory:</p>
<p><code>Remove-AutodiscoverVirtualDirectory –Identity <em>&lt;identity value retrieved above&gt;</em></code></p>
<p>You will have to confirm by typing a “Y”.</p>
<p>4. Check that the autodiscover virtual directory is gone:</p>
<p><code>Get-AutodiscoverVirtualDirectory | fl Name, Server, InternalUrl, Identity</code></p>
<p>This should now return nothing.</p>
<p>5. Now, with Outlook running on a desktop, hold the <strong>Ctrl</strong> button, right-click on the Outlook icon in the system tray, and select <strong>Test E-mail AutoConfiguration</strong>. Enter your email address and password and click the <strong>Test</strong> button. The results should come from the Office 365 server.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment-take-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>DSL Extreme vs. Cox High-Speed Internet</title>
		<link>http://www.mcbsys.com/techblog/2011/08/dsl-extreme-vs-cox-high-speed-internet/</link>
		<comments>http://www.mcbsys.com/techblog/2011/08/dsl-extreme-vs-cox-high-speed-internet/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 21:20:29 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[isps]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/08/dsl-extreme-vs-cox-high-speed-internet/</guid>
		<description><![CDATA[I’ve moved from DSL Extreme 6000/768 service to Cox High-Speed Internet Preferred 12000/1500. Here are some comparison stats.
  
These tests are from speedtest.net and Visualware’s VoIP test. Unless noted, I used Los Angeles servers, and all tests route through a local Cisco gigabit switch and a Netgear FVS318v1 firewall/router.
DSL Extreme

Pretty good for a 6000/768 [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve moved from DSL Extreme 6000/768 service to Cox High-Speed Internet Preferred 12000/1500. Here are some comparison stats.</p>
<p>  <span id="more-942"></span>
<p>These tests are from <a href="http://www.speedtest.net/" target="_blank">speedtest.net</a> and <a href="http://myspeed.visualware.com/servers/namerica/iad.php?testtype=-1&amp;codebase=myspeed.phonepower.com&amp;location=USA:%20Los%20Angeles,%20California&amp;ver=8&amp;map=namerica&amp;pps=50&amp;bpp=160&amp;codec=G.711&amp;provtext=Phone%20Power&amp;provtextextra=&amp;provlink=http://www.phonepower.com/" target="_blank">Visualware’s VoIP test</a>. Unless noted, I used Los Angeles servers, and all tests route through a local <a href="http://www.mcbsys.com/techblog/2011/05/basic-qos-setup-on-a-cisco-sg-200-switch/" target="_blank">Cisco gigabit switch</a> and a Netgear FVS318v1 firewall/router.</p>
<h3>DSL Extreme</h3>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="ISP Speed.DSL Extreme" border="0" alt="ISP Speed.DSL Extreme" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/ISP-Speed.DSL-Extreme1.png" width="304" height="139" /></p>
<p>Pretty good for a 6000/768 line. Note the low 19ms ping.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="ISP Speed.DSL Extreme.VoIP" border="0" alt="ISP Speed.DSL Extreme.VoIP" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/ISP-Speed.DSL-Extreme.VoIP_1.png" width="554" height="147" /></p>
<p>Very low jitter and no packet loss leads to a “Radio quality” VoIP score.</p>
<h3>Cox</h3>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="ISP Speed.Cox" border="0" alt="ISP Speed.Cox" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/ISP-Speed.Cox_1.png" width="304" height="139" /></p>
<p>Cox speeds varied the first day but have stabilized at around 6.5 down. The 3.2 upload is over twice the rated speed. At 33ms, ping is a higher than DSL Extreme but still pretty fast.</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="ISP Speed.Cox.VoIP" border="0" alt="ISP Speed.Cox.VoIP" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/ISP-Speed.Cox_.VoIP_1.png" width="554" height="214" /></p>
<p>Jitter seems to vary a lot, testing from 1.5 to 3.7, always with no packet loss, and always in the “Standard quality” VoIP range. Time will tell how VoIP sounds subjectively.</p>
<h3>Cox Direct to Computer</h3>
<p>In fairness to Cox, I should mention that its speeds are much faster when connected directly to a computer. The average is over 10 down (testing against a Dallas server), and occasionally speed spikes to 25+ (probably due at least in part to Cox’s PowerBoost® feature):</p>
<p><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="ISP Speed.Cox.DirectToComputer" border="0" alt="ISP Speed.Cox.DirectToComputer" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/ISP-Speed.Cox_.DirectToComputer1.png" width="304" height="139" /></p>
<p>As best I can tell, the bottleneck here is my old Netgear FVS318v1 router. The specs on its WAN port are only 10 Mbps, although the Cisco switch reports a 100 Mbps connection. According to posts like <a href="http://www.homenetworkhelp.info/forums/index.php?showtopic=188" target="_blank">this one</a>, even the later FVS318v3 with a 10/100 port still only does 12.5 Mbps from WAN to LAN. A more powerful router with a WAN-to-LAN throughput above 30Mbps would probably yield much faster results through the router.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/08/dsl-extreme-vs-cox-high-speed-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Office 365 Service Request Error</title>
		<link>http://www.mcbsys.com/techblog/2011/08/office-365-service-request-error/</link>
		<comments>http://www.mcbsys.com/techblog/2011/08/office-365-service-request-error/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 21:16:54 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[office 365]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/08/office-365-service-request-error/</guid>
		<description><![CDATA[Office 365 allows creating service requests through the online portal. Yesterday, after typing in all the details on my issue, when I clicked to Submit the service request, I got this error:
  
“There was a problem processing your request.”

Ironically the only solution offered is to create a Service Request. 
As I was talking to [...]]]></description>
			<content:encoded><![CDATA[<p>Office 365 allows creating service requests through the online portal. Yesterday, after typing in all the details on my issue, when I clicked to Submit the service request, I got this error:</p>
<p>  <span id="more-929"></span>
<p>“There was a problem processing your request.”</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Office-365-Service-Request-Error.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Office 365 Service Request Error" border="0" alt="Office 365 Service Request Error" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Office-365-Service-Request-Error_thumb.png" width="527" height="326" /></a></p>
<p>Ironically the only solution offered is to create a Service Request. </p>
<p>As I was talking to Microsoft Support, I realized that this might be similar to the <a href="http://www.mcbsys.com/techblog/2011/08/forefront-login-errors/" target="_blank">Forefront login error</a> I had been getting. There, the solution was to add the site to the list of Trusted Sites. Sure enough, once I added <strong>https://portal.microsoftonline.com</strong> to the list of Trusted Sites in Internet Explorer 8, I was able to create a Service Request using the online form.</p>
<h3>Add to Trusted Sites</h3>
<p>1. Under <strong>Tools </strong>&gt; <strong>Internet Options</strong>, click on the <strong>Security</strong> tab, click on <strong>Trusted sites</strong>, then click on <strong>Sites</strong>:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-2_thumb5.png"><img style="background-image: none; border-right-width: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Forefront Error 2_thumb[5]" border="0" alt="Forefront Error 2_thumb[5]" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-2_thumb5_thumb.png" width="354" height="454" /></a></p>
<p>2. Add <strong>https://portal.microsoftonline.com</strong> to the list of Trusted Sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/08/office-365-service-request-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forefront Login Errors</title>
		<link>http://www.mcbsys.com/techblog/2011/08/forefront-login-errors/</link>
		<comments>http://www.mcbsys.com/techblog/2011/08/forefront-login-errors/#comments</comments>
		<pubDate>Thu, 25 Aug 2011 21:13:02 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[forefront]]></category>
		<category><![CDATA[office 365]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/08/forefront-login-errors/</guid>
		<description><![CDATA[As I was setting up Office 365, when I clicked on the link to load the Forefront Online Protection admin panel, I sometimes got this error:
  
“We apologize for the inconvenience but we have encountered an error”

The first two links on the page also give errors.
Apparently the Forefront site uses ActiveX or other restricted [...]]]></description>
			<content:encoded><![CDATA[<p>As I was setting up Office 365, when I clicked on the link to load the Forefront Online Protection admin panel, I sometimes got this error:</p>
<p>  <span id="more-923"></span>
<p>“We apologize for the inconvenience but we have encountered an error”</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-1.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Forefront Error 1" border="0" alt="Forefront Error 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-1_thumb.png" width="354" height="303" /></a></p>
<p>The first two links on the page also give errors.</p>
<p>Apparently the Forefront site uses ActiveX or other restricted technologies. Once I added <strong>https://*.messaging.microsoft.com</strong> to my Trusted Sites list in Internet Explorer 8, I was able to get into the Forefront admin center.</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-3.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Forefront Error 3" border="0" alt="Forefront Error 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-3_thumb.png" width="354" height="166" /></a></p>
<h3>Add to Trusted Sites</h3>
<p>1. Under <strong>Tools </strong>&gt; <strong>Internet Options</strong>, click on the <strong>Security</strong> tab, click on <strong>Trusted sites</strong>, then click on <strong>Sites</strong>:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-2.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Forefront Error 2" border="0" alt="Forefront Error 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-2_thumb.png" width="354" height="454" /></a></p>
<p>2. Add <strong>https://*.messaging.microsoft.com</strong> to the list of Trusted Sites.</p>
<h3>Session Expired Error</h3>
<p>You can launch Forefront from the Office 365 Exchange admin area, under Mail Control &gt; Rules, by clicking on the link <strong>Configure IP safelisting…</strong></p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-4.png"><img style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="Forefront Error 4" border="0" alt="Forefront Error 4" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-4_thumb.png" width="324" height="157" /></a></p>
<p>However, if you have been logged in to Office 365 for a while, you may get the message, “We are sorry but your session has expired”:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-5.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Forefront Error 5" border="0" alt="Forefront Error 5" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Forefront-Error-5_thumb.png" width="554" height="135" /></a></p>
<p>That’s confusing since you haven’t even started a Forefront session yet! Apparently Forefront is trying to use the Office 365 session, but the Forefront session times out much faster than the Office 365 session. You can work around this in two ways:</p>
<ul>
<li>Log out of Office 365, close and re-open Internet Explorer, log back in to Office 365, and immediately go to Forefront. </li>
<li>Use this link to open the Forefront admin center directly:      <br /><a href="https://admin.messaging.microsoft.com">https://admin.messaging.microsoft.com</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/08/forefront-login-errors/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using Office 365 in an SBS 2008 Environment</title>
		<link>http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment/</link>
		<comments>http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 02:35:20 +0000</pubDate>
		<dc:creator>Mark Berry</dc:creator>
				<category><![CDATA[IT Administration]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[office 365]]></category>

		<guid isPermaLink="false">http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment/</guid>
		<description><![CDATA[Here are a couple gotchas that I discovered as I migrated Exchange 2007 under SBS 2008 to Office 365, and how I got around them.
Update August 26, 2011 There is now an updated version of this article:
Using Office 365 in an SBS 2008 Environment, Take 2
Getting Mail to Leave SBS
As long as Exchange is running [...]]]></description>
			<content:encoded><![CDATA[<p>Here are a couple gotchas that I discovered as I migrated Exchange 2007 under SBS 2008 to Office 365, and how I got around them.</p>
<p><strong><span style="color: #0000ff;">Update August 26, 2011</span></strong> There is now an <a href="http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment-take-2/" target="_blank">updated version</a> of this article:</p>
<p><a href="http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment-take-2/">Using Office 365 in an SBS 2008 Environment, Take 2</a></p>
<h3><span id="more-911"></span>Getting Mail to Leave SBS</h3>
<p>As long as Exchange is running on your SBS server, it will greedily grab any outbound mail sent to your domain, without any respect for public MX records. Name resolution apparently goes through Active Directory, since there is no MX record in the internal DNS. The simplest solution? Send the email to an account outside your domain, then configure that account to forward the mail back to your (now cloud-based) main account. For the SBS daily report, you can configure this on the SBS Reports tab:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/O365-and-SBS-1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="O365 and SBS 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/O365-and-SBS-1_thumb.png" border="0" alt="O365 and SBS 1" width="354" height="443" /></a></p>
<h3>Getting Outlook to Autodiscover Office 365</h3>
<p>This one turned out to be trickier. Even after configuring the public CNAME for autodiscover.mydomain.com to point to Office 365, when I tried to add an account to Outlook, it kept connecting to Exchange the SBS server. Office 365 requires the use of autodiscover, so manual configuration is not an option. How do I get Outlook to discover my new Office 365 account?</p>
<p><a href="http://www.msexchange.org/articles_tutorials/exchange-server-2010/management-administration/exchange-autodiscover.html" target="_blank">This article</a> gave me the clue I needed:&nbsp; in a domain environment, Outlook looks first to Active Directory to find the autodiscover location. So with some trepidation, I modified the autodiscover attribute in Active Directory. So far it seems to be working—Outlook now uses the autodiscover.mydomain.com and correctly connects to Office 365. Here’s what I did to make that happen.</p>
<p>1. In Active Directory Sites and Services, click on the fist line (Active Directory Sites and Services), then select View &gt; Show Services Node from the menu.</p>
<p>2. Under Services, navigate to the Autodiscover node:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Autodiscover-1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Autodiscover 1" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Autodiscover-1_thumb.png" border="0" alt="Autodiscover 1" width="354" height="327" /></a></p>
<p>3. Right-click on your server name and select Properties. On the Attributes tab, find the serviceBindingInformation attribute. You will see that it points to remote.mydomain.com, which SBS’s internal DNS resolves to the server’s local IP address:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Autodiscover-2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Autodiscover 2" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Autodiscover-2_thumb.png" border="0" alt="Autodiscover 2" width="354" height="392" /></a></p>
<p>4. Change the serviceBindingInformation to point to <a href="http://autodiscover.mydomain.com">http://autodiscover.mydomain.com</a>:</p>
<p><a href="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Autodiscover-3.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;" title="Autodiscover 3" src="http://www.mcbsys.com/techblog/wp-content/uploads/2011/08/Autodiscover-3_thumb.png" border="0" alt="Autodiscover 3" width="354" height="392" /></a></p>
<p>Now when you add an account in Outlook 2010, it should use the information returned by autodiscover.mydomain.com.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mcbsys.com/techblog/2011/08/using-office-365-in-an-sbs-2008-environment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

