<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8884355915526109294</id><updated>2011-09-22T11:08:42.516-04:00</updated><category term='disk space'/><category term='Kubuntu'/><category term='quotas'/><category term='e-mail server'/><category term='Linux data recovery partition'/><category term='Gutsy Gibbon'/><title type='text'>Partis Scientia</title><subtitle type='html'>Surviving the Tech World With Linux</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-458826087867368696</id><published>2010-05-10T19:42:00.003-04:00</published><updated>2010-05-10T19:50:09.834-04:00</updated><title type='text'>The End of This Blog</title><content type='html'>&lt;div&gt;The end of this blog is nigh.   Allow to me explain.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;In short, I've decided to consolidate my internet presence down as much as possible.  I have 3 or 4 blogs, not to mention a facebook, 4 Myspaces, 4 Twitter accounts, and, it seems, 234,432 websites to maintain.   It has come to my attention that, these days, the Internet values quality more than quantity.  So to that end, I will be terminating this blog.  The information posted will remain, but new tech-related posts will go on to my (ONE!) remaining blog, &lt;a href="http://scamwagon.blogspot.com"&gt;Scamwagon&lt;/a&gt; - which was formally relegated exclusively to political and consumer rants.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Instead of creating separate blogs for each of the crazy interests I have (cars, music, computers, to name a few), you'll be able to find all of my posts on one, single blog site.  Wow, look at all the added value already!&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://scamwagon.blogspot.com"&gt;Please subscribe if you haven't already.&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-458826087867368696?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/458826087867368696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=458826087867368696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/458826087867368696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/458826087867368696'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2010/05/end-of-this-blog.html' title='The End of This Blog'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-4665758065404609673</id><published>2010-01-06T10:01:00.002-05:00</published><updated>2010-01-06T10:16:59.474-05:00</updated><title type='text'>Terastation Followup</title><content type='html'>I thought I'd follow up my last post on my troubled Terastation.  I replaced the power supply, only to find that it still shutdown a few minutes after turning on.  I finally determined that this was happening as a result of a corrupt operating system.  The Terastation apparently responds to a failed bootup by turning off.  I attempted several times to replace the firmware (a great opportunity to try using a &lt;a href="http://homepage.ntlworld.com/itimpi/telnet.htm"&gt;telnet enabled firmware&lt;/a&gt;), but the device kept shutting down before the firmware update could complete.&lt;br /&gt;&lt;br /&gt;After resolving that I didn't care about the data that was on the drives (I had already recovered it, see last post), I figured out an approach that worked.  I took each drive and connected to a linux booted computer (I used a Knoppix live CD).  Each time, I went into fdisk and observed that there didn't appear to be any partitions.  Regardless, I created a partition (the type doesn't matter), and then deleted it - leaving no partitions again.  After completing this for all 4 drives, I reassembled the Terastation and was able to execute the firmware update with no problem. &lt;br /&gt;&lt;br /&gt;After the firmware update was complete, there was no data on the drives - but my config info was somehow intact!  I was surprised, they must store it in flash or NVRAM.   The only thing I had to do was &lt;a href="http://homepage.ntlworld.com/itimpi/download/url=http://buffalo.nas-central.org/index.php/TeraStation:_Resetting_to_English"&gt;reset the language to english&lt;/a&gt;, which involved a lot backflips and screwing around, until I found that article. &lt;br /&gt;&lt;br /&gt;So now I have a fully functioning, blank Terastation that is telnet enabled and has the latest firmware!  Exciting, now I just need to come up with a cool project for it - or more likely I will just put my data back onto it, as it's a little annoying having my desktop as the server for the house.&lt;br /&gt;&lt;a href="http://homepage.ntlworld.com/itimpi/download/url=http://buffalo.nas-central.org/index.php/TeraStation:_Resetting_to_English"&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-4665758065404609673?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/4665758065404609673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=4665758065404609673' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/4665758065404609673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/4665758065404609673'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2010/01/terastation-followup.html' title='Terastation Followup'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-4110553967484749470</id><published>2009-11-10T10:01:00.005-05:00</published><updated>2009-11-10T12:01:44.187-05:00</updated><title type='text'>Recovering from Terastation Meltdown, Without a Backup</title><content type='html'>On Sunday night, I was doing some video editing for a friend, when I realized that my Terastation (original) was not running.  I glanced in my server closet and discovered 4 green HDD lights (all on solid), a diag light (flashing), and no fan or hard drive noise coming from the unit.&lt;br /&gt;&lt;br /&gt;I cycled the power and the unit started up again.  It worked for a short time (performing an array check) and then would quit and go into the same state again.  Each time I powered it up, it lasted between 30 seconds to 3 minutes or so.&lt;br /&gt;&lt;br /&gt;I called Buffalo tech support, who graciously offered me assistance (even though this device is sorely out of warranty).  The tech recommended I turn it off, hold the "init" button in and power it on, while continuing to hold the init button down for 15 seconds.   He recommended I wait until the device powered up and completed the array check, then perform a firmware upgrade.  He seemed fairly confident that this would solve my problem, so we hung up.&lt;br /&gt;&lt;br /&gt;No sooner did the phone disconnect, then the Terastation shutdown again with a "click".  The init button routine seemed to do absolutely nothing.   I decided I was on my own, and I attempted a firmware upgrade.&lt;br /&gt;&lt;br /&gt;The firmware upgrade (available from Buffalo Technology's website) ran, and seemed to complete successfully.   However, when I booted the Terastation back up after the upgrade, it came up in "EM mode" (Buffalo's name for the recovery firmware, stored on flash, that only allows you to upgrade/write the firmware to the hard disks).  This was probably what the tech was trying to get me into when we did the INIT button thing...  I again attempted the firmware upgrade.  This time, while writing the firmware, I shuttered as I heard:&lt;br /&gt;&lt;br /&gt;* click *&lt;br /&gt;&lt;br /&gt;... Sure enough, the device had shut off, and it would no longer boot at all (not even to EM mode!)  My Terastation was a brick.  I searched around online and found that it's possible to recover the device with some soldering of a connector that I didn't have, a JTAG cable that I didn't have,  and a firmware upgrade.   At this point, I was panicking a little, as a backup of the device was another thing I didn't have (yes, yes, shame on me.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Recovering the Data&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;My next feat was to get the data off the drives, which were in RAID 5 configuration, without the Terastation.  I found several articles online, in particular &lt;a href="http://www.ufsexplorer.com/inf_terastation.php"&gt;this one from UFSexplorer&lt;/a&gt; .  Basically, you can hook the 4 PATA drives up to a computer running Windows, and use UFSexplorer to build the array virtually, and copy the data off of it.  Here's the basic procedure I followed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; font-style: italic;"&gt;Obviously, do all of this at you're own risk, but presuming you're doing this because you have no backup, you're probably into risk taking anyway.&lt;/span&gt;&lt;br /&gt;What you'll need:&lt;br /&gt;&lt;br /&gt;-We'll be running a total of 5 drives (the 4 Terastation drives, plus one Windows system drive), so you'll need a full tower PC case, with a hard drive running Windows.&lt;br /&gt;&lt;br /&gt;-It should have at least 4 free power connectors and 2 IDE controllers on board. You can improvise, such as with an extra IDE controller card if you have one, and a 'Y' adapter drive power cable, or an external drive power supply.  You'll probably need to disconnect any DVD drives to free up some power and data connectors.&lt;br /&gt;&lt;br /&gt;-An external PATA IDE-&gt;USB converter (for the 5th drive, which will actually be drive #4 on the Terastation).  Again, you can improvise with things like an extra IDE controller card, if you have one.&lt;br /&gt;&lt;br /&gt;1.  Assuming you have the Terastation "original", you'll have to pretty much completely disassemble it to get to the drives..   This involves the removal the outer case (many screws), a metal guard (many screws), the system board (many screws), one more small metal guard (2 screws), and finally, the drive cage (2 screws).  The drives are numbered 4,3,2,1 from left (system board side) to right.  You'll probably need to remove drive #4 completely, as you'll be connecting that to your USB hard drive adapter.&lt;br /&gt;&lt;br /&gt;2.  Set the jumpers on all of drives, and connect them to power.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;Note: you may be able to get away with powering the drive array with the Terastation power supply, but in my case, I later found out that the power supply was bad, which was responsible for this whole mess.  It's advisable to use as little from the Terastation as possible unless you are certain you know what's wrong with it).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;After a lot of futzing around to get the drives all powered and connected, and changing jumper settings on all the drives, I finally got them all to be recognized by the computer.  Here's a full description of the setup, by drive:&lt;br /&gt;&lt;br /&gt;Windows system drive:&lt;br /&gt;-Primary onboard IDE controller, jumpered as master.&lt;br /&gt;&lt;br /&gt;Terastation drive #1:&lt;br /&gt;-Primary onboard IDE controller, jumpered as slave&lt;br /&gt;&lt;br /&gt;Terastation drive #2:&lt;br /&gt;-Secondary onboard IDE controller, jumpered as master&lt;br /&gt;&lt;br /&gt;Terastation drive #3:&lt;br /&gt;-Secondary onboard IDE controller, jumpered as slave&lt;br /&gt;&lt;br /&gt;Terastation drive #4:&lt;br /&gt;-USB IDE adapter, jumpered as master or cable select&lt;br /&gt;&lt;br /&gt;Get your Windows PC all booted up after verifying the drives are all visible to the BIOS setup.  They won't show up in Windows as drive letters, because they don't have recognizable file systems. Don't panic.&lt;br /&gt;&lt;br /&gt;3. Now you'll need to download (and eventually buy, for about $75 USD) &lt;a href="http://www.ufsexplorer.com/download_pro.php"&gt;UFS Explorer Professional Recovery&lt;/a&gt;.  It's worth the money.  One major issue this gets around  is that the RAID was originally built on a PPC, big-endian-based system, and you are now trying to access it on a PC, which is little-endian.  If you don't know what that means, just continue.&lt;br /&gt;&lt;br /&gt;4. Follow the instructions on the &lt;a href="http://www.ufsexplorer.com/download_pro.php"&gt;UFS Explorer site&lt;/a&gt;, specific to the Terastation.  Here's the basic steps:&lt;br /&gt;&lt;br /&gt;-When you launch the program, you should see all 4 drives with a mess of partitions.  Some will be "XFS", and some will be "Unknown".&lt;br /&gt;&lt;br /&gt;You'll most likely need to need to use the "Hex View" function to establish which drive is which.  This is documented on the UFS Explorer site, as well.  View each of the large partitions (232GB on mine) and pay attention to the very first 4 bytes or so - they should help you identify what part of the RAID 5 you're looking at.  If you connected the drives as I did above, your array order should be 2 (Superblock), 3 (iNode block), 1 (parity), 4 (parity).&lt;br /&gt;&lt;br /&gt;-Click the "RAID Builder button"&lt;br /&gt;&lt;br /&gt;-Choose the partition option, not the disk option (I forget the exact wording)&lt;br /&gt;&lt;br /&gt;-Go through and add all 4 of the really big partitions to the right side.&lt;br /&gt;&lt;br /&gt;-Use the "move to top" and "move to bottom" buttons to get them in the correct order&lt;br /&gt;&lt;br /&gt;-Click Ok and you should see a new partition on the bottom of the list.  Right click and choose "explore".  If you see all of your folders on the right, you can now copy your data somewhere (i.e. to a network or USB drive). If you don't see all of the folders, or you get "error in filesystem", you probably have your drives in the wrong order.  Right click to close the partition and try again in a different order.&lt;br /&gt;&lt;br /&gt;After almost 2 days of copying, I have all of my data back, and I am now building a FreeNAS-based NAS, using a dual eSATA enclosure and an older Dell.  Terastations are great, but I'm too strapped for cash to replace it now.  Maybe someday I'll resurrect it by replacing the&lt;a href="http://www.circotech.com/ps-e150b.html"&gt; power supply&lt;/a&gt;, but right now I just don't have the time.  The other thing I plan to do, ASAP, is setup &lt;a href="http://jungledisk.com/"&gt;Jungledisk&lt;/a&gt; to sync the NAS files with an offsite backup.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-4110553967484749470?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/4110553967484749470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=4110553967484749470' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/4110553967484749470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/4110553967484749470'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2009/11/recovering-from-terastation-meltdown.html' title='Recovering from Terastation Meltdown, Without a Backup'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-7769276748509479681</id><published>2009-02-11T16:41:00.002-05:00</published><updated>2009-02-11T16:49:27.432-05:00</updated><title type='text'>Back to basics - Making Ethernet Cables Without Losing Your Head</title><content type='html'>A friend recently asked me for some tips on network cabling tools.  After realizing I have a lot to say on this subject, I figured it was as good a reason as any to do a post on it.  Here's some tips from a guy who has done more cable-crimping than his pay scale warrants:&lt;br /&gt;&lt;br /&gt;-Don't skimp when buying crimpers (i especially like the ones that "click" to let you know that they are completely crimped)&lt;br /&gt;&lt;br /&gt;-Buy the bulk pack.  Don't underestimate how many terminators you'll go through if you don't do cables often. &lt;br /&gt;&lt;br /&gt;-Print out (in color) the specification for the T568B standard as small as possible, and STICK IT somewhere on your crimping tool.  Then you'll always have it! &lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/_AJj8-RqgmyU/SKUTnpmNPnI/AAAAAAAAADo/77u6eM9Ymps/s1600-h/T568B.jpg"&gt;Color Code Guide&lt;/a&gt;  Note: Others will argue that the T568A standard should be used.  In my experience, the T568A standard is usually only involved when making a crossover cable.   It's a matter of preference, but be consistent.&lt;br /&gt;&lt;br /&gt;-A simple network cable tester is REALLY nice to have.  It can save you a lot of frustration, especially if you are doing a job (whole house, building, etc.)&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ebest24.com/en/multi-functional-rj45-and-rj11-led-network-cable-tester.html?language=en&amp;amp;currency=USD"&gt;Cheap cable tester&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Finally, assemble your crimpers, terminators, tester into a small box, and label it "Cable Kit".  Keep it near your cable box.  Ask me how I know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-7769276748509479681?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/7769276748509479681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=7769276748509479681' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/7769276748509479681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/7769276748509479681'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2009/02/back-to-basics-making-ethernet-cables.html' title='Back to basics - Making Ethernet Cables Without Losing Your Head'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-7633530048078937382</id><published>2009-01-17T15:17:00.003-05:00</published><updated>2009-01-17T15:54:51.268-05:00</updated><title type='text'>HOWTO: Windows Mobile VPN connection to DD-WRT</title><content type='html'>So, after a little bit of screwing around, I have gotten my Windows Mobile phone to connect to my home network via a PPTP VPN to my DD-WRT router.  My main goal for this was to allow my SIP client (I'm using &lt;a href="http://sjlabs.com/"&gt;SJ Phone&lt;/a&gt;) to connect to my Asterisk Box behind the firewall.&lt;br /&gt;&lt;br /&gt;Here's how I did it!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;On DD-WRT router/firewall&lt;/span&gt;&lt;br /&gt;Go to Services-&gt;PPTP&lt;br /&gt;Click "enable"&lt;br /&gt;&lt;br /&gt;Enter the following:&lt;br /&gt;Server IP: &lt;span style="font-family:courier new;"&gt;192.168.15.1 &lt;/span&gt;&lt;br /&gt;(internal IP address of router)&lt;br /&gt;&lt;br /&gt;Client IP(s): &lt;span style="font-family:courier new;"&gt;192.168.15.150-160&lt;/span&gt;&lt;br /&gt;(a range of internal IP addresses that are unoccupied)&lt;br /&gt;&lt;br /&gt;CHAP-Secrets: &lt;span style="font-family:courier new;"&gt;myusername * mypassword *&lt;/span&gt;&lt;br /&gt;(Asterisks and spaces are required as shown)&lt;br /&gt;&lt;br /&gt;Hit apply-settings, and save.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;On the Windows Mobile Phone&lt;br /&gt;&lt;/span&gt;Go to Start-&gt;Settings-&gt;Connections,&lt;br /&gt;Click the advanced tab&lt;br /&gt;Click select networks&lt;br /&gt;Set to the following:&lt;br /&gt;"Programs that automatically connect to the Internet should connect using: 'My ISP'"&lt;br /&gt;"Programs that automatically connect to a private network should connect using: 'My Work Network'"&lt;br /&gt;Hit Ok&lt;br /&gt;Click to the Tasks tab&lt;br /&gt;Under "My Work Network", click "Edit my VPN servers"&lt;br /&gt;Click "New"&lt;br /&gt;&lt;br /&gt;Enter the following:&lt;br /&gt;Name: "Home VPN" (or whatever you want)&lt;br /&gt;Hostname or IP: "blah.dyndns.org" (assuming you have some kind of ddns setup)&lt;br /&gt;VPN type: PPTP&lt;br /&gt;Click Next&lt;br /&gt;&lt;br /&gt;Enter the following:&lt;br /&gt;User name: &lt;span style="font-family:courier new;"&gt;myusername &lt;span style="font-family:georgia;"&gt;(Or whatever you used above)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:georgia;"&gt;Password:&lt;/span&gt; &lt;/span&gt;mypassword &lt;span style="font-family:georgia;"&gt;(Or whatever you used above. NOTE: this probably won't be remembered by the device anyway)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;Domain: (Leave Blank)&lt;br /&gt;&lt;br /&gt;Click Finish&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Tell the phone to connect to the VPN&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;With your device outside your LAN, activate your VPN connection as follows:&lt;br /&gt;&lt;br /&gt;Start-&gt;Settings-&gt;Connections&lt;br /&gt;Under "My Work Network" Click Edit my VPN Servers&lt;br /&gt;Click and hold the VPN connection entry&lt;br /&gt;Choose "Connect"&lt;br /&gt;Enter your username and  password (if asked) (leave domain blank again)&lt;br /&gt;You should see it connect.  If you don't see an error pop up, it worked!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configure SJPhone&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:georgia;"&gt;Next, configure SJPhone &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:georgia;"&gt;to connect to the internal IP address of the asterisk box:&lt;br /&gt;Menu-&gt;Options&lt;br /&gt;Click the "Profiles" tab&lt;br /&gt;Click "new"&lt;br /&gt;Profile Name: My asterisk box&lt;br /&gt;(rest as defaults)&lt;br /&gt;Click the "SIP proxy" tab&lt;br /&gt;Proxy domain:  &lt;span style="font-family:courier new;"&gt;192.168.15.14&lt;/span&gt; (or your asterisk box internal IP) : &lt;span style="font-family:courier new;"&gt;5060&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Click Ok, and your SIP device should register!  If you drop your VPN connection, you may need to manually force SJPhone to reregister the SIP connection before you can make/receive calls again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-7633530048078937382?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/7633530048078937382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=7633530048078937382' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/7633530048078937382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/7633530048078937382'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2009/01/howto-windows-mobile-vpn-connection-to.html' title='HOWTO: Windows Mobile VPN connection to DD-WRT'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-5815241835222619889</id><published>2009-01-03T23:21:00.001-05:00</published><updated>2009-02-04T09:16:57.017-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Linux data recovery partition'/><title type='text'>How to repair a damaged linux partition - the safe way</title><content type='html'>The other day, my brother asked me to recover the data from a linux hard drive that would no longer boot for him.  He said the superblock was reported as damaged and the machine refused to boot.&lt;br /&gt;&lt;br /&gt;I took the hard drive home and put it in a spare machine I had.  Presuming the hard drive was damaged, I decided it was best if I didn't try to boot off of it.  The more the hard drive is used, the worse the chances of recovery. &lt;br /&gt;&lt;br /&gt;The first thing I did was download, burn, and boot from the &lt;a href="http://www.ubuntu-rescue-remix.org/"&gt;Ubuntu Rescue Remix&lt;/a&gt; live CD.  This is basically a stripped version of Ubuntu with only some of the basic tools helpful for performing data recovery and forensic analyses.&lt;br /&gt;&lt;br /&gt;I mounted the "victim" drive as follows  (after sudo -i to get root access):&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# mkdir /mnt/victim_drive &lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I used fdisk and printed the partition table on the device in order to determine which partition was the one with the data I was after.  In this case it was /dev/sda4.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# mount /dev/sda4 /mnt/victim_drive&lt;/pre&gt;&lt;br /&gt;This operation failed due to the bad superblock.  Time to get to work.&lt;br /&gt;&lt;br /&gt;I ran fsck.ext3 (my brother told me he had formatted it ext3) on the device:&lt;br /&gt;&lt;pre&gt;# fsck.ext3 /dev/sda&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Immediately it asked me if I wanted to make changes to a bunch of inodes, and some other stuff that sounded generally scary. At this point, rather than proceed, I hit Ctrl-C and decided to do things the "safe" way.  Read on.&lt;br /&gt;&lt;br /&gt;The "safe" way of recovering the drive involves working on an image of the damaged disk, rather than the actual one.  This has 2 main advantages:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The repairs will be done on a known working device, as opposed to a damaged one that could respond in an undefined way.&lt;/li&gt;&lt;li&gt;Most of all, attempts to repair could ultimately result in even further damage, sealing the fate of the already damaged file system.  If you are working on an image instead of the actual drive, you can always go back and try a different approach.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Next, I mounted an alternate location (this could be a network share or another drive) on which I could store the image of the damaged disk.  &lt;span style="font-weight: bold;"&gt;Remember that you'll need at least as much space free as the size of the drive you are working on (actually more)&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# smbmount //server/share /mnt/rescue&lt;/pre&gt;&lt;br /&gt;Then I grabbed an image of the drive using ddrescue (took a while!).  ddrescue will automatically try to do low level repairs in order to get a complete image.  mmls is part of the sleuth-kit (apt-get install sleuth-kit) - a handy tool to look inside the disk image once it's done.&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# ddrescue -r 3 /dev/sda /mnt/rescue/diskimage.dd&lt;br /&gt;&lt;br /&gt;# mmls /mnt/image.dd&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;pre&gt;DOS Partition Table&lt;br /&gt;Offset Sector: 0&lt;br /&gt;Units are in 512-byte sectors&lt;br /&gt;&lt;br /&gt;   Slot    Start        End          Length       Description&lt;br /&gt;00:  -----   0000000000   0000000000   0000000001   Primary Table (#0)&lt;br /&gt;01:  -----   0000000001   0000000062   0000000062   Unallocated&lt;br /&gt;02:  00:00   0000000063   0028017359   0028017297   Linux (0x83)&lt;br /&gt;03:  00:01   0028017360   0029334689   0001317330   DOS Extended (0x05)&lt;br /&gt;04:  -----   0028017360   0028017360   0000000001   Extended Table (#1)&lt;br /&gt;05:  -----   0028017361   0028017422   0000000062   Unallocated&lt;br /&gt;06:  01:00   0028017423   0029334689   0001317267   Linux Swap / Solaris x86 (0x82)&lt;br /&gt;07:  -----   0029334690   0029336831   0000002142   Unallocated&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;This is a list of all the partitions that are in the disk image.  Now we can operate on the disk image and try to repair the partition.  The target partition is Linux (0x83), starting at sector 63.  We need to know the offset in bytes, so we multiply the 512 byte sectors&lt;br /&gt;&lt;br /&gt;63 * 512 bytes/sector = 32256 bytes.&lt;br /&gt;&lt;br /&gt;Now we can work on that partition.  We first setup a loop device with the image file, and then run fsck on it:&lt;br /&gt;&lt;pre&gt;# losetup /dev/loop2 fsimage.dd -o 32256&lt;br /&gt;&lt;br /&gt;# fsck.ext3 -y /dev/loop2&lt;br /&gt;&lt;/pre&gt;The -y option is useful when you have a partition with lots of problems - it's better than sitting there and repeatedly answering "yes" to each of the prompts.&lt;br /&gt;&lt;br /&gt;With any luck, after this, you now have a clean disk image that is ready to be mounted.   Mount it as follows:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# mkdir /mnt/recovered&lt;br /&gt;# mount /dev/loop2 /mnt/recovered&lt;/pre&gt; In my case, the files were all there, but they had all been dumped into the lost+found directory, and they were listed under directory names of their respective inodes.  I was able to quickly locate the files I was looking for using a command such as this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# cd /mnt/recovered/lost+found&lt;br /&gt;&lt;/pre&gt;&lt;pre&gt;# find | grep home/wmcgrath&lt;/pre&gt;&lt;br /&gt;If the results had been less successful, I could have gone back to the drawing board.  Unmount the image, get rid of the unwanted loop device, and (re)move the image file, such as:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;# umount /mnt/recovered&lt;br /&gt;&lt;br /&gt;# losetup -d /dev/loop2&lt;br /&gt;&lt;br /&gt;# mv /mnt/rescue/diskimage.dd diskimage.failed.attempt.1.dd&lt;br /&gt;&lt;/pre&gt; Now you can go back and make a new image as we did in the beginning, and try other approaches.  More information is available at the &lt;a href="https://help.ubuntu.com/community/DataRecovery"&gt;Ubuntu data recovery page&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Remember - the best way to avoid losing data is to make regular backups, but if you have to "operate", this is the safest way to do it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-5815241835222619889?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/5815241835222619889/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=5815241835222619889' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/5815241835222619889'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/5815241835222619889'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2009/01/how-to-repair-damaged-linux-partition.html' title='How to repair a damaged linux partition - the safe way'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-5662483473618352798</id><published>2007-10-30T11:26:00.000-04:00</published><updated>2007-10-30T12:05:09.972-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gutsy Gibbon'/><category scheme='http://www.blogger.com/atom/ns#' term='Kubuntu'/><title type='text'>How I set up Gutsy Gibbon with KDE/Compiz on Nvidia</title><content type='html'>I was psyched for the new Ubuntu 7.10 release, Gutsy Gibbon, but I'm a KDE user and I had a lot of problems upgrading Feisty/Kubuntu to Gutsy.  I followed the instructions using AdeptI had some minor successes, but I was unable to get the upgrade, and KDE and Compiz to work in combination.  In the end, here's a rough overview of what I wound up doing:&lt;br /&gt;&lt;br /&gt;1. Clean install of Gutsy Ubuntu (Gnome)&lt;br /&gt;&lt;br /&gt;2. Go into restricted driver manager and enable restricted drivers for nVidia (Compiz worked right off!)&lt;br /&gt;&lt;br /&gt;3. Using Synaptic package manager, add the Advanced Desktop Effects Manager (CompizConfig Settings Manager)&lt;br /&gt;&lt;br /&gt;4. Now there is a new button "Custom" when you configure your desktop settings&lt;br /&gt;&lt;br /&gt;5. Stop to play around with adding desktop effects.   Remember to turn your vertical desktop size to 1 and horizontal to 4.  Otherwise you will have a plane instead of a cube.&lt;br /&gt;&lt;br /&gt;6. Back to Synaptic.   Add "kubuntu-desktop".  Wait a long time for lots of packages to download/install&lt;br /&gt;&lt;br /&gt;7. Select KDE as the default environment&lt;br /&gt;&lt;br /&gt;8.  Wait some more.  Reboot the machine when everything is finished. &lt;br /&gt;&lt;br /&gt;9.  The machine will come up in KDM.  Go over to the little picture of a drop down, click, and select Session Type-&gt;"KDE", instead of "Default (previous)"&lt;br /&gt;&lt;br /&gt;10.  Log in and wait for desktop to come up&lt;br /&gt;&lt;br /&gt;11.  Compiz will be disabled.  Don't panic: go to the KDE menu and select Settings-&gt;GL Desktop&lt;br /&gt;&lt;br /&gt;12.  Enable GL Desktop&lt;br /&gt;&lt;br /&gt;13.  Configure Compiz as desired using Settings-&gt;Advance Desktop Effets Settings &lt;br /&gt;&lt;br /&gt;I won't bother going into any more details for now.  Feel free to post comments if you have any questions&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-5662483473618352798?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/5662483473618352798/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=5662483473618352798' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/5662483473618352798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/5662483473618352798'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2007/10/how-i-set-up-gutsy-gibbon-with.html' title='How I set up Gutsy Gibbon with KDE/Compiz on Nvidia'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-6536458224343041734</id><published>2007-10-03T20:15:00.000-04:00</published><updated>2007-10-11T17:17:52.442-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='e-mail server'/><category scheme='http://www.blogger.com/atom/ns#' term='quotas'/><category scheme='http://www.blogger.com/atom/ns#' term='disk space'/><title type='text'>6 tips on keeping your e-mail server space usage under control.</title><content type='html'>I was inspired to write this post when listening to this week's &lt;a href="http://castingfromtheserverroom.com/podcast/2007/episode-76-clean-out-your-e-mail/trackback/"&gt;Casting From the Server Room&lt;/a&gt; Podcast. &lt;br /&gt;&lt;br /&gt;There are lots of hidden costs that make megabytes matter - RAID disk space, backup space, backup transfer time....  and not to mention (as every sysadmin knows) the fact that an e-mail server running low on disk space can be a sustainable source of stress.  Here's a few preventative tips that might help you keep your head on straight.&lt;br /&gt;&lt;br /&gt;1. Invest in a good anti-spam solution&lt;br /&gt;&lt;blockquote&gt;The battle against bloat starts at the source.  Every message that comes into your system has a chance of taking up space.  Use a combination of anti-spam measures and hit it from all angles.  An edge MTA and DNS black listing are very effective measures because messages are stopped even before they enter your mail store - and occupy inboxes and junk folders. &lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;2. Teach your users the do's and don'ts of e-mail&lt;br /&gt;&lt;blockquote&gt;Education is always a good defense- remember, even if your efforts fall on deaf ears, there are always some users that want to do the Right Thing(tm), and are just waiting for you to tell them what that is. Make a simple list of do's and don'ts and distribute it to your users once a year.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;3. Give users adequate network space&lt;br /&gt;&lt;blockquote&gt;Network drive space is cheaper for you to manage than e-mail server space.  Don't give users an excuse to keep those big attachments in their e-mail account.  They should save them and delete the message. &lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;4. Set conservative mailbox quotas, early&lt;br /&gt;&lt;blockquote&gt;...Even if you have extra space.  Users will be more likely to adopt good mail management habits if quotas are on.  They need to see the size of their inbox grow against a limit, or it will be perceived as bottomless.   If you're implementing a new quota policy, a good rule of thumb is to take the average mailbox size, double it, and use that for the quota.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;5. Police inactive accounts&lt;br /&gt;&lt;blockquote&gt;This may seem obvious, but don't leave dead accounts open for business.  When students or employees leave, be sure to stick to a firm and consistent account removal policy. The fewer accounts you have, the less the chances of both spammers - and spam - finding your system.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;6. Set your system to expire trashed items after a reasonable amount of time.&lt;br /&gt;&lt;blockquote&gt;Some users just don't empty the trash.  You don't need to be a star and set a super short expiry time, just assign some kind of a time period.&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-6536458224343041734?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/6536458224343041734/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=6536458224343041734' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/6536458224343041734'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/6536458224343041734'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2007/10/5-tips-on-keeping-your-e-mail-server.html' title='6 tips on keeping your e-mail server space usage under control.'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-985546256414405332</id><published>2007-09-19T09:40:00.000-04:00</published><updated>2007-09-20T10:21:45.581-04:00</updated><title type='text'>Choosing a Small Business Telephone System</title><content type='html'>Recently a friend of mine asked me to recommend a business telephone system for his (starting out) small business.  He needs to be able to connect someone somewhere else as though they are in the same office.  This is becoming more and more of a basic need for all businesses- the modern office is really made up of several people's home offices, scattered geographically and connected via broadband, with no real "center".  Nonetheless, I took a moment to highlight my experiences regarding traditional PBX systems as well.&lt;br /&gt;&lt;br /&gt;---snip----&lt;br /&gt;&lt;br /&gt;We have a Samsung Officeserv iDCS 500.  I personally don't find it to be easy to manage at all.  I have received many requests that would be very straightforward to resolve on other systems, which have fallen dead due to lack of clear documentation and poorly implemented management software.  At $6,000,  I don't even think it was that cheap.  To its credit, however, it does make the process of provisioning off-site VOIP extensions a fairly no-nonsense operation, as we have found.&lt;br /&gt; &lt;br /&gt;If you are going to purchase a phone system for your office, and you&lt;br /&gt;expect it to scale, I would stick with the tried and true "gold standards" of phone systems.  Buy something made by Avaya (partner) or AT&amp;amp;T (merlin).   There's tons of support, hardware vendor choices, and documentation available.  Seek a second hand phone system on &lt;a href="http://www.ebay.com/"&gt;ebay&lt;/a&gt; or websites like &lt;a href="http://www.usedphones.com/"&gt;usedphones.com&lt;/a&gt; that have put together nice packages.  Make sure that you choose one that allows VOIP extensions and voicemail.  Be prepared to spend around $2000 to start, and $100-$200 per phone.  In my experience, this is a better alternative to buying a cheap phone system that has idiosyncrasies, and that you are stuck with for a long time.&lt;br /&gt;&lt;br /&gt;If you are really strapped and aren't afraid to get your hands dirty, you can put together an &lt;a href="http://www.trixbox.org/"&gt;Asterisk &lt;/a&gt;box.  You would need an older PC that has several full size PCI slots available (free-$300), a PCI FXO card (for your telephone line) ($200-$300), and several inexpensive IP phones, such as the Grandstream Budgetone ($100/ea).  Again, this system is not for the faint of heart, and there are known difficulties with getting these systems to work from behind a firewall.  A commercial approach that is similar to this, but doesn't have the headaches of setup is http://www.fonality.com.  Their entry-level server product is $995.&lt;br /&gt;&lt;br /&gt;Ok, the last one.  If you are not set on having a traditional dedicated, owned piece of hardware, you could save a lot of the cost of entry by trying out a hosted PBX service, such as &lt;a href="http://www.ringcentral.com/"&gt;Ringcentral&lt;/a&gt; or&lt;br /&gt;&lt;a href="https://www1.pbxes.com/index_e.php"&gt;pbxes.org&lt;/a&gt;.  I have no experience with this, but it may be right for a small company, with no "central office" per se.  One disadvantage I can think of is that you are depended entirely on your ISP, and someone else's phone system, to maintain your business' communications.  Should they have a company-wide failure, or "spontaneously" go out of business and pull the plug one day (like SunRocket recently did to their residential customers), you are down for the count.  Nonetheless, they claim to have service starting at $9.95.  If you check this out, please let me know how goes.&lt;br /&gt;&lt;br /&gt;Good luck&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-985546256414405332?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/985546256414405332/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=985546256414405332' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/985546256414405332'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/985546256414405332'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2007/09/recently-friend-of-mine-asked-me-to.html' title='Choosing a Small Business Telephone System'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8884355915526109294.post-2129487378433657719</id><published>2006-11-15T10:44:00.000-05:00</published><updated>2006-11-17T10:04:47.582-05:00</updated><title type='text'>First Post - Ubuntu Samba PDC/ OpenLDAP</title><content type='html'>Welcome to Partis Scientia.  In case you haven't figured it out, that is Latin for sharing of skill/knowledge.   Let's start with a Linux post:&lt;br /&gt;&lt;br /&gt;After almost 2 months, I finally got a Samba PDC running with an LDAP directory...   I used an Ubuntu 6.06LTS (Dapper) server.  The most confusing thing about it is that you have like 4 possible superuser roles to understand:&lt;br /&gt;&lt;br /&gt;root on the linuxbox (/etc/passwd file)&lt;br /&gt;LDAP admin&lt;br /&gt;Samba admin (better known as Windows "Administrator")&lt;br /&gt;Samba root (same as above.  Discussed in a bit)&lt;br /&gt;&lt;br /&gt;Here's what I used for resources&lt;br /&gt;---------------------------------&lt;br /&gt;The main howto that I followed was:&lt;br /&gt;&lt;a href="http://times.usefulinc.com/2005/09/25-ldap"&gt; http://times.usefulinc.com/2005/09/25-ldap&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It basically covers it all.  It made setting up the LDAP very straightforward (although there were many steps).  Then I had some problems getting the Samba PDC it to work, so I used one or more of the below docs to figure out what I was doing.&lt;br /&gt;&lt;br /&gt;Here's some other docs I found helpful to when I was completely lost:&lt;br /&gt;&lt;a href="http://en.opensuse.org/Howto_setup_SUSE_as_SAMBA_PDC_with_OpenLDAP,_DYNDNS_and_CLAM"&gt; http://en.opensuse.org/Howto_setup_SUSE_as_SAMBA_PDC_with_OpenLDAP,_DYNDNS_and_CLAM&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.howtoforge.com/samba_setup_ubuntu_5.10"&gt; http://www.howtoforge.com/samba_setup_ubuntu_5.10&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Snags I hit&lt;br /&gt;-------------------------------&lt;br /&gt;&lt;br /&gt;One thing that really threw me was that the first howto claims you will have an account called "Administrator" as the domain admin.  Well the version of smbldap-tools that I was using created an account "root" as the domain admin.  I later found a posting somewhere that said this is a better idea anyway:&lt;br /&gt;&lt;p&gt;&lt;br /&gt;"Please note that a side effect of Administrator with UID=0 as well as root&lt;br /&gt;with UID=0 is that login name to UID and login name to SID resolution is no&lt;br /&gt;longer unambiguous. This will break winbindd big time in critical situations.&lt;br /&gt;&lt;br /&gt;The best advice is to have just 'root' with UID=0 and use 'root' as the domain&lt;br /&gt;administrator account. The new privileges capability can be used to delegate&lt;br /&gt;some administrative functions, such as adding machines to the domain, to&lt;br /&gt;accounts other than 'root'."&lt;br /&gt;&lt;br /&gt;-Machines don't automatically get a machine account created by Samba when you join a new workstation to the domain.  You have to do it manually, period.   It's not hard, but just plan on it.  smbldap-useradd -w machine_name$&lt;br /&gt;&lt;br /&gt;-When joining  a new computer to the domain, you have to log in the first time as the domain admin (on that computer), when prompted.  A user account will come up as not found or access denied.&lt;br /&gt;&lt;br /&gt;Things I plan on attacking next&lt;br /&gt;-------------------------------&lt;br /&gt;-phpldapadmin&lt;br /&gt;-roaming profiles&lt;br /&gt;-print serving&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/8884355915526109294-2129487378433657719?l=partissci.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://partissci.blogspot.com/feeds/2129487378433657719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=8884355915526109294&amp;postID=2129487378433657719' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/2129487378433657719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8884355915526109294/posts/default/2129487378433657719'/><link rel='alternate' type='text/html' href='http://partissci.blogspot.com/2006/11/first-post-ubuntu-samba-pdc-openldap.html' title='First Post - Ubuntu Samba PDC/ OpenLDAP'/><author><name>Scott McGrath</name><uri>http://www.blogger.com/profile/01149091298635464045</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='21' height='32' src='http://1.bp.blogspot.com/-dKBSg2KL9TE/TntPOsM1tfI/AAAAAAAAAjQ/7IyATUEfrBI/s220/Scott%2BBio1.jpg'/></author><thr:total>0</thr:total></entry></feed>
