Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

It seems a bug with version you are using, check the solution here

share|improve this answer
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 posting your answer, you agree to the privacy policy and terms of service.

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