红旗6安装无线网卡驱动不成功(已成功驱动!)
我刚装了红旗6,本本上有一集成网卡能上网,另加了一个TP-LINK TP_WN310G无线网卡安装了驱动但不能启用,过程如下:root@localhost Desktop]# cd ndiswrapper-1.48
# make
make -C driver
make: Entering directory `/root/Desktop/ndiswrapper-1.48/driver'
make -C /usr/src/kernels/2.6.22.6-1-i686 SUBDIRS=/root/Desktop/ndiswrapper-1.48/driver
make: Entering directory `/usr/src/kernels/2.6.22.6-1-i686'
Building modules, stage 2.
MODPOST 1 modules
make: Leaving directory `/usr/src/kernels/2.6.22.6-1-i686'
make: Leaving directory `/root/Desktop/ndiswrapper-1.48/driver'
make -C utils
make: Entering directory `/root/Desktop/ndiswrapper-1.48/utils'
make: Nothing to be done for `all'.
make: Leaving directory `/root/Desktop/ndiswrapper-1.48/utils'
# make install
make -C driver install
make: Entering directory `/root/Desktop/ndiswrapper-1.48/driver'
make -C /usr/src/kernels/2.6.22.6-1-i686 SUBDIRS=/root/Desktop/ndiswrapper-1.48/driver
make: Entering directory `/usr/src/kernels/2.6.22.6-1-i686'
Building modules, stage 2.
MODPOST 1 modules
make: Leaving directory `/usr/src/kernels/2.6.22.6-1-i686'
echo /lib/modules/2.6.22.6-1/misc
/lib/modules/2.6.22.6-1/misc
mkdir -p /lib/modules/2.6.22.6-1/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.22.6-1/misc
/sbin/depmod -a 2.6.22.6-1 -b /
make: Leaving directory `/root/Desktop/ndiswrapper-1.48/driver'
make -C utils install
make: Entering directory `/root/Desktop/ndiswrapper-1.48/utils'
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo
NOTE: Windows driver configuration file format has changed since 1.5. You must re-install Windows drivers if they were installed before.
make: Leaving directory `/root/Desktop/ndiswrapper-1.48/utils'
mkdir -p -m 0755 /usr/man/man8
install -m 644 ndiswrapper.8 /usr/man/man8
install -m 644 loadndisdriver.8 /usr/man/man8
# ndiswrapper -i 11gAdapter.inf(注:winxp的inf文件)
driver 11gadapter is already installed
# ndiswrapper -l
Unknown line at line 5959
Unknown line at line 5960
Unknown line at line 5961
Unknown line at line 5962
Unknown line at line 5963
Unknown line at line 5964
Unknown line at line 5965
Unknown line at line 5966
Unknown line at line 5967
Unknown line at line 5968
Unknown line at line 5969
Unknown line at line 5970
11gadapter : driver installed
# demod -a
bash: demod: command not found
# mepmod -a
bash: mepmod: command not found
# depmod -a
# modprobe ndiswrapper
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
# ifconfig -a
eth0 Link encap:EthernetHWaddr 00:40:45:27:AC:CA
inet addr:192.88.1.100Bcast:255.255.255.255Mask:255.255.255.0
inet6 addr: fe80::240:45ff:fe27:acca/64 Scope:Link
UP BROADCAST RUNNING MULTICASTMTU:1500Metric:1
RX packets:3847 errors:0 dropped:0 overruns:0 frame:0
TX packets:3879 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2601008 (2.4 MiB)TX bytes:528367 (515.9 KiB)
Interrupt:11 Base address:0x2e00
lo Link encap:Local Loopback
inet addr:127.0.0.1Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNINGMTU:16436Metric:1
RX packets:27 errors:0 dropped:0 overruns:0 frame:0
TX packets:27 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3617 (3.5 KiB)TX bytes:3617 (3.5 KiB)
# iwconfig -a
-a No such device
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
#
请指教,谢谢!
[ 本帖最后由 mxlpp 于 2007-10-20 16:45 编辑 ] 终于成功了,原来是用的驱动程序有问题,用XP下提取的inf文件就可以了。:-D :-D :-D
[ 本帖最后由 mxlpp 于 2007-10-20 16:44 编辑 ]
页:
[1]