如何在Fedora 15中安装无线驱动?

如何在Fedora 15中安装无线驱动?

我已经尝试过 ndiswrapper 1.56 for fc15...它给出了以下错误:

$ make  
make -C driver  
make[1]: Entering directory `/home/dhinesh/sware/ndiswrapper-1.56/driver'  
make -C /usr/src/kernels/2.6.38.6-26.rc1.fc15.i686.PAE M=/home/dhinesh/sware/ndiswrapper-1.56/driver  
make[2]: Entering directory `/usr/src/kernels/2.6.38.6-26.rc1.fc15.i686.PAE'  
 CC [M]  /home/dhinesh/sware/ndiswrapper-1.56/driver/loader.o  
/home/dhinesh/sware/ndiswrapper-1.56/driver/loader.c:834:2: error: unknown field ‘ioctl’ specified in initializer  
/home/dhinesh/sware/ndiswrapper-1.56/driver/loader.c:834:2: warning: initialization from incompatible pointer type [enabled by default]  
/home/dhinesh/sware/ndiswrapper-1.56/driver/loader.c:834:2: warning: (near initialization for ‘wrapper_fops.llseek’) [enabled by default]  
make[3]: ** [/home/dhinesh/sware/ndiswrapper-1.56/driver/loader.o] Error 1 
make[2]: ** [_module_/home/dhinesh/sware/ndiswrapper-1.56/driver] Error 2  
make[2]: Leaving directory `/usr/src/kernels/2.6.38.6-26.rc1.fc15.i686.PAE'  
make[1]: ** [modules] Error 2  
make[1]: Leaving directory `/home/dhinesh/sware/ndiswrapper-1.56/driver'  
make: ***[all] Error 2

我怎样才能摆脱这个困境?或者任何其他发行版来安装无线驱动程序?

答案1

您有令人信服的理由自行构建它们吗?如果没有,我建议你采取两个步骤:

  • 安装 rpmfusion 存储库

在命令行上执行此操作:

su -c 'yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'
  • 从 rpmfusion 存储库安装 akmod-ndiswrapper

再次在命令行上:

su -c 'yum install akmod-ndiswrapper'

答案2

我想说的是,比起通过 ndiswrapper 使用 Windows 驱动程序,我更喜欢为 Linux 构建的驱动程序。有关正确的安装指南,请参阅无线内核站点 找到您的系统支持的设备驱动程序并按照给出的说明进行安装。

相关内容