## Summary for Ubuntu 12.04 LTS 32-bit (kernel 3.8.0-31) ## == Update repository cache and upgrade your OS == sudo update sudo apt-get upgrade sudo apt-get dist-upgrade
== Prepare build process == sudo apt-get install build-essential dkms -> make sure ndiswrapper 1.57 is installed; have a look at: http://translate.google.com/translate?hl=en&ie=UTF8&prev=_t&sl=de&tl=en&u=http://wiki.ubuntuusers.de/WLAN/NdisWrapper == Get sources in place == cd ~/tmp wget http://downloads.sourceforge.net/project/ndiswrapper/stable/ndiswrapper-1.58.tar.gz tar -xvf ndiswrapper-1.58.tar.gz sudo mkdir /usr/src/ndiswrapper-1.58 sudo cp /tmp/ndiswrapper-1.58/driver/* /usr/src/ndiswrapper-1.58 sudo cp /usr/src/ndiswrapper-1.57/dkms.conf /usr/src/ndiswrapper-1.58 == Patch package version == sudo nano /usr/src/ndiswrapper-1.58/dkms.conf -->patch line 2: -- PACKAGE_VERSION="1.57" ++ PACKAGE_VERSION="1.58" press: [ctrl] + x [enter] == Remove previous ndiswrapper version == sudo dkms remove ndiswrapper/1.57 --all == Build and Install == sudo dkms add ndiswrapper/1.58 sudo dkms build ndiswrapper/1.58 sudo dkms install ndiswrapper/1.58 == Test == modprobe ndiswrapper == Remarks == All thanks go to Roger Olivé (post #3) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1023645 Title: ndiswrapper-dkms 1.57-1ubuntu1: ndiswrapper kernel module failed to build [error: ‘struct kernel_stat’ has no member named ‘cpustat’] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ndiswrapper/+bug/1023645/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs