分页: 1 / 1

请教关于ACER机子装9.04后网卡驱动安装的问题[已解决]

发表于 : 2009-08-24 18:56
9901B
我的本是ACER 4736G
网卡是Atheros AR8131
装9.04后发现网卡没驱动,于是到atheros官网下载了相关驱动,但安装出错,请教大家该怎么解决呢?
第一次学LINUX,希望大家能帮帮我这个菜鸟,谢谢

~~~~出错的情况~~~~

smslinfenghui@smslinfenghui-laptop:~/桌面/atheros/src$ make install
make -C /lib/modules/2.6.28-11-generic/build SUBDIRS=/home/smslinfenghui/桌面/atheros/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
CC [M] /home/smslinfenghui/桌面/atheros/src/at_common_main.o
CC [M] /home/smslinfenghui/桌面/atheros/src/atl1e_main.o
CC [M] /home/smslinfenghui/桌面/atheros/src/atl1c_main.o
CC [M] /home/smslinfenghui/桌面/atheros/src/atl1c_hw.o
CC [M] /home/smslinfenghui/桌面/atheros/src/atl1e_hw.o
CC [M] /home/smslinfenghui/桌面/atheros/src/atl1e_param.o
CC [M] /home/smslinfenghui/桌面/atheros/src/atl1c_param.o
CC [M] /home/smslinfenghui/桌面/atheros/src/atl1e_ethtool.o
CC [M] /home/smslinfenghui/桌面/atheros/src/atl1c_ethtool.o
CC [M] /home/smslinfenghui/桌面/atheros/src/kcompat.o
LD [M] /home/smslinfenghui/桌面/atheros/src/atl1e.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/smslinfenghui/桌面/atheros/src/atl1e.mod.o
LD [M] /home/smslinfenghui/桌面/atheros/src/atl1e.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
gzip -c ../atl1e.7 > atl1e.7.gz
# remove all old versions of the driver
find /lib/modules/2.6.28-11-generic -name atl1e.ko -exec rm -f {} \; || true
rm: cannot remove `/lib/modules/2.6.28-11-generic/kernel/drivers/net/atl1e/atl1e.ko': Permission denied
find /lib/modules/2.6.28-11-generic -name atl1e.ko.gz -exec rm -f {} \; || true
install -D -m 644 atl1e.ko /lib/modules/2.6.28-11-generic/kernel/drivers/net/atl1e/atl1e.ko
install: cannot remove `/lib/modules/2.6.28-11-generic/kernel/drivers/net/atl1e/atl1e.ko': Permission denied
make: *** [install] Error 1
smslinfenghui@smslinfenghui-laptop:~/桌面/atheros/src$ make install
make -C /lib/modules/2.6.28-11-generic/build SUBDIRS=/home/smslinfenghui/桌面/atheros/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic'
# remove all old versions of the driver
find /lib/modules/2.6.28-11-generic -name atl1e.ko -exec rm -f {} \; || true
find /lib/modules/2.6.28-11-generic -name atl1e.ko.gz -exec rm -f {} \; || true
install -D -m 644 atl1e.ko /lib/modules/2.6.28-11-generic/kernel/drivers/net/atl1e/atl1e.ko
install: cannot create regular file `/lib/modules/2.6.28-11-generic/kernel/drivers/net/atl1e/atl1e.ko': Permission denied
make: *** [install] Error 1
smslinfenghui@smslinfenghui-laptop:~/桌面/atheros/src$
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Re: 请教关于ACER机子装9.04后网卡驱动安装的问题。

发表于 : 2009-08-24 19:01
tenzu
难道make install也得sudo?

Re: 请教关于ACER机子装9.04后网卡驱动安装的问题。

发表于 : 2009-08-24 19:34
wangdu2002
难道make install也得sudo?
当然,没sudo怎么向系统文件夹拷贝文件?
./configure --prefix=/usr
make
sudo make install
如果不成功,再仔细看下安装说明readme,install文档。
如果实在装不上,等910再试吧。

Re: 请教关于ACER机子装9.04后网卡驱动安装的问题。

发表于 : 2009-08-25 0:15
9901B
晚上试也下用sudo make install安装
情况依旧,还是出错了。
不过----居然可以使用网卡了,奇怪啊!