<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>/dev/BioS</title>
	<atom:link href="http://devbios.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://devbios.wordpress.com</link>
	<description>Freakin&#039; this World</description>
	<lastBuildDate>Fri, 13 Jan 2012 13:34:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='devbios.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>/dev/BioS</title>
		<link>http://devbios.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://devbios.wordpress.com/osd.xml" title="/dev/BioS" />
	<atom:link rel='hub' href='http://devbios.wordpress.com/?pushpress=hub'/>
		<item>
		<title>SSL Funambol on Android without adding Certificates</title>
		<link>http://devbios.wordpress.com/2011/12/26/ssl-funambol-on-android-without-adding-certificates/</link>
		<comments>http://devbios.wordpress.com/2011/12/26/ssl-funambol-on-android-without-adding-certificates/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 20:36:33 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[funambol]]></category>
		<category><![CDATA[funambol certificate]]></category>
		<category><![CDATA[funambol ssl]]></category>
		<category><![CDATA[keystore]]></category>
		<category><![CDATA[no certificate]]></category>
		<category><![CDATA[no peer certificate]]></category>
		<category><![CDATA[no ssl]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">https://devbios.wordpress.com/?p=145</guid>
		<description><![CDATA[Recently I wrote a blog entry about how to add a root certificate to your rooted android keystore for using SSL funambol. This works perfectly as long as you have root access to the device. Sometimes you come into the situation where you cannot root the device, eg. in a corporate environment or if you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=145&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently I wrote a blog entry about how to add a root certificate to your rooted android keystore for using SSL funambol.<br />
This works perfectly as long as you have root access to the device.</p>
<p>Sometimes you come into the situation where you cannot root the device, eg. in a corporate environment or if you just don&#8217;t want to crack a new device just to make the funambol client working, like me for now.</p>
<p>I&#8217;ve got a new Motorola Xoom and needed funambol to sync my contacts and calendar entries.</p>
<p>After asking Mr. Google there are only 2 ways till Android 4.x is ready:</p>
<ul>
<li>Using http without ssl</li>
</ul>
<ul>
<li>Using ssl and recode the funambol client to accept all cert&#8217;s</li>
</ul>
<p>I decided to use the 2nd solution &#8211; this also refreshes my java a little bit :-)</p>
<p>Of course i want to share everything with you &#8211; if you&#8217;re too lazy to read all the stuff you can point your Android client here to install my compiled Funambol 10.0.8 client without the certificate check:</p>
<p><a href="http://www.divshare.com/download/16463586-316" target="_blank">funambol-android-client-10.0.8-devBioS.apk</a></p>
<p><span id="more-145"></span></p>
<p><strong>Please t</strong><strong>ake special care that you use the correct version numbers mentioned, e.g don&#8217;t accidently use the JDK 1.7 like me the first time, it will fail ;)</strong></p>
<p>This readme has perfectly everything that you need to setup a fully working android development environment:</p>
<p><a href="http://pastebin.com/msZFGzAu" target="_blank">Funambol Android ReadMe.txt</a></p>
<p>I used the Android SDK 2.1 API v.7 (selected in the Android SDK Manager) and the SVN source from here: <a href="https://android-client.forge.funambol.org/svn/android-client/tags/10.0.8" target="_blank">https://android-client.forge.funambol.org/svn/android-client/tags/10.0.8</a></p>
<p>Login with user guest without a password when asked.<br />
Follow all the steps in the ReadMe, <strong>i changed to following to the get the client to compile:</strong></p>
<p>Note that i installed the android sdk and javacc to C:\Android\&#8230;</p>
<p>Change the build.xml around line 10, replace</p>
<blockquote><p>&lt;property file=&#8221;${user.home}/funambol/build/android/build.properties&#8221;/&gt;</p></blockquote>
<p>with</p>
<blockquote><p>&lt;property file=&#8221;${basedir}/build.properties&#8221;/&gt;</p></blockquote>
<p>around line 54, replace</p>
<blockquote><p>&lt;property name=&#8221;android-tools-platform&#8221; value=&#8221;${sdk-folder-platform}/tools&#8221;/&gt;</p></blockquote>
<p>with</p>
<blockquote><p>&lt;property name=&#8221;android-tools-platform&#8221; value=&#8221;${sdk-folder}/platform-tools&#8221;/&gt;</p></blockquote>
<p>Copy the build.properties.example and set the following variables, according to your path, be careful with the forward slashes even for windows:</p>
<blockquote><p>sdk-folder=C:/Android/android-sdk<br />
android.sdk.version=7<br />
javacchome=C:/Android/javacc-4.0</p></blockquote>
<p>This should allow you to run &#8220;ant&#8221; as stated in the ReadMe.txt and successfully compile a debug version, test to your liking with &#8220;ant install&#8221; if it is working.</p>
<p>Now on to the changes that i did, kudos to <a href="http://www.google.com/codesearch#HWjuhIdT4ps/trunk/src/org/transdroid/util/FakeSocketFactory.java&amp;q=fake%20package:http://transdroid%5C.googlecode%5C.com&amp;sq=&amp;ct=rc&amp;cd=1">transdroid.org</a> for writing the 2 Fake classes:</p>
<p><strong>Add</strong> the following files in &lt;funambol source&gt;\externals\java-sdk\common\src\main\java-se-android\com\funambol\platform (take care, CaSe SeNsItIvE!)</p>
<p><a href="http://pastebin.com/wGVQWqZy">FakeSocketFactory.java</a></p>
<p><a href="http://pastebin.com/Cf8JHf0m">FakeTrustManager.java</a></p>
<p><strong><br />
Change</strong> HttpConnectionAdapter.java (same path &#8230;. platform) around line 227:</p>
<blockquote><p>schemeRegistry.register(new Scheme(&#8220;https&#8221;, SSLSocketFactory.getSocketFactory(), 443));</p></blockquote>
<p>with</p>
<blockquote><p>schemeRegistry.register(new Scheme(&#8220;https&#8221;,new FakeSocketFactory(), 443));</p></blockquote>
<p>Again run ant and ant install and test if the funambol client works <strong>without</strong> certificate problems.</p>
<p>Now we need to create a release version that is signed, i used a tutorial from here:<br />
<a href="http://developer.android.com/guide/publishing/app-signing.html">http://developer.android.com/guide/publishing/app-signing.html</a></p>
<p>After creating a keystore, change the build.properties again,</p>
<p>add</p>
<blockquote><p>keystore.file=C:/Path/To/Your/Keystore-release-key.keystore<br />
keystore.alias=youralias<br />
keystore.password=Password &#8211; changeme ;)</p></blockquote>
<p>Run &#8220;ant release&#8221; aaaaaand</p>
<p>Now you have an fully working new funambol client <strong>without</strong> the certificate check but still with SSL encryption!</p>
<p>Have Phun ^^</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/145/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/145/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/145/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=145&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2011/12/26/ssl-funambol-on-android-without-adding-certificates/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding Root Certificates to Android Phone with root access</title>
		<link>http://devbios.wordpress.com/2011/08/23/adding-root-certificates-to-android-phone-with-root-access/</link>
		<comments>http://devbios.wordpress.com/2011/08/23/adding-root-certificates-to-android-phone-with-root-access/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 20:24:35 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[funambol]]></category>
		<category><![CDATA[no peer certificate]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://devbios.wordpress.com/?p=142</guid>
		<description><![CDATA[Yeah, after being really busy with my real life, here is another intresting trick for you: How to get some more root certificates on an android phone where you have root acces (or, at least, you can start &#38; use root explorer). Some background info: I use a funabol community server to keep my phone&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=142&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Yeah, after being really busy with my real life, here is another intresting trick for you:</p>
<p>How to get some more root certificates on an android phone where you have root acces (or, at least, you can start &amp; use root explorer).</p>
<p>Some background info:<br />
I use a funabol community server to keep my phone&#8217;s and outlook&#8217;s in sync and recently my colleague sven did a great job converting my HTC HD2 with winmobile to Android 2.x (kudo&#8217;s to him! thanks!).</p>
<p><em><strong>Update on 2011-12-27</strong>: I changed the client to<strong> allow self-signed</strong> certificates: <a href="http://devbios.wordpress.com/2011/12/26/ssl-funambol-on-android-without-adding-certificates/">here</a></em></p>
<p>The challenge is that if you use funabol with self signed ssl certificates you need to get those recognized by android which is a really complicated task if you don&#8217;t know how.  But here we go:</p>
<p>What you need before (and what i don&#8217;t describe):</p>
<ul>
<li>a rooted phone + root explorer. You NEED to be able to write to /etc/security/ in &#8220;RW&#8221; mode.</li>
<li>a working funambol installation with ssl configured (see here: <a href="http://wiki.ow2.org/sync4j/Wiki.jsp?page=HowtouseHttps" target="_blank">http://wiki.ow2.org/sync4j/Wiki.jsp?page=HowtouseHttps</a>)</li>
</ul>
<p>Our steps include:</p>
<ol>
<li>Export the certificate out of the funambol java keystore</li>
<li>Get the cacert.bks from the android device</li>
<li>modify the cacerts.bks of android</li>
<li>reboot and finished</li>
</ol>
<p>Step 1 &#8211; Export the funambol certificate</p>
<ul>
<li>Execute  &#8220;%JAVA_HOME%\bin\keytool -export -alias tomcat -file myroot.cer&#8221;  (in-detail like <a href="http://wiki.ow2.org/sync4j/Wiki.jsp?page=HowtouseHttps" target="_blank">here</a>)</li>
<li>copy the myroot.cer to the SD-Card of the android device (or download to another computer)</li>
</ul>
<p>Step 2</p>
<ul>
<li>insert the SD-Card to the android device, startup root explorer and navigate to /etc/security/</li>
<li>copy the file cacert.bks</li>
<li>navigate to /sd-card and paste the file</li>
<li>insert to another computer</li>
<li>Go and execute the <a href="http://portecle.sourceforge.net/" target="_blank">Portecle Keytool</a> and open the cacerts.bks from your SD-Card</li>
<li>When promtes for a password, just hit enter</li>
<li>go to Tools -&gt; Import Key Pair   and select your myroot.cer, give it any name you want</li>
<li>save the cacerts.bks</li>
<li>re-insert the SD-Card to android device</li>
<li>open up root explorer, head to /sd-card, copy, paste to /etc/security/</li>
<li><strong>make sure root explorer show &#8220;mounted as r/w&#8221; in the header of the program.</strong></li>
<li>set permissions of the newly copied cacert.bks to rw-r&#8211;r&#8211; (owner,group,other: read     owner:write)</li>
</ul>
<p>Step 3</p>
<ul>
<li>double check if the permissions of cacerts.bks are set correctly to rw-r&#8211;r&#8211;</li>
<li>restart the phone</li>
<li>funambol sync should now complete.</li>
</ul>
<p>Have phun to be in sync!</p>
<p>P.S. Keep in touch! the next xbee&#8217;s blogpost&#8217;s are half-way written, but i really don&#8217;t have time ATM&#8230; sry</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=142&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2011/08/23/adding-root-certificates-to-android-phone-with-root-access/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>
	</item>
		<item>
		<title>QuickFix: IE8 hangup opening intranet pages</title>
		<link>http://devbios.wordpress.com/2011/04/11/quickfix-ie8-hangup-opening-intranet-pages/</link>
		<comments>http://devbios.wordpress.com/2011/04/11/quickfix-ie8-hangup-opening-intranet-pages/#comments</comments>
		<pubDate>Mon, 11 Apr 2011 14:53:12 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[do not open intranet]]></category>
		<category><![CDATA[hangup]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[intranet]]></category>

		<guid isPermaLink="false">http://devbios.wordpress.com/?p=136</guid>
		<description><![CDATA[Something that i always hate is when there is no update and a product stop&#8217;s working so i cannot do my work anymore. In this case i (am forced to) use Internet Explorer to open up several intranet pages that allowed me to do my administration work. The problem sums like this: Google, and everything [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=136&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Something that i always hate is when there is no update and a product stop&#8217;s working so i cannot do my work anymore.</p>
<p>In this case i (am forced to) use Internet Explorer to open up several intranet pages that allowed me to do my administration work.</p>
<p>The problem sums like this:</p>
<ul>
<li>Google, and everything else on &#8220;the internet&#8221; works seemless</li>
<li>opening something internal just hang up IE8 for a couple of minutes and then just stop loading without an error</li>
<li>Same in FireFox with IETab installed</li>
<li>same in IE 7 + IE 8 64 bit and 32 bit</li>
</ul>
<p>The solution is as easy as stupid:</p>
<p>In &#8220;Internet Options&#8221;  -&gt; &#8220;Security&#8221; the &#8220;Local Intranet&#8221; is set up with <strong>disabled &#8220;Protected Mode&#8221;.<br />
Enabling it fixed</strong> the Problem instantly for IE8, IE7 and Firefox with IETab.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/136/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/136/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/136/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=136&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2011/04/11/quickfix-ie8-hangup-opening-intranet-pages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>
	</item>
		<item>
		<title>Weekend Project: Connect a letterbox to Jabber with XBee</title>
		<link>http://devbios.wordpress.com/2010/05/16/weekend-project-connect-a-letterbox-to-jabber-with-xbee/</link>
		<comments>http://devbios.wordpress.com/2010/05/16/weekend-project-connect-a-letterbox-to-jabber-with-xbee/#comments</comments>
		<pubDate>Sun, 16 May 2010 17:05:11 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[atmel]]></category>
		<category><![CDATA[attiny]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[letterbox]]></category>
		<category><![CDATA[mesh networking]]></category>
		<category><![CDATA[XBEE]]></category>
		<category><![CDATA[ZIGBEE]]></category>

		<guid isPermaLink="false">http://devbios.wordpress.com/?p=92</guid>
		<description><![CDATA[As i promised this is my first XBee Project. I just needed a more or less useful application i can &#8220;test&#8221; the XBee&#8217;s in a real environment. It is in my nature to do crazy things, so i thought it would be really cool to have a notification Jabber Message to my Phone when someone put [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=92&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As i promised this is my first XBee Project. I just needed a more or less useful application i can &#8220;test&#8221; the XBee&#8217;s in a real environment.</p>
<p>It is in my nature to do crazy things, so i thought it would be really cool to have a notification Jabber Message to my Phone when someone put some letters for me in my letterbox. Here it is ;)</p>
<p><strong><span style="color:#ff0000;">01-08-2010 Update:<br />
The FTDI Chip gives me A fscking LOT PAIN more to come in the next Post. DO NOT USE IT :)</span></strong></p>
<p>This is my Setup:</p>
<ul>
<li>XBee &#8220;Coordinator&#8221; API Mode <span style="text-decoration:line-through;">connected through a FTDI USB Chip to a linux box</span></li>
<li>XBee &#8220;End Device&#8221; Interfaced with an Atmel ATTiny13v power by two 1.5v AA Batteries</li>
<li>Perl XBee Module API.pm from Thomas Jager</li>
<li>Jabber Perl Modules to enable sending messages</li>
<li>Siemens S685IP DECT Phone that can recieve Jabber messages</li>
</ul>
<p>Before you read further you should note that i flashed the ZIGBEE firmware (XB24-ZB) API on my XBee&#8217;s because i don&#8217;t want to miss the mesh feature.</p>
<p><strong>This Setup now runs with 2x Alkaline Batterys in the End-Device for 4 weeks now, and is still running!</strong></p>
<p><span id="more-92"></span></p>
<p><em><strong>&#8211; This setup is not the best-power saving setup &#8211;</strong></em></p>
<p>I wanted my XBee to use only PIN HIBERNATE as Sleep-Mode and activate by the ATTiny.<br />
This didn&#8217;t always work, maybe i will change the Setup later to use PIN HIBERNATE together with CTS Line to determine when we are &#8220;Clear to Send&#8221;&#8230;</p>
<h2>Coordinator:</h2>
<p>The coordinator is the middle of my Network. To the Coordinator End-Devices and Routers can connect.<br />
There can be always only one coordinator in a Network.<br />
My coordinator is interfaced with an FTDI Chip for easy connection to a USB enabled Computer.</p>
<p>The FTDI i used is an FT232BL and needs some external components to work, including a 6Mhz XTAL, see the schematics for more information.</p>
<p>Coordinator config (X-CTU):<br />
<em>-Networking-</em><br />
ID: 001<br />
SC: 1<br />
<em>-Addressing-</em><br />
DH: 0<br />
DL: 0<br />
NI: COORDINATOR<br />
<em>-Serial Interfacing-</em><br />
D7: 0<br />
AP: 1<br />
<em>-Sleep Mode-<br />
</em>SM: 5<br />
ST: 1338<br />
<em>-IO Settings-</em><br />
D1: 3<br />
P0: 0<br />
<em>- I/O Sampling-</em><br />
IC: 2<br />
V+: FFFF</p>
<p>Optionally you can add encryption by i don&#8217;t post my Settings here :)</p>
<p>Schematics:<br />
<a href="http://devbios.files.wordpress.com/2010/05/xbeeftdi.jpg"><img class="alignnone size-medium wp-image-116" title="xbee 2 ftdi" src="http://devbios.files.wordpress.com/2010/05/xbeeftdi.jpg?w=300&#038;h=146" alt="" width="300" height="146" /></a></p>
<h2>End-Device:</h2>
<p>The end-device is physically stored outside, power-driven by 2x 1.5V AA Batteries, and also connected to an ATTiny.<br />
The ATTiny is not really required but i can control the behaviour of the XBee better.</p>
<p>In fact the ATTiny recognizes the letterbox-opening with an switch and does<br />
1. recover the XBee from sleep by switching SLEEP_RQ on the XBee<br />
2. switching the DIO1 line of the XBee to make it send a digital sample to the coordinator.</p>
<p>End-Device Config (X-CTU):<br />
<em>-Networking-</em><br />
ID: 001<br />
SC: 1<br />
<em>-Addressing-</em><br />
DH: 0<br />
DL: 0<br />
NI: LETTERBOX<br />
<em>-Serial Interfacing-</em><br />
AP: 1<br />
AO: 1</p>
<p><strong>Schematics:<br />
<a href="http://devbios.files.wordpress.com/2010/05/xbeeattiny.jpg"><img class="alignnone size-medium wp-image-117" title="xbee 2 attiny 4 letterbox" src="http://devbios.files.wordpress.com/2010/05/xbeeattiny.jpg?w=300&#038;h=185" alt="" width="300" height="185" /></a></strong></p>
<p><strong>ATTiny Code:<br />
</strong>- please note i used BASCOM here, feel free to translate to ASM or avr-c -</p>
<blockquote><p>$regfile = &#8220;attiny13.dat&#8221;<br />
$crystal = 1200000</p>
<p>Config Portb.3 = Output<br />
Config Portb.4 = Output<br />
Config Portb.1 = Input<br />
Enable Int0<br />
Config Int0 = Low Level</p>
<p>Enable Interrupts</p>
<p>On Int0 Goon</p>
<p>&#8216;high = Xbee Sleep<br />
Portb.3 = 1<br />
&#8216;high = no current draw<br />
Portb.4 = 1</p>
<p>Do<br />
   NOP<br />
   Powerdown<br />
Loop</p>
<p>End<br />
&#8216;Label we jump to when the Opener is open ;)<br />
Goon:<br />
Disable Int0</p>
<p>&#8216;Letterbox opened, go ahead<br />
&#8216;Activate XBEE<br />
Portb.3 = 0</p>
<p>&#8216;Push Sample-Line Low<br />
Portb.4 = 0</p>
<p>Wait 10</p>
<p>&#8216;Waitms 100<br />
&#8216;Send Sample<br />
Portb.4 = 1</p>
<p>Wait 1<br />
&#8216;Xbee Shutdown<br />
Portb.3 = 1</p>
<p>&#8216;If someone put a Press in and the Opener Stays open<br />
&#8216;we don&#8217;t want to get a message every 10 seconds :)<br />
Do<br />
   Wait 1<br />
Loop Until Pinb.1 = 1</p>
<p>Enable Int0</p>
<p>Return<br />
Return</p></blockquote>
<h2>Xbee2Jabber on the Linux Host</h2>
<p>As written before the Coordinator is connected to this host and is running some flavor of linux.<br />
I used a Pre-written Perl Module that i extended to accept the XBee Explicit RX framing.</p>
<p>Please note i just extended the Library that i can get the sampling things out of the different Frame not to use anyting other.<br />
If you want more please extend it on your own.</p>
<p>Get the Code here: <a href="http://www.divshare.com/download/11390948-788">http://www.divshare.com/download/11390948-788</a></p>
<p>Please note that Thomas Jager wrote the whole library and i just changed it.<br />
Have a look here to get his original code: <a href="http://jager.no/projects/xbee">http://jager.no/projects/xbee</a></p>
<p>Have Phun, maybe the next time i will hook up my toilet to the internet ^^</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=92&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2010/05/16/weekend-project-connect-a-letterbox-to-jabber-with-xbee/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>

		<media:content url="http://devbios.files.wordpress.com/2010/05/xbeeftdi.jpg?w=300" medium="image">
			<media:title type="html">xbee 2 ftdi</media:title>
		</media:content>

		<media:content url="http://devbios.files.wordpress.com/2010/05/xbeeattiny.jpg?w=300" medium="image">
			<media:title type="html">xbee 2 attiny 4 letterbox</media:title>
		</media:content>
	</item>
		<item>
		<title>Evening Project: The Brain Machine</title>
		<link>http://devbios.wordpress.com/2010/05/16/evening-project-the-brain-machine/</link>
		<comments>http://devbios.wordpress.com/2010/05/16/evening-project-the-brain-machine/#comments</comments>
		<pubDate>Sun, 16 May 2010 15:52:02 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[atmel]]></category>
		<category><![CDATA[attiny]]></category>
		<category><![CDATA[brain machine]]></category>
		<category><![CDATA[brainwave]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[electronics]]></category>
		<category><![CDATA[make zine]]></category>
		<category><![CDATA[slm]]></category>

		<guid isPermaLink="false">http://devbios.wordpress.com/?p=104</guid>
		<description><![CDATA[Recently, well 1 year ago, i readed in The Make Zine about a Project called &#8220;The Brain Machine&#8221;. This is a modified Atmel circuit that claims: &#8220;Get altered states of consciousness with this microcontroller-driven sound and light device.&#8221; by Mitch Altman. I really enjoyed listening to the Videos and wanted to try it myself, just because it [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=104&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, well 1 year ago, i readed in The Make Zine about a Project called <a href="http://makezine.com/10/brainwave/" target="_blank">&#8220;The Brain Machine&#8221;</a>.</p>
<p>This is a modified Atmel circuit that claims: &#8220;Get altered states of consciousness with this microcontroller-driven sound and light device.&#8221; by Mitch Altman.<br />
<a href="http://devbios.files.wordpress.com/2010/05/16052010253.jpg"><img class="alignnone size-thumbnail wp-image-112" title="SLM" src="http://devbios.files.wordpress.com/2010/05/16052010253.jpg?w=150&#038;h=112" alt="" width="150" height="112" /></a></p>
<p><span id="more-104"></span></p>
<p>I really enjoyed listening to the Videos and wanted to try it myself, just because it looks so funny to sit there with brainlooping  glasses in your face :)</p>
<p>So i decided to rebuild the whole Project but without the extra led&#8217;s that were original and without the Serial Connector because i have a Parallel ISP Interface for the Atmel Microcontrollers.</p>
<p>Download the firmware and instructions here:<br />
<a href="http://www.tvbgone.com/cfe_mfaire.php">http://www.tvbgone.com/cfe_mfaire.php</a><br />
(Scroll to &#8220;Project: Make your own Brain Machine (from MAKE Magazine #10)&#8221;)</p>
<p>I used these Schematics without all the Serial Stuff:<br />
<a href="http://devbios.files.wordpress.com/2010/05/slm.jpg"><img class="alignnone size-medium wp-image-109" title="slm schematics" src="http://devbios.files.wordpress.com/2010/05/slm.jpg?w=300&#038;h=290" alt="" width="300" height="290" /></a></p>
<p>This device really rocks you into some deep trance state when you want it :))</p>
<p>All credits go to Mitch Altman.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=104&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2010/05/16/evening-project-the-brain-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>

		<media:content url="http://devbios.files.wordpress.com/2010/05/16052010253.jpg?w=150" medium="image">
			<media:title type="html">SLM</media:title>
		</media:content>

		<media:content url="http://devbios.files.wordpress.com/2010/05/slm.jpg?w=300" medium="image">
			<media:title type="html">slm schematics</media:title>
		</media:content>
	</item>
		<item>
		<title>Sick My XBEE</title>
		<link>http://devbios.wordpress.com/2010/04/10/sick-my-xbee/</link>
		<comments>http://devbios.wordpress.com/2010/04/10/sick-my-xbee/#comments</comments>
		<pubDate>Sat, 10 Apr 2010 19:14:39 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[115200 baud]]></category>
		<category><![CDATA[no response from modem]]></category>
		<category><![CDATA[XBEE]]></category>
		<category><![CDATA[xbee firmware]]></category>

		<guid isPermaLink="false">http://devbios.wordpress.com/?p=80</guid>
		<description><![CDATA[This is the Story i had the last weekend with some cool Chips named &#8220;XBEE&#8221;. These Chips are intelligent RS-232 -&#62; Wireless sender and reciever who can stickt together to a so called mesh network. First i have to tell the terminology: &#8220;Coordinator&#8221; &#8211; is the Main Boss of the Network, who coordinates everything &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=80&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the Story i had the last weekend with some cool Chips named &#8220;XBEE&#8221;.<br />
These Chips are intelligent RS-232 -&gt; Wireless sender and reciever who can stickt together to a so called mesh network.</p>
<p>First i have to tell the terminology:<br />
&#8220;Coordinator&#8221; &#8211; is the Main Boss of the Network, who coordinates everything &#8211; and let routers and endpoints connect<br />
&#8220;Router&#8221; &#8211; is a endpoint but can route packets and other endpoints can connect to it.<br />
&#8220;End Device&#8221; &#8211; is a endpoint but noone can conenct to it &#8211; it is designed to save energy and run from batteries.</p>
<p>Mesh Networking is really fantastic because you can have a coordinator (&#8220;middle&#8221;) which is connected to routers and end devices, and is &#8220;self-healing&#8221; this means if a router is powered off, packets get automatically routed through another reachable router &#8211; so packets can arrive to their destination.<br />
If a Enddevice don&#8217;t have a connection to a router or the coordinator, put a router in between and it will connect seamless <strong>without configuring routing or anything manually</strong>.</p>
<p>More about the theory you can find in the references section at the end of my Post.</p>
<p>Okay, first a Picture of my actual &#8220;Setup&#8221; then the painful story :)</p>
<p><a href="http://devbios.files.wordpress.com/2010/03/dsc05360.jpg"><img class="alignnone size-medium wp-image-81" title="XBEE Breadboard" src="http://devbios.files.wordpress.com/2010/03/dsc05360.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p><span id="more-80"></span></p>
<p>First of all i wanted to see if i can interface with the XBEE&#8217;s, so i took a MAX232 5v serial transciver out of my inventory and connected Tx,GND to the xbee.<br />
Rx i connected with with a voltage divider (german: Spannungsteiler) because it came in with 5v and the Xbee only like 3,3v.</p>
<p>Looked everything well, started X-CTU (xbee config software), got a reply and can change values in the configurtion.</p>
<p>GREAT i thought, while reading the documentation i see i need to flash the firmware of one Xbee to get a Coordinator so i can connect the other Xbee to it.</p>
<p>So readed so done, selected &#8220;ZNet 2.5 Coordinator AT&#8221; in X-CTU, and clicked WRITE.</p>
<p>X-CTU is giving me the following output:</p>
<p>&#8220;Entering command mode&#8230;<br />
No response from Modem&#8230;<br />
&#8220;</p>
<p>Damn i thought!</p>
<p>The Xbee looks now damaged as i cannot connect to it anymore &#8211; resetting power helped me :)</p>
<p>Anything gone wrong, i readed the documentation again and saw that i need to connect RTS and DTE.</p>
<p>Tried again, <strong>don&#8217;t work</strong>, interchanging cables, <strong>don&#8217;t work</strong>.<br />
I tried interchanging the cables in all possible ways for about 8 fscking hours but nothing helped me.</p>
<p>I can connect to the xbee and change values but i don&#8217;t get an other firmware on it.</p>
<p>For this day i was so angry that i gone to bed :o) I thought, new day new chance&#8230;</p>
<p>So new day in the morning first i installed an free Serial Sniffer so i can see what&#8217;s going on.<br />
Communication is fine before it tries to flash then it invokes a command to flash and it looks like the chip is responsing binary bullshit.</p>
<p>I readed the documentation again and saw that i can enter the bootloader manually by Setting DTE, DIN (serial break) to low and RTS to high.<br />
Tried that and i can enter the bootloader (you see this monitoring the CTS signal, if off it is in bootloader mode)</p>
<p>HAH! The same binary bullshit!</p>
<p>Now i have two possibilities:<br />
- the Bootloader speaks binary bullshit  (against the documentation which says it should respond with &#8220;BL &gt;&#8221;) or<br />
- there is some problem with the communication</p>
<p> I see the bootloader only works at 115200bps &#8211; that gave me finally the trick.</p>
<p>The 5v Max232 with the connected voltage divider seems to get the high-low and low-high transition not correct at 115200 baud &#8211; 9600, 19200 etc no problem, <strong>but 115200 is too fast for a voltage divider &#8211; at least mine</strong>.<br />
I found a ADM2032 in my inventory after long search and hooked that up to the Xbee.</p>
<p>Immediately it flashed the Xbee without ANY problems!<br />
Damn, whole Saturday for such an easy problem gone :(</p>
<p>After i solved this issue i had to fight with the Xbee&#8217;s as they didn&#8217;t associate.</p>
<p>Final solution was that i flashed the ZIGBEE firmware which looks to me more robust and also is recommended by Digi and now everything looks like a charm. ;)))</p>
<p>Have fun, and update your Xbees to the latest ZIGBEE firmware as described here: <a href="http://ftp1.digi.com/support/documentation/upgradingfromznettozb.pdf">ZNet 2.5 to ZB Migration Instructions</a></p>
<p>More on the Xbee&#8217;s to come&#8230; ;)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/80/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/80/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/80/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=80&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2010/04/10/sick-my-xbee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>

		<media:content url="http://devbios.files.wordpress.com/2010/03/dsc05360.jpg?w=300" medium="image">
			<media:title type="html">XBEE Breadboard</media:title>
		</media:content>
	</item>
		<item>
		<title>Multi-Boot USB Thumb Drive</title>
		<link>http://devbios.wordpress.com/2010/02/14/multi-boot-usb-thumb-drive/</link>
		<comments>http://devbios.wordpress.com/2010/02/14/multi-boot-usb-thumb-drive/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 23:34:29 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Backtrack]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[grub4dos]]></category>
		<category><![CDATA[Hiren boot cd]]></category>
		<category><![CDATA[Multi Boot USB Thumb]]></category>
		<category><![CDATA[usb multi boot]]></category>

		<guid isPermaLink="false">http://devbios.wordpress.com/?p=44</guid>
		<description><![CDATA[Ever thought it might be cool to only have an USB-Stick where all your individual security / pentest / recovery / hack-a-tack bootdiscs can be booted? I thought so! Crawling the Internet looks promising and shows two different ways how to get an bootdisc on your USB thumbdrive: Booting a bootdisc as ISO stored on the drive [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=44&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ever thought it might be cool to only have an USB-Stick where all your individual security / pentest / recovery / hack-a-tack bootdiscs can be booted?</p>
<p>I thought so!</p>
<p>Crawling the Internet looks promising and shows two different ways how to get an bootdisc on your USB thumbdrive:</p>
<ul>
<li>Booting a bootdisc as ISO stored on the drive (which is not compatible to most bootdisc&#8217;s)</li>
<li>Booting abootdisc ISO extracted to a extra Partition on the USB-Drive (which is more compatible)</li>
</ul>
<p><strong>Remember: both ways are possible on a single Stick, so you can have ISO&#8217;s there AND extra partitions with the contents of the original ISO.</strong></p>
<p><span id="more-44"></span></p>
<p>The Main problem having an ISO booted is that most Systems cannot access their system files after initial booting because they don&#8217;t use INT13 calls after booting the initial &#8220;bootstrap&#8221; system &#8211; DOS based bootdiscs should work always&#8230;</p>
<p>This is a very good quote from <a href="http://www.boot-land.net/forums/index.php?showtopic=8430">boot-land</a>:</p>
<blockquote><p>An operating system has basically two modes (exception made for DOS, see later) &#8220;real mode&#8221; and &#8220;protected mode&#8221;.<br />
DOS has ONLY &#8220;real mode&#8221; i.e. &#8220;trusts&#8221; the info the BIOS gives it, and Windows 3.x/9x/Me though having a &#8220;protected mode&#8221; still trust the BIOS.<br />
Windows NT based systems starts in &#8220;real mode&#8221;, trusting the info the BIOS gives it, then switches to &#8220;protected&#8221; mode, when the hardware is re-scanned and &#8220;protected mode&#8221; drivers load.<br />
Linux does more or less the same, but not exactly.</p>
<p>&#8230;..</p>
<p>The main problem is that once the kernel is booted the grub4dos mapped iso isn&#8217;t visible for the linux kernel (doesn&#8217;t use INT13 BIOS calls to get data from a device), so SystemRescueCD can&#8217;t find the other files it needs.</p></blockquote>
<p>However to get round this problem we can create an extra partition for the System &#8211; as it scans all partitions to find it&#8217;s boot files &#8211; so the boot files are found in one of those partitions.</p>
<p>I have the following Systems on my Multi-Boot USB Thumbdrive:</p>
<ul>
<li>Backtrack 3 Final USB (extra partition)</li>
<li>Backtrack 4 (extra Partition)</li>
<li>Hiren&#8217;s boot-cd (ISO)</li>
<li>Ophcrack XP LiveCD (ISO)</li>
</ul>
<p>Really cool is that you can do much more than only booting this or that System stored on the Thumbdrive, one can do also this:</p>
<ul>
<li>Booting ISO&#8217;s</li>
<li>Booting partitions on the Thumbdrive</li>
<li>Booting Floppy disks</li>
<li>Find Windows (98/XP/Vista/7) Bootfiles and boot that (really helpful if you killed the original bootloader)</li>
<li>Booting Win XP Recovery console</li>
</ul>
<p> Okay, enough cooliness, let&#8217;s start.</p>
<p>For this HowTo I assume the following:</p>
<ul>
<li>Basic knowledge of how to use Linux. You&#8217;ll NEED that!</li>
<li><a href="http://www.sysresccd.org/Download">SystemRescueCD </a>(or any other Linux distro which has Grub installed)</li>
<li>No Harddrive connected in the Computer you build the Stick (i killed my Partition Table just due a Typo :))</li>
<li><strong>My USB-Stick is recognized as /dev/sda if your USB Stick is recognized as something other replace your /dev entry with mine!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</strong></li>
</ul>
<p>I&#8217;ll describe the Steps you&#8217;ll ned to do, as every System is different i cannot guide you n00b-Step-by-Step :o)</p>
<h3>1. Boot SystemRescueCD</h3>
<h3>2. Setup the Partition Table</h3>
<p>Use Qtparted, gparted or parted to create the following partition Table:<br />
1. Primary FAT32 (as big as you want, i took 10GB on a 16GB thumbdrive)<br />
2. Extended (rest of drive)<br />
now create inside the extended Partition the following Logical Partitions:<br />
3. Locigal FAT16 (800MB, backtrack 3)<br />
4. Logical FAT16 (1800MB, backtrack 4)</p>
<p>So it should look like that:</p>
<h3>3. Copy Bootfiles</h3>
<p>For quick-Start i uploaded you the grub4dos and grub-boot files you&#8217;ll need: <a href="http://www.divshare.com/download/10469318-018" target="_blank">(zip)</a> or <a href="http://www.divshare.com/download/10469322-554" target="_blank">(tgz)<br />
</a>Copy everything to the FAT32 Partition on your USB-Stick</p>
<h3>4. Setup Grub</h3>
<p>This part is really important. Be sure you don&#8217;t have anything in your System that should not get a new bootsector :) Normally only the USB-Stick get it with this procedure but i&#8217;m not responsible if fsck up your running System!</p>
<p>Mount the freshly created FAT32 Partition:</p>
<blockquote><p># mkdir /mnt/usbstick<br />
# mount /dev/sda1 /mnt/usbstick</p></blockquote>
<p>Install Grub and copy it&#8217;s bootfiles:</p>
<p><strong>NOTE: if you don&#8217;t have /dev/sda as your USB-Stick you need to edit /mnt/usbstick/boot/grub/device.map before executing the next command</strong></p>
<blockquote><p># grub-install &#8211;root-directory=/mnt/usbstick /dev/sda</p></blockquote>
<p>Setup Grub4Dos:</p>
<blockquote><p># cd /mnt/usbstick<br />
# chmod +x bootlace.com<br />
# ./bootlace.com /dev/sda</p></blockquote>
<p>Easy isn&#8217;t it? :)  <br />
You can give it a try now and see if the Stick is booting or you can continue.</p>
<p>If it is not booting mainly the (hd0) entry in the devices.map is wrong, some helpful tips you can find here:<br />
<a href="http://members.iinet.net.au/~herman546/p15.html#How_to_add_Grub_to_your_USB_thumb_drive.">How to add GRUB to your USB Thumb Drive</a></p>
<p>The next step is to setup your partitions and ISO files:</p>
<h3>5. Copy the Bootdisc contents</h3>
<p>I assume the following:</p>
<ul>
<li>You have created 2 Extended Partitions for backtrack 3 and 4</li>
<li>You have Backtrack3 as iso in (usb-stick)/bootcds/bt3.iso</li>
<li>You have Backtrack4 as iso in (usb-stick)/bootcds/bt4.iso</li>
<li>You have Ophcrack as iso in (usb-stick)/bootcds/ophcrack.iso</li>
</ul>
<p>First we need to make the usb-stick ISO&#8217;s and created partitions accessible:</p>
<blockquote><p># mkdir /mnt/usbroot<br />
# mkdir /mnt/part1<br />
# mkdir /mnt/part2<br />
# mkdir /mnt/isoimg</p></blockquote>
<p>We&#8217;ll mount the Partitions:</p>
<blockquote><p># mount /dev/sda1 /mnt/usbroot<br />
# mount /dev/sda5 /mnt/part1<br />
# mount /dev/sda6 /mnt/part2</p></blockquote>
<p>Now we can access /mnt/usbroot where our subdirectory &#8220;bootcds&#8221; is and we load backtrack 3 ISO and copy the contents to our 1st extended Partition (yes you can mount ISO&#8217;s under linux ^^):</p>
<blockquote><p># mount -o loop /mnt/usbroot/bootcds/bt3.iso /mnt/isoimg<br />
# cp -Rv /mnt/isoimg/* /mnt/part1/<br />
# umount /mnt/isoimg</p></blockquote>
<p>Go on with Backtrack 4:</p>
<blockquote><p># mount -o loop /mnt/usbroot/bootcds/bt4.iso /mnt/isoimg<br />
# cp -Rv /mnt/isoimg/* /mnt/part2/<br />
# umount /mnt/isoimg</p></blockquote>
<p>Everything copied, we unmount the two Partitions:</p>
<blockquote><p># umount /mnt/part1<br />
# umount /mnt/part2</p></blockquote>
<p>Now edit /mnt/usbroot/menu.lst (vi, nano) to your liking &#8211; you don&#8217;t have to if you use my files and followed this HowTo.</p>
<p>Then unmount everything, reboot and Go On!</p>
<blockquote><p># umount /mnt/usbroot<br />
# shutdown -h now</p></blockquote>
<p>Have Phun!</p>
<p>References:</p>
<ul>
<li><strong><a href="http://forums.fedoraforum.org/showthread.php?t=217113" target="_blank">How to: make a multi-boot USB drive</a></strong></li>
<li><a href="http://www.gnu.org/software/grub/manual/html_node/Installing-GRUB-using-grub_002dinstall.html" target="_blank">Installing GRUB using grub-install</a></li>
<li><a href="http://www.martin-bock.de/pc/pc-0108.html" target="_blank">Installation von GRUB</a></li>
<li><a href="http://members.iinet.net.au/~herman546/p15.html#How_to_add_Grub_to_your_USB_thumb_drive.">How to add GRUB to your USB Thumb Drive</a></li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/44/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/44/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/44/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=44&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2010/02/14/multi-boot-usb-thumb-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>
	</item>
		<item>
		<title>Microsoft, please get a XBOX QA-Responsible!</title>
		<link>http://devbios.wordpress.com/2010/02/01/microsoft-please-get-a-xbox-qa-responsible/</link>
		<comments>http://devbios.wordpress.com/2010/02/01/microsoft-please-get-a-xbox-qa-responsible/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 15:17:37 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Everything Else]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[hot air gun]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[ROD]]></category>
		<category><![CDATA[xbox360]]></category>

		<guid isPermaLink="false">http://devbios.wordpress.com/?p=46</guid>
		<description><![CDATA[Lol lol lol&#8230; What i really like when i hear &#8221;Microsoft&#8221; is that they want to make good products but they always manages to make a very uber big FAIL. I must say im not a fan of this company - but i use, like a lot of people, some of their products. Today i started playing XBOX360 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=46&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lol lol lol&#8230;</p>
<p>What i really like when i hear &#8221;Microsoft&#8221; is that they want to make good products but they always manages to make a very uber big FAIL.<br />
I must say im not a fan of this company - but i use, like a lot of people, some of their products.</p>
<p>Today i started playing XBOX360 () in a free time schedule i had between my job and my familiy&#8230;<br />
Playing playing pla, &#8211; zzzz &#8211; Freeze<br />
Damn. Ok no prob. Console turned off and on again.</p>
<p>But what the heck is that?! 3 red lights?<br />
Fuck! This is the red ring of death.</p>
<p><span id="more-46"></span></p>
<p>After some google it is clear that &#8211; because it&#8217;s a console made in the begining of 2006 &#8211; i have a problem with my gpu or ram or something else hardware based.</p>
<p>Lol i thought &#8211; microsoft not only manages to crash my win7 work comuter and htc mobile, they even build gaming consoles that self-destroy!</p>
<p>Also too funny i have no warranty anymore so it is up to me to repair it or throw it out of the window on the street. Some some more hours of google i decided to burn the Motherboard with a hot air gun as shown in this Video:<br />
<a href="http://www.youtube.com/watch?v=j-Eyz0sOKR4&amp;feature=related" target="_blank">XBOX 360 Hot Air Gun Fix</a></p>
<p>So before i can cook the Motherboard i have to open up the console, i used this tutorial it rip off all unneeded things:<br />
<a href="http://www.xboxchopshop.com/catalog/man_360_open.php" target="_blank">XBOX 360 Open Tutorial</a></p>
<p>In the end - i can&#8217;t belive it - it really worked!<br />
I tried the game for at least 3 hours without graphic errors or system freezes.</p>
<p>Here are some pics of my action:</p>
<p><a href="http://devbios.files.wordpress.com/2010/02/xboxdisassemble.jpg"><img class="alignnone size-medium wp-image-59" title="Xbox Hot Air Fix" src="http://devbios.files.wordpress.com/2010/02/xboxdisassemble.jpg?w=300&#038;h=267" alt="" width="300" height="267" /></a><a href="http://devbios.files.wordpress.com/2010/02/xboxdisassemble2.jpg"><img class="alignnone size-medium wp-image-60" title="Chip that removed itself" src="http://devbios.files.wordpress.com/2010/02/xboxdisassemble2.jpg?w=300&#038;h=225" alt="" width="300" height="225" /></a></p>
<p>I just thank god my car is not labled &#8220;Microsoft&#8221; :)</p>
<p>Edit: I played several days and i didn&#8217;t got any Problems.. Hurray! ;)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=46&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2010/02/01/microsoft-please-get-a-xbox-qa-responsible/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>

		<media:content url="http://devbios.files.wordpress.com/2010/02/xboxdisassemble.jpg?w=300" medium="image">
			<media:title type="html">Xbox Hot Air Fix</media:title>
		</media:content>

		<media:content url="http://devbios.files.wordpress.com/2010/02/xboxdisassemble2.jpg?w=300" medium="image">
			<media:title type="html">Chip that removed itself</media:title>
		</media:content>
	</item>
		<item>
		<title>SipToSis with Asterisk</title>
		<link>http://devbios.wordpress.com/2010/02/01/siptosis-with-asterisk/</link>
		<comments>http://devbios.wordpress.com/2010/02/01/siptosis-with-asterisk/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 14:59:15 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[chan_skype]]></category>
		<category><![CDATA[siptosis]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[skype2sip]]></category>
		<category><![CDATA[skypeiax]]></category>

		<guid isPermaLink="false">http://devbios.wordpress.com/?p=38</guid>
		<description><![CDATA[I was little busy these days, had a lot of work to do like re-waterproofing my bathtub.. 2010-02-17 Edit: Please Read the references i shown on the end of this Post to have an HowTo how to exactly install SipToSis! If i find the Time i can write a detailed Howto with Display environment variables etc, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=38&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was little busy these days, had a lot of work to do like re-waterproofing my bathtub..</p>
<p>2010-02-17 Edit: Please Read the references i shown on the end of this Post to have an HowTo how to exactly install SipToSis! If i find the Time i can write a detailed Howto with Display environment variables etc, but only if i get some comments to do so :)</p>
<p>Nevertheless i finally managed to Get a working Skype &lt;-&gt; Asterisk connection via SipToSis. Hurray!<br />
I didn&#8217;t get Skypeiax to work..</p>
<p>This is how i did it - with Asterisk 1.4.x branch on the same machine skype should also do &#8211; running Debian 5.0</p>
<p><span id="more-38"></span>First you really need to have a working asterisk distribution , second you need to install Xvfb virtual frame buffer and skype itself the installation and configuration will depend between the systems so i can only cover debian here.<br />
Xtightvnc helps you to install and configure Skype the first time.</p>
<ul>
<li>You need to install xvfb, tightvncserver, dbus-x11, dbus, xfce4 ( for configuring skype)</li>
<li>Next, download skype (from <a href="http://www.skype.com/intl/de/download/skype/linux/" target="_blank">here</a>) and install it</li>
<li>Then we need SipToSis and install it:<br />
Download it from <a href="http://www.mhspot.com/sts/siptosis_ata_howto.html" target="_blank">here</a> unpack it and move it into /usr/local/siptosis</li>
</ul>
<p>Use the following command to startup an X-11 VNC Server to start skype and configure it:</p>
<pre># vncserver</pre>
<p>Connect to vncserver, usually to the display &#8220;:1&#8243; so in Tightvnc you need to enter the address like this: &#8220;172.0.0.254:1&#8243;.</p>
<p>After this, open up an console and start Skype:</p>
<pre># /usr/bin/skype</pre>
<p>and configure a new (or existing) user in this VNC session, then close everything and kill the VNC Server:</p>
<pre>#killall -9 vncserver</pre>
<p> </p>
<p>Now we have skype ready, we need to configure SipToSis, this is what i changed in the default siptosis.cfg config:</p>
<blockquote>
<pre>#host_port=5070
#username=skypests
#passwd=unimportantpassword
#do_register=no
host_port=5070
contact_url=sip:skypetestuser@172.0.0.254:5070
from_url="skypetestuser" &lt;sip:siptosisuser@172.0.0.254:5060&gt;
username=siptosisuser
realm=asterisk
passwd=siptosisregpassword
expires=3600
do_register=yes
minregrenewtime=120
regfailretrytime=15</pre>
</blockquote>
<p>Now we need to configure Asterisk with our new SIP User so it knows where to go when SipToSis tries to connect.<br />
Asterisk&#8217;s sip.conf:</p>
<blockquote>
<pre>[siptosisuser]
username=siptosisuser
type=friend
<strong>context=from-sip
</strong>secret=siptosisregpassword
host=dynamic
nat=no
dtmfmode=auto
canreinvite=no ;(possibly set to yes if you know what you are doing)
qualify=yes

incominglimit=1
outgoinglimit=1
call-limit=1
busylevel=1

insecure=invite,port</pre>
</blockquote>
<p>As alwas the context is important, this is how i configured the extensions.conf:</p>
<p>For incoming Skype Calls:</p>
<blockquote>
<pre>[from-sip]
;Dialin from Skype
exten =&gt; skype,1,Dial(SIP/myPhone,30,j)</pre>
</blockquote>
<p>For Outgoing Skype Calls:</p>
<blockquote>
<pre>exten =&gt; 101,1,Dial(SIP/siptosisuser/mySkypeUser)</pre>
</blockquote>
<p>Save and restart Asterisk.</p>
<p>Now it it time to boot everything together, but first we need a startup script for our SipToSys System.</p>
<p>Startup Script use <a href="http://devbios.pastebin.com/f489732f" target="_blank">this for easy copy &amp; paste</a>:</p>
<pre>--------------------------------------------------
#!/bin/sh
# loading sound driver
/sbin/modprobe snd_dummy
# setting DISPLAY
export DISPLAY=:1
# starting virtual framebuffer X-Server
nohup /usr/bin/Xvfb ${DISPLAY} -screen scrn 300x600x8 &gt;/dev/null &amp;
#Start Skype
nohup skype &gt;/dev/null &amp;
#Give it some Time to boot
sleep 5
#Start SipToSiS
cd /usr/local/siptosis
nohup ./SipToSis_linux siptosis.cfg &gt;/dev/null &amp;
-------------------------------------------------- </pre>
<p>After executing it look in the asterisk console (asterisk -r) and try to call the Skype user! ;)</p>
<p>Hopefully this is a way for you to make it easier to understand the Connection between Asterisk and skype. </p>
<p>Have phun :)</p>
<p>References:<br />
SipToSis Website: <a href="http://www.mhspot.com/sts/siptosis_ata_howto.html" target="_blank">http://www.mhspot.com/sts/siptosis_ata_howto.html</a><br />
SipToSis Forum: <a href="http://www.mhspot.com/stsforum/index.php" target="_blank">http://www.mhspot.com/stsforum/index.php</a><br />
older SipToSis Infos: <a href="http://www.vitki.net/v/soho/voip" target="_blank">http://www.vitki.net/v/soho/voip</a></p>
<p>Startup Script: <a href="http://translate.google.de/translate?js=y&amp;prev=_t&amp;hl=de&amp;ie=UTF-8&amp;u=http%3A%2F%2Fsamm.kiev.ua%2Farticles%3Askype&amp;sl=auto&amp;tl=en&amp;history_state0=" target="_blank">here</a><br />
SipIAX Informations: <a href="http://www.opennet.ru/base/net/skype2sip.txt.html">http://www.opennet.ru/base/net/skype2sip.txt.html</a> (use google translator)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/38/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/38/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/38/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=38&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2010/02/01/siptosis-with-asterisk/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>
	</item>
		<item>
		<title>Windows 7, Windows XP and the strange Active Directory</title>
		<link>http://devbios.wordpress.com/2009/09/17/windows-7-windows-xp-and-the-strange-active-directory/</link>
		<comments>http://devbios.wordpress.com/2009/09/17/windows-7-windows-xp-and-the-strange-active-directory/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 12:04:31 +0000</pubDate>
		<dc:creator>devbios</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[kerberos]]></category>
		<category><![CDATA[maxtokensize]]></category>
		<category><![CDATA[outlook 2007]]></category>
		<category><![CDATA[windows 7]]></category>

		<guid isPermaLink="false">http://devbios.wordpress.com/?p=28</guid>
		<description><![CDATA[Windows 7 and Windows XP just give different errormessages for the same Problem, mainly when you are in MANY AD Groups (like me) and you want to work with that System: Windows XP says most time:  &#8220;Not enough Storage is availible to Complete this command&#8221; Windows 7 says:  &#8221;Naming information cannot be located because: The system [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=28&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Windows 7 and Windows XP just give different errormessages for the same Problem, mainly when you are in MANY AD Groups (like me) and you want to work with that System:</p>
<p>Windows XP says most time: <br />
&#8220;Not enough Storage is availible to Complete this command&#8221;</p>
<p>Windows 7 says:<br />
 &#8221;Naming information cannot be located because:</p>
<p>The system detected a possible attempt to compromise security.<br />
Please ensure that you can contact the server that authenticated you.<br />
Contact your system administrator to verify that your domain is properly configured and is currently online.&#8221;</p>
<p><strong>Under Win7 even Outlook 2007 didn&#8217;t wanted to start!</strong></p>
<div class="mceTemp">
<div id="attachment_32" class="wp-caption alignnone" style="width: 456px"><img class="size-full wp-image-32 " title="Win7 Kerberos Problem" src="http://devbios.files.wordpress.com/2009/09/win7kerberos1.png?w=495" alt="Win7 Kerberos Problem"   /><p class="wp-caption-text">Win7 Kerberos Problem</p></div>
</div>
<p>Here is the detailed cause and solution to the Problem:</p>
<p><strong>Cause:<br />
</strong>The user is not able to authenticate because the Kerberos token that is generated during authentication attempts has a fixed maximum size.</p>
<p>Transports such as remote procedure call (RPC) and HTTP rely on the MaxTokenSize value when they allocate buffers for authentication. In Windows 2000 (the original released version), the MaxTokenSize value is 8,000 bytes. In Windows 2000 Service Pack 2 (SP2) and Microsoft Windows Server 2003, the MaxTokenSize value is 12,000 bytes.</p>
<p>If a user is a member of more than 120 groups, the buffer that is determined by the MaxTokenSize value is not large enough. As a result, users cannot authenticate, and they may receive an &#8220;out of memory&#8221; error message. Before you apply the hotfix that is described in this article, every group that is added to a user account increases this buffer by 40 bytes.</p>
<p>NOTE: In many scenarios, Windows NTLM authentication works as expected; you may not see the Kerberos authentication problem without analysis. However, scenarios in which Group Policy settings are applied may not work as expected.</p>
<p><strong>Solution:</strong></p>
<p>A registry parameter is available after you apply this hotfix that you can use to increase the Kerberos token size. For example, increasing the token size to 65 KB allows a user to be present in more than 900 groups. Because of the associated SID information, this number may vary.</p>
<p>To use this parameter:</p>
<ol>
<li>Start Registry Editor (Regedt32.exe).</li>
<li>Locate and click the following key in the registry: HK_Local_Machine\System\CurrentControlSet\Control\Lsa\Kerberos\Parameters*</li>
<li>If this key is not present, create the key. To do so:
<ul>
<li>Click the following key in the registry: System\CurrentControlSet\Control\Lsa\Kerberos</li>
<li>On the Edit menu, click Add Key.</li>
<li>Create a Parameters key.</li>
<li>Click the new Parameters key.</li>
</ul>
</li>
<li>On the Edit menu, click Add Value, and then add the following registry value:
<ul>
<li>Value name: MaxTokenSize</li>
<li>Data type: REG_DWORD</li>
<li>Radix: Decimal</li>
<li>Value data: 65535</li>
</ul>
</li>
<li>Quit Registry Editor.</li>
</ol>
<p>The default value for MaxTokenSize is 12000 decimal. We recommend that you set this value to 65535 decimal, FFFF hexadecimal. <strong>If you set this value incorrectly to 65535 <em>hexadecimal</em> (an extremely large value) Kerberos authentication operations may fail, and programs may return errors.</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devbios.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devbios.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devbios.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devbios.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devbios.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devbios.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devbios.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devbios.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devbios.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devbios.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devbios.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devbios.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devbios.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devbios.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devbios.wordpress.com&amp;blog=8534164&amp;post=28&amp;subd=devbios&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devbios.wordpress.com/2009/09/17/windows-7-windows-xp-and-the-strange-active-directory/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/08afca2e5a082c224397f28f17c963d8?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devbios</media:title>
		</media:content>

		<media:content url="http://devbios.files.wordpress.com/2009/09/win7kerberos1.png" medium="image">
			<media:title type="html">Win7 Kerberos Problem</media:title>
		</media:content>
	</item>
	</channel>
</rss>
