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

Tuesday, November 30, 2010

Network problem : No ipv6 routers

Problem :

I start my computer and i can't connect to internet.
However, if I did : /sbin/ifconfig, I had an ip correct.
I checked the /var/log/messages and I found that message :
kernel No ipv6 routers


Solution :

I desactivate ipv6 by adding the following line : alias net-pf-10 off
in the file /etc/modprobe.conf.

Monday, November 15, 2010

Boinc on Gentoo

I) Installation :


I installed Boinc 6.10.58-r1 :

emerge sci-misc/boinc

I hava no problem with installation but when I execute Boinc, I had some errors (Buffer OverFlow).I searched on the net but I found no answer at my problem.
So for running Boinc on my computer, I went on Bionc Web Site : (http://boinc.berkeley.edu/download_all.php)
I downloaded ./boinc_6.10.58_i686-pc-linux-gnu.sh.
Then I copied as root in /opt/

chmod +x ./boinc_6.10.58_i686-pc-linux-gnu.sh
./boinc_6.10.58_i686-pc-linux-gnu.sh
cd /opt/Boinc/
./run_manager




II) Boinc as a service

If you want install Boinc as a service, see this link : service