我刚装了红旗6,本本上有一集成网卡能上网,另加了一个TP-LINK TP_WN310G无线网卡安装了驱动但不能启用,过程如下:
root@localhost Desktop]# cd ndiswrapper-1.48
[root@localhost ndiswrapper-1.48]# make
make -C driver
make[1]: 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[2]: Entering directory `/usr/src/kernels/2.6.22.6-1-i686'
Building modules, stage 2.
MODPOST 1 modules
make[2]: Leaving directory `/usr/src/kernels/2.6.22.6-1-i686'
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.48/driver'
make -C utils
make[1]: Entering directory `/root/Desktop/ndiswrapper-1.48/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/Desktop/ndiswrapper-1.48/utils'
[root@localhost ndiswrapper-1.48]# make install
make -C driver install
make[1]: 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[2]: Entering directory `/usr/src/kernels/2.6.22.6-1-i686'
Building modules, stage 2.
MODPOST 1 modules
make[2]: 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[1]: Leaving directory `/root/Desktop/ndiswrapper-1.48/driver'
make -C utils install
make[1]: 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[1]: 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
[root@localhost ndiswrapper-1.48]# ndiswrapper -i 11gAdapter.inf(注:winxp的inf文件)
driver 11gadapter is already installed
[root@localhost ndiswrapper-1.48]# 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
[root@localhost ndiswrapper-1.48]# demod -a
bash: demod: command not found
[root@localhost ndiswrapper-1.48]# mepmod -a
bash: mepmod: command not found
[root@localhost ndiswrapper-1.48]# depmod -a
[root@localhost ndiswrapper-1.48]# modprobe ndiswrapper
[root@localhost ndiswrapper-1.48]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
[root@localhost ndiswrapper-1.48]# iwconfig
lo no wireless extensions.