Tag Archives: Howto

Debian root on a flash disk and the data on a hard disk

This article is about installing Debian on a flash disk, like SD card, flash disk, Solid State Disk etc. The goal is to have the data on a hard disk. This will increase the lifetime of the flash disk.

Assumption of this article is that Debian is already installed on a flash disk in the root “/”-directory.
In the article Installing Debian on the Sheevaplug there is also a separate “/boot” ext2 partition, because U-Boot is unable to read from ext3 partitions. This article is written while installing Debian Squeeze on the SheevaPlug, but this article can also be used for other Debian or Ubuntu systems. Only the device names and partitions can be different.

Continue reading

Sheevaplug boot from SD card fails on power up

After installing Debian on SD card, it was booting successfully with the ‘run bootcmd‘. But when I switched off the power and plugged in again, I was getting the following error messages:

Error! cmd : 8, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
Error! cmd : 1, err : 0201
No MMC card found
** Bad partition 1 **
** Bad partition 1 **
## Booting image at 00800000 ...
Bad Magic Number
Marvell>>

 

Continue reading

Installing Debian on the SheevaPlug

The next step in this SheevaPlug guide is installing Debian on the SheevaPlug. Default on the SheevaPlug, Ubuntu 9.04 is provided. Ubuntu 9.04 will not be supported for a very long time any more and a Ubuntu 9.10 or higher is not available. That is why I want to install Debian on the Kingston 4GB SDHC card. Please read first the article Building the system with the esata sheevaplug, if you did not do that already.

Continue reading

warning: htmlspecialchars() expects parameter 1 to be string, array given in includes/bootstrap.inc on line 857

After the from Drupal 6.17 to 6.19, I was getting the following message on a multi-language installation:

warning: htmlspecialchars() expects parameter 1 to be string, array given in includes/bootstrap.inc on line 857.

This is nearly the same problem as described in post.

Also this problem, was only when I was logged in or switched to the default language.
The problem appears when not logged in and the language was set to the non-default language.

Continue reading

Filter unknown telephone numbers with Asterisk server

Last weeks I get more and more telephone calls from call-centres. I want to filter out this telephone calls in my Asterisk server. Call-centres often do not send their telephone number. In case a call-centre is calling, the telephone number is not shown. The number display present something like “0000000000” or “Private”, something like that. That is what I would like to use to filter this calls.

There are several ways to filter out telephone calls in Asterisk:

  • Using the Blacklist() function
  • Using Goto in case the telephone number is unknown

Continue reading

Google Docs backup script for automatic daily backup

In my opinion it is not necessary to backup the Google Docs in case of a hard disk crash on the site of Google, but I like to have my documents on my own server also. Just in case of a blocked account or when internet is temporary unavailable.

Download and unpack gdatacopier and gdata-python-client

Remark: Please check if there are newer versions available for gdata-python-client or gdatacopier.

Continue reading