<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Akom's Tech Ruminations</title>
    <link>http://tech.akom.net/</link>
    <description>Various tech outbursts - code and solutions to practical problems</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <pubDate>Wed, 18 Jan 2012 15:05:56 GMT</pubDate>

    <image>
        <url>http://tech.akom.net/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Akom's Tech Ruminations - Various tech outbursts - code and solutions to practical problems</title>
        <link>http://tech.akom.net/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Upgrading Dell laptop memory and the blinking CAPS LOCK led</title>
    <link>http://tech.akom.net/archives/71-Upgrading-Dell-laptop-memory-and-the-blinking-CAPS-LOCK-led.html</link>
            <category>Hardware Hacks</category>
    
    <comments>http://tech.akom.net/archives/71-Upgrading-Dell-laptop-memory-and-the-blinking-CAPS-LOCK-led.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=71</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=71</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    Apparently if you have the power-on self-tests set to &quot;Minimal&quot; or &quot;Fast&quot; or anything besides the &quot;Let&#039;s check everything for 5 minutes every time the machine boots&quot;, you&#039;ll have a brick with a blinking CAPS lock instead of a laptop once you upgrade memory.

&lt;br/&gt;&lt;br/&gt;

The only way I found to fix this (other than clearing the BIOS) was to put the old memory back in, go into BIOS, and enable thorough self-test.  With that on, the laptop notices the memory size change and does not freak out - merely tells you about it.  Once you&#039;re done you can disable the self-tests.

&lt;br/&gt;
&lt;br/&gt;
(I experienced this on a Dell Precision M4400, but googling seems to indicate that this affects the Inspiron and Latitude lines as well, probably others).   
    </content:encoded>

    <pubDate>Wed, 18 Jan 2012 10:05:56 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/71-guid.html</guid>
    
</item>
<item>
    <title>Getting Meetme to work in Asterisk 1.6 on Ubuntu Lucid</title>
    <link>http://tech.akom.net/archives/70-Getting-Meetme-to-work-in-Asterisk-1.6-on-Ubuntu-Lucid.html</link>
            <category>Asterisk</category>
    
    <comments>http://tech.akom.net/archives/70-Getting-Meetme-to-work-in-Asterisk-1.6-on-Ubuntu-Lucid.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=70</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=70</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    I&#039;m assuming that you are attempting to use the Meetme() application and getting an error like this:
&lt;br/&gt;
&lt;blockquote&gt;WARNING[10695]: app_meetme.c:1097 build_conf: Unable to open pseudo device
&lt;/blockquote&gt;



It&#039;s rather simple: 
&lt;br/&gt;

&lt;blockquote&gt;&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;apt-get&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;install&lt;/span&gt; dahdi dahdi-dkms dahdi-linux &amp;#160;&lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;#I think dahdi may be enough&lt;/span&gt;&lt;br /&gt;$ &lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;echo&lt;/span&gt; dahdi_dummy &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;etc&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;modules&lt;br /&gt;$ modprobe dadhi_dummy&lt;br /&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ls&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-l&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dahdi&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;pseudo&lt;br /&gt;crw-rw---- &lt;span style=&quot;color: #000000;&quot;&gt;1&lt;/span&gt; root dialout &lt;span style=&quot;color: #000000;&quot;&gt;196&lt;/span&gt;, &lt;span style=&quot;color: #000000;&quot;&gt;255&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;2011&lt;/span&gt;-&lt;span style=&quot;color: #000000;&quot;&gt;11&lt;/span&gt;-&lt;span style=&quot;color: #000000;&quot;&gt;15&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;11&lt;/span&gt;:&lt;span style=&quot;color: #000000;&quot;&gt;26&lt;/span&gt; &lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dev&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;dahdi&lt;span style=&quot;color: #000000; font-weight: bold;&quot;&gt;/&lt;/span&gt;pseudo&lt;br /&gt;$ &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;id&lt;/span&gt; asterisk&lt;br /&gt;&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#40;&lt;/span&gt;Should include &lt;span style=&quot;color: #ff0000;&quot;&gt;&#039;dialout&#039;&lt;/span&gt; group&lt;span style=&quot;color: #7a0874; font-weight: bold;&quot;&gt;&amp;#41;&lt;/span&gt;&lt;/div&gt;&lt;/blockquote&gt;

