4
回答
centos6.3连不上网,网卡安装不成功?
【寻找人气王】邀新用户免费体验华为云服务,百元话费等你拿!   

安装过程,终端:

[root@zhchPC work]# 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 is not recoverable: exiting now

举报
张超
发帖于6年前 4回/4K+阅
共有4个答案 最后回答: 6年前
[root@zhchPC work]# cd src
[root@zhchPC src]# make
make -C /lib/modules/2.6.32-279.el6.x86_64/build SUBDIRS=/work/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
CC [M] /work/src/at_common_main.o
CC [M] /work/src/atl1e_main.o
CC [M] /work/src/atl1c_main.o
CC [M] /work/src/atl1c_hw.o
CC [M] /work/src/atl1e_hw.o
CC [M] /work/src/atl1e_param.o
CC [M] /work/src/atl1c_param.o
CC [M] /work/src/atl1e_ethtool.o
CC [M] /work/src/atl1c_ethtool.o
CC [M] /work/src/kcompat.o
LD [M] /work/src/atl1e.o
Building modules, stage 2.
MODPOST 1 modules
CC /work/src/atl1e.mod.o
LD [M] /work/src/atl1e.ko.unsigned
NO SIGN [M] /work/src/atl1e.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
[root@zhchPC src]# make install
make -C /lib/modules/2.6.32-279.el6.x86_64/build SUBDIRS=/work/src modules
make[1]: Entering directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
Building modules, stage 2.
MODPOST 1 modules
make[1]: Leaving directory `/usr/src/kernels/2.6.32-279.el6.x86_64'
gzip -c ../atl1e.7 > atl1e.7.gz
# remove all old versions of the driver
find /lib/modules/2.6.32-279.el6.x86_64 -name atl1e.ko -exec rm -f {} \; || true
find /lib/modules/2.6.32-279.el6.x86_64 -name atl1e.ko.gz -exec rm -f {} \; || true
install -D -m 644 atl1e.ko /lib/modules/2.6.32-279.el6.x86_64/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
Cannot open the message catalog "man" for locale "zh_CN.UTF-8"
(NLSPATH="/usr/share/locale/%l/LC_MESSAGES/%N") 
Formatting page, please wait...
不知道安装成功了没,重启电脑后还是连不上网:
[root@zhchPC ~]# /etc/init.d/network restart
正在关闭接口 eth0: 错误:断开设备 'eth0'(/org/freedesktop/NetworkManager/Devices/0)失败:This device is not active
[失败]
关闭环回接口: [确定]
弹出环回接口: [确定]
弹出界面 eth0: 活跃连接状态:激活中
活跃连接路径:/org/freedesktop/NetworkManager/ActiveConnection/4 ** (process:3980): WARNING **: _nm_object_get_property: Error getting 'State' for /org/freedesktop/NetworkManager/ActiveConnection/4: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist 
状态:未知
错误:激活连接失败。
[失败]
弹出界面 wlan0: 错误:没有找到合适的设备:没有找到可用于连接 'System wlan0' 的设备。
[失败]
顶部