Friday, August 19, 2011

Sound card Intel Corporation 82801JI configuration



  • Sound card model :

lspci -v | grep -i audio
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller


  • Kernel 's configuration :

Device Drivers
---> Sound card support
(Assurez-vous qu'OSS est désactivé.)
---> Open Sound System   --->
   < > Open Sound System (DEPRECATED)


---> Advanced Linux Sound Architecture  --->
   Sequencer support
    OSS Mixer API
[*]     OSS PCM (digital audio) API - Include plugin system (NEW)



  • Configuration of make.conf
/etc/make.conf : USE doit contenir alsa

  • Configuration of alsa.conf


/etc/modprobe.d/alsa.conf
options snd-hda-intel index=0

Friday, August 12, 2011

Configuration of language


There is two files you have to change :

  • vi /etc/locale.gen
You have to enable the language you choose by removing the #:

fr_FR@euro ISO-8859-15
  • vi /etc/conf.d/keymaps


KEYMAP="fr"
SET_WINDOWKEYS="yes"

Tuesday, August 9, 2011

KDE 4.6.3

I installed KDE 4.6.3 with no problem.
To see which version of KDE is installed you can type the following command :

  kded4 --version

Monday, August 8, 2011

ASUS P5Q PRO : configuration of Ethernet card



I use an ethernet card integrated of the ASUS P5Q PRO mother board.
To identify my ethernet card, I did :

lspci | grep Ethernet
02:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)

In my kernel, I check the following :

[*] Network device support  --->
[*]   Ethernet (10 or 100Mbit)  --->    Atheros L2 Fast Ethernet support
[*]   Ethernet (1000 Mbit)  --->    Atheros L1E Gigabit Ethernet support (EXPERIMENTAL)
[*]   Ethernet (10000 Mbit)  --->


After that, I modify the following in my configuration :

  • hostname
vi /etc/conf.d/hostname
HOSTNAME="damitux"



  • Configuration of eth0 (DHCP)

touch /etc/conf.d/net.eth0
vi  /etc/conf.d/net.eth0

config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"

cd /etc/init.d/
ln -sfn net.lo net.eth0
rc-update add net.eth0 default


  • DHCP
emerge dhcpcd

My configuration !

Hi all,

I decided to put articles on my Gentoo configuration ! I wish it will help you and I wish you will post comments about better configuration.

Saturday, August 6, 2011

Maven 3 on Ubuntu


I install Maven 3 on Ubuntu by following this link :


Note : I have to uninstall Maven 2 and after it works.

Tuesday, August 2, 2011

Gentoo on VirtualBox


To install Gentoo on VirtualBox, there is a good tutorial :

http://rmtheis.wordpress.com/2011/03/14/gentoo-x86-linux-installation-on-a-virtualbox-image/


Some notes :

- Ethernet card :

Be sure to choose the same card for your kernel and your VirtualBox.(Me I didn't choose to make the install with Genkernel)

- Partition /boot :

Don't put ext2 in the /etc/fstab file.It's better to put ext3 else if you should have problems by executing mount /boot/.Me I had the following error : unknow filesystem ext2.

* Log in as root
* Make sure /etc/fstab has /dev/hda10 mounted to /test as ext2, read write
* umount /dev/hda10
o If you can't unmount it, then remount it read only (mount -o remount,rw /dev/hda10)
* tune2fs -j /dev/hda10
* Edit /etc/fstab, and for /dev/hda10, change ext2 to ext3
* mount /dev/hda10
* /sbin/shutdown -h now
* mount | grep /dev/hda10
o If it's not shown as ext3, reboot, if still not, troubleshoot
o Otherwise, you're done.

The more simple is that you choose directly ext3 :

/dev/sda1   /boot        ext3    defaults,noatime     1 2
/dev/sda2   none         swap    sw                   0 0
/dev/sda3   /            ext3    noatime              0 1
Notes : TODO ext4

How to set Keyboard in French in console

If you want to set temporaly the keyboard in french :

 loadkeys fr