Archive for the ‘opensource’ Category
Prosody – A study in simplicity
Thursday, April 5th, 2012
I set up my own XMPP / Jabber Server some minutes ago. I installed Prosody without any problems. You could now contact me via hanez@systemchaos.org. Please use this account for future contact requests. Since decentralization is a good way for keeping enemies away, run your own XMPP service!
The configuration took about 5 minutes. I created a certificate for encrypted communication to the server and then changed some small parts of the configuration. Since this server is “private only” I don’t need to care about much stuff. You could not register, so the most stuff is static. Adding users is not more then an “adduser” command on generic operating systems.
It is so easy… do it yourself and be autonomous from services on the net…
Posted in: community, friends, internet, jabber, network, opensource, server, service, xmpp
New “Leo Search” version released
Monday, December 19th, 2011
I updated my Firefox extension for searching the Leo.org database some minutes ago. I added no new features, just made it compatible to the newest versions of Firefox.
You will find the Download here. In some days it will be available at https://addons.mozilla.org/en-US/firefox/addon/leo-search/.
Have fun… ;)
Posted in: extension, firefox, language, leo, leo-search, news, opensource, translation
PC/SC for PHP officially released on the PECL platform
Tuesday, December 13th, 2011
I am lucky to say, that my PHP extension for using Smart Cards based on the winscard API was successful released on pecl.php.net. It is designed for the use with the wonderful project PCSC-Lite for *nix. Since PCSC-Lite is implementing the API compatible to the PC/SC standard it should be possible to compile this code on other operating systems too.
I have created this extension in 2010 but needed to clean it up and do some long term tests. It runs nicely on some machines and now you are able to do Smart Card terminal prototyping using PHP. I am using this extension to run Smart Card devices on the server side for enabling communication with Secure Application Modules (SAM) / Hardware Security Modules (HSM).
The name of the extension is “pcsc”. There is only a small subset of the API implemented but for most things this is enough. I will implement the full API at any time.
More information:
To checkout the code you need to execute the following command:
svn checkout http://svn.php.net/repository/pecl/pcsc/trunk pcsc
Thanks to the PHP developers who helped me doing this step and for commenting my code.
Posted in: account, code, hacking, language, news, opensource, pcsc, php, programming, scm, smartcard
Gentoo and Kernel 3.0
Saturday, August 27th, 2011
I upgraded to Linux kernel version 3.0.3 today and it works!
There were some things to think about but almost everything worked like kernel 2.6.39. The main problem was the Nvidia driver which must be the newest version available. The “stable” version for 2.6 doesn’t compile. I added the following to /etc/portage/package.keywords to get things run:
=sys-kernel/vanilla-sources-3.0.3 ~x86 x11-drivers/nvidia-drivers ~x86
VirtualBox modules compiled without any problems and is running like before…
Just upgrade! Ask me if you need help… ;)
Posted in: gentoo, kernel, linux, news, opensource
Arduino LM35 temperature sensor
Monday, April 11th, 2011I am ill today and needed to distract me some bit.
I added a LM35 temperature sensor to my Arduino. Since someone did the work already, I only needed to copy some code and setup the wiring on a breadboard. I used the same wiring like in the link. Below is an image of the wiring made with Fritzing. I am using a LM335 for this because there where no LM35 as a Fritzing part available…

I changed some parts of the code to only print the temperature as String to serial. In the original code the data was sent as (byte) over serial to read the value with an application created using Processing. Feel free to change this again… ;) This is the code I used:
float temp;
int tempPin = 0;
void setup()
{
Serial.begin(9600);
}
void loop()
{
temp = analogRead(tempPin);
temp = temp * 0.48828125;
Serial.println(temp);
delay(1000);
}
My output in the serial monitor of the Arduino IDE looks like this:

Posted in: arduino, avr, circuit, device, diy, embedded, fun, hacking, news, opensource, programming, sensor, wiring
Pages
Categories
account acta android app arduino arm attiny automation avr board book circuit code community cross cyanogen denmark desaster deutsch device diy dotnet electronics embedded extension firefox foo fosdem freedom freifunk friends fun games gcc gentoo german gnoduino hacking hamburg header holiday host howto httpd internet irc jabber kernel language lcd led lego leo leo-search life linux matrix mindstorms minimal mobile monitoring nagios netduino network news nxt ooc opensource openwrt pcsc photos php politics programming question recovery robotics rsync scm sensor server service shell simulation smartcard snow soap sweden sylt telemichel toolchain translation vpn website wine wiring wsdl xmpp zsh zynk
$Date: 2011-04-11 16:04:45 +0100 (Mon, 11 Apr 2011) $

