<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    
    <link href="http://tech.akom.net/feeds/atom10.xml" rel="self" title="Akom's Tech Ruminations" type="application/atom+xml" />
    <link href="http://tech.akom.net/"                        rel="alternate"    title="Akom's Tech Ruminations" type="text/html" />
    <link href="http://tech.akom.net/rss.php?version=2.0"     rel="alternate"    title="Akom's Tech Ruminations" type="application/rss+xml" />
    <title type="html">Akom's Tech Ruminations</title>
    <subtitle type="html">Various tech outbursts - code and solutions to practical problems</subtitle>
    <icon>http://tech.akom.net/templates/default/img/s9y_banner_small.png</icon>
    <id>http://tech.akom.net/</id>
    <updated>2012-01-18T15:05:56Z</updated>
    <generator uri="http://www.s9y.org/" version="1.5.5">Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://tech.akom.net/archives/71-Upgrading-Dell-laptop-memory-and-the-blinking-CAPS-LOCK-led.html" rel="alternate" title="Upgrading Dell laptop memory and the blinking CAPS LOCK led" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2012-01-18T15:05:56Z</published>
        <updated>2012-01-18T15:05:56Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=71</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/5-Hardware-Hacks" label="Hardware Hacks" term="Hardware Hacks" />
    
        <id>http://tech.akom.net/archives/71-guid.html</id>
        <title type="html">Upgrading Dell laptop memory and the blinking CAPS LOCK led</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Apparently if you have the power-on self-tests set to "Minimal" or "Fast" or anything besides the "Let's check everything for 5 minutes every time the machine boots", you'll have a brick with a blinking CAPS lock instead of a laptop once you upgrade memory.

<br/><br/>

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're done you can disable the self-tests.

<br/>
<br/>
(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).   
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/70-Getting-Meetme-to-work-in-Asterisk-1.6-on-Ubuntu-Lucid.html" rel="alternate" title="Getting Meetme to work in Asterisk 1.6 on Ubuntu Lucid" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-11-15T16:57:19Z</published>
        <updated>2011-11-15T17:10:21Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=70</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/7-Asterisk" label="Asterisk" term="Asterisk" />
    
        <id>http://tech.akom.net/archives/70-guid.html</id>
        <title type="html">Getting Meetme to work in Asterisk 1.6 on Ubuntu Lucid</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I'm assuming that you are attempting to use the Meetme() application and getting an error like this:
<br/>
<blockquote>WARNING[10695]: app_meetme.c:1097 build_conf: Unable to open pseudo device
</blockquote>



It's rather simple: 
<br/>

<blockquote><div class="bash geshi" style="text-align: left">$ <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> dahdi dahdi-dkms dahdi-linux &#160;<span style="color: #666666; font-style: italic;">#I think dahdi may be enough</span><br />$ <span style="color: #7a0874; font-weight: bold;">echo</span> dahdi_dummy <span style="color: #000000; font-weight: bold;">&gt;&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>modules<br />$ modprobe dadhi_dummy<br />$ <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #660033;">-l</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>dahdi<span style="color: #000000; font-weight: bold;">/</span>pseudo<br />crw-rw---- <span style="color: #000000;">1</span> root dialout <span style="color: #000000;">196</span>, <span style="color: #000000;">255</span> <span style="color: #000000;">2011</span>-<span style="color: #000000;">11</span>-<span style="color: #000000;">15</span> <span style="color: #000000;">11</span>:<span style="color: #000000;">26</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>dahdi<span style="color: #000000; font-weight: bold;">/</span>pseudo<br />$ <span style="color: #c20cb9; font-weight: bold;">id</span> asterisk<br /><span style="color: #7a0874; font-weight: bold;">&#40;</span>Should include <span style="color: #ff0000;">'dialout'</span> group<span style="color: #7a0874; font-weight: bold;">&#41;</span></div></blockquote>

