I am trying to get my dlink dwa 130 wireless usb stick working on my new install of Linux 12.10. From reading online (I know very little about Linux, I use red hat at work occasionally) it seemed I should install ndiswrapper.

I kept getting the error "module not found", and while following these instructions I am getting the following error:

/usr/src/modules/ndiswrapper/ndis.c:2657:24: error: ‘struct kernel_stat’ has no member named ‘cpustat’
/usr/src/modules/ndiswrapper/ndis.c:2658:31: error: ‘struct kernel_stat’ has no member named ‘cpustat’
/usr/src/modules/ndiswrapper/ndis.c:2659:17: error: ‘struct kernel_stat’ has no member named ‘cpustat’
make[2]: *** [/usr/src/modules/ndiswrapper/ndis.o] Error 1
make[1]: *** [_module_/usr/src/modules/ndiswrapper] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-21-generic'
make: *** [modules] Error 2 

How do I fix this? As I said, I do not know much about linux, I am a wondows user primarily.


It seems a bug with version you are using, check the solution here http://ubuntuforums.org/showthread.php?p=12200453

  • I reviewed that thread already, but I did not find any helpful information related to my error. – Arathorn867 Dec 27 '12 at 0:38
  • My mistake, there is some information at the end of the thread, I will try and get 1.58rc1 – Arathorn867 Dec 27 '12 at 0:56
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – hexafraction Dec 27 '12 at 1:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.