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) --->
[*] Ethernet (1000 Mbit) --->
[*] Ethernet (10000 Mbit) --->
After that, I modify the following in my configuration :
- 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
No comments:
Post a Comment