<br/>
Yay!  Apparently in Asterisk 1.6 the timing source for the Meetme application is no longer ztdummy (fortunately I was unable to use <strong>m-a</strong> to compile zaptel) but rather relies on <strong>DAHDI</strong>, not only for timing but for conference mixing  - see <a onclick="_gaq.push(['_trackPageview', '/extlink/www.russellbryant.net/blog/2008/06/16/asterisk-16-now-with-a-new-timing-api/']);"  href="http://www.russellbryant.net/blog/2008/06/16/asterisk-16-now-with-a-new-timing-api/">http://www.russellbryant.net/blog/2008/06/16/asterisk-16-now-with-a-new-timing-api/</a>

 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/69-Asterisk-CDR-records-s-for-DST-when-Dialing-from-Macros.html" rel="alternate" title="Asterisk CDR records 's' for DST when Dialing from Macros" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-07-22T16:11:09Z</published>
        <updated>2011-07-22T16:27:28Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=69</wfw:commentRss>
    
    
        <id>http://tech.akom.net/archives/69-guid.html</id>
        <title type="html">Asterisk CDR records 's' for DST when Dialing from Macros</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                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 <strong>18005551212</strong>) in the <strong>dst</strong> field of the record, I now have an <strong>s</strong>.  I log my CDR to MySQL and I do use a macro (with AEL) to dialout.  My macro is even called <strong>dialout</strong>.

<br/><br/>
According to <a onclick="_gaq.push(['_trackPageview', '/extlink/issues.asterisk.org/bug_view_advanced_page.php?bug_id=15214']);"  href="https://issues.asterisk.org/bug_view_advanced_page.php?bug_id=15214" title="The Digium Bug">this bug</a>, 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. <br /><a href="http://tech.akom.net/archives/69-Asterisk-CDR-records-s-for-DST-when-Dialing-from-Macros.html#extended">Continue reading "Asterisk CDR records 's' for DST when Dialing from Macros"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/68-Figuring-out-the-card-number-of-a-cheap-SAA7130-capture-card.html" rel="alternate" title="Figuring out the card number of a cheap SAA7130 capture card" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-06-19T13:26:27Z</published>
        <updated>2011-06-19T13:39:00Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=68</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/9-Linux" label="Linux" term="Linux" />
    
        <id>http://tech.akom.net/archives/68-guid.html</id>
        <title type="html">Figuring out the card number of a cheap SAA7130 capture card</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                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 

<code> saa7134[0]: Huh, no eeprom present (err=-5)? </code>

And 

<pre>
<blockquote>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't identify it automatically
saa7134: I feel better now.  Ok, here are the good news:
saa7134: You can use the card=<nr> insmod option to specify
saa7134: which board do you have.  The list:</blockquote>
</pre>

What do you do?  How do you try 175 card numbers and figure out which one works?  Write a script! <br /><a href="http://tech.akom.net/archives/68-Figuring-out-the-card-number-of-a-cheap-SAA7130-capture-card.html#extended">Continue reading "Figuring out the card number of a cheap SAA7130 capture card"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/67-Migrating-one-Gmail-account-to-another.html" rel="alternate" title="Migrating one Gmail account to another" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-05-13T18:50:57Z</published>
        <updated>2011-05-13T19:31:34Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=67</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/4-Code-and-Hacks" label="Code and Hacks" term="Code and Hacks" />
    
        <id>http://tech.akom.net/archives/67-guid.html</id>
        <title type="html">Migrating one Gmail account to another</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                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'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. 

<br/><br/>

So I think I've finally settled on a viable approach that is neither. <br /><a href="http://tech.akom.net/archives/67-Migrating-one-Gmail-account-to-another.html#extended">Continue reading "Migrating one Gmail account to another"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/66-Setting-the-datetime-on-the-Mini-Keychain-Spy-Camcorder.html" rel="alternate" title="Setting the date/time on the Mini Keychain Spy Camcorder" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-04-26T01:57:05Z</published>
        <updated>2012-01-19T15:39:59Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=66</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/5-Hardware-Hacks" label="Hardware Hacks" term="Hardware Hacks" />
    
        <id>http://tech.akom.net/archives/66-guid.html</id>
        <title type="html">Setting the date/time on the Mini Keychain Spy Camcorder</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <div class="serendipity_imageComment_right" style="width: 110px"><div class="serendipity_imageComment_img"><a class='serendipity_image_link' href='http://tech.akom.net/uploads/photos/gadgets/keychain-camcorder.jpg'><!-- s9ymdb:209 --><img class="serendipity_image_right" width="110" height="57"  src="http://tech.akom.net/uploads/photos/gadgets/keychain-camcorder.serendipityThumb.jpg" alt="" /></a></div><div class="serendipity_imageComment_txt">Keychain Camcorder</div></div>

The instructions that come with this little gadget are priceless in their verbatim Chinese glory, but are not helpful in their vague "Leave the details as an exercise for the reader" approach.  

<br/><br/>

Here are the exact detailed steps to actually set the clock <br /><a href="http://tech.akom.net/archives/66-Setting-the-datetime-on-the-Mini-Keychain-Spy-Camcorder.html#extended">Continue reading "Setting the date/time on the Mini Keychain Spy Camcorder"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/65-Backing-up-cPanel-without-hitting-logout.html" rel="alternate" title="Backing up cPanel without hitting logout" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-04-21T23:26:57Z</published>
        <updated>2011-04-21T23:56:19Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=65</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/9-Linux" label="Linux" term="Linux" />
    
        <id>http://tech.akom.net/archives/65-guid.html</id>
        <title type="html">Backing up cPanel without hitting logout</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                cPanel based hosting presents some challenges for automatic backups - there isn'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't hurt either.  Moreover - you can do this in a single line!

<br/><br/>

My Goal therefore is: <b>Create and retrieve backups nightly</b>.  I don't want cPanel to push files to my off-site box, I'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't even necessary - <strong>wget</strong> is all that is required!  That said, I had a very hard time convincing wget not to visit the <strong>logout</strong> link on each page - once you log out, you're not getting anywhere anymore.  So here is how I did it. <br /><a href="http://tech.akom.net/archives/65-Backing-up-cPanel-without-hitting-logout.html#extended">Continue reading "Backing up cPanel without hitting logout"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/64-MySQL-replication-dies-with-fatal-error-1236-Client-requested-master-to-start-replication-from-impossible-position.html" rel="alternate" title="MySQL replication dies with fatal error 1236: Client requested master to start replication from impossible position" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-02-04T15:33:30Z</published>
        <updated>2011-02-04T16:11:38Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=64</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/9-Linux" label="Linux" term="Linux" />
    
        <id>http://tech.akom.net/archives/64-guid.html</id>
        <title type="html">MySQL replication dies with fatal error 1236: Client requested master to start replication from impossible position</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                This time, my master-master setup stopped replicating with no explanation at all - running <strong>START SLAVE</strong> yielded no warnings or errors.  Inspecting the log yielded the aforementioned error (on Ubuntu, mysql logs to /var/log/syslog by default):

<br/>

<pre><blockquote>
[ERROR] Error reading packet from server: Client requested master to start replication from impossible position (
server_errno=1236)
[ERROR] Got fatal error 1236: 'Client requested master to start replication from impossible position' from master
when reading data from binary log
[4654]: 110204 10:09:20 [Note] Slave I/O thread exiting, read up to log 'mysqld-bin.000742', position 4274</blockquote></pre>

<br/>

