Archive for April, 2009

Rabbits on Ruby

Wednesday, April 29th, 2009

How my green RFID-Rabbit learned to talk to Ruby on OpenBSD:

  • Connect the USB-mir:ror to the computer (in my case, it’s my ALIX)
  • #git clone git://github.com/leh/ruby-mirror.git
  • #dmesg | grep Violet
    uhidev0 at uhub1 port 1 configuration 1 interface 0 “Violet Mirror” rev 1.10/1.00 addr 2
  • # sudo chmod o+r /dev/uhid0
  • # vi bin/ruby_mirror >> change device-path to /dev/uhid0
  • # sudo ruby bin/ruby_mirror examples/bunny.mir
    hey d002xxxxxxxxxxxx, never seen you before

For more information refer to ruby-mirror and to Mir:ror.

[To be continued soon.]

29042009(001).jpg

DacBookHair – Dell Mini 9 and OS X

Wednesday, April 29th, 2009

I sold my Eee PC and got a Dell Mini 9”.

After a couple of hours of reading forum entries and watching progress bars OS X is running smoothly on the system without any glitches.

25042009(005).jpg

Notes:

  • To free more space on your system get a copy of Xslimmer.
  • Don’t forget to disable the “USB Legacy Support” after installing the system. Otherwise the system will not sleep.
  • Optimize your colors: Preferences >> Display >> Dell Mini-Settings
  • Bluetooth is working, but it can’t be switched off.
  • Attaching an external display is not a problem!
  • Multitouch is not working yet.

Finally I outpaced Dell’s stupid nomads at http://www.digitalnomads.com/ ;-)

ALIX.3C3, OpenBSD, a NAS, cron and Time Machine

Tuesday, April 28th, 2009

Most of the time I know something about the stuff I buy, but in this case it was a little different: I got an ALIX.3C3 to use it

  • as a NAS (to us it with OS X Time Machine and the Air Disk Hack)
  • as a fancy cron-controlled alarm clock
  • and as a littel web server for testing purposes.

I realized a little too late that Debian-Linux doesn’t really work headless (w/out a monitor) with the ALIX. This cost me quite some time. Luckily my friend and co-worker Tom convinced me to install OpenBSD on the ALIX. Alone, I would have never made it that far.

There were a few pitfalls and little pieces of wisdom that I found along the way that wanted to share. Hopefully this blog entry will help someone else on her/his path:

  • Don’t use Debian with a headless ALIX (3C3)! It won’t boot unless you do stupid hardware hacks .
  • OpenBSD is NOT evil and it is not difficult to understand. Find someone who knows the system, get him a sixpack of beer and inhale all the knowledge that the beer set free.
  • cronjobs need to address shell scripts or programs with the full path (I don’t know why it took me so long to find that out, duh)
  • mplayer can stream music to your Apple Airport Express Station – don’t even bother about setting up the sound card etc.: # mplayer -ao rtunes:device=192.YOUR.APX.IP:af=inet musicfileOrStreamUrl.mp3
  • http://www.openbsd101.com/ is very usefull, but updating upgrading from a snapshot to a stable version 4.x (replace the x with the desired release version) of OpenBSD can be done quicker – Thanks again, Tom:
    • # ftp ftp://ftp.openbsd.org/pub/OpenBSD/4.x/i386/bsd ftp://ftp.openbsd.org/pub/OpenBSD/4.x/i386/base4x.tgz  ftp://ftp.openbsd.org/pub/OpenBSD/4.x/i386/comp4x.tgz ftp://ftp.openbsd.org/pub/OpenBSD/4.x/i386/man4x.tgz  ftp://ftp.openbsd.org/pub/OpenBSD/4.x/i386/misc4x.tgz
    • # cp /bsd /obsd (backup your kernel)
    • # tar xzpf base4x.tgz -C / (extract the archives to /, keep all rights)
    • # tar xzpf comp4x.tgz -C /
    • # tar xzpf man4x.tgz -C /
    • # tar xzpf misc4x.tgz -C /
    • # cp bsd /bsd (copy your fresh kernel to its final destination)
    • # config -e -o /bsd /bsd (optinal: add 15% RAM to the cache of the file system)
      cachepct 15
      quit
    • # reboot
    • Adjust the PKG_PATH in ~/.profile to your the path of your version
    • Exit, log in again, done.
    • Yes, you are right: You can just replace the whole system and then reboot it. Try this with any other system and you will #fail! ;-)
  • systat is a cool command

Sidenotes: The ALIX is equipped with a 4 GB Compact Flash Card. 4 GB is more than enough; currently not even 1 GB is used. In addition I attached a 2.5”-USB harddrive for my Time Machine backups.

11032009.jpg

Next project: Adding the Mir:ror as an interface to set the alarm clock using ruby-mirror.

Ambient Noise at Twitter – 2009-04-26

Sunday, April 26th, 2009
  • #dellmini & #osx completed! Yiiiiiha. #
  • Again… the green rabbit is on the mirror. (#nanoztag #office #pollution) #
  • RT @HamburgTweets: RT @Hamburg_Web: Die Freibadsaison in Hamburg beginnt! Kaifu, Billstedt und Stadtparksee sind ab Samstag geöffnet. #

(more…)

Ambient Noise at Twitter – 2009-04-12

Sunday, April 12th, 2009
  • Traded my jacket for sunshine. #
  • RT @ennomane: Doku “Der gläserne Deutsche” in der ZDF Mediathek http://is.gd/rhIi (Direktlink-Test) (via @textundblog) #
  • RT @heiko: if copying success were easy, microsoft live search would be a great search tool and opel would build audis. #
  • “Dieser Kunde ist print-belastet.” #

Ambient Noise at Twitter – 2009-04-05

Sunday, April 5th, 2009

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.0 Germany License.

Switch to our mobile site