Archive for March, 2008

Flashing DD-WRT from OpenWRT

March 23rd, 2008 by tripledes

After I started to use OpenWRT/Kamikaze my WRT54GS has experienced some freezes, really annoying ones, so I decided to try out DD-WRT.

I needed to flash DD-WRT from command line as I had my OpenWRT without any web interface so after some reading around I have finally deduced a way to do it:

OpenWRT# cd /tmp
OpenWRT# wget http://www.dd-wrt.com/dd-wrtv2/downloads/stable/dd-wrt.v23%20SP2/mini/dd-wrt.v23_mini_wrt54gs.bin
OpenWRT# mtd -r write dd-wrt.v23_mini_wrt54gs.bin linux

Once the router is rebooted, DD-WRT’s web interface can be accessed at http://192.168.1.1 … let’s the configuring begin! ;)

Tags: , , ,

Linux: MegaUpload manager on your Linux box

March 10th, 2008 by tripledes

Today I have figured out how to download from megaupload without a Windoze machine.

What’s needed? just Wine and RapGet, configure you’re megaupload premium account (or rapidshare, etc) and start downloading whatever you want :) .

HowTo?

$ wine RapGet.exe

And you’re done!

Tags: , ,

Z-Push, ActiveSync on your Apache

March 3rd, 2008 by tripledes

Z-Push
Z-push is a web application which will allow you to synchronize your Windows Mobile device against your own web server.

How to install it?
That’s an easy answer…just go to its downloads section, get the latest tarball (at the moment of writing was version 1.0).

Untar it on your web server document root, modify the file config.php in order to meet your needs, I just changed the backend to IMAP cause by now it’s the only thing I can do, sync the mail.

Changes:

$BACKEND_PROVIDER = "BackendIMAP";
...
define('IMAP_PORT', 993);
...
define('IMAP_OPTIONS', '/ssl/novalidate-cert/norsh');
...

This changes are just cause I’m using IMAP over SSL so the port is not 143 and IMAP options for PHP module are ssl for using ciphered connection, novalidate-cert cause I use my own self-signed certificate and norsh to avoid authenticated rsh or ssh connections.

Once changes has been made, the last thing left is to add an alias to your Apache configuration, it should look like:

Alias /Microsoft-Server-ActiveSync /path/to/document_root/z-push/index.php

Now it’s time for you to configure your Windows Mobile device against your web server, check this document to see an example and for further references about z-push configuration.

Next thing will be to configure SSL in order to get my email through a secure channel.