Showing posts from 2010

Android Phone locked out - how to unlock it without Hard resetting it

I was watching heroes season 3, playing with the unlock schema of my phone (Android(1.6) HTC Magic) drawing strange pattern until I locked it down.

The phone shows a message : wait 30 seconds until next try (translated from french).

I did hit by mistake the recovery button which lead me to a login form asking me for username and password to unlock the device.

My phone is set-up with my google apps account 'login'

I've tryed everything and it fails to unlock telling me 'wrong username or password'...

For example I've tryed :, login, my other gmail address with and without the

I've googled and find why it won't works :

Apparently, the phone needs a wifi internet connection so that the login/password check passes. It's plausible as the login failure is instantaneous while it should take some time to check your password over the internet through a 3G connection

it's said here by ladygrant87 :


Thecus NAS N4100Pro

I've purchased a year and a half ago a NAS from Thecus. It's the N4100Pro model which you can see on the right.

The purpose of this post is to tell how I'm satisfied with my Thecus NAS !

It's so rare that the product is good and the support by the company is so good that It needs to be shout ! ;)
Usually, what you can read on internet is complains, issue...

Here it's just about satisfaction !

First, the installation and setup was easy, the features was here and working.
Ok it's what I've paid for...

But I've been quite surprised that Thecus was actually updating the firmware and adding functionality regularly which gives some new functionality, new user interface.

Just compare this situation to Sony :  I've bought a laptop half a year ago, with windows vista. I've upgrade to windows 7 :  they offer no support for windows 7 at all for my laptop. No driver, no help. The result : My laptop battery hold 1 hour max. The webcam do not work...


Bacula upgrade while updating ubuntu to 10.04

When you update your ubuntu to 10.04, the upgrade process forgets to update the bacula database which ends with this in bacula logs :

02-May 17:39 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 12, got 10 02-May 17:39 bacula-dir JobId 0: Fatal error: Could not open Catalog "MyCatalog", database "bacula". 02-May 17:39 bacula-dir JobId 0: Fatal error: Version error for database "bacula". Wanted 12, got 10 02-May 17:39 bacula-dir ERROR TERMINATION Please correct configuration file: /etc/bacula/bacula-dir.conf
to correct this you need to run manuall two SQL scripts to upgrade the database (extracted from sources of bacula).

First you need to edit ~/.my.cnf so that 'mysql' command use this file to connect to the database :

[client] user=root password=YOU_MYSQL_ROOT_PWD_HERE protocol=tcp
or change the scripts so that

this line :

if $bindir/mysql $* -f <<END-OF-DATA
is changed to this line :

if $bindir/mysql -…

Ubuntu 10.04 : Install and set Sun JDK as default

Since ubuntu 10.04, Sun JDK has been dropped and replaced by openjdk.
Literally replaced, ie : Sun JDK remove, openjdk installed.

This is performed during the upgrade without explicitly asking you for your consent...
which is quite ugly... After the upgrade, my tomcat was not working anymore...

Anyway, in order to install Sun JDK back you just have to :
vi /etc/apt/sources.listand check if the following line is present :
deb lucid partnerif not, add it at the end of the file.
then run
sudo aptitude update
to get the package list from the new repo.
and then run :
sudo aptitude install sun-java6-jdkbut after that, if you run java -version, it's still the openjdk version.

thomas@daisybox:/usr/lib/jvm/java-6-sun$ java -version java version "1.6.0_18" OpenJDK Runtime Environment (IcedTea6 1.8) (6b18-1.8-0ubuntu1) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) thomas@daisybox:/usr/lib/jvm/java-6-sun$ which java /usr/bin/java thomas@daisybox:/…

Default windows 'temp' directory prevents Oracle Universal Installer to launch

Today I was by a client to proceed on a delicate TIBCO iProcess upgrade, and I encounter a strange issue : Oracle Universal Installer ( or won't launch.

If you watch in process explorer, you can see a java process (javaw.exe) launch and die.

I found out that it was the default 'temp' (or tmp) directory that was preventing Oracle Universal Installer to launch.

On this particular machine, the default setting is :

%USERPROFILE%\Local Settings\Temp

which is expanded to (+ oracle path) :

C:\Documents and Settings\matr1x!\Local Settings\Temp\OraInstall2010-05-11_10-08-17AM\jre\bin

I've replaced TEMP and TMP environment variable value by 'c:\temp' and I was able to launch the Oracle Installer and perform the installation.
(using C:\Install\Oracle\client 9i\92010NT_Disk1\install\win32\setup.exe,
C:\Install\Oracle\client 9i\92010NT_Disk1\setup.exe still wasn't working)

Week number (on monday) in Google Calendar

I've been using this calendar to have week number in google calendar :
But since a few weeks it fails to load. I try to re-add it without success from the webpage.

I managed to make it work again by tweaking the url :

replace GOOGLEAPPSDOMAIN.COM by your google apps domain name, paste the link in a browser that have a google apps session open, it will ask for comfirmation before adding this calendar to your calendar, click yes and you have weeks number back in your caledar!

Get up to date nvidia graphical drivers on laptop

I've recently reinstalled my SONY VAIO laptop (VGN-SZ71E/B) with Windows 7 (with dual boot with Ubuntu 9.10, see this howto from lifehacker).
When I try to install the last nvidia drivers I get this error :

"nVidia setup program could not locate any drivers that are compatible with your current hardware. Setup will now exit."

So I tried the driver finder from nvdia download page, which one told me that the manufacturer (i.e. SONY) requires that the driver should be downloaded from their website.

So I get to the Sony support page to get their last driver... I was a bit disappointed by the experience :
They only propose the original driver which is as old as prehistory (November 2007) and 32bit while my windows 7 is 64bit.

After a google search, I've found laptopvideo2go website which provide a decently recent drivers (v190, July of 2009, while the last from nvidia is v195) and a modified INF file that allow the driver to install on your laptop.

Go there : http://www.…