&lt;br/&gt;
Yay!  Apparently in Asterisk 1.6 the timing source for the Meetme application is no longer ztdummy (fortunately I was unable to use &lt;strong&gt;m-a&lt;/strong&gt; to compile zaptel) but rather relies on &lt;strong&gt;DAHDI&lt;/strong&gt;, not only for timing but for conference mixing  - see &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/www.russellbryant.net/blog/2008/06/16/asterisk-16-now-with-a-new-timing-api/&#039;]);&quot;  href=&quot;http://www.russellbryant.net/blog/2008/06/16/asterisk-16-now-with-a-new-timing-api/&quot;&gt;http://www.russellbryant.net/blog/2008/06/16/asterisk-16-now-with-a-new-timing-api/&lt;/a&gt;

 
    </content:encoded>

    <pubDate>Tue, 15 Nov 2011 11:57:19 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/70-guid.html</guid>
    
</item>
<item>
    <title>Asterisk CDR records 's' for DST when Dialing from Macros</title>
    <link>http://tech.akom.net/archives/69-Asterisk-CDR-records-s-for-DST-when-Dialing-from-Macros.html</link>
    
    <comments>http://tech.akom.net/archives/69-Asterisk-CDR-records-s-for-DST-when-Dialing-from-Macros.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=69</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=69</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    At some point in the Asterisk 1.6 evolution the CDR records stopped being useful in my setup for outgoing calls - instead of a nice number (eg &lt;strong&gt;18005551212&lt;/strong&gt;) in the &lt;strong&gt;dst&lt;/strong&gt; field of the record, I now have an &lt;strong&gt;s&lt;/strong&gt;.  I log my CDR to MySQL and I do use a macro (with AEL) to dialout.  My macro is even called &lt;strong&gt;dialout&lt;/strong&gt;.

&lt;br/&gt;&lt;br/&gt;
According to &lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/issues.asterisk.org/bug_view_advanced_page.php?bug_id=15214&#039;]);&quot;  href=&quot;https://issues.asterisk.org/bug_view_advanced_page.php?bug_id=15214&quot; title=&quot;The Digium Bug&quot;&gt;this bug&lt;/a&gt;, this is a known issue and no immediate fix is expected.  Not wanting to rewrite the CDR UI to use yet another column, I figured that I can fix this with a MySQL trigger, so here is one possible workaround. &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/69-Asterisk-CDR-records-s-for-DST-when-Dialing-from-Macros.html#extended&quot;&gt;Continue reading &quot;Asterisk CDR records &#039;s&#039; for DST when Dialing from Macros&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 22 Jul 2011 12:11:09 -0400</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/69-guid.html</guid>
    
</item>
<item>
    <title>Figuring out the card number of a cheap SAA7130 capture card</title>
    <link>http://tech.akom.net/archives/68-Figuring-out-the-card-number-of-a-cheap-SAA7130-capture-card.html</link>
            <category>Linux</category>
    
    <comments>http://tech.akom.net/archives/68-Figuring-out-the-card-number-of-a-cheap-SAA7130-capture-card.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=68</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=68</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    So you bought yourself a cheap Philips SAA7130 (or SAA713X or SAA7134) capture card to record motion, you plugged it in and you are getting a black or grey screen.  Looking in dmesg you see the famous 

&lt;code&gt; saa7134[0]: Huh, no eeprom present (err=-5)? &lt;/code&gt;

And 

&lt;pre&gt;
&lt;blockquote&gt;saa7134:  Congratulations!  Your TV card vendor saved a few
saa7134:  cents for a eeprom, thus your pci board has no
saa7134:  subsystem ID and I can&#039;t identify it automatically
saa7134: I feel better now.  Ok, here are the good news:
saa7134: You can use the card=&lt;nr&gt; insmod option to specify
saa7134: which board do you have.  The list:&lt;/blockquote&gt;
&lt;/pre&gt;

