Poor man’s DynDNS – A PHP solution

I’m running a Thin-Client as a home server and sometimes I need access to some files at home. Since those no-ip services didn’t prove that reliable in the past, I decided to implement a DynDNS substitute in PHP.

The concept is quite simple: Let the little server at home call a PHP script somewhere on a “big” Server that has a static IP. The big server then writes the IP to a file, so it can be read from anywhere. There are two scripts that have to reside on the big server: an index.php, which reads and echoes the IP, that was recorded, and another script in a .htaccess protected folder, which is able to write the IP of the home server to a file.

Continue reading

Android ADB over Bluetooth

Today I had no WiFi. And no USB cable. So I figured out a way to use ADB over bluetooth, because no one can stop me from developing an App. It is a rather simple hack, which should work on any rooted phone (or tablet).

All you need is a terminal emulator for android, and a bluetooth capable linux computer, of course.
Continue reading