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

  • 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

No comments:

Post a Comment