Currently I have to use a pretty slow mobile internet connection. And sometimes a program is using a lot of my bandwidth. This means that I am unable to open websites or I have to wait very long. This is annoying. So I was searching for a method to monitor the network traffic per program.
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.
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>>
Add handy aliases
Add the following at the end of /etc/bash.bashrc:
alias ll='ls -l' alias pg='ps -ef|grep' alias vi='vim'
The last alias “vi” is to use vim instead of vi. vim is the more luxury editor ;-).
To install vim, enter the following command:
# apt-get install vim
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.
The architectural setup
The following list I want to connect to my eSATA SheevaPlug:
- Flashdisk 4 GB SDHC class 4 (for the Debian root filesystem)
- Eexternal USB or eSATA hard-disk 2GB or 4GB (for datastorage and variable data)
- Network cable (supplied in kit)
- miniUSB cable for serial access to the SheevaPlug (supplied in kit)
- power cord (supplied in kit)
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.
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
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.
Check if XBMC is already available for this Ubuntu release: XBMC (roadmap)
If XBMC is released for Ubuntu 10.04, you can proceed with the normal installation, otherwise you have to install from SVN.
If XBMC is available for this Ubuntu release, the installation is as follows: