Blogs

Installing the Elo Touchscreen Serial Driver

These notes describe how to install the ELO 1747 touchscreen with a serial interface in Debian Lenny (and probably Ubuntu 8.04 as well). The description provided by ELO is good, but misses some details and is hard to read. Therefore this guide here.

Note that most information is from the README that comes with the ELO driver!

Step 1

First download the driver source here. Extract them and put them somewhere, where you can find them.

Backup and restore debian/ubuntu package selection

If you are running Debian and have lost track of which packages you are running, it could be useful to get a backup of your currently installed packages. You can get a list by running:

dpkg --get-selections > debianlist.txt

This will put the entire list in debianlist.txt. You could then install the same packages on a different computer with:

Unmount busy drives

Ever tried to umount some storage device which kept being "busy"? Well, this is the way to find which program is keeping it busy:

lsof +D /mnt/windows

This will return the command and process ID of any tasks currently accessing the /mnt/windows directory. You can then locate them, or use the kill command to finish them off.

source: http://www.tuxradar.com/content/linux-tips-every-geek-should-know

Improved EeePC

 As you might remember from my previous post; I tried to change the language of Xandros on the Eeepc from Dutch to English. Well, it appeared to work, but in the end... nothing worked anymore!

So I had to do something and I did! I installed a real and decent operating system on this little friend of mine. After a short seaarch on the internet I decided that I wanted Debian on it, but I also noticed that it would take me a lot of time to get that running in the best way. Therefore I decided to download and install eeebuntu.

Mount a folder or filesystem over ssh in Debian

This is defenitely a trivial thing, but always nice to find again after a reinstall of my debian box (I like to play with that). Anyway, here we go again;

We start by installing the sshfs package with its dependancies:

   sudo aptitude install sshfs

Let it be installed. After the install you will find that it does not yet work as promissed. We still have to change some rights to make it possible for a normal user to mount the drive. Therefore we open the file 'groups' in our favorite editor:

Backup your server to an encrypted disk

Yes!!! It is very important to backup your server. Many things actually can go wrong so let me share a few:

  • your hard disk crashes and you did not use mirroring
  • your fingers where a bit loose when you where removing something (as a root?)
  • your girl/boyfriend hit the "del" button a bit to enthusiastically
  • a nasty hacker did a format on your server (or was that just an excuse?)

Anyway, in all cases... you lost something that you will not get back without a backup.

Make a full hard disk image in Linux

To make a full hard disk image in linux we will use several small programs and a livecd.

Next to this we need a place to store the image (external hard disk?). Which livecd you use is not that important. Just make sure that you access the place where you want to store the image and that you have access to gzip, dd and swapoff (if there is a swap partition).

So let us see the steps to take:

Pages

© 2008 - 2013 Patrick Hanckmann

View Patrick Hanckmann's profile on LinkedIn