<?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>Braindump &#187; Linux</title>
	<atom:link href="http://www.curtis-lamasters.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.curtis-lamasters.com</link>
	<description>Another TechBlog</description>
	<lastBuildDate>Thu, 10 Feb 2011 05:41:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>5 Minute Cron Tutorial &#8211; Linux Task Scheduler</title>
		<link>http://www.curtis-lamasters.com/2008/08/19/5-minute-cron-tutorial-linux-task-scheduler/</link>
		<comments>http://www.curtis-lamasters.com/2008/08/19/5-minute-cron-tutorial-linux-task-scheduler/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 02:34:32 +0000</pubDate>
		<dc:creator>clamasters</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.curtis-lamasters.com/?p=135</guid>
		<description><![CDATA[Cron is an exceptionally useful tool in the Linux world where administrative tasks can easily be rolled up into shell, php, perl, and python scripts among other things. Per a website that I just came across, the word cron comes from the Greek word chronos which means time. First, lets setup the environment. I use [...]]]></description>
			<content:encoded><![CDATA[<p>Cron is an exceptionally useful tool in the Linux world where administrative tasks can easily be rolled up into shell, php, perl, and python scripts among other things.  Per a website that I just came across, the word cron comes from the Greek word chronos which means time.</p>
<p>First, lets setup the environment.  I use VI as my text editor on Linux and you can view my &#8220;60 second VI tutorial&#8221; on here as well.  To ensure that VI will be our crontab (cron table) editor we will need to edit your &#8220;.profile&#8221; file for whatever user you are going to be logged in with (typically root).</p>
<p><code>vi /root/.profile</code></p>
<p>Add one of thefollowing lines above the second fi to match your preference.</p>
<p><code>export EDITOR=/usr/bin/vi  #if you have just VI installed<br />
export EDITOR=/usr/bin/vim.basic #if you have VIM installed</code></p>
<p>Ensure that you save it with :wq.</p>
<p>Now that we have that out of the way, lets start scheduling tasks.</p>
<p>Since backups are traditionally something that you would want to automate or schedule, I&#8217;ll use it as my main example but first I&#8217;ll break down the cron scheduling syntax.</p>
<p><!--[if gte mso 9]><xml> Normal   0               false   false   false      EN-US   X-NONE   X-NONE                                                     MicrosoftInternetExplorer4 </xml><![endif]--><!--[if gte mso 9]><xml> </xml><![endif]--><!--  --><!--[if gte mso 10]> <mce:style><!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:"Times New Roman"; 	mso-fareast-theme-font:minor-fareast; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} table.MsoTableGrid 	{mso-style-name:"Table Grid"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-priority:59; 	mso-style-unhide:no; 	border:solid black 1.0pt; 	mso-border-themecolor:text1; 	mso-border-alt:solid black .5pt; 	mso-border-themecolor:text1; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-border-insideh:.5pt solid black; 	mso-border-insideh-themecolor:text1; 	mso-border-insidev:.5pt solid black; 	mso-border-insidev-themecolor:text1; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} --> <!--[endif]--></p>
<table style="height: 114px;" border="1" cellspacing="0" cellpadding="0" width="331">
<tbody>
<tr>
<td width="44" valign="top"><strong>Field </strong></td>
<td width="276" valign="top"><strong>Meaning (input)</strong></td>
</tr>
<tr>
<td width="44" valign="top">1</td>
<td width="276" valign="top">Minutes (0-59)</td>
</tr>
<tr>
<td width="44" valign="top">2</td>
<td width="276" valign="top">Hours (2-24)</td>
</tr>
<tr>
<td width="44" valign="top">3</td>
<td width="276" valign="top">Day of the Month (1-31)</td>
</tr>
<tr>
<td width="44" valign="top">4</td>
<td width="276" valign="top">Month (1-12) January thru December</td>
</tr>
<tr>
<td width="44" valign="top">5</td>
<td width="276" valign="top">Day of the week (0-6) Sun thru Sat</td>
</tr>
<tr>
<td width="44" valign="top">6</td>
<td width="276" valign="top">User to execute the command</td>
</tr>
<tr>
<td width="44" valign="top">7</td>
<td width="276" valign="top">Command to execute</td>
</tr>
</tbody>
</table>
<p><code>0 2 * * * root tar czf /var/backup/www.tar.gz /var/www &gt;&gt; /dev/null 2&gt;&amp;1</code></p>
<p>With the above example and the table of what each field does, you get can put together that at 0200 or 2:00 AM every day root will be running <strong>&#8220;tar czf /var/backup/www.tar.gz /var/www &gt;&gt;/dev/null 2&gt;&amp;1&#8243;</strong> which is telling tar to tar up <strong>/var/www</strong> into <strong>/var/backup/www.tar.gz</strong> and <strong>/dev/null 2&gt;&amp;1</strong> is a way to have the command put any output into a &#8220;trash can&#8221; if you willÂ  Alternately you can specify a log file for that output to go with &#8220;&gt;&gt; /var/log/cronforcommand.log 2&gt;&amp;1&#8243;.Â  The * in a schedule means to omit that portion of the schedule.</p>
<p>That one was pretty basic so I&#8217;ll get a little more complicated now.Â  Matter of fact, I&#8217;ll just skip the user and command to execute from now on and focus on the command structure for scheduling with cron</p>
<p><strong>EXAMPLES</strong>:</p>
<p>Every Minute &#8211; <code>* * * * *</code></p>
<p>Every 5 Minutes &#8211; <code>0,5,10,15,20,25,30,35,40,45,50,66 * * * *</code></p>
<p>Every 5 Minustes (Simple) &#8211; <code>*/5 * * * *</code></p>
<p>Every Hour &#8211; <code>* */1 * * *</code></p>
<p>Every 2 hours &#8211; <code>* */2 * * *</code></p>
<p>Every Day @2:00 AM &#8211; <code>0 2 * * *</code></p>
<p>Every Day @ 6:00 PM &#8211; <code>0 18 * * *</code></p>
<p>Every Sunday @ 3:15 AM &#8211; <code>15 3 * * 0</code></p>
<p>On Feburary 11 @ 10:00 PM &#8211; <code>0 22 11 2 *</code></p>
<p>That pretty much covers the majority of typical uses for cron. Obviously this is a very powerful tool and can do so much more but for this post, I think it&#8217;ll do.Â  If I messed anything up , please let me know.Â  <img src='http://www.curtis-lamasters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2008/08/19/5-minute-cron-tutorial-linux-task-scheduler/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Excelent Time Management Video &#8211; Randy Pausch</title>
		<link>http://www.curtis-lamasters.com/2008/08/11/excelent-time-management-video-randy-pausch/</link>
		<comments>http://www.curtis-lamasters.com/2008/08/11/excelent-time-management-video-randy-pausch/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 20:17:58 +0000</pubDate>
		<dc:creator>clamasters</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.curtis-lamasters.com/?p=119</guid>
		<description><![CDATA[At work, I find it somewhat hard to stay on task.Â  I like it when I get real material things that can help manage my time.Â  One of they guys I work with sent me a link for this lecture by Randy Pausch.Â  As he recently passed due to cancer, this speaks volumes for his [...]]]></description>
			<content:encoded><![CDATA[<p>At work, I find it somewhat hard to stay on task.Â  I like it when I get real material things that can help manage my time.Â  One of they guys I work with sent me a link for this lecture by Randy Pausch.Â  As he recently passed due to cancer, this speaks volumes for his character as he had approximately 3 months to live at the time of this talk.Â  Please enjoy.</p>
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="src" value="http://www.youtube.com/v/oTugjssqOT0&amp;hl=en&amp;fs=1" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/oTugjssqOT0&amp;hl=en&amp;fs=1" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2008/08/11/excelent-time-management-video-randy-pausch/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Apache2 on Ubuntu &#8211; OpenSSL CSR / Self Signed Cert</title>
		<link>http://www.curtis-lamasters.com/2008/07/30/apache2-on-ubuntu-openssl-csr-self-signed-cert/</link>
		<comments>http://www.curtis-lamasters.com/2008/07/30/apache2-on-ubuntu-openssl-csr-self-signed-cert/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 19:49:27 +0000</pubDate>
		<dc:creator>clamasters</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.curtis-lamasters.com/?p=117</guid>
		<description><![CDATA[Seventy-five percent of the servers I have been working on over the last few months have been Linux.  Mostly Ubuntu.  This due to the fact that my company has allow me to start migrating over and building new servers on this platform.  With that, we need secure ways to access the servers.  On occasion I&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>Seventy-five percent of the servers I have been working on over the last few months have been Linux.  Mostly Ubuntu.  This due to the fact that my company has allow me to start migrating over and building new servers on this platform.  With that, we need secure ways to access the servers.  On occasion I&#8217;ll use <a title="Webmin" href="http://www.webmin.com" target="_blank">webmin</a> but mostly just SSH and whatever website is running on it (management, applications, etc).  Webmin takes care of itself with a self signed certificate and SSH creates its own keys.  Pretty easy there.  Now, for the website that is running on the box, out of the gate it&#8217;s unencrypted TCP/80 traffic running from an Apache 2 web server.  This short tutorial will cover how to create a CSR with OpenSSL for use when getting a certificate from one of the CA&#8217;s.  I won&#8217;t explain everything here but you may use Ubuntu&#8217;s https-help guide if you need more info found <a title="Ubuntu HTTPS Configuration" href="https://help.ubuntu.com/7.10/server/C/httpd.html#https-configuration" target="_blank">here</a>.</p>
<p>First, let&#8217;s make sure we have the right packages installed.</p>
<p><code>apt-get install openssh apache2 apache2.2-common php5</code></p>
<p>Now let&#8217;s enable SSL for apache2</p>
<p><code>sudo a2enmod ssl</code></p>
<p>Now lets create the server SSL key.</p>
<p><code>cd /etc/ssl/private</code><br />
<code>openssl genrsa -des3 -out dns.server.com.key 1024</code></p>
<p>Ok, now that we have the key, let&#8217;s create the CSR to be given to the CA.</p>
<p><code>openssl req -new -key dns.server.com.key -out dns.server.com.csr</code></p>
<p>It will prompt you for the passphrase and some other bits of information.  The most important one is site name.  This must match the name of your server.  Something like mail.domain.com or www.domain.com would be appropriate here.</p>
<p>The CSR can now be uploaded to whatever CA you choose.  I use <a title="GoDaddy SSL" href="https://www.godaddy.com/gdshop/ssl/ssl.asp?ci=8979" target="_blank">GoDaddy</a> because they are so cheap.</p>
<p>If you do not want to purchase a certificate you can create your own self signed cert with the following command.</p>
<p><code>openssl x509 -req -days 365 -in dns.server.com.csr -signkey dns.server.com.key -out dns.server.com.crt</code><br />
<code>cp /etc/ssl/private/dns.server.com.crt /etc/ssl/certs</code></p>
<p>Now that we have the cert created, let&#8217;s configure Apache to use it. Add the following 3 lines to your website configuration.  The default one is located in /etc/apache2/sites-available/default.</p>
<p><code>SSLEngine on<br />
SSLCertificateFile /etc/ssl/certs/dns.server.com.crt<br />
SSLCertificateKeyFile /etc/ssl/private/dns.server.com.key</code></p>
<p>Save that config file and enable Apache to listen on 443 for HTTPS traffic.  Add the following line to /etc/apache2/ports.conf</p>
<p><code>Listen 443</code></p>
<p>Restart your Apache2 process and you should have a fully functional SSL enabled website.</p>
<p><code>/etc/init.d/apache2 force-reload &amp;&amp; /etc/init.d/apache2/restart</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2008/07/30/apache2-on-ubuntu-openssl-csr-self-signed-cert/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>60 second vi intro</title>
		<link>http://www.curtis-lamasters.com/2008/07/30/60-second-vi-intro/</link>
		<comments>http://www.curtis-lamasters.com/2008/07/30/60-second-vi-intro/#comments</comments>
		<pubDate>Wed, 30 Jul 2008 18:53:05 +0000</pubDate>
		<dc:creator>clamasters</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.curtis-lamasters.com/?p=109</guid>
		<description><![CDATA[vi is neat.Â  Most of the engineers I work with like nano or pico but I like vi.Â  For some reason it makes me feel more like a geek when I&#8217;m using it.Â  In fact, I&#8217;ve been using it so often lately that I have been trying to use vi command in notepad (obviously without [...]]]></description>
			<content:encoded><![CDATA[<p>vi is neat.Â  Most of the engineers I work with like nano or pico but I like vi.Â  For some reason it makes me feel more like a geek when I&#8217;m using it.Â  In fact, I&#8217;ve been using it so often lately that I have been trying to use vi command in notepad (obviously without success).Â  This tutorial will cover only the basics but that should be enough to get you started.Â  A much better tutorial is available <a title="Perdue VI Tutorial" href="https://engineering.purdue.edu/ECN/Support/KB/Docs/ViTextEditorTutorial/printerfriendly" target="_blank">here</a>.</p>
<p><code>vi /etc/network/interfaces - opens /etc/network/interfaces in vi</code></p>
<p><code>i - insert<br />
/ - search<br />
G - [Shift] g - go to bottom of page<br />
dd - delete the line<br />
d &lt;- or d -&gt; - d [left or right arrow] delete 1 character in that direction<br />
10G - 10 [Shift] g - move to line 10 (obviously number can be replaced)<br />
10dd - delete 10 lines from cursor and below (again, number can be changed)<br />
:q - quit (no changes may have been made)<br />
:q! - quit (do not save changes)<br />
:wq - write quite (save and quit)<br />
:w - write (save)</code></p>
<p>Ok, now that you have mastered the basics of vi, please refer all other needs to the link provided above.Â  Hope you like vi as much as I do.</p>
<p>NOTE:Â  Ubuntu (and maybe debian) have a few things that the built in vi program have that seem a little strange.Â  I usually install vim just to be safe.Â  to do this run <code>sudo apt-get install vim-full.<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2008/07/30/60-second-vi-intro/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting Ubuntu Ready for &#8220;REAL&#8221; use&#8230;</title>
		<link>http://www.curtis-lamasters.com/2008/05/30/getting-ubuntu-ready-for-real-use/</link>
		<comments>http://www.curtis-lamasters.com/2008/05/30/getting-ubuntu-ready-for-real-use/#comments</comments>
		<pubDate>Sat, 31 May 2008 05:49:40 +0000</pubDate>
		<dc:creator>clamasters</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.curtis-lamasters.com/?p=78</guid>
		<description><![CDATA[I love Ubuntu&#8230;it&#8217;s undubitably the best free OS on the planet. However, there is one thing that I absolutely hate about Ubuntu.. My inability to SSH into the system from anywhere. I know it is this way by design and that it&#8217;s a &#8220;security&#8221; feature but it still annoys me. So the following commands are [...]]]></description>
			<content:encoded><![CDATA[<p>I love Ubuntu&#8230;it&#8217;s undubitably the best free OS on the planet.  However, there is one thing that I absolutely hate about Ubuntu..  My inability to SSH into the system from anywhere.  I know it is this way by design and that it&#8217;s a &#8220;security&#8221; feature but it still annoys me.  So the following commands are what I use to get the system ready for use after a fresh install.</p>
<p><code>apt-get install openssh-server openssh-client</code></p>
<p>That&#8217;s it.  If you want to play around a little more you can configure Ubuntu&#8217;s firewall in just a few simple steps as well.  In my example I will enable tcp/80, tcp/443, tcp/22 and udp/53 inbound.</p>
<p><code>ufw disable</code><br />
<code>ufw allow 80/tcp</code><br />
<code>ufw allow 443/tcp</code><br />
<code>ufw allow 22/tcp</code><br />
<code>ufw allow udp/53</code><br />
<code>ufw enable</code></p>
<p>And then you can validate what you have entered with:</p>
<p><code>ufw status</code></p>
<p>The output will be similar to this:</p>
<p><code>Firewall loaded</code></p>
<p><code>To                         Action  From</code><br />
&#8211;                         &#8212;&#8212;  &#8212;-<br />
<code>80:tcp                     ALLOW   Anywhere</code><br />
<code>443:tcp                  ALLOW   Anywhere</code><br />
<code>22:tcp                     ALLOW   Anywhere</code><br />
<code>53:udp                     ALLOW   Anywhere</code></p>
<p>And that&#8217;s really all I do&#8230;it&#8217;s definately not much but it will be enough to get you started connecting remotely.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2008/05/30/getting-ubuntu-ready-for-real-use/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switchvox PBX replaced my trixbox</title>
		<link>http://www.curtis-lamasters.com/2008/03/27/switchvox-pbx-replaced-my-trixbox/</link>
		<comments>http://www.curtis-lamasters.com/2008/03/27/switchvox-pbx-replaced-my-trixbox/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 03:42:00 +0000</pubDate>
		<dc:creator>clamasters</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.curtis-lamasters.com/index.php/2008/03/27/switchvox-pbx-replaced-my-trixbox/</guid>
		<description><![CDATA[This was a pretty quick change but one of my friends recommended that I try out Switchvox which is an IP PBX build on Asterisk and is owned by Digium. I took a few looks at the webpage and I was pretty much sold. It looked so easy (and pretty). I installed it on a [...]]]></description>
			<content:encoded><![CDATA[<p>This was a pretty quick change but one of my friends recommended that I try out <a href="http://www.switchvox.com" target="_blank">Switchvox</a> which is an IP PBX build on <a href="http://www.asterisk.org" target="_blank">Asterisk</a> and is owned by <a href="http://www.digium.com" target="_blank">Digium</a>. I took a few looks at the webpage and I was pretty much sold. It looked so easy (and pretty). I installed it on a separate machine that I just picked up from a school district that was getting rid of PC&#8217;s for dirt cheap from an old computer lab. The setup was almost the same as trixbox but had fewer questions for me to answer making it simpler overall. Once installed, the first thing that I noticed was the SSL based access to the box was the only way to manage the server. This was cool and questionable at the same time as command line traditionally is the easiest/best way to debug anything. Well, I logged into the server with my friend on the phone, added in my <a href="http://www.teliax.com" target="_blank">Teliax</a> information and in 2 minutes I was able to call out. This was amazing in my opinion. Something this easy has to come with a price tag. Nope, I&#8217;m using the free edition&#8230;with a big smile on my face. <img src='http://www.curtis-lamasters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   A few minutes later and I was able to call through my provider from my cell and hit voicemail (that was already setup).  The setup of dial plans, providers, hardware interfaces, and extension is SO EASY.  Much easier than trixbox and I thought it was easy.  Switchvox even auto detected my Sipura SPA-1000 device.  At this point I was completely sold.  To be honest, the only complaint that I have at this point is the inability to go to command line to debug stuff.  That&#8217;s it.  I would recommend this product to any home or small business.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2008/03/27/switchvox-pbx-replaced-my-trixbox/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>trixbox now working</title>
		<link>http://www.curtis-lamasters.com/2008/03/20/trixbox-now-working/</link>
		<comments>http://www.curtis-lamasters.com/2008/03/20/trixbox-now-working/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 16:01:26 +0000</pubDate>
		<dc:creator>clamasters</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.curtis-lamasters.com/index.php/2008/03/20/trixbox-now-working/</guid>
		<description><![CDATA[Well, a few weeks ago I really wanted to get a home phone setup for my house. My wife an I have been using our cell phones for pretty much everything for the last 2 years and thought it would be a good time to get something else. So instead of taking the easier route [...]]]></description>
			<content:encoded><![CDATA[<p>Well, a few weeks ago I really wanted to get a home phone setup for my house.  My wife an I have been using our cell phones for pretty much everything for the last 2 years and thought it would be a good time to get something else.  So instead of taking the easier route with a telephone company, I chose to setup <a href="http://asterisk.org/" title="asterisk *">Asterisk</a> on an old extra computer with a <a href="http://www.sipura.com/" title="sipura">Sipura SIP converter</a> connected to a traditional home phone.  My VoIP provider is <a href="http://www.teliax.com" title="teliax">TelIAX</a> out of Colorado and so far has been pretty cheap.  I would say the support isn&#8217;t the best but as long as you know what you are doing, the system is always online.  The real reason I chose them was their IAX2 support.  I didn&#8217;t want to have a huge number of ports opened on my firewall to allow SIP to work.  Also, traditionally SIP has not been the nicest with NAT though Asterisk does a pretty good job with that issue.</p>
<p>Instead of going command line or even installing the package manually, I chose <a href="http://www.trixbox.org/" title="trixbox" target="_blank">Fonality&#8217;s trixbox CE</a> which is free and is an all-in-one solution for IP telephone.  At least on the server side.  Install is straight forward, answer a few questions and it&#8217;ll eventually reboot and you&#8217;ll have a functioning Asterisk server with <a href="http://freepbx.org/" title="freepbx">FreePBX</a> installed as well as some other goodies.</p>
<p>Once you have trixbox up and running, you login to the web GUI and start configuring.  Mine is http://192.168.1.10.  Under FreePBX I had to configure 3 things:</p>
<p>1.    Trunk &#8211; This is to tell Asterisk who to connect to for inbound and outbound calling.  You have to configure things like registration strings, usernames, passwords, and any specific information for your provider.  I have attached my configuration to this post.</p>
<p>2.    Extension &#8211; I created a new extension (201) to allow my Sipura SPA-1000 to register to my trixbox.  The setup on that was fairly easy with just an extension number, password and a few options for voicemail and fax.</p>
<p>3.    Inbound/Outbound routes &#8211; Tell Asterisk to use a specif trunk for outbound calls and specify what dial patterns you want it to pick up on.  Then on inbound you need to tell Asterisk what extensions to ring when a call is coming in.</p>
<p>That&#8217;s it.  Really, really simple.  This was not my first time with trixbox but it was the first time that I actually got it to work.  I was quite surprised how clean the calls sound through the Internet, I was expecting to need to do QoS to get it right.  I&#8217;ll still do that but so far I have not needed to.</p>
<p>My next goal is to get some of the advanced features running.  Music on hold, failover call routing, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2008/03/20/trixbox-now-working/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Everyday Free Tools &#8211; Tech Stuff</title>
		<link>http://www.curtis-lamasters.com/2007/09/16/everyday-free-tools-tech-stuff/</link>
		<comments>http://www.curtis-lamasters.com/2007/09/16/everyday-free-tools-tech-stuff/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 18:00:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[pfSense]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://wordpress.curtis-lamasters.com/?p=35</guid>
		<description><![CDATA[Each and every day I use a set of tools, mostly free or open source ones that help me get through the day. I though I would list of a few of them for you so that you can give them a shot as well. Home Computer I have a Panasonic Toughbook laptop running Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<p>Each and every day I use a set of tools, mostly free or open source ones that help me get through the day. I though I would list of a few of them for you so that you can give them a shot as well.</p>
<p><span style="font-weight: bold">Home Computer</span></p>
<p>I have a Panasonic Toughbook laptop running Ubuntu 7.04 that I really haven&#8217;t modified too awful much because I like the look and feel of the OS as it is. Here&#8217;s a list of things that I use everyday or every so often to accomplish a task without spending any money.</p>
<p><span style="font-weight: bold">Operating System</span> &#8211; <a href="http://www.ubuntu.com/">Ubuntu 7.04</a> &#8211; Stable, clean, easy to install, based on GNOME and very well supported by the community.  I would say that the <a href="http://www.ubuntuforums.org/">forums</a> for Ubuntu are better than most and for some reason, the users of Ubuntu are much nicer than that of Red Hat and others.</p>
<p><span style="font-weight: bold">Blogging</span> &#8211; <a href="http://www.blogger.com/">Blogger.com</a> attached to my Gmail account (I do my own hosting)</p>
<p><span style="font-weight: bold">Firewall </span>- <a href="http://www.pfsense.com/">pfSense</a> &#8211; I mentioned this a few post&#8217;s ago.  I absolutely love this firewall.</p>
<p><span style="font-weight: bold">Document Management</span> &#8211; <a href="http://docs.google.com/">Google Doc&#8217;s and Spreadsheets</a> &#8211; This one is really neat, you can upload your Microsoft Office Word and Excel files as well as OpenOffice equivalent documents up to Google, edit them, and even save off as PDF documents if need be.</p>
<p><span style="font-weight: bold">Music</span> &#8211; <a href="http://www.pandora.com/">Pandora.com</a> &#8211; This site has been around for a little while now, It allows you to basically make your own radio station, and it dynamically learns what music you want to listen to. A side spawn of this project is <a href="http://www.slimdevices.com/su_downloads.html">Squeezebox</a> which allows you to turn your music library into a radio station with streaming music.</p>
<p><span style="font-weight: bold">Chat</span> &#8211; Gaim &#8211; It&#8217;s easy to use, installed by default on Ubuntu, and supports multiple accounts. On Linux and Windows you can use <a href="http://sourceforge.net/projects/pidgin/">Pidgin</a> and for Mac OS X you can use <a href="http://www.adiumx.com/">Adium</a>.</p>
<p><span style="font-weight: bold">VoIP</span> &#8211; <a href="http://www.twinklephone.com/">Twinkle</a> &#8211; So far this is the best SIP capable client for Linux I have found. You can installed it through apt-get or Synaptic on Ubuntu or download it here. On Windows and Mac OS X I use X-Lite from CounterPath. I would say X-Lite is the best of the two but the Linux version sucks in my opinion.</p>
<p><span style="font-weight: bold">PBX</span> &#8211; <a href="http://www.trixbox.org/">trixbox</a> &#8211; I just started using this because I&#8217;m trying to get my company or rather the company I work for into a new market so that we can make some more money as a company which personally helps me through profit sharing. Though, if I didn&#8217;t get that last bit, I would still peruse doing phone VoIP systems because I think they are interesting. I have it installed on an old PIII 500 with 256Mb of ram and it suits the needs of my wife an I just fine. A larger scale deployment would need a better server though.</p>
<p><span style="font-weight: bold">Email</span> &#8211; <a href="http://www.gmail.com/">Gmail</a> and <a href="http://www.gnome.org/projects/evolution/">Evolution</a> &#8211; I just started using Evolution about a month ago because Outlook Web Access on Microsoft Exchange 2003 sucks when viewed from Firefox. Damn Microsoft. <img src='http://www.curtis-lamasters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Kidding. Evolution seemed to be a logical choice for me because well, it was already installed on my computer and quite frankly I needed a way to check my mail. Sounds like a match made in heaven. Gmail, as you all probably know, is free and has cool features like web sharable calendars, documents and photos. You will probably see a trend here for me liking everything Google.</p>
<p>I think that&#8217;s enough for now. I&#8217;ll make a part 2 to this one pretty soon with quite a few more added programs and services that I use everyday for free. Compute free or die.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2007/09/16/everyday-free-tools-tech-stuff/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broadcom BCM4306 on Ubuntu Feisty Fawn</title>
		<link>http://www.curtis-lamasters.com/2007/07/12/broadcom-bcm4306-on-ubuntu-feisty-fawn/</link>
		<comments>http://www.curtis-lamasters.com/2007/07/12/broadcom-bcm4306-on-ubuntu-feisty-fawn/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 19:00:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://wordpress.curtis-lamasters.com/?p=18</guid>
		<description><![CDATA[In my last post I mentioned that I needed to install a non standard package to get my laptop wireless device working. Well, I decided that because it took me about 20-25 minutes to find the fix for this I would post it so I can save someone some unneeded grief. To get the wireless [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.curtis-lamasters.com/wp-content/uploads/2008/01/ubuntu-disk.jpg" title="Ubuntu Disks"><img src="http://wordpress.curtis-lamasters.com/wp-content/uploads/2008/01/ubuntu-disk.jpg" alt="Ubuntu Disks" /></a>In my last post I mentioned that I needed to install a non standard package to get my laptop wireless device working. Well, I decided that because it took me about 20-25 minutes to find the fix for this I would post it so I can save someone some unneeded grief.</p>
<p>To get the wireless hardware working with the OS most people recommend NDISWrappers but the easiest and most supported was is to use Synaptic (the package manager) to install bcm43xx-fwcutter which is nothing more than the firmware that the kernel needs to load during the boot process to make the Wireless NIC usable. After installation just reboot and the viola you have a working Broadcom wireless NIC which supports pretty much any encryption method available.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2007/07/12/broadcom-bcm4306-on-ubuntu-feisty-fawn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>And then there was Ubuntu&#8230;</title>
		<link>http://www.curtis-lamasters.com/2007/07/12/and-then-there-was-ubuntu/</link>
		<comments>http://www.curtis-lamasters.com/2007/07/12/and-then-there-was-ubuntu/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 18:00:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://wordpress.curtis-lamasters.com/?p=16</guid>
		<description><![CDATA[Quite recently my eyes were opened to a Linux distribution called Ubuntu. The latest release from the open source company Canonical is called Feisty Fawn. How can you deny or refuse a name like that. Well, I figured I would dedicate a post to how much I truely enjoy the OS vs it&#8217;s or Linux [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wordpress.curtis-lamasters.com/wp-content/uploads/2008/01/ubuntu.jpg" title="Ubuntu Logo"><img src="http://wordpress.curtis-lamasters.com/wp-content/uploads/2008/01/ubuntu.jpg" alt="Ubuntu Logo" /></a>Quite recently my eyes were opened to a Linux distribution called Ubuntu. The latest release from the open source company Canonical is called Feisty Fawn. How can you deny or refuse a name like that. <img src='http://www.curtis-lamasters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Well, I figured I would dedicate a post to how much I truely enjoy the OS vs it&#8217;s or Linux competitors as well as the big Microsoft. The installation disk is easily available via http://www.ubuntu.com where you can either download it or have 1 or more copies sent to you via snailmail (I get 25 because I&#8217;m a consultant). On the install CD (not DVD) there are a few cool features that make the product stand out from the rest like a suite of open source Windows apps that can be installed directly from the CD to include Firefox, Thunderbird, Clam AV, and others. Truly unique. Then when you boot from the CD you actually boot to a live distribution where you can either use the live CD to see if you will actually like the or install it to your hard drive via a very intuitive wizard. The wizard asks you a few non technical questions and guides you through the install. You can dual boot with Windows or another OS or just wipe the drive and start fresh.</p>
<p>On a side note, because of how well setup the live CD is, you can actually read and write to the NTFS, FAT or other drive that you have in your computer as a quick and easy disk recovery tool. Still not impressed. Ok, I really haven&#8217;t told you very much but for the novice user these fundamental options make the OS very attractive. After you go through the install, you reboot and come up to a login window and then into the operating system. The only thing that my laptop needed done in addition to the OS install is the installation of the Broadcom WIFI card firmware for my specific hardware which was easily done in Ubuntu&#8217;s intuitive package manager, Synaptic. Synaptic is a front end for apt-get that makes installing and updating packages a synch.</p>
<p>I usually judge a product by it&#8217;s &#8220;Out of the Box&#8221; features. As for Ubuntu, the OS installs, Firefox, Evolution Mail, Gaim, OpenOffice, graphics rendering software, a photo viewer, a suite a games, and a terminal services client. So in my opinion, it&#8217;s already a step ahead of Microsoft. Accessing shares and other network resources is quite simple just like in XP and has a neat feature that saves the user name and password for a particular network resource in it&#8217;s password manager.</p>
<p>I plan to do a few more blog entires regarding the use and utilization of Ubuntu in the home, business and corporate environment on both the client and server end of the spectrum. As the OS is still a Linux derivative, it can run Postfix, Sendmail, Apache, MySQL, Spam assassin, and all of the server centric applications that we rely on everyday. Hope you all at least give the OS a try, I&#8217;ll have my first Ubuntu &#8220;how-to&#8221; on here soon for your enjoyment.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.curtis-lamasters.com/2007/07/12/and-then-there-was-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