So at first I thought this was a weird bug or a <a href="http://tech.akom.net/archives/33-MySQL-Master-Master-Replication-over-a-Secure-Stunnel-Connection-SSL.html" title="I run master-master over stunnel">stunnel issue</a>, but looking at 'mysqld-bin.000742' on the master it turns out that it's only 3980 bytes - position 4274 is indeed impossible.  But how did it get this way? <br /><a href="http://tech.akom.net/archives/64-MySQL-replication-dies-with-fatal-error-1236-Client-requested-master-to-start-replication-from-impossible-position.html#extended">Continue reading "MySQL replication dies with fatal error 1236: Client requested master to start replication from impossible position"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/63-The-Eclipse,-PDT-and-Smarty-dance.html" rel="alternate" title="The Eclipse, PDT and Smarty dance" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-01-24T21:17:56Z</published>
        <updated>2011-11-27T16:55:55Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=63</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/4-Code-and-Hacks" label="Code and Hacks" term="Code and Hacks" />
    
        <id>http://tech.akom.net/archives/63-guid.html</id>
        <title type="html">The Eclipse, PDT and Smarty dance</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                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'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'm fat-fingering the syntax.

<br/><br/>

Fortunately there is a solution that appears to work, and here is the currently valid step-by-step <br /><a href="http://tech.akom.net/archives/63-The-Eclipse,-PDT-and-Smarty-dance.html#extended">Continue reading "The Eclipse, PDT and Smarty dance"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/62-Simple-flat-file-site-search-in-PHPSmarty.html" rel="alternate" title="Simple flat file site search in PHP/Smarty" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-01-19T22:14:36Z</published>
        <updated>2011-01-20T16:21:35Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=62</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/9-Linux" label="Linux" term="Linux" />
    
        <id>http://tech.akom.net/archives/62-guid.html</id>
        <title type="html">Simple flat file site search in PHP/Smarty</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                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's maintained as flat files (Smarty templates, but it's basically HTML on disk), and it really, really should not require megabytes of code and cron jobs to be able to search it!

<br/><br/>

