Subscribe:

Main Menu

Rabu, Mei 14, 2008

Install Lan Card Motherboard ASUS P5GC-MX

1.Copy folder Atl2Linux_v0.2.40.0 dari CD kedalam folder anda
misal ditaruh di /home/bastomi/tmp


2.Masuk terminal ketik
cd /home/tmp/l2-linux-v1.0.40.4/src


3. Masuk sebagai user root

root@server:~/tmp/l2-linux-v1.0.40.4/src# make install
make: Warning: File `Makefile' has modification time 5.7e+07 s in the future
make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/home/active/tmp/l2-linux-v1.0.40.4/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
make[2]: Warning: File `/home/active/tmp/l2-linux-v1.0.40.4/src/Makefile' has modification time 5.7e+07 s in the future
CC [M] /home/active/tmp/l2-linux-v1.0.40.4/src/at_main.o
CC [M] /home/active/tmp/l2-linux-v1.0.40.4/src/at_hw.o
CC [M] /home/active/tmp/l2-linux-v1.0.40.4/src/at_param.o
CC [M] /home/active/tmp/l2-linux-v1.0.40.4/src/at_ethtool.o
CC [M] /home/active/tmp/l2-linux-v1.0.40.4/src/kcompat.o
LD [M] /home/active/tmp/l2-linux-v1.0.40.4/src/atl2.o
make[2]: warning: Clock skew detected. Your build may be incomplete.
Building modules, stage 2.
MODPOST 1 modules
LD [M] /home/active/tmp/l2-linux-v1.0.40.4/src/atl2.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
gzip -c ../atl2.7 > atl2.7.gz
# remove all old versions of the driver
find /lib/modules/2.6.20-15-generic -name atl2.ko -exec rm -f {} \; || true
find /lib/modules/2.6.20-15-generic -name atl2.ko.gz -exec rm -f {} \; || true
install -D -m 644 atl2.ko /lib/modules/2.6.20-15-generic/kernel/drivers/net/atl2/atl2.ko
/sbin/depmod -a || true
install -D -m 644 atl2.7.gz /usr/share/man/man7/atl2.7.gz
man -c -P'cat > /dev/null' atl2 || true
man:
cannot write to /var/cache/man/cat7/atl2.7.gz in catman mode
atl2.
make: warning: Clock skew detected. Your build may be incomplete.
root@server:~/tmp/l2-linux-v1.0.40.4/src# ls /lib/modules/2.6.20-15-generic/kernel/drivers/net/at
at1700.ko atl2/ atp.ko
root@server:~/tmp/l2-linux-v1.0.40.4/src# ls /lib/modules/2.6.20-15-generic/kernel/drivers/net/atl2/
atl2.ko
root@server:~/tmp/l2-linux-v1.0.40.4/src# modprobe atl2
root@server:~/tmp/l2-linux-v1.0.40.4/src#
4.Agar Lan Card dapat terbaca saat Reboot, harus di tambahkan di /etc/modules.conf kalo gak ada di situ cobak cari di /etc/modprobe.conf kalo gak ada lagi cari di /etc/modprobe.d/aliases
tambahkan script ini

aliases eth0 atl2


5. restart

2 komentar: