There shall be booze!

And I had some more time on my hand to visit the legen-wait for it-dairy roböxotica. Where a lot of fine folks work on making Asimov’s vision come true.
So lets just start at the entrance:
The Cock’s Bar was right behind the door after you ascended to the second floor.

I only saw this later this evening, therefor not so many tech-pix, more the sheer coolness of the robots:

Bodysnatchers anyone?

The whole thing didn’t just looks as creepy as these pics:) I liked the machine (they had a very sophisticated set-up only the drink was a little too sweet and too strong for my taste but they made up by manually manually tweaking my drink. No! not what you mean the guy at the MASCHIENENKONSOLE (sorry folks, couldn’t keep names that night 😉 put some numbers in his laptop and there i got some extra orange juice!

Then my lady and me stumbled across the LoveBot 4000 where we got cranberry-vodka shots when we kissed before it. Awesome idea Folks!
Sorry folks, the only pic I got shows two friends of mine and I don’t show their image without consent.

Next up was the MELMACC, and I had at least 4 drinks made by it and I have to say, the night went blurry from there on.

Sheer awesomeness.

And not only does it make your drink it like above, no no no, it makes it anti-Bond style with an extra: The straw gets a sticker with the drinks name on it and if you ordered from facebook you’d get your username on it too!

…and it’s brains are running on some fpga and an eee-PC. Where could you go wrong? Some guy said that they were rocking the party for years with this incredible machine.

And finally the weirdest of all: Reverse Miracle by Veronika Krenn and Oliver Kellow.

They made the miracle of converting perfectly good wine to water possible. In a two-step process first the alcohol is evaporated chilled through a water-cooled pipe and collected in a glass container. When the evil spirits are gone, a little turntable turns and purified water leaves the pipe: Reverse miracle!

Tough I had a great time, I had to move on to a birthday party – and well lets just say I only had two beers there :)….

Retrobörse in Vienna 2012

Luckily I had some time last Saturday to visit the Retrobörse Wien 2012. A bunch of vintage enthusiasts and traders gathered at the Freihaus (part of TU-Wien) to chat and trade old computer games, computers and consoles. I really had to restrict myself not to buy some good condition N64 – but what would I do with it? I haven’t got no TV 😀 Entry money was 3 € which I think was okay, many people (like me) were just lurking and the cleaning lady has to be paid too.

Nevertheless I got some fine Pictures, down below some more on a really cool project aiming to get Atari into the 21st century:


My friend Markus playing some good old frogger on a system I didn’t even knew existed: the TI-99:


The one I saw in close-up. If you want to know more visit their austrian user group at ti99blog.webs.com/

This is one classic mad in my very own country by the “Post” that held a monopoly on postal services in Austria up until the early 2000nds. Sorry folks, I didn’t catch your name. get more info on the Mupid here and here.


Atari 800 XL goodness…

.. in all its glory plus some peripherals.

And now some Atari/cpu/fpga awesomeness:







This board is here to combine vintage goodness with a modern operating system and speed (~246 MHz atm). Doesn’t sound too much eh? Well these Atari’s have been stuck @ ~5 to 40 for almost 2 decades. Still there are enthusiasts out there and I had a lengthy talk with the two guys at the stand. One of them started his own button manufacturing – all designed with native Atari software check out his ebay shop.

The Firebee has some really nice hardware on it like a cyclone III fpga and some nice freescle processor. Visit their site here (WARNING, ONLY CLICK IF YOU HAVE ONE EVENING FREE ;D). It will bring out /all/ important pins – from scsi to the old buses, to interface your 1983 Casio Keyboard or the trusty synth. Remember Homers face, when he saw that super-sweet jelly venus?……

AE EP#38 Qnap TS-212 NAS Teardown & Debian Installation

Hrhr christmas was early this year and I got myself some little Network attached storage (NAS). It is a qnap TS-212, so it has 2 disk-bays and I paid about 160 € on amazon. (The 1-bay version is here).
For disks I chose 2 Western Digital WD20EURS 2 TB interne Festplatte (6,5 cm (3,5 Zoll), 5400rpm, 64MB Cache, SATA) for their low power consumption and reduced noise level.
Enjoy the teardown:

Again, sorry guys, there will be no more parts to this video. I actually recorded ~4 hours of video. 4 very LONG, BORING hours. Instead i write these things down. For the first part I mostly followed this instruction. Thank you Martin Michlmayr! (I’ll have ha copy if his page ever goes down;)

All right? Lets go! Once you backed up the Flash partition and wgetet (lol) you can ssh into the device.
ssh installer@192.168.1.100
Password is install

This would be the assigned IP-address after you booted up with disconnected network (or with no DHCP server present in your network). You can also use the DHCP page of your router to get its assigned IP of course.
Expert mode crashed on my try, so I started standard installation.
I set up the two 2TB hard drives partly as raid 1, partly as plain disk (no JBOD or any fancy stuff like that ;). My original plan failed due to the installer not recognizing my usb drives space (showed only 256 MB instead of 1GB Bug?) so I went and gave the system some raid1 on the hard drive.

the disk setup looks like this:

/dev/sda
>>partition 1: 20 GB space reserved for raid /dev/sda1
>>partition 1: 500 GB space reserved for raid /dev/sda2
>>partition 1: 1,5 TB space ext4 /dev/sda3

/dev/sdb
>>partition 1: 20 GB space reserved for raid /dev/sdb1
>>partition 1: 500 GB space reserved for raid /dev/sdb2
>>partition 1: 1,5 TB space ext4 /dev/sdb3

After running Debian’s raid setup (inside the installer it looks somewhat like this:

/dev/sda
>>partition 1: 20 GB space reserved for raid /dev/sda1
>>partition 1: 500 GB space reserved for raid /dev/sda2
>>partition 1: 1,5 TB space ext4 /dev/sda3

/dev/sdb
>>partition 1: 20 GB space reserved for raid /dev/sdb1
>>partition 1: 500 GB space reserved for raid /dev/sdb2
>>partition 1: 1,5 TB space ext4 /dev/sdb3

/dev/md0
20GB raid1 /dev/sda1 and dev/sdb1
no spares and 2 drives

/dev/md1
500GB raid1 /dev/sda2 and dev/sdb2
no spares and 2 drives

After that installation should be smooth, just be sure to select ssh server when the package selection comes up.

Now let’s generate us some rsa key for passwordless log-in. on your pc type:

# ssh-keygen -t rsa

you can choose if you safe them into your ~/.ssh/id_rsa or somewhere else. I chose to put it in a folder named qnap-TS-212 (everything concerning this device goes there).
We get two files keyname and keyname.pub.
Use scp to get the pub file to your server (erebus will be my NAS’ Name):

# scp erebus.pub root@192.168.0.12:~
# mv erebus erebus.key #just to make things clear ;)

You will need your root password from Debian setup. This will put the pub key to root’s home on the server.
Ssh into the NAS:

# ssh root@192.168.0.101

# cd /root
# mkdir .ssh
# mv erebus.key .ssh/authorized_keys
# chmod 700 .ssh
# chmod 600 .ssh/authorized_keys

Now log out…
…and back in:

# ssh root@192.168.0.101 -i erebus.key

Nice, now lets set up the hostname and network:

# nano etc/hostname and change to name of your desire (strg-x to quit y to save)
# nano etc/hosts
# #mine looks like this:
127.0.0.1 localhost
127.0.1.1 erebus erebus #that domain stuff broke the workings with windows xp :DD

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

I’m changing the network to static now coz’ the installer crashed on doing it in it.
To get networking to static Lets change /etc/network/interfaces to something like this:
WARNING YOU CAN LOCK YOURSELF OUT HERE!! visit http://www.cyrius.com/debian/kirkwood/qnap/ts-219/recovery.html for recovery information!

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.0.101
netmask 255.255.255.0
gateway 192.168.0.1

The easy way is to reboot you can also type (in one line!):

ifdown eth0 && ifup eth0

You can add $NASNAME to your /etc/hosts file to replace the IP on connecting:
192.168.0.101 erebus
Now let’s set us up some encrypted folder on the /dev/md1 partition:

# useradd claudio
# useradd isabell
# useradd guest
# passwd claudio
# passwd isabell
# passwd guest

# mount /dev/md1 /mnt
# apt-get install ecryptfs
# mkdir -m 700 /mnt/.secure #actual encrypted file system
# mkdir -m 500 /mnt/secure #mount folder, unwriteable when ecfs not mounted
# chown claudio:claudio /mnt/.secure && # chown claudio:claudio /mnt/secure

# mount -t ecryptfs /mnt/.secure /mnt/secure

Before we add the share lets get us a swap-file. Type this on /
dd if=/dev/zero of=swap bs=1M count=512
This will prompt you some questions, write down what you answered, we will ned that in the next step:
Edit /etc/fstab to the following example:

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# proc /proc proc defaults 0 0
# / was on /dev/md0 during installation
UUID=b729436e-426a-476f-9d0a-ee10a5c6164b / ext4 errors=remount-ro 0 1

#shares
/dev/md1 /srv/md1 ext4 errors=remount-ro 0 1
/dev/sda3 /srv/S1 ext4 errors=remount-ro 0 1
/dev/sdb3 /srv/S2 ext4 errors=remount-ro 0 1

/srv/md1/.secure /srv/md1/secure ecryptfs noauto,users,ecryptfs_sig=1f5d64d72507df5f,ecryptfs_cipher=aes,ecryptfs_key_bytes=32,ecrypfs_unlink_sigs 0 0

#swap
/swap swap swap defaults 0 0

This adds all partitions and a swap file on next boot or if you type mount -a.
Finally it’s time to get the samba server going (I really don’t like it, it seems to always break somehow 🙁 but you gotta use what we have…):

apt-get install samba
smbpasswd claudio
smbpasswd isabell
smbpasswd guest

Since there are about 1000 better or worse samba how-to’s out there I’ll just post my configuration, test changes with testparam.

[global]
workgroup = STRANGENET
server string = %h server
map to guest = Bad User
obey pam restrictions = Yes
guest account = guest
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
smb ports = 139 455
dns proxy = No
panic action = /usr/share/samba/panic-action %d
valid users = %S
create mask = 0700
directory mask = 0700

[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/printers

[secure]
path = /srv/md1/secure
valid users = claudio
read only = No

[important]
path = /srv/md1/important
valid users = claudio
read only = No

[claudio]
path = /srv/S1/claudio
valid users = claudio
read only = No

[isabell]
path = /srv/S1/isabell
valid users = isabell
read only = No

[guest]
path = /srv/S1/guest
valid users = isabell, claudio, guest
read only = No

[AE]
path = /srv/S2/AE
valid users = claudio
read only = No

[Media]
path = /srv/S2/Media
valid users = isabell, claudio
read only = No

At last run:
/etc/init.d/samba restart
Okay thats it! Sorry, there is no part 2 or 3 video. My footage just sucked too hard.
best,
your AE