Mac OSX Sierra sudo bash nor found fix

Just to document, before I used `sudo -s ''` but this did produce an `/bin/bash No such file or directory`, now I need to use `sudo bash -c ''` to achieve that the command `` is run correctly

Synology Custom Dynamic DNS

I recently bought a Synology NAS (DS213j) and had the challenge to use a custom dynamic DNS provider as DynDNS will shutdown its free plan. Actually it turned out to be very easy, I just had to add a new provider to /etc.defaults/ddns_provider.conf with following lines:

[custom-provider.com]
modulepath=DynDNS
queryurl=www.custom-provider.com/update.php?username=__USERNAME__&password=__PASSWORD__&myip=__MYIP__

Then I could select this new provider within the control panel under "remote access". Excellent!

Ubuntu 13.10 black screen on HP CQ58 solved

I got the HP CQ58 notebook with FreeDOS and - of course - installed Ubuntu on it. The installation went smooth, just after the final reboot the screen went black and did not show the graphical login screen. Also I could not switch to console login with pressing ALT+F1 or the like, screen just kept black. I tried the two things:

  • rebooted in recovery mode but then selected "resume" to continue normal boot and the login screen displayed
  • I connected an external screen to the VGA outlet and there I could see the login screen etc and also enable mirroring from there

RAID5 Recover

A single disk of my RAID5 failed, it reported that the erroneous device was /dev/sda. As I have three disks with the same size I did a ls -l /dev/disk/by-id to find the serial number of the drive which maps to /dev/sda. After I did that I could proceed to actually removing the device from the raid and replacing the hard drive.

Thanks to the cheat sheet at http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/ I could do


mdadm /dev/md0 --fail /dev/sda1 --remove /dev/sda1

VirtualBox Command-line

In the last weeks I learned that the command-line usage of VirtualBox is actually very neat and usable.
  • It is possible to start my virtual machine images headless with:
    /usr/bin/VBoxManage startvm VirtualMachineName --type headless

  • or even attaching a USB device on-the-fly (as used in the GUI):
    1. First get a list of devices with
      VBoxManage list usbhost
    2. Then have a look at the result and note the UUID, here my example:
      Host USB Devices:
      UUID: 5674d5b0-ff30-4b60-a3dd-b9ee162ff07f
      Vendor

Wortarten - kurze Zusammenfassung aus der Dudenredaktion

Eine nette Zusammenfassung der Wortarten in der deutschen Sprache aus dem Duden Newsletter
[quote]Die einzige Wortart, die konjugiert wird, sind die Verben (1). Die deklinierbaren Wörter können entweder ein festes Genus aufweisen, wie es die Substantive (2) tun, oder sie können ihr Genus anpassen. Wenn Wörter mit veränderbarem Genus gesteigert werden können, zählen sie zu den Adjektiven (3). Übrig bleiben dann die Artikel (4) und die Pronomen (5), wobei Artikel als Begleiter von Substantiven (bzw.

Hausautomation - Überlegung beim Neubau

Meine Erfahrung ist, dass auch bei einem Neubau das Thema "Hausautomation" fast gar nicht erwähnt wird. Sowohl die Verkäufer als auch später die Architekten sehen es nicht als einen relevanten Aspekt ihrer Arbeit an, Hausautomation in ihrem Tagesgeschäft zu vermarkten bzw. vorzustellen. Ich denke, dass dies aufgrund von mangelnder Erfahrung bzw.

Spaß mit der Sprache

Im Urlaub in der Türkei sind mir doch witzige Wörter der türkischen Sprache aufgefallen - speziell da ja auch Umlaute benutzt werden, hier mal ein paar Auszüge (übersetzt von Google):
  • "Güle-güle" - "Tschüss"
  • "Yavaş!" - "Langsam!"
  • "Müze" - "Museum"
  • "Ödeme" - "Zahlung"
  • "Saat" - "Stunde"
  • "Insaat" - "Baustelle"
  • "Radyo" - "Radio"
  • "Lütfen" - "Bitte"
  • "Dur" - "Stopp"
  • "tesadüfen" - "zufällig"
  • "Oto" - "Auto"
  • "Dolmuş" - "eigentlich voll" = "Minibus"
  • "Sörf" - "Surfen"
...

Thailand Embassy Numbers in China 中国泰国大使馆 电话号

As the Thailand embassy web site is not really accessible within China here the duplicated numbers from http://www.thaixian.com/index.php?lay=show&ac=article&Id=538732440. Please note: this is not an official page, last updated 2012-01-30.
  • ROYAL THAI EMBASSY, BEIJING 北京
No. 40, Guang Hua Lu Beijing 100600
Tel. (86-10) 6532-1749, 6532-1848
Fax. (86-10) 6532-1748
E-mail : thaibej@eastnet.com.cn Website : http://www.thaiembbeij.org
  • ROYAL THAI CONSULATE-GENERAL, GUANGZHOU 广州
Garden Hotel, M07 368 Huanshi Dong Lu, Guangzhou, PRC. 510064
Tel.

vodafone EasyBox Thinkpad Compatibility Settings

When moving into the new flat I replaced my Fonera Router with a vodafone EasyBox 812. Using wireless on my ThinkPad W500 laptop the connection dropped and reconnected sometimes, kind of without any reason. Sometimes it just reconnected fine, sometimes it won't reconnect and I had to wait a long time in between - turning on and off the wireless switch etc.

In some forum posts I read that disabling the "mixed mode" capability and adjusting the QoS setting should help.