<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>Bluish Coder: blackdog</title>
 <link href="http://bluishcoder.co.nz/tag/blackdog/atom.xml" rel="self"/>
 <link href="http://bluishcoder.co.nz/"/>
 <updated>2018-01-10T15:35:12+13:00</updated>
 <id>http://bluishcoder.co.nz/</id>
 <author>
   <name>Bluishcoder</name>
   <email>admin@bluishcoder.co.nz</email>
 </author>

 
 <entry>
   <title>Blackdog competition winner</title>
   <link href="http://bluishcoder.co.nz/2006/02/24/blackdog-competition-winner.html"/>
   <updated>2006-02-24T23:10:00+13:00</updated>
   <id>http://bluishcoder.co.nz/2006/02/24/blackdog-competition-winner</id>
   <content type="html">&lt;p&gt;Remember the &lt;a href=&quot;http://bluishcoder.co.nz/2005/11/blackdog.html&quot;&gt;Blackdog&lt;/a&gt;? A small linux server that fits in the palm of your hand, automatically turning on when plugged into the usb port of a host machine.&lt;/p&gt;

&lt;p&gt;Realm Systems, the makers of the Blackdog, held a competition for people to implement innovative ways of using the device with a grand prize of $50,000. The &lt;a href=&quot;http://biz.yahoo.com/prnews/060222/sfw044.html?.v=49&quot;&gt;winner was recently announced&lt;/a&gt;:&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Realm Systems has announced that Terry Bayne is the Grand Prize winner of the
Project BlackDog Skills contest. He won $50,000 for his work on &quot;Kibble,&quot; a
tool for building integration solutions between the host PC and the BlackDog
device using a SOAP-based RPC mechanism to send arbitrary (LUA) code to be
executed on the host PC from the BlackDog. A panel of judges from such firms
as HP, Dell, and Avaya determined that Kibble won for its originality, value,
and functionality.&lt;/p&gt;&lt;/blockquote&gt;
</content>
 </entry>
 
 <entry>
   <title>Erlang and Yaws on the Blackdog</title>
   <link href="http://bluishcoder.co.nz/2005/11/04/erlang-and-yaws-on-the-blackdog.html"/>
   <updated>2005-11-04T23:49:00+13:00</updated>
   <id>http://bluishcoder.co.nz/2005/11/04/erlang-and-yaws-on-the-blackdog</id>
   <content type="html">&lt;p&gt;Further to my &lt;a href=&quot;http://bluishcoder.co.nz/2005/11/04/blackdog.html&quot;&gt;post about the Blackdog&lt;/a&gt;, here are the binaries and setup instructions to get Erlang and Yaws running on it.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://bluishcoder.co.nz/bderl/otp_R10B-8.tar.bz2&quot;&gt;otp_R10B-8.tar.bz2&lt;/a&gt; (32Mb)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://bluishcoder.co.nz/bderl/yaws.tar.bz2&quot;&gt;yaws.tar.bz2&lt;/a&gt; (800Kb)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://bluishcoder.co.nz/bderl/stow.tar.bz2&quot;&gt;stow.tar.bz2&lt;/a&gt; (4Kb)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Copy these files to the blackdog then, assuming you don&#39;t have &lt;a href=&quot;http://www.gnu.org/software/stow/stow.html&quot;&gt;stow&lt;/a&gt; already installed, perform the following to install Erlang and Stow from within a blackdog xterm:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;mkdir /usr/local/stow
cd /usr/local/stow
tar jxvf /root/otp_R10B-8.tar.bz2
tar jxvf /root/stow.tar.bz2
stow-1.3.3/bin/stow stow-1.3.3
stow otp_R10B-8
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I compiled Yaws to be installed locally so the steps for that are slightly different:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cd /root
tar jxvf yaws.tar.bz2
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Edit the &#39;yaws.conf&#39; file to reflect what you want or you can leave it at the default to test the installation. To run:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;export PATH=/usr/local/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/lib:$PATH
ldconfig
cd /root
bin/yaws -i -c yaws.conf
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This runs Yaws in &#39;interactive&#39; mode. Visiting http://localhost:8000 should confirm things worked by showing the yaws standard install. To exit interactive mode and shut down Yaws press CTRL+G and press &#39;q&#39; and enter.&lt;/p&gt;

&lt;p&gt;Erlang can be run as usual with &#39;erl&#39;.&lt;/p&gt;
</content>
 </entry>
 
 <entry>
   <title>Blackdog</title>
   <link href="http://bluishcoder.co.nz/2005/11/04/blackdog.html"/>
   <updated>2005-11-04T19:44:00+13:00</updated>
   <id>http://bluishcoder.co.nz/2005/11/04/blackdog</id>
   <content type="html">&lt;p&gt;I recently got a &lt;a href=&quot;http://www.projectblackdog.com/&quot;&gt;Blackdog&lt;/a&gt; device to try some ideas out. The Blackdog is a very small Linux server with no screen or keyboard.&lt;/p&gt;

&lt;p&gt;You plug it into a PC via USB and it emulates a USB CD device. The host machine then autorun&#39;s this CD. If the host is a Windows machine it starts an X client. If it&#39;s a linux machine it does nothing.&lt;/p&gt;

&lt;p&gt;Once that is done the Blackdog then stops pretending to be a CD and pretends to be a USB ethernet device and sets a private network between the host and the Blackdog. The running X client on the host machine then connects over that network to the X server on the Blackdog. Through this you can run programs like xterm and have them display on the host. The Blackdog also does fingerprint authentication during this process to ensure the user is authenticated.&lt;/p&gt;

&lt;p&gt;It&#39;s a pretty neat little device and has some interesting possibilities. It works flawlessly connecting to Windows XP machines. For Linux machines there are a few issues as newer kernels need a patch applied to it. But with a little tweaking I&#39;ve got it working on a number of machines.&lt;/p&gt;

&lt;p&gt;The blackdog has a PPC based processor. To develop for it you use the Blackdog SDK. This includes a QEMU based system which emulates the Blackdog. You compile the software from in that and then scp it to the Blackdog. Alternatively you could apt-get the development tools on the Blackdog itself.&lt;/p&gt;

&lt;p&gt;I&#39;ve successfully got a number of programs running on it including &lt;a href=&quot;http://factor.sf.net/&quot;&gt;Factor&lt;/a&gt;, &lt;a href=&quot;http://www.erlang.org/&quot;&gt;Erlang&lt;/a&gt; and &lt;a href=&quot;http://yaws.hyber.org/&quot;&gt;Yaws&lt;/a&gt;. These run very nicely in fact. Hopefully I can develop some of my ideas so it becomes more than an interesting gadget and something actually useful to me.&lt;/p&gt;
</content>
 </entry>
 
 
</feed>
