<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://blog.f4k3.net/fake/index.php/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>fake's blog - Tag - embedded</title>
  <link>http://blog.f4k3.net/fake/index.php/</link>
  <atom:link href="http://blog.f4k3.net/fake/index.php/feed/tag/embedded/rss2" rel="self" type="application/rss+xml"/>
  <description>everything fake</description>
  <language>en</language>
  <pubDate>Wed, 08 Sep 2010 03:21:26 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>GPIO to I2C on a Soekris net4801</title>
    <link>http://blog.f4k3.net/fake/index.php/post/2008/11/20/GPIO-to-I2C-on-a-Soekris-net4801</link>
    <guid isPermaLink="false">urn:md5:3ff8da83706def116bcd7de882a17b79</guid>
    <pubDate>Thu, 20 Nov 2008 21:22:00 +0100</pubDate>
    <dc:creator>fake</dc:creator>
        <category>code</category><category>embedded</category><category>linux</category>    
    <description>    &lt;div style=&quot;float: left; margin: 10px 10px 10px 10px;&quot;&gt;&lt;a href=&quot;http://blog.f4k3.net/fake/resource/rp6-soekris.jpg&quot;&gt;&lt;img src=&quot;http://blog.f4k3.net/fake/resource/rp6-soekris.jpg&quot; width=&quot;200&quot; height=&quot;160&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
I recently started playing around with robots from &lt;a href=&quot;http://www.arexx.com/&quot; target=&quot;_new&quot;&gt;arexx&lt;/a&gt; - a friend introduced me to the &lt;a href=&quot;http://www.arexx.com/arexx.php?cmd=goto&amp;amp;cparam=p_asuro&quot; target=&quot;_new&quot;&gt;asuro&lt;/a&gt;, and - impressed by the steep learning curve - i got myself an &lt;a href=&quot;http://www.arexx.com/rp6/&quot; target=&quot;_new&quot;&gt;RP6&lt;/a&gt;.
&lt;br /&gt;&lt;br /&gt;
having toyed around with it, i remembered i had an old &lt;a href=&quot;http://www.soekris.com/&quot; target=&quot;_new&quot;&gt;soekris&lt;/a&gt; &lt;a href=&quot;http://www.soekris.com/net4801.htm&quot; target=&quot;_new&quot;&gt;net4801&lt;/a&gt; lying around... which, unfortunately, does not have i2c ports pinned out - but it has &lt;a href=&quot;http://www.soekris.com/manuals/net4801_manual.pdf&quot; target=&quot;_new&quot;&gt;12 GPIO pins &lt;/a&gt;... i quickly found i2c-gpio in the linux kernel, but that uses the arch-independent gpio layer called gpiolib. the soekris pc8736x gpio driver does not support this layer :(
&lt;br /&gt;&lt;br /&gt;
i'm by far not a kernel developer, but i managed to insert a small wrapping layer that seems to work. it basically registers the pc8736x as generic gpio chip, additionally to the character device(s).
&lt;br /&gt;&lt;br /&gt;
i repeat: i am not a kernel developer. this is a hack so ugly it will most likely not work for you. if you have a soekris net4801 (no, a &lt;a href=&quot;http://www.soekris.com/net4501.htm&quot; target=&quot;_new&quot;&gt;net4501&lt;/a&gt; will not work! it has &lt;a href=&quot;http://www.soekris.com/manuals/net4501_manual.pdf&quot; target=&quot;_new&quot;&gt;lesser gpio pins&lt;/a&gt;! go count!) your chances are indefinitely higher it may work, but i don't guarantee anything. also, even the most basic cleanup code is missing - i am not removing the gpio chip on unload, i just dont' care for now.
&lt;br /&gt;&lt;br /&gt;
included in the patch below is a i2c-gpio-generic module i found in the &lt;a href=&quot;http://openwrt.org/&quot; target=&quot;_new&quot;&gt;openwrt&lt;/a&gt; &lt;a href=&quot;https://dev.openwrt.org/browser/trunk/package/i2c-gpio-custom/&quot; target=&quot;_new&quot;&gt;subversion&lt;/a&gt; by pure coincidence, it works very well. i just patched it so it hardcodes sda and scl to open drain, which is the default on the soekris.
&lt;br /&gt;&lt;br /&gt;
to get i2c up and running on the gpio pins 0 and 1 (jp5 pins 3 and 4 on the connector!) with 0 being sda and 1 being scl,  you have to
&lt;br /&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;modprobe pc8736x_gpio&lt;/li&gt;
&lt;li&gt;read dmesg and note the assigned lowest pin nr (244 for me)&lt;/li&gt;
&lt;li&gt;modprobe i2c-generic-custom bus0=245,244,245 (the latter two being the number from above 1st, and 1 added to it 2nd. the first nr. is the i2c bus id. choose it to your liking.)&lt;/li&gt;
&lt;li&gt;modprobe i2c-dev&lt;/li&gt;
&lt;/ul&gt;
that should enable you to run i2cdetect on the newly appeared bus.
&lt;br /&gt;&lt;br /&gt;
a little warning: i wouldn't mess around with the character device while using this, especially not for the pins in use for i2c. you have been warned.
&lt;br /&gt;&lt;br /&gt;
i also wrote &lt;a href=&quot;http://blog.f4k3.net/fake/resource/_test-i2c.c&quot;&gt;a small test program&lt;/a&gt; that reads out the current light sensor value (left) of the rp6 running the IC2_Slave example program that it has been shipped with.
&lt;br /&gt;&lt;br /&gt;
also, the *actual* pinout-to-minor-device-nr for the gpio character device might be of interest here: &lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;float: right; margin: 10px 10px 10px 10px;&quot;&gt;&lt;a href=&quot;http://blog.f4k3.net/fake/resource/soekris-rp6-2.jpg&quot;&gt;&lt;img src=&quot;http://blog.f4k3.net/fake/resource/soekris-rp6-2.jpg&quot; width=&quot;200&quot; height=&quot;240&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;th&gt;Soekris&lt;/th&gt;&lt;th&gt;PC8736x&lt;/th&gt;&lt;th&gt;Minor Device #&lt;/th&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 0&lt;/td&gt;&lt;td&gt;GPIO 20, 117&lt;/td&gt;&lt;td&gt;16&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 1&lt;/td&gt;&lt;td&gt;GPIO 21, 118&lt;/td&gt;&lt;td&gt;17&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 2&lt;/td&gt;&lt;td&gt;GPIO 22, 119&lt;/td&gt;&lt;td&gt;18&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 3&lt;/td&gt;&lt;td&gt;GPIO 23, 120&lt;/td&gt;&lt;td&gt;19&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 4&lt;/td&gt;&lt;td&gt;GPIO 24, 121&lt;/td&gt;&lt;td&gt;20&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 5&lt;/td&gt;&lt;td&gt;GPIO 24, 122&lt;/td&gt;&lt;td&gt;21&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 6&lt;/td&gt;&lt;td&gt;GPIO 26, 123&lt;/td&gt;&lt;td&gt;22&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 7&lt;/td&gt;&lt;td&gt;GPIO 26, 124&lt;/td&gt;&lt;td&gt;23&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 8&lt;/td&gt;&lt;td&gt;GPIO 4, 6&lt;/td&gt;&lt;td&gt;4&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 9&lt;/td&gt;&lt;td&gt;GPIO 5, 7&lt;/td&gt;&lt;td&gt;5&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 10&lt;/td&gt;&lt;td&gt;GPIO 13, 55&lt;/td&gt;&lt;td&gt;11&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;GPIO 11&lt;/td&gt;&lt;td&gt;GPIO 12, 54&lt;/td&gt;&lt;td&gt;10&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
kudos to the guy who found this out, it cost me 2 days to figure out the straightforward approach (GPIO 20 = minor 20?) was wrong.
&lt;br /&gt;&lt;br /&gt;
&lt;a href=&quot;http://blog.f4k3.net/fake/resource/_soekris-gpio-i2c-linux-2.6.27.6.patch&quot;&gt;here is the patch&lt;/a&gt;. handle with care. it's against linux-2.6.27.6. i used &lt;a href=&quot;http://blog.f4k3.net/fake/resource/_soekris-config&quot;&gt;this .config&lt;/a&gt; to build the kernel.
&lt;br /&gt;&lt;br /&gt;</description>
    
    
    
          <comments>http://blog.f4k3.net/fake/index.php/post/2008/11/20/GPIO-to-I2C-on-a-Soekris-net4801#comment-form</comments>
      <wfw:comment>http://blog.f4k3.net/fake/index.php/post/2008/11/20/GPIO-to-I2C-on-a-Soekris-net4801#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.f4k3.net/fake/index.php/feed/atom/comments/49</wfw:commentRss>
      </item>
    
  <item>
    <title>NSLU2: Compiling a recent kernel</title>
    <link>http://blog.f4k3.net/fake/index.php/post/2007/12/15/NSLU2%3A-Compiling-a-recent-kernel</link>
    <guid isPermaLink="false">urn:md5:186b77c7ff620f5de0963b0608584912</guid>
    <pubDate>Sat, 15 Dec 2007 16:19:00 +0100</pubDate>
    <dc:creator>fake</dc:creator>
        <category>embedded</category><category>linux</category>    
    <description>    I'm running the latest debian (etch, 4.0r1, which you need to &lt;a target=&quot;_new&quot; href=&quot;http://www.cyrius.com/debian/nslu2/unpack.html&quot;&gt;install manually&lt;/a&gt; because of &lt;a target=&quot;_new&quot; href=&quot;http://lists.debian.org/debian-arm/2007/08/msg00073.html&quot;&gt; a problem with the firmware update &lt;/a&gt; as the &lt;a target=&quot;_new&quot; href=&quot;http://www.slug-firmware.net/&quot;&gt;slug-firmare.net&lt;/a&gt; page states) on my slug.&lt;br /&gt;
&lt;br /&gt;
The latest kernel you seem to get with debian currently is 2.6.18, which is pretty outdated. So i went ahead and tried to assemble the stuff needed to build my own kernel, which was more work than i'd expected. The Linksys NSLU2 needs some proprietary firmware, but nevermind signing up at IBM, if you installed the image linked above, the firmware you need is in /lib/firmware/NPE-B. Just make sure the file stays there ;-)&lt;br /&gt;
&lt;br /&gt;
The steps to build your own kernel are:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;get your hands on a cross-toolchain (i use and enjoy &lt;a target=&quot;_new&quot; href=&quot;http://www.kegel.com/crosstool/&quot;&gt;crosstool&lt;/a&gt;, for version 0.43 i edited demo-arm-xscale.sh to use gcc 4.0.2 (ICE in 4.1.0) and glibc 2.3.6-tls, you'll probably need to put another patch for glibc into patches/glibc-2.3.6/, get it &lt;a href=&quot;http://crosstool.googlecode.com/svn/trunk/src/patches/glibc-2.3.6/glibc-2.3.6-csu-Makefile.patch&quot; target=&quot;_new&quot;&gt;here&lt;/a&gt;). Make sure the tools are in your $PATH!&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.kernel.org&quot; target=&quot;_new&quot;&gt;get the kernel sources&lt;/a&gt; (at the time of writing, 2.6.23.9 was the newest, which i used)&lt;/li&gt;
&lt;li&gt;making sure you have &lt;a href=&quot;http://subversion.tigris.org&quot; target=&quot;_new&quot;&gt;subversion&lt;/a&gt; installed, issue the command:&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;svn co svn://svn.debian.org/svn/kernel/dists/trunk/linux-2.6/debian/patches/features/arm debian-arm-patches
&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt; extract the kernel sources, and apply the following patches &lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;tar -xfj linux-2.6.23.9.tar.bz2
cd linux-2.6.23.9
patch -p1 &amp;lt; ../debian-arm-patches/ixp4xx-npe-driver-0.3.1.patch
patch -p1 &amp;lt; ../debian-arm-patches/ixp4xx-net-driver-improve-mac-handling.patch
patch -p1 &amp;lt; ../debian-arm-patches/nslu2-i2c-gpio-driver-support.patch
patch -p1 &amp;lt; ../debian-arm-patches/nslu2-mac_plat_info.patch
patch -p1 &amp;lt; ../debian-arm-patches/nslu2-setup-mac.patch
&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;now it's time to configure your kernel, the debian defconfig is a little dated, so i upped &lt;a href=&quot;http://blog.f4k3.net/resources/fake/nslu2-2.6.23.9.config&quot; target=&quot;_new&quot;&gt;my config&lt;/a&gt;. put it into your linux source dir and run:&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;mv nslu2-2.6.23.9.config .config
make ARCH=arm CROSS_COMPILE=arm-xscale-linux-gnu- oldconfig
&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt; if you want to edit the config (it's fairly basic), run the last line above with &quot;menuconfig&quot; at the end (you guessed it ;) &lt;strong&gt; big fat note: don't compile in the ixp4xx npe network driver, leave it as a module!&lt;/strong&gt; the firmware is not part of the initramfs, so the network interface would never come up!&lt;/li&gt;
&lt;li&gt; build your kernel:&lt;br /&gt;&lt;br /&gt;
&lt;pre&gt;make ARCH=arm CROSS_COMPILE=arm-xscale-linux-gnu- zImage modules
mkdir ../modules-2.6.23.9
make ARCH=arm CROSS_COMPILE=arm-xscale-linux-gnu- INSTALL_MOD_PATH=../modules-2.6.23.9 modules_install
&lt;/pre&gt;&lt;/li&gt;
&lt;/ul&gt;
That's basically it for compilation. Now all you need to do is copy the modules (maybe as a tar file) to the box so the modules end up where they belong; then copy arch/arm/boot/zImage to the box's /boot directory, naming it vmlinuz-2.6.23.9, for example. then run &quot;mkinitramfs -o /boot/initrd.img-2.6.23.9 2.6.23.9&quot;. finally, you need to alter the symlinks 'vmlinuz' und 'initrd.img' in /boot to point to the newly created/copied files.&lt;br /&gt;
&lt;br /&gt;
If you now run 'flash-kernel', it will flash the kernel and the initramfs into the nslu2's boot flash. don't worry - if anything goes wrong, just re-flash the image from the &quot;manual install&quot; link above.&lt;br /&gt;
&lt;br /&gt;
reboot the slug and wait... good luck ;-) if it does not come up again, a good starting point is to simply unplug the external hard drive and check the logfiles.&lt;br /&gt;
&lt;br /&gt;
have fun!</description>
    
    
    
          <comments>http://blog.f4k3.net/fake/index.php/post/2007/12/15/NSLU2%3A-Compiling-a-recent-kernel#comment-form</comments>
      <wfw:comment>http://blog.f4k3.net/fake/index.php/post/2007/12/15/NSLU2%3A-Compiling-a-recent-kernel#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.f4k3.net/fake/index.php/feed/atom/comments/33</wfw:commentRss>
      </item>
    
  <item>
    <title>Linksys NSLU2 - the answer to your NAS requirements - and more!</title>
    <link>http://blog.f4k3.net/fake/index.php/post/2006/07/11/Linksys-NSLU2-the-answer-to-your-NAS-requirements-and-more%21</link>
    <guid isPermaLink="false">urn:md5:e5f584722bd7b1a5b3ce9f6f45d5d7d6</guid>
    <pubDate>Tue, 11 Jul 2006 19:04:00 +0200</pubDate>
    <dc:creator>fake</dc:creator>
        <category>embedded</category><category>review</category>    
    <description>    &lt;br /&gt;&lt;br /&gt;
After the frustrating experiences i had with the Teac HD35-NAS (see my &lt;a href=&quot;http://blog.f4k3.net/page/fake?entry=teac_hd35_nas_customer_review&quot; target=&quot;_new&quot;&gt;review&lt;/a&gt;), i looked around for an alternative solution. I didn't need to look around lot, until i found a product that perfectly fits me.
&lt;br /&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;img src=&quot;http://blog.f4k3.net/resources/fake/nslu2.jpg&quot; /&gt;&lt;/div&gt;&lt;p style=&quot;text-align: center;&quot;&gt;(it's actually smaller than a normal cd case, and about twice as thick)&lt;/p&gt;
&lt;br /&gt;&lt;br /&gt;
The &lt;a href=&quot;http://www.linksys.com/servlet/Satellite?c=L_Product_C2&amp;amp;childpagename=US%2FLayout&amp;amp;cid=1118334819312&amp;amp;pagename=Linksys%2FCommon%2FVisitorWrapper&quot; target=&quot;_new&quot;&gt;Linksys NSLU2&lt;/a&gt; is a small device with very low power consumption that's ment to be used in connection with the USB drive enclosures you probably already own. But there's more - it runs Linux, and &lt;a href=&quot;http://www.nslu2-linux.org/&quot; target=&quot;_new&quot;&gt;a very active community&lt;/a&gt; already evloved, bringing ports of common Linux Distributions like &lt;a href=&quot;http://www.cyrius.com/debian/nslu2/&quot; target=&quot;_new&quot;&gt;Debian&lt;/a&gt; to the &quot;Slug&quot; - as the device is called.
&lt;br /&gt;&lt;br /&gt;
Read around the www.nslu2-linux.org page, and try to find someone *not* satisfied with the device - i wasn't able to. There are lots of users reporting what kind of stuff they do on the &lt;a href=&quot;http://www.nslu2-linux.org/wiki/Info/WhatPeopleAreReallyUsingTheirSlugsFor&quot; target=&quot;_new&quot;&gt;WhatPeopleAreReallyUsingTheirSlugsFor&lt;/a&gt; page. You also may want to &lt;a href=&quot;http://www.nslu2-linux.org/wiki/HowTo/OverClockTheSlug&quot; target=&quot;_new&quot;&gt;de-underclock the device&lt;/a&gt; from 133 to 266 MHz, which is pretty easy.
&lt;br /&gt;&lt;br /&gt;
I'll get a VGA USB Dongle and see if i can use this device as a &lt;em&gt;very&lt;/em&gt; cheap thin client (it's only 79 EUR in 20% VAT austria, so it's probably even cheaper in .de). The possibilities are endless! I LOVE it!
&lt;br /&gt;&lt;br /&gt;
Oh, and, yes, there is a 2-staged bootloader on there, so a failed firmware flash won't brick it, unlike the Teac HD35-NAS.&lt;br /&gt;&lt;br /&gt;On that: i had correspondence with &lt;a href=&quot;http://www.aroundmyroom.com/blog/&quot; target=&quot;_new&quot;&gt;Dennis from www.aroundmyroom.com&lt;/a&gt;, who offers a &lt;a href=&quot;http://www.aroundmyroom.com/landisk/&quot; target=&quot;_new&quot;&gt;customized firmware on his web-page&lt;/a&gt;, so he obviously has some inside knowledge. He enlightened me that the device does NOT have any rescue system for failed firmware flashes. Actually, i googled a lot more, and found out the device is based around a chip from &lt;a href=&quot;http://www.rdc.com.tw&quot; target=&quot;_new&quot;&gt;RDC&lt;/a&gt;, the &lt;a href=&quot;http://www.rdc.com.tw/eng/product_more.asp?pid=84&quot; target=&quot;_new&quot;&gt;RDC2882&lt;/a&gt;, and has many rebranders: &lt;a href=&quot;http://www.hotway.com.tw/products/hd9.htm&quot; target=&quot;_new&quot;&gt;Hotway HD9-U2LA&lt;/a&gt;, &lt;a href=&quot;http://www.usbex.com/landrive/&quot; target=&quot;_new&quot;&gt;Usbex LanDrive&lt;/a&gt;, &lt;a href=&quot;http://www.fantec.de/html/de/2/artId/__3292/gid/__500905309053390/article.html&quot; target=&quot;_blank&quot;&gt;FANTEC LD-H35NU2-2&lt;/a&gt;, &lt;a href=&quot;http://www.fantec.de/html/de/2/artId/__3293/gid/__500905309053390/article.html&quot; target=&quot;_blank&quot;&gt;FANTEC LD-M35NU2 -2&lt;/a&gt;, &lt;a href=&quot;http://www.macpower.com.tw/products/hdd3/pleiades/pd_usblan&quot; target=&quot;_new&quot;&gt;Macpower Pleiades USB/LAN&lt;/a&gt;, &lt;a href=&quot;http://www.mapower.de/deutsch/pages/Produkte/extgeh/KC/kc31n.htm&quot; target=&quot;_new&quot;&gt;Mapower KC31N&lt;/a&gt; (which also looks *exactly* the same despite the logo. they have an extensive &lt;a href=&quot;http://www.mapower.de/deutsch/pages/Support/NAS.htm&quot; target=&quot;_new&quot;&gt;FAQ&lt;/a&gt; (german only, sorry!), also covering the hidden reset jumper and how to use it). I found all these via 2 very long forum threads &lt;a href=&quot;http://whirlpool.net.au/forum-replies-archive.cfm/424238.html&quot; target=&quot;_new&quot;&gt;here&lt;/a&gt; and &lt;a href=&quot;http://whirlpool.net.au/forum-replies-archive.cfm/404866.html&quot; target=&quot;_new&quot;&gt;here&lt;/a&gt;. I'll use the device as USB client for the Slug now ;)&lt;br /&gt;&lt;br /&gt;</description>
    
    
    
          <comments>http://blog.f4k3.net/fake/index.php/post/2006/07/11/Linksys-NSLU2-the-answer-to-your-NAS-requirements-and-more%21#comment-form</comments>
      <wfw:comment>http://blog.f4k3.net/fake/index.php/post/2006/07/11/Linksys-NSLU2-the-answer-to-your-NAS-requirements-and-more%21#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.f4k3.net/fake/index.php/feed/atom/comments/26</wfw:commentRss>
      </item>
    
  <item>
    <title>bad timing and SIP frustration</title>
    <link>http://blog.f4k3.net/fake/index.php/post/2005/02/07/bad-timing-and-SIP-frustration</link>
    <guid isPermaLink="false">urn:md5:9519f84e3eba9ee7aac6a770b4da598c</guid>
    <pubDate>Mon, 07 Feb 2005 22:12:00 +0100</pubDate>
    <dc:creator>fake</dc:creator>
        <category>embedded</category>    
    <description>    &lt;p&gt;i wondered why &lt;a href=&quot;http://openvpn.net/&quot; target=&quot;_blank&quot;&gt;openvpn&lt;/a&gt; on the &lt;a href=&quot;http://www.soekris.com/&quot; target=&quot;_blank&quot; title=&quot;soekris engineering&quot;&gt;soekris&lt;/a&gt; router kept telling me that the server certificate is 'not yet valid' - i thought the meaning was something like 'the certificate looks invalid now, but i haven't checked everything yet' (like the ssh -v authentication fall-through messages). eek. there was no 'date' utility on the box, but as the dsl link went down once again, i wanted to know when the cron-job would kick in, so i copied it over - it was the 3rd of January in 1980. Then it occured to me that openssl verify may be very aware of the fact that back then only very few certificates were valid ;) and of course the ca certificate was created somewhen in 2004, so a quick date -s (and hwclock --systohw) brought me back into the vpn (a setup where 6 routers of friends are connected, mostly for SIP and easy access to one's own boxen when at a friend), and with my free traffic/month kindly upgraded to 300GB/month, i went on installing &lt;a href=&quot;http://www.iptel.org/ser/&quot; target=&quot;_blank&quot;&gt;SER&lt;/a&gt; on the vpn knot instantly.&lt;/p&gt;
&lt;p&gt;unfortunately, no other participant of the VPN was availible, so i asked on the rock linux channel (#rocklinux on freenode.net) wether someone had a sip ua running by chance. &lt;a href=&quot;https://blog.f4k3.net/page/daja77&quot; target=&quot;_blank&quot;&gt;daja&lt;/a&gt; even compiled &lt;a href=&quot;http://www.wirlab.net/kphone/index.html&quot; target=&quot;_blank&quot; title=&quot;kphone... a sip ua.&quot;&gt;kphone&lt;/a&gt; to help me out, but the frustration was big. as nice as sip is when used in non-NAT-areas, as much it sucks as soon as NAT comes into play. Okay, i admit, there was a time when i considered it perfectly normal to install a sip proxy on your router or at least do some port forwading and do the 'accpeted media ports'-dance - but then there was skype... the evil, evil &lt;a href=&quot;http://www.skype.com&quot; target=&quot;_blank&quot; title=&quot;i can't believe i link their page!&quot;&gt;skype&lt;/a&gt; that 'just works, nat or not'. kinda changed my view on that...&lt;/p&gt;
&lt;p&gt;beside that, today was more the relaxed kind of day, not to say boring... believe it or not, i'm going to watch another episode of 'gilmore girls' now ... o_O&lt;/p&gt;</description>
    
    
    
          <comments>http://blog.f4k3.net/fake/index.php/post/2005/02/07/bad-timing-and-SIP-frustration#comment-form</comments>
      <wfw:comment>http://blog.f4k3.net/fake/index.php/post/2005/02/07/bad-timing-and-SIP-frustration#comment-form</wfw:comment>
      <wfw:commentRss>http://blog.f4k3.net/fake/index.php/feed/atom/comments/6</wfw:commentRss>
      </item>
    
</channel>
</rss>