If you are trying to properly install a Netgear USB WLAN dongle model WG111v3 on an Ubuntu machine running the 64-bit variant - just give up!
There are numerous tutorials telling you that it would work, in version v1, v2 or v3 of the hardware - but they are all referring to the 32-bit version!
ndiswrapper uses […]
Watermarking a video with ffmpeg is simple - at least once you have the correct command line. Here is what I’ve figured out:
ffmpeg -y -i ‘inputFile.mpg’ -vhook ‘/usr/lib/vhook/watermark.so -f /home/user/VideoTag.gif’ …
I am using the older “-vhook” (video hook) functionality of ffmpeg. Please be carful with the location of the watermark.so library. Depending on your system, […]
If you do letterboxing or cropping on your video with ffmpeg, you might get this error:
“incorrect top pad size”
In this case you managed to somehow screw up the values passed to ffmpeg for resizing/padding. Have a look at your command. If you are using a script to call ffmpeg, check the algorithm that computes the […]
At least on Ubuntu Feisty Fawn 7.04, doing this:
apt-get install openssl-dev
will give you an error:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Couldn’t find package openssl-dev
As a workaround, to use openssl and openssl-dev, use the openssl-dev components from another library:
apt-get install libcurl3-openssl-dev
Also note that libgsm-dev is now libgsm1-dev !
On linux, and most other unixes, you can chain commands by simply putting a “&&” in between. This shorthand version is often used on make/install procedures without explicitely explaining it. So when you next compile something on linux, use
sudo ./configure && sudo make && sudo make install
to execute everything in batch without further typing.
(Remember that […]
Every linux/unix based OS has a built-in scheduler, a tool to automate the execution of tasks/scripts/commands at a given time. This tool is the cron daemon.
cron directories
On debian 4.0 there are two procedures to add tasks to the cron table of events. The crontab and the cron directories:
If you navigate the directory structure, you will […]
As the rise project recently found out, the pre-installed SAMBA daemon on the ASUS EeePC is an outdated version that has a security problem, allowing a knowledgeable user to gain root access on the system.
The original arcticle is over here. The little machine is running version 3.0.24 of smbd, which is vulnerable to the […]
Over time, even an ambitious project like the ASUS EeePC will run into first problems. Its growing userbase also means more focus from the black hat community. An important measure to keep a system healthy and secure is updating and other common linux security measures.
Here is my growing/work-in-progress checklist for making the ASUS Eee PC […]
When compiling a software package that is dependent on OpenSSL, it might happen that your compiler will give you the following error:
configure: error: Cannot find OpenSSL’s <evp.h> or <hmac.h>
in this case, the compiler wants to tell you that you haven’t the openSSL developer library installed. Do so by:
sudo apt-get install openssl-dev
on some systems, like […]
As simple as this:
$ apt-get install mysql-common mysql-server mysql-server-5.0
a small wizard should as for a root password (for the mysql server), otherwise:
$ mysqladmin -u root -p password ‘NewMysqlRootPassword’
You can create a database like this
$ mysqladmin -p create TestDatabase
and add users like this (allowing access to the just created db):
$ mysql -u root -p
Enter […]