TP-Link TL-MR3020/ Jul 1, 2013

TP-Link TL-MR3020

The TP-Link TL-MR3020 is a small embedded device with 32MB RAM, 4MB ROM, 100Mbit network, an Atheros AR7240 with 400MHz, and with an USB 2.0 port. This device runs with OpenWRT and the installation is easy. One of the highlights is the energy consumption, it uses 500mW with Wifi and if you connect LAN it merely draws 700mW.

WebRTC and P2P/ May 19, 2013

WebRTC and P2P

WebRTC defines a new API to enable server-less (browser to browser) communication via Javascript. Originaly it was intended to be used as Real-Time Communications (RTC). However, the standard also defines to send arbitrary data, making it suitable for browser-based P2P communication. Browser-based P2P applications are emerging and sending any kind of data via WebRTC is currently being standardized and browser implementation is under active development. Chrome and Firefox already supports it, more browsers will follow. This article presents a minimal example how browser to browser communication works.

Milestone CM7/ Dec 18, 2011

Installing CM7 7.1.2 (2.3.7) on a Motorola Milestone

Since, I got a new phone, I decided to upgrade my old Motorola Milestone with the latest cyanogenmod. CyanogenMod 7 for Milestone A853 is not officially supported by CyanogenMod, however, since I don’t need the phone to be working, I installed it.

As my phone is already rooted, I did not need to follow these instructions.


Compiling CM7

Depending on your CPU and bandwidth, this may take some hours.

mkdir cm4mm
cd cm4mm
repo init -u git:// -b gingerbread
repo sync
. build/ && brunch umts_sholes


Installing dropbear PCHA200/ Oct 31, 2011

Installing dropbear an a PCH-A200/A210 (NMT – Networked Media Tank)

First, install opkg by using the NMT Community Software Installer. If you are using Ubuntu, install sudo apt-get install mono-complete (which is probably more than you need) to make NMT-CSI run. Download the opkg package, then run sh "Linux" and go to File -> Install from File -> Of course you need to start FTP in order to connect to your device. For more details, go here.

Once opkg is installed get the package list opkg update and install opkg install dropbear. This failed with my setup, so I had to configure it manually:

After that, I modified /share/Apps/local/etc/init.d/ in order to start dropbear (inspired by this thread.

[ -e /share/Apps/local/etc/default/dropbear ] && . /share/Apps/local/etc/default/dropbear
if [ "$DROPBEAR_ENABLE" = "no" ]; then
if [ -n "`pidof /share/Apps/local/sbin/dropbear`" ]; then
    killall /share/Apps/local/sbin/dropbear 2>/dev/null
# root does not have a shell, so ssh wont work. Give the root a shell
sed -i 's#root:x:0:0:root:/root:/bin/true#root:x:0:0:root:/root:/bin/sh#g' /etc/passwd
mkdir -p /etc/dropbear
cp /share/.ssh/dropbear_dss_host_key /etc/dropbear
mkdir -p /root/.ssh
chmod 700 /root/.ssh
cp /share/.ssh/authorized_keys /root/.ssh/
chown root.root /root
# -s Disable password logins
/share/Apps/local/sbin/dropbear -s

Lets hope that the installation of an ssh server on the new Popcorn Hour A-300 is a bit easier.

Update 15.12.2011: I installed unison for doing backups on my NMT. Unfortunately, I did not find the package here. However, it turned out to be easier than I thougt. Instead of cross-compiling my own package, I tried the package from debian, and it worked by just copying the binary into the /share/Apps/local/bin/. The only problem is the CPU that slows the encrypted traffic down to around 10MBit/s.

Upload Maven Artifact Manually/ Oct 30, 2011

Upload Artifacts on the Command Line

I had to patch an external library and since my project uses Maven, I wanted to upload this patched library to my Maven repository. It turned out that I had to use maven2 as maven3 handles extensions differently.

Stackoverflow provided the rest of the information I needed to upload a library to my maven repository.

/home/draft/java/apache-maven-2.2.1/bin/mvn deploy:deploy-file -Durl=scp:// -DrepositoryId=ssh-tomp2p -DgroupId=org.jboss.netty -DartifactId=netty -Dversion=3.2.6.Patched -Dpackaging=jar -Dfile=target/netty-3.2.6.Patched.jar
Pages: [ 1 2 3 ]