What do you do?  How do you try 175 card numbers and figure out which one works?  Write a script! &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/68-Figuring-out-the-card-number-of-a-cheap-SAA7130-capture-card.html#extended&quot;&gt;Continue reading &quot;Figuring out the card number of a cheap SAA7130 capture card&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 19 Jun 2011 09:26:27 -0400</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/68-guid.html</guid>
    
</item>
<item>
    <title>Migrating one Gmail account to another</title>
    <link>http://tech.akom.net/archives/67-Migrating-one-Gmail-account-to-another.html</link>
            <category>Code and Hacks</category>
    
    <comments>http://tech.akom.net/archives/67-Migrating-one-Gmail-account-to-another.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=67</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=67</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    I have a setup where a Google Apps Premier account is used for the active employees, but when they quit I want to archive all their mail but free up a paid user account for the next employee.  We archive mail in a different domain, also on google apps - a standard edition, free.   For a while now I&#039;ve gone through a variety of ways of copying the mailboxes from one place to the other, and each approach was either partial, unreliable, or too time-consuming. 

&lt;br/&gt;&lt;br/&gt;

So I think I&#039;ve finally settled on a viable approach that is neither. &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/67-Migrating-one-Gmail-account-to-another.html#extended&quot;&gt;Continue reading &quot;Migrating one Gmail account to another&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 13 May 2011 14:50:57 -0400</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/67-guid.html</guid>
    
</item>
<item>
    <title>Setting the date/time on the Mini Keychain Spy Camcorder</title>
    <link>http://tech.akom.net/archives/66-Setting-the-datetime-on-the-Mini-Keychain-Spy-Camcorder.html</link>
            <category>Hardware Hacks</category>
    
    <comments>http://tech.akom.net/archives/66-Setting-the-datetime-on-the-Mini-Keychain-Spy-Camcorder.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=66</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=66</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    &lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 110px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://tech.akom.net/uploads/photos/gadgets/keychain-camcorder.jpg&#039;&gt;&lt;!-- s9ymdb:209 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;57&quot;  src=&quot;http://tech.akom.net/uploads/photos/gadgets/keychain-camcorder.serendipityThumb.jpg&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Keychain Camcorder&lt;/div&gt;&lt;/div&gt;

The instructions that come with this little gadget are priceless in their verbatim Chinese glory, but are not helpful in their vague &quot;Leave the details as an exercise for the reader&quot; approach.  

&lt;br/&gt;&lt;br/&gt;

Here are the exact detailed steps to actually set the clock &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/66-Setting-the-datetime-on-the-Mini-Keychain-Spy-Camcorder.html#extended&quot;&gt;Continue reading &quot;Setting the date/time on the Mini Keychain Spy Camcorder&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 25 Apr 2011 21:57:05 -0400</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/66-guid.html</guid>
    
</item>
<item>
    <title>Backing up cPanel without hitting logout</title>
    <link>http://tech.akom.net/archives/65-Backing-up-cPanel-without-hitting-logout.html</link>
            <category>Linux</category>
    
    <comments>http://tech.akom.net/archives/65-Backing-up-cPanel-without-hitting-logout.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=65</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=65</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    cPanel based hosting presents some challenges for automatic backups - there isn&#039;t an automatic way of creating local backups or any standard way of triggering their creation remotely.  Numerous scripts exist yet none were quite the solution I was looking for - I am primarily interested in the databases and mail forwarders, though files wouldn&#039;t hurt either.  Moreover - you can do this in a single line!

&lt;br/&gt;&lt;br/&gt;

My Goal therefore is: &lt;b&gt;Create and retrieve backups nightly&lt;/b&gt;.  I don&#039;t want cPanel to push files to my off-site box, I&#039;d rather initiate everything remotely and not have to open up access to some other system.  cPanel does permit one to do this using a browser, hence it can be scripted.   Really, scripting isn&#039;t even necessary - &lt;strong&gt;wget&lt;/strong&gt; is all that is required!  That said, I had a very hard time convincing wget not to visit the &lt;strong&gt;logout&lt;/strong&gt; link on each page - once you log out, you&#039;re not getting anywhere anymore.  So here is how I did it. &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/65-Backing-up-cPanel-without-hitting-logout.html#extended&quot;&gt;Continue reading &quot;Backing up cPanel without hitting logout&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Thu, 21 Apr 2011 19:26:57 -0400</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/65-guid.html</guid>
    
