[CentOS] Ndiswrapper refuses to install?

Fri Mar 23 21:33:14 UTC 2012
Akemi Yagi <amyagi at gmail.com>

On Fri, Mar 23, 2012 at 2:16 PM, Marko Vojinovic <vvmarko at gmail.com> wrote:
>
> Hi everyone! :-)
>
> I have a problem with making a wireless USB dongle work under CentOS 6. The
> dongle is known to not work natively under Linux and last time I used it (cca
> 3 years ago) I managed to get it working using ndiswrapper.
>
> This time I was hoping to make it work again in the same way. But the "yum
> install kmod-ndiswrapper" reports the following (among other regular stuff):
>
> Error: Package: kmod-ndiswrapper-1.56-1.el6.elrepo.i686 (elrepo)
>           Requires: kernel(per_cpu__kstat) = 0xb3994c7a
>           Installed: kernel-2.6.32-220.2.1.el6.i686 (@updates)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>           Installed: kernel-2.6.32-220.4.2.el6.i686 (@updates)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>           Installed: kernel-2.6.32-220.7.1.el6.i686 (@updates)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>           Available: kernel-2.6.32-220.el6.i686 (base)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>           Available: kernel-2.6.32-220.4.1.el6.i686 (updates)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>           Available: kernel-debug-2.6.32-220.el6.i686 (base)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>           Available: kernel-debug-2.6.32-220.2.1.el6.i686 (updates)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>           Available: kernel-debug-2.6.32-220.4.1.el6.i686 (updates)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>           Available: kernel-debug-2.6.32-220.4.2.el6.i686 (updates)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>           Available: kernel-debug-2.6.32-220.7.1.el6.i686 (updates)
>               kernel(per_cpu__kstat) = 0x0954e8e2
>
> And yum refuses to install it. I've never seen this kind of report by yum.
> What's going on here? And more importantly, how do I install kmod-ndiswrapper
> on my up-to-date CentOS 6.2?

That is odd. What is your kernel?

uname -mri

Also, there is some chance that you can find a driver for your
wireless USB dongle. That would eliminate the need for ndiswrapper.
Please give more detailed info. Output from the lsusb command will be
useful.

Akemi