matthias hub's blog

Dasudian Industrial Intelligence Summit - Wuhan 2018

This week I held a short 30min introduction into "Industrial Intelligence" on the "Dasudian Industrial Intelligence Summit" in Wuhan. As the participants did come from a broad range of industries and with very different background, I kept the session about how artificial intelligence can support the industrial sector on a very high level. To make the content available to a broader audience I will publish a summary here on my personal blog as well as on

Check if iPhone is available in local network even if in sleep

Using nmap it is possible to check if an iPhone is available in the network even so.

At least execute 3 times following:

sudo nmap -PO -sU -p5353 -Pn <ip-address> | grep "1 host up" | wc -l

The best way is to regularly do this UDP ping and then e.g. if the phone doesn't reply even after x minutes it is set to be away. This is handy for presence detection in smart homes.

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:


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 I could do

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

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. fehlendem Wissen geschieht.

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):

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.

OpenLP und Android

Vor nicht allzu langer Zeit begann im [ OpenLP] Projekt die Entwicklung einer Android App, mit der man OpenLP von remote steuern kann. Diese App benutzt die remote Fähigkeit von OpenLP, ist aber noch im Anfangsstadium. Allerdings sind die Möglichkeiten, die damit eröffnet werden, sehr cool:
- über Android Phone/Tablets kann man auch Folien weiter bzw. zurückschalten. Dies kann vom Prediger oder auch von dem Lead-Musiker eingesetzt werden, um damit die Präsentation zu steuern.

On Nimbletoes in the UK

Inspired by Joe Nimbles posts on [ his facebook page] I also took some shots during my , of course with my black-olive shoes. To sum it up: it is a really new feeling of walking! Not only that your feets get a free massage during walking/running but you also get back the sense of the surrounding environment and let you feel more "humaneness" in the industrial world.

Workaround for the regularly Vodafone Mobile Broadband crashes on OS X

These days when I am using the companies UMTS on my MacBook using a USB UMTS stick (similar to []) I get from time to time an error from the Vodafone Mobile Broadband application saying, that it could not connect to the internet (and "please restart the application", but this does not help).

What helped are restart the netmgrd process, it is done with following commands in the terminal:

Getting the current IP address from the Fonera Box

I wrote a little script to get the current public IP address from the Fonera status page. In my set up the box has the default internal IP address

Here the full script:



IP_ADDRESS=wget -q -O - | grep "IP Address" | sed -n '/<td>/{p;q;}' | sed 's/.*<td>//' | sed 's/</td></tr>//'

IP Address:

Creating a screencast video on OS X with free of charge software

I had the task to record a short screencast. My plan was to do it on my MacBook as it has a decent performance (and no problems with the audio in the virtual world client as my Ubuntu laptop). On Windows I know the free and good software [ CamStudio]. But for OS X I didn't know a solution, which could achieve that with free of charge software, so I tried to find one.

Programmatically Access Resource Environment Provider Settings in WebSphere Application Server

(that is a cross post from my IBM internal blog)

Last week I had to do some library on WebSphere 6 which uses configuration data stored in a [ Resource Environment Provider]. As I had a hard time to figure out how to access the configuration and especially the attributes, here some small code snippets which show the access of a resource environment provider.

Mac binary application package and installer for OpenLP out!

Today I created a binary application package for an Python application on the OS X platform. As I had a no success with [ py2app] despite [ good tutorials] [ Raoul] pointed me to [ PyInstaller] and that the SVN version has support for Mac.


User login

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
10 + 9 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.
Powered by Drupal
Subscribe to RSS - matthias hub's blog