</item>
<item>
    <title>MySQL replication dies with fatal error 1236: Client requested master to start replication from impossible position</title>
    <link>http://tech.akom.net/archives/64-MySQL-replication-dies-with-fatal-error-1236-Client-requested-master-to-start-replication-from-impossible-position.html</link>
            <category>Linux</category>
    
    <comments>http://tech.akom.net/archives/64-MySQL-replication-dies-with-fatal-error-1236-Client-requested-master-to-start-replication-from-impossible-position.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=64</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=64</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    This time, my master-master setup stopped replicating with no explanation at all - running &lt;strong&gt;START SLAVE&lt;/strong&gt; yielded no warnings or errors.  Inspecting the log yielded the aforementioned error (on Ubuntu, mysql logs to /var/log/syslog by default):

&lt;br/&gt;

&lt;pre&gt;&lt;blockquote&gt;
[ERROR] Error reading packet from server: Client requested master to start replication from impossible position (
server_errno=1236)
[ERROR] Got fatal error 1236: &#039;Client requested master to start replication from impossible position&#039; from master
when reading data from binary log
[4654]: 110204 10:09:20 [Note] Slave I/O thread exiting, read up to log &#039;mysqld-bin.000742&#039;, position 4274&lt;/blockquote&gt;&lt;/pre&gt;

&lt;br/&gt;

So at first I thought this was a weird bug or a &lt;a href=&quot;http://tech.akom.net/archives/33-MySQL-Master-Master-Replication-over-a-Secure-Stunnel-Connection-SSL.html&quot; title=&quot;I run master-master over stunnel&quot;&gt;stunnel issue&lt;/a&gt;, but looking at &#039;mysqld-bin.000742&#039; on the master it turns out that it&#039;s only 3980 bytes - position 4274 is indeed impossible.  But how did it get this way? &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/64-MySQL-replication-dies-with-fatal-error-1236-Client-requested-master-to-start-replication-from-impossible-position.html#extended&quot;&gt;Continue reading &quot;MySQL replication dies with fatal error 1236: Client requested master to start replication from impossible position&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Fri, 04 Feb 2011 10:33:30 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/64-guid.html</guid>
    
</item>
<item>
    <title>The Eclipse, PDT and Smarty dance</title>
    <link>http://tech.akom.net/archives/63-The-Eclipse,-PDT-and-Smarty-dance.html</link>
            <category>Code and Hacks</category>
    
    <comments>http://tech.akom.net/archives/63-The-Eclipse,-PDT-and-Smarty-dance.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=63</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=63</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    Eclipse is a great developer tool, and I use mine for Java, PHP, and C++.  It actually does all of the above really well, but when it comes to Smarty template Syntax Highlighting, it&#039;s a tale of much suffering.  I honestly am not even asking for any Smarty auto-completion - just pretty colors that tell me when I&#039;m fat-fingering the syntax.

&lt;br/&gt;&lt;br/&gt;

Fortunately there is a solution that appears to work, and here is the currently valid step-by-step &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/63-The-Eclipse,-PDT-and-Smarty-dance.html#extended&quot;&gt;Continue reading &quot;The Eclipse, PDT and Smarty dance&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 24 Jan 2011 16:17:56 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/63-guid.html</guid>
    
</item>
<item>
    <title>Simple flat file site search in PHP/Smarty</title>
    <link>http://tech.akom.net/archives/62-Simple-flat-file-site-search-in-PHPSmarty.html</link>
            <category>Linux</category>
    
    <comments>http://tech.akom.net/archives/62-Simple-flat-file-site-search-in-PHPSmarty.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=62</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=62</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    Sometimes using a real search implementation (Lucene, Sphinx) is just too much.  The particular site I was working on is something like 30 pages, it&#039;s maintained as flat files (Smarty templates, but it&#039;s basically HTML on disk), and it really, really should not require megabytes of code and cron jobs to be able to search it!

