Archive for January, 2008

Kontact è bellissimo.

Thursday, January 24th, 2008

Ok, forse un pò troppo entusiastico… cmq è da un pò che lo uso e devo dire che mi ci trovo molto bene.

Mi piace l’integrazione tra organizer, mail, news calendar che regge bene l’uso quotidiano.

Promosso.

Pensierino della sera

Friday, January 18th, 2008

Il talento è un dono.
Se non hai gli attributi a corredo, è solo talento sprecato.

NTFS user mount/umount

Sunday, January 6th, 2008

  • Check/install ntfs-3g, libfuse2 and fuse
  • GUI application ntfs-config turns write permission on and off, one-click. See qualification below.
  • External USB NTFS drives will not automount rw for users when powered on
  • Fstab for Windows-like permissions (drwxrwxrwx):
    /dev/sda2  /mnt/winxp  ntfs-3g  defaults  0 0
  • CLI temporary mount for Windows-like permissions (drwxrwxrwx):
    mount -t ntfs-3g /dev/sda2 /mnt/winxp
  • Fstab for Linux-like permissions (drwxr-xr-x):
    /dev/sda2  /mnt/winxp  ntfs-3g  uid=1000,gid=100,umask=0022  0 0
  • CLI temporary mount for Linux-like permissions (drwxr-xr-x):
    mount -t ntfs-3g -o rw,uid=1000,gid=100,umask=0022 /dev/sda3 /mnt/sda3

Credits to http://www.swerdna.net.au/linhowtontfs.html for this info.

fontconfig cache error problem

Sunday, January 6th, 2008

A failure in configure tts-opensymbol cause dpkg to fail every config when install/configure new packages. The problem here was tricky. Mi machine as a faulty motherboard (no cmos battery present) ad it loses time when i shutdown. It seems that fontconfig, to process it’s cache in a reliable way, checks timestamps on folders. And it fails if time is incoherent.

You need to run a simple “touch CACHE_DIR_NOT_WORKING” to solve the problem.

(background music: Virgin Radio)

Debian 4 and netgear ma 101

Saturday, January 5th, 2008

802.11b Wireless usb adapter

It does work / Funziona.

(Scriverò questo articolo in inglese così magari torna utile a più persone)

The netgear ma 101 works smootly under debian, but it requires a little of work to make it going.Y’ll describe my installation steps.

I started from a fresh Debian 4 testing install (codename lenny, kernel 2.6.22-3-686). Sources.list : default first cdrom and italian official debian mirror (only free packages).

To make this device work you need 2 things: at76-usb module and the firmware. In aptitude you can find at76-usb-source package module. If you look into package dependencies you’ll that firmware is required but non present (atmel-firmware isn’t into free debian repository). Please add this source

deb ftp://ftp.it.debian.org/debian testing main non-free

to your /etc/apt/sources.list or dowload the package directly from packages.debian.org. Install also package linux-source-2.6.22, and obviously install all packages that you need to build a kernel such as g++, ncurses-dev for menuconfig (or qt3-dev for xconfig or gtk for gconfig). Now you should have into /usr/src:

  1. at76-usb.tar.gz
  2. linux-source-2.6.22.tar.bz2

Unpack files, and you should have 2 more folders:

  1. modules
  2. linux-source-2.6.22

Please read Readme file into /modules/at76-usb but don’t run make now. If you do easily you will obtain an error that the kernel is not configured. You need to do 2 things

  1. export KERNEL_PATH=/usr/src/linux-source-2.6.22
  2. run a “fake”kernel configuration and compilation.I’m lazy and i din’t look into the make script of the module to see what it needed. I simply made an make menuconfig, saved and run a make inside kernel folder. In such way you can produce all config files needed by the module to compile.

Now the module will compile, but it will have incorrect versioning and it will not install with modprobe. You must copy /boot/config-2.6.22 into /usr/src/linux-source-2.6.22/.config .

Then you can enter /usr/src/modules/at76-usb and run make. make install will copy module at76-usb into the “wrong” folder: /lib/modules/2.6.22/kernel/drivers/net/wireless/ .Please move the file from here to the correct place /lib/modules/2.6.22-3-686/kernel/drivers/net/wireless/ . Run a depmod -a and finally modprobe at76-usb .

Congratulations, now your card should work.

(background music: 30 Seconds To Mars-From Yesterday / Chris Cornell - Arms Around Your Love)