QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2789|回复: 1

红旗6安装无线网卡驱动不成功(已成功驱动!)

[复制链接]
发表于 2007-10-15 13:02:13 | 显示全部楼层 |阅读模式
我刚装了红旗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.

eth0      no wireless extensions.

[root@localhost ndiswrapper-1.48]# ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:40:45:27:AC:CA
          inet addr:192.88.1.100  Bcast:255.255.255.255  Mask:255.255.255.0
          inet6 addr: fe80::240:45ff:fe27:acca/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric: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.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric: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)

[root@localhost ndiswrapper-1.48]# iwconfig -a
-a        No such device

[root@localhost ndiswrapper-1.48]# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

[root@localhost ndiswrapper-1.48]#  
请指教,谢谢!

[ 本帖最后由 mxlpp 于 2007-10-20 16:45 编辑 ]
 楼主| 发表于 2007-10-20 16:43:00 | 显示全部楼层
终于成功了,原来是用的驱动程序有问题,用XP下提取的inf文件就可以了。

[ 本帖最后由 mxlpp 于 2007-10-20 16:44 编辑 ]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-29 10:23 , Processed in 0.045857 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表