&lt;br/&gt;&lt;br/&gt;

That said, this is a simple search solution - it makes a lot of assumptions: &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/62-Simple-flat-file-site-search-in-PHPSmarty.html#extended&quot;&gt;Continue reading &quot;Simple flat file site search in PHP/Smarty&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 19 Jan 2011 17:14:36 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/62-guid.html</guid>
    
</item>
<item>
    <title>Predictable ALSA numbering of USB sound cards</title>
    <link>http://tech.akom.net/archives/61-Predictable-ALSA-numbering-of-USB-sound-cards.html</link>
            <category>Linux</category>
    
    <comments>http://tech.akom.net/archives/61-Predictable-ALSA-numbering-of-USB-sound-cards.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=61</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    I have 3 rather cute Monoprice usb sound cards for use by &lt;strong&gt;&lt;a onclick=&quot;_gaq.push([&#039;_trackPageview&#039;, &#039;/extlink/sourceforge.net/projects/mmpd/&#039;]);&quot;  href=&quot;http://sourceforge.net/projects/mmpd/&quot; title=&quot;MMPD (Multi-mpd client)&quot;&gt;mmpd&lt;/a&gt;&lt;/strong&gt; (client I wrote for multiple mpd instances).   The great thing about them is that for $9 you can just keep adding zones to your music systems.   The bad news is, UDEV will reorder sound cards on boot as it pleases.  

&lt;!-- s9ymdb:208 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;110&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://tech.akom.net/uploads/photos/hardware/soundcard-monoprice.serendipityThumb.jpg&quot; alt=&quot;&quot; /&gt;
&lt;br/&gt;&lt;br/&gt;

Zones changing would be survivable in itself (reboots are rare), but I also have a webcam and an onboard sound card that I don&#039;t use - so sometimes the numbers I&#039;ve configured mpd to use aren&#039;t even valid sound cards!  On to the continuing search for a working solution &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/61-Predictable-ALSA-numbering-of-USB-sound-cards.html#extended&quot;&gt;Continue reading &quot;Predictable ALSA numbering of USB sound cards&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Wed, 12 Jan 2011 10:07:48 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/61-guid.html</guid>
    
</item>
<item>
    <title>Fixing digitemp with LinkUSB on kernels after 2.6.32-24</title>
    <link>http://tech.akom.net/archives/60-Fixing-digitemp-with-LinkUSB-on-kernels-after-2.6.32-24.html</link>
            <category>Linux</category>
    
    <comments>http://tech.akom.net/archives/60-Fixing-digitemp-with-LinkUSB-on-kernels-after-2.6.32-24.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=60</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=60</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    As many people have discovered, kernels after 2.6.32-24 changed the USB-RS232 serial driver to not set hardware flow control (RTS/DTS) flags.   No doubt there was a good reason.   Unfortunately, digitemp and owfs don&#039;t enable it either, also probably for a good reason - at least when applied to older devices.   What this means is that now when you try to use a LinkUSB (and probably other DS9097U type hardware behind USB to Serial converters), digitemp and owfs no longer work.

&lt;br/&gt;&lt;br/&gt;
Let&#039;s apply a time-tested hackish approach.   &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/60-Fixing-digitemp-with-LinkUSB-on-kernels-after-2.6.32-24.html#extended&quot;&gt;Continue reading &quot;Fixing digitemp with LinkUSB on kernels after 2.6.32-24&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 11 Jan 2011 16:28:22 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/60-guid.html</guid>
    
</item>
<item>
    <title>How to take down your pfSense firewall with one checkbox</title>
    <link>http://tech.akom.net/archives/59-How-to-take-down-your-pfSense-firewall-with-one-checkbox.html</link>
            <category>Linux</category>
    
    <comments>http://tech.akom.net/archives/59-How-to-take-down-your-pfSense-firewall-with-one-checkbox.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=59</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=59</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    Simple:  create a Traffic Shaper queue but forget to choose a queue parent.   

&lt;br/&gt;&lt;br/&gt;

