Вы находитесь на странице: 1из 4

Default AR8151 Driver INSTALLED After a lot of try-errors, I've been able to install driver for Atheros AR8151,

under 2.6.32.6 kernel, following these steps: My Board is an ASUS P5G41T-MLX 1.-Find AR81Family-linux-v1.0.1.14.tar.gz file (google). I can not find what link I used, but in case you do not find it, drop me a line and I will send it (it is only 175KB) 2.-Install Kernel headers & build-essentials 3.- Decompress and make , and modprobe. As it was my first driver install, will write step by step what I did: [See last line of the post, as it would be almost essential to have an ethernet card to perform these steps] aptitude update aptitude safe-upgrade REBOOT proxmox:~# uname -r 2.6.32-6-pve >>>>>>> Find headers for my kernel proxmox:~# apt-cache search pve-headers* pve-headers-2.6.35-1-pve - The Proxmox PVE Kernel Headers pve-headers-2.6.32-6-pve - The Proxmox PVE Kernel Headers ....................... more proxmox:~# apt-get install pve-headers-2.6.32-6-pve Reading package lists... Done .................................... ................... Installed proxmox:~# apt-get install build-essential Reading package lists... Done Building dependency tree ................. .................. .................. INSTALLED >>>>>>>>Copy file to /usr/tmp/AR81 proxmox:/usr/tmp/AR81# ls

AR81Family-linux-v1.0.1.14.tar.gz >>>>then untar proxmox:/usr/tmp/AR81# tar zxvf AR81Family-linux-v1.0.1.14.tar.gz ./ ./atl1e.7 ./atl1e.spec ./at_osdep.h ./copying ./dkms.conf ./ldistrib.txt ./Makefile ./pci.updates ./readme ./release_note.txt ./src/ ./src/.atl1c_main.c.swo ./src/atl1c.h ./src/atl1c_ethtool.c ./src/atl1c_hw.c ./src/atl1c_hw.h ./src/atl1c_main.c ./src/atl1c_param.c ./src/atl1e.h ./src/atl1e_ethtool.c ./src/atl1e_hw.c ./src/atl1e_hw.h ./src/atl1e_main.c ./src/atl1e_param.c ./src/at_common.h ./src/at_common_main.c ./src/at_osdep.h ./src/kcompat.c ./src/kcompat.h ./src/kcompat_ethtool.c ./src/Makefile gzip: stdin: decompression OK, trailing garbage ignored ./src/Module.markers ./src/Module.symvers ./src/modules.order tar: Child returned status 2 tar: Error exit delayed from previous errors proxmox:/usr/tmp/AR81# proxmox:/usr/tmp/AR81# cd src proxmox:/usr/tmp/AR81/src# make clean

rm -rf atl1e.ko atl1e.o atl1e.mod.c atl1e.mod.o at_common_main.o atl1e_main.o atl1c_main.o atl1c_hw.o atl1e_hw.o atl1e_param.o atl1c_param.o atl1e_ethtool.o atl1c_ethtool.o kcompat.o atl1e.7.gz .*cmd .tmp_versions proxmox:/usr/tmp/AR81/src# make install make -C /lib/modules/2.6.32-6-pve/build SUBDIRS=/usr/tmp/AR81/src modules make[1]: Entering directory `/usr/src/linux-headers-2.6.32-6-pve' CC [M] /usr/tmp/AR81/src/at_common_main.o CC [M] /usr/tmp/AR81/src/atl1e_main.o CC [M] /usr/tmp/AR81/src/atl1c_main.o CC [M] /usr/tmp/AR81/src/atl1c_hw.o CC [M] /usr/tmp/AR81/src/atl1e_hw.o CC [M] /usr/tmp/AR81/src/atl1e_param.o CC [M] /usr/tmp/AR81/src/atl1c_param.o CC [M] /usr/tmp/AR81/src/atl1e_ethtool.o CC [M] /usr/tmp/AR81/src/atl1c_ethtool.o CC [M] /usr/tmp/AR81/src/kcompat.o LD [M] /usr/tmp/AR81/src/atl1e.o Building modules, stage 2. MODPOST 1 modules CC /usr/tmp/AR81/src/atl1e.mod.o LD [M] /usr/tmp/AR81/src/atl1e.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-6-pve' gzip -c ../atl1e.7 > atl1e.7.gz # remove all old versions of the driver find /lib/modules/2.6.32-6-pve -name atl1e.ko -exec rm -f {} \; || true find /lib/modules/2.6.32-6-pve -name atl1e.ko.gz -exec rm -f {} \; || true install -D -m 644 atl1e.ko /lib/modules/2.6.32-6-pve/kernel/drivers/net/atl1e/atl1e.ko /sbin/depmod -a || true install -D -m 644 atl1e.7.gz /usr/share/man/man7/atl1e.7.gz man -c -P'cat > /dev/null' atl1e || true man: cannot write to /var/cache/man/cat7/atl1e.7.gz in catman mode atl1e. proxmox:/usr/tmp/AR81/src# If make ends correctly you will have a new file on src: proxmox:/usr/tmp/AR81/src# ls *.ko atl1e.ko proxmox:/usr/tmp/AR81/src# it is also copied to /lib/modules/2.6.32-6-pve/kernel/drivers/net/atl1e/atl1e.ko so cd there and proxmox:/lib/modules/2.6.32-6-pve/kernel/drivers/net/atl1e# modprobe atl1e gives NO error

# ifconfig -a shows new device, in my case eth1, as I first plugged an old RTL8139 card to be able to connect to internet and ssh to proxmox. If fact, this should be the first thing to do, to allow performing all these operations. Hope this can help to others.... Regards Vicente Last edited by vcp_ai; 1 Week Ago at 01:11 PM. Reason: add board type

Вам также может понравиться