Bernhard Rode

Free as in beer…

December 1, 2011
by Bernhard Rode
0 comments

Setting up AFP on Ubuntu

I’m using VirtualMachines for many development tasks, as I don’t want to mess my host system. To Access the files on my machines I’m using AFP which is pretty easy to use.

This setup is based upon the work of The missing readme So this post is basically just a short reminder and howot for myself :) More informations in german.

First of alle we need to install the required services:

1
sudo apt-get install netatalk avahi-daemon libnss-mdns

Then we disable legacy protocols for our file server (this step is optional): Uncomment the following lines in “/etc/default/netatalk”

1
2
3
4
5
6
ATALKD_RUN=no
PAPD_RUN=no
CNID_METAD_RUN=yes
AFPD_RUN=yes
TIMELORD_RUN=no
A2BOOT_RUN=no

Add the Shares to “/etc/netatalk/AppleVolumes.default”

1
~/ "Home Directory" allow: cnidscheme:cdb options:usedots,upriv

Add mdns to host in /etc/nsswitch.conf

1
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 <strong>mdns</strong>

Add a new services File “/etc/avahi/services/afpd.service”

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?xml version="1.0" standalone='no'?><!--*-nxml-*-->
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
<service-group>
<name replace-wildcards="yes">%h</name>
<service>
<type>_afpovertcp._tcp</type>
<port>548</port>
</service>
<service>
<type>_device-info._tcp</type>
<port>0</port>
<txt-record>model=MacPro</txt-record>
</service>
</service-group>

If you want to change the Icon, just chaange the value of model to one of the following:

  • Xserve
  • PowerBook
  • PowerMac
  • Macmini
  • iMac
  • MacBook
  • MacBookPro
  • MacBookAir
  • MacPro
  • AppleTV1,1
  • AirPort

So then just restart the service or reboot your machine to get everything up.

November 24, 2011
by Bernhard Rode
2 Comments

Master Thesis

So after one a half years at the media university of Stuttgart, I’m going to write my thesis about in-car infotainment system from now on.

We (two masters and one bachelor) are working together on different topics in a project between our University and VW. The basic idea behind the project was to find new ways of media aggregation in cars and it will last for at least three years. So we’re going to scratch the surface of some pretty interesting developments for feature in-car infotainment systems.

As we all know, the Internet/Apps/Services/…. (insert Buzzword here) is getting more and more ubiquitous. We’re only two or three steps away of getting into the Internet of Things.

So we’re trying to take on of those steps, by bringing the internet into the car.

The car development compared to the IT is … let’s call it damn slow :) … many innovations and ideas are under the hood and it takes ages until a feature is production ready.

7 years of development is o.k. for engines, security systems, etc…. but in I.T.?!?

I mean… youtube was founded in 2005 … this was just 6 years ago…

So the car manufactures need to change something in the future, although there have been many product announcements, like Twitter/Facebook integrations (‘Hello World’ for 21st century). But these are all preposterous, imho (Twitter was founded in 2006… who knows if it is still there, when I’m going to buy one of those cars in 3-4 years).

So our project is going to turn some things upside down. I’d really like to post about many topics we already talked about, but as we’re working together with VW not everything is open for the public. I’m trying to blog as much as possible in the near feature… so this blog will become more active and nerdy again ;)

December 29, 2010
by Bernhard Rode
0 comments

Mini Fridge Beer Cannon

This is the maiden voyage of my mini fridge that now shoots beers via iPhone. It is controlled by an iobridge via a web based iPhone interface and shoots the beers from an air cannon in the housing.

Features:
Vends 4 types of beer
Broadcasts temperature
Adjust temperature via iPhone
Aim via webcam
Auto tweet video per shot
Fire beer with 50psi of deliciousness