Summary of my New Year's resolutions - 2012

[ ] Build eMaker Huxley, T. 2011-03-01
[ ] Build Samarskit for OpenPandora, T.  2011-08-09
[x] Order Retrode
[x] Become a student
it seems that i missed every resolution with due-date -.-
New year - new try

On next week i got vacation - time to build my eMaker Huxley :)

Categories: keep, alive
Date: 2012-12-12 18:47:28

Received my eMaker RepRap Huxley

A few days ago I received my brand new eMaker huxley
The delivery was very fast and the kit seems to be complete
All I need to build it is some time, and so a small vacation would be great
Maybe in February?

Categories: reprap, 3D
Date: 2012-01-04 21:17:36

Received my Retrode

At the first of jannuary I decided to buy one retrode from gp2x.de

Usage

  • unpack
  • insert cardridge
  • get a mass storage device

Pics






Categories: retrode, snes, usb
Date: 2012-01-03 21:40:52

New Year's resolutions - 2012

Same procedure as every year

[ ] Build eMaker Huxley, T. 2011-03-01
[ ] Build Samarskit for OpenPandora, T.  2011-08-09
[x] Order Retrode
[ ] Become a student
I'll update this list from time to time.

Categories: resolutions, 2012, projects
Date: 2012-01-01 22:21:17

Preordered a eMaker RepRap Huxley

Since serveral years, i want to have a printer that can print 3D objects
Now this could be possible in a few months
I've Preordered a full kit from eMakershop
I'm feeling like a 8 year old child who gains a piece of chocolate :D

Categories: reprap, 3D
Date: 2011-07-04 18:28:05

A new plugapps arch linux arm port for zipit z2

This is the second version for plugapps on zipit. It is designed to use low memory and have fun with it. A few things were only coded for zipit :)

The tar file contains:

Zipit preparation

If it is not already installed, install uboot with autoflasher or something else.
An good tutorial for this step you find here.

SD Card preparation

create 2 partition:
first primary partition for rootfs (between 700MB - xGB)
second primary partition as swap (between 32 and 128mb)

create filesystems on partitions with mkfs.ext2 and mkswap

Image extraction

0) Download plugapps version:download
1) mount your SD card
2) tar -C /mnt/my_SD_card -xvJpf /path/to/zipit-plugapps-sd-2011-06-21.tar.xz

Usage

Insert SD into zipit, start it and login with username root and password root.
Connect to wlan with samen-shop and enjoy surfing with netsurf

Useful packages

Arch linux packages will be installed with pacman
gmu: pacman -Sy gmu-z2
scummvm: pacman -Sy scummvm
vim: pacman -Sy vim

Useful links

Network: Samen network manager

Annex

Rootfs current size ist 630MB

Categories: arch, plugbox, plugapps, zipit, z2
Date: 2011-06-21 13:38:29

Samen networkmanager gains major update

Now there is a 'dialog' based console user interface called "samen-shop", which controls samen (wpa_supplicant) and wpa_cli.

samen-shop is based on wiremore, but its extended for samen and simplified.
It can also start and stop samen-handler/wpa_supplicant and save the new added wireless settings
warning:
If you save settings with samen-shop, all comments on your wpa_supplicant will be lost! Have fun with it!

Categories: c, wpa_supplicant, wpa_cli
Date: 2011-06-09 21:03:10

Plugapps SD-Image for Zipit Z2

After i installed plugapps arch linux arm port with the great tutorial from wejp
I'd like to share my result with you The tarfile contains:

  • Plugapps Arch Linux for ARM Prozessors
  • Kernel 2.6.37+
  • Fluxbox
  • Xorg
  • Mousemulation
  • Samen Netzwerkmanager
  • Links2
  • gmu
  • PXA270 mplayer

The root password is "root"

Categories: arch, plugbox, plugapps, zipit, z2
Date: 2011-06-07 21:07:40

New wireless network manager

after i'd some fun with my new zipit t2, I recognized that 32MB RAM isn't enough for wicd network manager. Omg python really, really eats lots of memory :(

So i quick hacked a new network manager in plain c to control wpa_supplicant:

Samen - Small Action ManagEr for wireless Networks

Samen is a action handler for wpa_supplicant and executes actions when wpa_supplicant connects / disconnects to a wifi network.

On main events the default action is to start/stop a dhcp client (dhcpcd, dhclient, dhclient3 or udhcpcd).
If in wpa_supplicant.conf an id_str for a network is set, the action is to start scripts /etc/samen/up-<id_str>.sh bzw. /etc/samen/down-<id_str>.sh.
In this scripts you can use ifconfig, route,... to set ip addresses or maybe start a ssh tunnel or logon on hotspots,... whatever you want.

So everything I need is possible with samen :)

Categories: c, wpa_supplicant, wpa_cli
Date: 2011-06-01 21:01:42

DIY Python Plugin Framework

I often use plugins to make it possible to dynamically extend specific parts of my python programs. Plugins are dynamically loaded from a folder and specific classed will be returned in a list. This funkction load the plugins and returns it :)

import os
import inspect
import plugins

def loadPlugins(path="plugins/*.py", baseclass=plugins.__init__.Plugin)
	classes = []
        for plugin_filename in glob.glob(path):
            plugin_filename = os.path.splitext(plugin_filename)[0].replace("/", ".").replace("\\\\",".")
            package, modul = plugin_filename.split(".")
            mod = getattr(__import__(plugin_filename), modul)
            for name, cls in inspect.getmembers(mod):
                if inspect.isclass(cls) and issubclass(cls, baseclass) and not cls is baseclass:
                    classes.append(cls)
	return classes
Now create a folder called "plugins" and create a file __init__.py. In this file you create a baseclass with the name "Plugin". If you derive from this class in another file in the plugins folder, it will be returned by the function "loadPlugins".
Categories: python, modular, plugins
Date: 2010-10-21 20:59:53