That said, this is a simple search solution - it makes a lot of assumptions: <br /><a href="http://tech.akom.net/archives/62-Simple-flat-file-site-search-in-PHPSmarty.html#extended">Continue reading "Simple flat file site search in PHP/Smarty"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/61-Predictable-ALSA-numbering-of-USB-sound-cards.html" rel="alternate" title="Predictable ALSA numbering of USB sound cards" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-01-12T15:07:48Z</published>
        <updated>2011-01-12T15:31:41Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/9-Linux" label="Linux" term="Linux" />
    
        <id>http://tech.akom.net/archives/61-guid.html</id>
        <title type="html">Predictable ALSA numbering of USB sound cards</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I have 3 rather cute Monoprice usb sound cards for use by <strong><a onclick="_gaq.push(['_trackPageview', '/extlink/sourceforge.net/projects/mmpd/']);"  href="http://sourceforge.net/projects/mmpd/" title="MMPD (Multi-mpd client)">mmpd</a></strong> (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.  

<!-- s9ymdb:208 --><img class="serendipity_image_right" width="110" height="110" style="float: right; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://tech.akom.net/uploads/photos/hardware/soundcard-monoprice.serendipityThumb.jpg" alt="" />
<br/><br/>

Zones changing would be survivable in itself (reboots are rare), but I also have a webcam and an onboard sound card that I don't use - so sometimes the numbers I've configured mpd to use aren't even valid sound cards!  On to the continuing search for a working solution <br /><a href="http://tech.akom.net/archives/61-Predictable-ALSA-numbering-of-USB-sound-cards.html#extended">Continue reading "Predictable ALSA numbering of USB sound cards"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/60-Fixing-digitemp-with-LinkUSB-on-kernels-after-2.6.32-24.html" rel="alternate" title="Fixing digitemp with LinkUSB on kernels after 2.6.32-24" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-01-11T21:28:22Z</published>
        <updated>2011-01-20T15:19:06Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=60</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/9-Linux" label="Linux" term="Linux" />
    
        <id>http://tech.akom.net/archives/60-guid.html</id>
        <title type="html">Fixing digitemp with LinkUSB on kernels after 2.6.32-24</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                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'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.

<br/><br/>
Let's apply a time-tested hackish approach.   <br /><a href="http://tech.akom.net/archives/60-Fixing-digitemp-with-LinkUSB-on-kernels-after-2.6.32-24.html#extended">Continue reading "Fixing digitemp with LinkUSB on kernels after 2.6.32-24"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/59-How-to-take-down-your-pfSense-firewall-with-one-checkbox.html" rel="alternate" title="How to take down your pfSense firewall with one checkbox" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2011-01-01T21:07:12Z</published>
        <updated>2011-01-01T21:07:12Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=59</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/9-Linux" label="Linux" term="Linux" />
    
        <id>http://tech.akom.net/archives/59-guid.html</id>
        <title type="html">How to take down your pfSense firewall with one checkbox</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Simple:  create a Traffic Shaper queue but forget to choose a queue parent.   

<br/><br/>

Your firewall will not pass any packets across, and you'll have no idea what hit you. 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/58-Troubleshooting-car-heat-issues-or-why-stop-leak-is-a-bad-idea.html" rel="alternate" title="Troubleshooting car heat issues or why stop-leak is a bad idea" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2010-10-30T17:16:44Z</published>
        <updated>2010-10-30T18:02:52Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=58</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/10-Automotive" label="Automotive" term="Automotive" />
    
        <id>http://tech.akom.net/archives/58-guid.html</id>
        <title type="html">Troubleshooting car heat issues or why stop-leak is a bad idea</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                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't enough, as I suddenly found myself without any heat whatsoever.   Now I am not <strong>that</strong> into heat, but the idea of a sheet of ice on the windshield with no recourse just doesn't sound like fun.

<br/><br/>

Since I had to figure out what the issue was step-by-step, I figured I'd write the process down for posterity (read: me, next time).

So here it is... <br /><a href="http://tech.akom.net/archives/58-Troubleshooting-car-heat-issues-or-why-stop-leak-is-a-bad-idea.html#extended">Continue reading "Troubleshooting car heat issues or why stop-leak is a bad idea"</a>
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://tech.akom.net/archives/57-Asterisk-and-obfuscated-SIP-port-redirection-calls-drop-after-20-seconds.html" rel="alternate" title="Asterisk and obfuscated SIP port redirection - calls drop after 20 seconds" />
        <author>
            <name>Admin</name>
                    </author>
    
        <published>2010-10-05T15:31:14Z</published>
        <updated>2010-10-05T19:38:20Z</updated>
        <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=atom1.0&amp;type=comments&amp;cid=57</wfw:commentRss>
    
            <category scheme="http://tech.akom.net/categories/7-Asterisk" label="Asterisk" term="Asterisk" />
    
        <id>http://tech.akom.net/archives/57-guid.html</id>
        <title type="html">Asterisk and obfuscated SIP port redirection - calls drop after 20 seconds</title>
        <content type="xhtml" xml:base="http://tech.akom.net/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                One of my asterisk setups got attacked recently by a brute force script kiddie.   The attack is simple:

<ol>
 <li>Try sequential sip usernames from 1 to 10000, hoping that the admin chose a numeric username scheme</li>
 <li>If asterisk returns anything but a 401, then perhaps this is a real account, add it to the list</li>
 <li>If anything is on the list of "possibles", then brute force their passwords</li>
</ol>

<br/><br/>

<strong>Why this works:</strong>

<ul>
 <li>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</li>
 <li>The admin didn't set <b>alwaysauthreject = yes</b> in sip.conf.  It's off by default, why???  With this enabled, there is no way to tell if a username is valid from the reject response</li>
</ul>

<br/><br/>

<strong>To deal with this:</strong> <br /><a href="http://tech.akom.net/archives/57-Asterisk-and-obfuscated-SIP-port-redirection-calls-drop-after-20-seconds.html#extended">Continue reading "Asterisk and obfuscated SIP port redirection - calls drop after 20 seconds"</a>
            </div>
        </content>
        
    </entry>

</feed>