Your firewall will not pass any packets across, and you&#039;ll have no idea what hit you. 
    </content:encoded>

    <pubDate>Sat, 01 Jan 2011 16:07:12 -0500</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/59-guid.html</guid>
    
</item>
<item>
    <title>Troubleshooting car heat issues or why stop-leak is a bad idea</title>
    <link>http://tech.akom.net/archives/58-Troubleshooting-car-heat-issues-or-why-stop-leak-is-a-bad-idea.html</link>
            <category>Automotive</category>
    
    <comments>http://tech.akom.net/archives/58-Troubleshooting-car-heat-issues-or-why-stop-leak-is-a-bad-idea.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=58</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=58</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    I got my truck exactly a year ago.  It came complete with stop-leak (the red brick-colored pellets) in the system.  I immediately flushed out all coolant and stop-leak (must have run 100 gallons through the system with a back-flush kit), but I guess that wasn&#039;t enough, as I suddenly found myself without any heat whatsoever.   Now I am not &lt;strong&gt;that&lt;/strong&gt; into heat, but the idea of a sheet of ice on the windshield with no recourse just doesn&#039;t sound like fun.

&lt;br/&gt;&lt;br/&gt;

Since I had to figure out what the issue was step-by-step, I figured I&#039;d write the process down for posterity (read: me, next time).

So here it is... &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/58-Troubleshooting-car-heat-issues-or-why-stop-leak-is-a-bad-idea.html#extended&quot;&gt;Continue reading &quot;Troubleshooting car heat issues or why stop-leak is a bad idea&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 30 Oct 2010 13:16:44 -0400</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/58-guid.html</guid>
    
</item>
<item>
    <title>Asterisk and obfuscated SIP port redirection - calls drop after 20 seconds</title>
    <link>http://tech.akom.net/archives/57-Asterisk-and-obfuscated-SIP-port-redirection-calls-drop-after-20-seconds.html</link>
            <category>Asterisk</category>
    
    <comments>http://tech.akom.net/archives/57-Asterisk-and-obfuscated-SIP-port-redirection-calls-drop-after-20-seconds.html#comments</comments>
    <wfw:comment>http://tech.akom.net/wfwcomment.php?cid=57</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://tech.akom.net/rss.php?version=2.0&amp;type=comments&amp;cid=57</wfw:commentRss>
    

    <author>nospam@example.com (Admin)</author>
    <content:encoded>
    One of my asterisk setups got attacked recently by a brute force script kiddie.   The attack is simple:

&lt;ol&gt;
 &lt;li&gt;Try sequential sip usernames from 1 to 10000, hoping that the admin chose a numeric username scheme&lt;/li&gt;
 &lt;li&gt;If asterisk returns anything but a 401, then perhaps this is a real account, add it to the list&lt;/li&gt;
 &lt;li&gt;If anything is on the list of &quot;possibles&quot;, then brute force their passwords&lt;/li&gt;
&lt;/ol&gt;

&lt;br/&gt;&lt;br/&gt;

&lt;strong&gt;Why this works:&lt;/strong&gt;

&lt;ul&gt;
 &lt;li&gt;Asterisk has no delay for failed logins, so a brute force attack is viable, hundreds of attempts per second are possible.  Not sure what can be done about this&lt;/li&gt;
 &lt;li&gt;The admin didn&#039;t set &lt;b&gt;alwaysauthreject = yes&lt;/b&gt; in sip.conf.  It&#039;s off by default, why???  With this enabled, there is no way to tell if a username is valid from the reject response&lt;/li&gt;
&lt;/ul&gt;

&lt;br/&gt;&lt;br/&gt;

&lt;strong&gt;To deal with this:&lt;/strong&gt; &lt;br /&gt;&lt;a href=&quot;http://tech.akom.net/archives/57-Asterisk-and-obfuscated-SIP-port-redirection-calls-drop-after-20-seconds.html#extended&quot;&gt;Continue reading &quot;Asterisk and obfuscated SIP port redirection - calls drop after 20 seconds&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Tue, 05 Oct 2010 11:31:14 -0400</pubDate>
    <guid isPermaLink="false">http://tech.akom.net/archives/57-guid.html</guid>
    
</item>

</channel>
</rss>
