To enable the NTFS to write you have to install the ntfs-3g package, well in a terminal as root type:

# apt-get install ntfs-3g

And you’ll have the package installed, now you have to enable int the fstab file, these are my lines:

/dev/sda5 /home/fobia/doks ntfs-3g umask=0,force 0 0
/dev/sda2 /home/fobia/xp ntfs-3g silent,umask=0,locale=es_ES.utf8 0 0

I had some problems, so I added the force option, but the sda2 partition worked pretty good, so sda5 does, but I haven’t changed that, anyway this configuration works.

If you don’t have any problem without activating the force option, then don’t do it, because can be dangerous.


Well my friend Roger wants to know how to drop the damn dvd away, because is better download the packages, instead of download dvds that maybe you won’t use again.

This is with debian etch, if you use another version of debian just change etch to lenny, sid, or whatever you use.

These are the principal repositories, there’s a lot, but if you don’t know how this works, don’t get your sources.list stuck because you can get some errors of versions, don’t mix stable with unstable or testing, it’s dangerous, it’s under your own risk.

Well, just edit your sources.list file, to do that in a terminal as root type:

# vim /etc/apt/sources.list

Add a # at the beginning to every line that says something about cdrom

then at the end of the file, if don’t have them, add these lines:


deb etch/updates main contrib non-free

deb-src etch/updates main contrib non-free

deb etch main contrib non-free

deb-src etch main contrib non-free

Then your sources.list will be something like this:

# deb cdrom:[Debian GNU/Linux 4.0 r2 _etch_ – Official i386 CD Binary-1 20080102-13:35]/ etch contrib main

#deb cdrom:[Debian GNU/Linux 4.0 r2 _etch_ – Official i386 CD Binary-1 20080102-13:35]/ etch contrib main


deb etch/updates main contrib non-free

deb-src etch/updates main contrib non-free

deb etch main contrib non-free

deb-src etch main contrib non-free

Then just update your apt, as root type:

# apt-get update

And the next time you need some package it will be downloaded.

Hope it helps.

Have you realized when you install debian, you can mount your NTFS or FAT partition only if you are root??

Well the solution is the fstab file, I had the same problem, you can find the answer reading the manpage of fstab, but we’re not used to read the documentation.

You must understand what the line means, read your manpage just writing:

$ man fstab

And you’ll understand what my line means, well I added this line to my fstab,

# vim /etc/fstab

I didn’t have the partition in the file, so I wrote it, if you have your partition just edit your line.

/dev/sda5 /home/fobia/doks ntfs nls=utf8,umask=022 0 0

And when you reboot, you’ll see your NTFS partitions mounted, now I’ll install the ntfs and edit my fstab again, I’ll let you know how that goes.

Debian Lenny

mayo 12, 2008

I just installed Debian Lenny amd64, with 2.6.22-2 kernel, and now I can’t wait for the final release, I installed it in the laptop, and almost everything went fine, unless the Intel 3945ABG Wireless card and the Intel HDA sound, so I’m gonna show you how I made that work.

First the sound.

1. We gotta know what card we got, so we’ll run:

$ lspci | grep Audio

I got: 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)

If you get something like that, then this is going to work for you.

2. Now as root we’ll add this line to sound file, mi laptop is acer, and it works this way, I’m not really sure what you have to write if you don’t have an Acer PC.

# echo options snd-hda-intel model=acer > /etc/modprobe.d/sound

3. And install the ALSA utilities:

# aptitude install alsa-source alsa-tools alsa-tools-gui alsamixergui alsa-oss

4. To finish you have to recompile the ALSA source, just typing:

# m-a a-i alsa

When you reboot, you’ll have the sound working, It pretty simple ^_^

Now the Wireless, in this part we will recompile the iwl3945 source, we can’t install ipw3945 because the ipw3945 for this kernel doesn’t have x64 support, well I haven’t found it yet, anyway, iwl3945 is newer and it’s gonna work better 😉

I tried many ways to keep my wireless working but just this worked, with etch I had ipw3945 working pretty good, but I didn’t have my video driver, I tried recompiling my kernel but It didn’t work, I did something wrong, i guess, that’s why I get Debian Lenny, well the original post is this, I’m just writing that again, but I did it just the way it says and It worked.


To double check that you have the right hardware, you may need to update your PCI IDs. (And while you’re at it, you may as well update the USB IDs.)


This guide assumes that you are running a kernel version of 2.6.22 or later. If you are running Debian etch, then the 2.6.22 kernel is available from the etch-backports repository. A sample line for your /etc/apt/sources.list is as follows and at the time of writing, the package name is linux-image-2.6.22-2-686 (or -amd64).

 deb etch-backports main contrib non-free

If you have edited your /etc/apt/sources.list you will need to run aptitude update. If you have installed a new kernel, you may as well reboot into that kernel before proceeding as the use of uname below assumes that you are running the kernel for which you want to compile the module.


This guide assumes that you have set the variable $KVER to contain the current version of your kernel (e.g. 2.6.22). This can be done as follows:

 KVER=$(uname -r | sed 's,-.*,,g')

Now, obtain the kernel source and headers (both appear to be necessary at this stage) along with the firmware and make sure you have the necessary compilation tools installed:

 aptitude install linux-headers-$(uname -r) linux-source-$KVER \
       firmware-iwlwifi build-essential wireless-tools

Note that the firmware-iwlwifi package is only available in lenny/sid and that you need to either add them to your /etc/apt/sources.list too, or manually download that .deb and install it using dpkg -i.

The kernel source needs to be unpacked and a symlink put in place so that the module compiles correctly:

 cd /usr/src
 tar jxf linux-source-$KVER.tar.bz2
 ln -s /usr/src/linux-source-$KVER /lib/modules/$(uname -r)/source

Now, obtain the latest module source code. At the time of writing, it was version 1.1.18 which is known to work with 2.6.22. You can check on the iwlwifi pages for the current module status.

 tar zxf iwlwifi-1.1.18.tgz

You may now compile the driver. Note that you may be required to run make twice; follow the instructions that it prints out for you.

 cd iwlwifi-1.1.18
 make install

To make the module visible to your running kernel, you may like to run depmod -a.


To load the module into the kernel:

 modprobe iwl4965

Well, that's it for now, hope it helps you.

Well, for school reasons I have to use Windows, also I like the messenger and the Windows Media, that’s why I decided to use the Virtualization.

Right now my Linux and my windows appears to be interacting.

Ok, I’m gonna explain how to do this.

I’m using innotek VirtualBox to do this, you can get it from, well once you have installed it, you have to run it, but VirtualBox has a little problem, the Virtualbox Drive (/dev/vboxdrv) has root privileges, we got to chage this, to do it, we’re going to open a terminal and write:

# sudo chown fobia:fobia /dev/vboxdrv

fobia:fobia, is my username:group, you have to change that for your username and group, if you’re using linux normally, the username and the group will be the same.

Now, we run virtualbox from Applications-> System Tools->innotek VirtualBox, you’ll got this window.


After that we’ll make a virtual machine following the instructions, actually, it’s pretty simple, I installed the WindowsXP in my virtual machine, once it’s installed, we run it.

We wait until it start, then we got the Windows screen, when we achieve this part, the virtual machine is working, like a fresh windows install.


Now we’re going to install Guest Additions in Devices menu, once the installation is done. In Machine menu we got Seamless Mode active.

Just click it or use Left Ctrl+L to use it, and the host system and the guest system will be integrated.

Screenshot, Windows in Linuxvirtualbox2

Isn’t it cool??

Sound in Ubuntu 7.10

marzo 24, 2008

When I installed my Ubuntu 7.10, there was no sound, I did a lot of thing, compiling drivers, updating kernel, but at the end, I noticed that was really easy.

In the console you must type:

sudo aptitude install linux-backports-modules-generic

This will install the backports modules in your system, and i got my sound working xD

My card is HDA Intel.

If u wanna check your sound card, try this

lspci | grep Audio

I get this:

00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)

If you get this, that means that we have the same card, so the driver is gonna work for you.