Logic Machine reactor in infinite boot loop

Two days ago my Logic Machine stopped working. The main led blinked for a few seconds and then it would reboot. I contacted the openrb support and was told what I had already thought. The SD card in the Logic Machine had gone corrupt and I needed a new one. I bought a new 4 gig card and opened the Logic Machine using a screw driver. Pushing out the main board was easy and the SD card is sitting prominently in the middle. To get it out you need to push the metal holder away from the SD card, in a sliding motion. The card can then easily be replaced with a new one.

To flash the firmware to the new card you need to download the recovery image from here. Unzip it with

gunzip recovery.img.gz

Then flash it to the SD card using

dd if=recovery.img of=/dev/sdb

(the sdb should be the device of your SD card!). It takes a few minutes as the unziped image is 3.5 Gig large.

After placing the newly burned SD card into the Logic Machine you can reach it on and then upload the reactor.img to finish the process. I then as a precaution did a factory reset by holding the reset button down for 10 secs (the red led will start blinking) and then pushing it again for 10 second (the red led will start blinking faster).

I had a fairly recent backup of my system, such that I could start living again. The whole process took about an hour to finish.

TL-WA901ND, vpnc and fritzbox

I bought a TL-WA901ND v3 as an access point in a remote location. The first thing was to install openwrt on it. This was easy, as the wiki describes it fairly straight forward.

Download the current trunk firmware. Then go to the configuration page of your TL-WA901ND and flash it over the current one. Rebooting will cause the device to fall back to and only telnet as a connection method. Log in via telnet and do a simple “passwrd” command to change it to something good. After that you have to log out and log in again using ssh.

This was the point I realised that the current version of openwrt as provided by trunk does not contain vpnc. This tool is needed to connect to my fritzbox, it does not have a standard openvpn. Even if it had, the openvpn packages and dependencies eat up all the available space on the TL-WA901ND making it unusable.

I then found out I could add and remove packages to the trunk firmware using the ImageBuilder tool. A detailed guide on how to install it can be found here.

Flashing the WA901ND over ssh is quiet easy. Go to the /tmp directory and wget the new file you want to flash. Then run

sysupgrade -v /tmp/yourfile.bin

and wait for the device to reboot.

I tried adding the latest available vpnc package to my custom firmware, but I could not get it to connect to the fritzbox, as the vpnc package is missing this patch.

As I now needed to compile my own vpnc I followed this wiki to get the toolchain installed. Make sure you get a the git sources of a the latest version of openwrt that contain vpnc.

I did a “make package/feeds/packages/libgcrypt/compile” and then later a “make package/feeds/oldpackages/vpnc/compile”.

After hat a

make package/feeds/packages/libgcrypt/install

and then later a

make package/feeds/oldpackages/vpnc/install

You will find the new packages in the “bin” directory.

All files I compiled for my use can be found here: