Solution for NDIS Driver failed to install problem on HUAWEI Broadband devices:
Run the below command after installing the Huawei Modem Driver with NDIS driver install failed.
sudo gedit /usr/local/Mobile_Partner/driver/ndis_driver/ndis_src/src/hw_cdc_driver.c
Locate to the line Ln 2718,change dbg ("cant't kmalloc dev"); to //dbg ("cant't kmalloc dev");(...
This bug is reported here. I managed to workaround it so I thought I could share the fix so others can benefit and perhaps contribute more accurate information. Information source is soneedu commnent and Ubuntu Wiki.
Update: There is another fix suggestion which seems way more easy to do, and it was confirmed in the comments that it works.
Fix suggestion #...
I just bought the Linksys AE1200 USB Wireless adapter and it works fine 19-Oct-2012.
My lsusb results:
Bus 001 Device 005: ID 13b1:0039 Linksys AE1200 802.11bgn Wireless
Adapter [Broadcom BCM43235]
For some reason, the Win XP driver on the installation CD would not work. None of the other broadcom chipset drivers that I attempted worked for me either....
To get a file to execute at start up you essentially want to put the .desktop in
Here is how to set up a .desktop for your file from the command line:
sudo mv file.sh /usr/bin
This moves the shell file path to /usr/bin.
Then go to
Nextyou want to create a .desktop file so you type
sudo -H gedit file....
I'm running Ubuntu 12.04 and after searching these forums unsuccessfully, I have installed the driver for my AE1200 and it is working correctly.
Here is how I did it:
First, install ndiswrapper and be sure to install ndiswrapper-common and ndiswrapper-dkms as well.
Then, download the XP driver for the device: http://support.linksys.com/en-us/support/...
Run the below script only after Install NDIS driver failed error
# check if the driver was installed or not
if [ "$(ls -A $path)" ]; then
tput setaf 6; echo "Huawei modem drivers for linux are already installed on your pc.Please wait for NDIS driver installation."; tput sgr0
To install the module for the RTL8723DE chipset, first determine your kernel using uname -r if your kernel is lower than 4.11, do
sudo apt-get install build-essential dkms git
git clone -b 4.10-down https://github.com/jeremyb31/rtl8723de.git
sudo dkms add ./rtl8723de
sudo dkms install rtl8723de/22.214.171.124_21285.20171026_COEX20170111-1414
If you ...
I got around this by opening the cd up in the file finder and searching for a the packages needed and I went to the command line and did a su dpkg -i .deb and it complains about dependencies find and install those and If everything is as it should be it won't complain at any point about packages not being configured properly. Normally in the past I would add ...
As heartsmagic says, the solution was to add ndiswrapper in a new line of the file /etc/module:
gksu gedit /etc/modules
Save, close the file and reboot.
After reboot, check that the module was loaded with:
lsmod | grep ndiswrapper
(this was my own question but I lost that unregistered account).
Try to follow these steps:-
Getting the ndiswrapper package files
you need to grab all the files for linux(ubuntu) for that read this described Article.
Place the files on your Ubuntu system
After you got the files place them in a folder on you Ubuntu system. Note that the driver files will need to stay their permanently so chose a place you will not ...
By default, apt-get tries to download the package from the repositories. You should instead do it with dpkg, like:
sudo dpkg -i /home/x/Downloads/ndiswrapper.deb
If the package file name is different from ndiswrapper.deb change the command accordingly.
Or you can simply double click on the .deb file -- this will open the Software Centre and there you ...
I have an alternative suggestion to the other answers: use crontab
as root run crontab and add a job like so
This is how I would tackle this problem. I am not prepared to say it is better or worse than other answers and would welcome ...
To run it on login (I am on 12.04, so this could be slightly different), simply click on the menu in the far top right (with the shutdown options) and click on Startup Applications...
Then click on Add, give it a name and description and browse to the location of the bash script. log out, then back on and it should work.
If you are doing it this way, I ...
If your computer is connected over wifi via ndiswrapper, removing it could certainly cause problems. If you insist on uninstalling ndiswrapper, you may want to disconnect your wireless connection and even remove the windows driver first. If your wifi drops there are many possible causes:
too far from router
modem configuration, ...
I followed the instructions from @Lukashka plus the recommendations here: Install drivers (in Spanish) and it works in Ubuntu 14.10:
They say that:
1. Install ndiswrapper:
sudo aptitude install ndiswrapper-common ndiswrapper-modules-1.9 ndiswrapper-utils-1.9
2. Install drivers:
Go to the linksys page and download the drivers for xp, then follow the ...
EDIT: Run this first:
sudo rm -f /lib/modules/3.5.0-*-generic/updates/dkms/ndiswrapper.ko
Then run this:
sudo apt-get install --reinstall ndiswrapper-dkms ndiswrapper-source
This will recompile the ndiswrapper so that it will work on your kernel. See if it works for you.
Download the file to your desktop here: http://sourceforge.net/projects/ndiswrapper/files/
Drag and drop the file to your desktop and right-click it and select 'Extract Here.' Open a terminal and, with a temporary ethernet connection, do:
sudo apt-get install linux-headers-generic build-essential
You can boot using a Live USB and modify the /etc/modprobe.d/blacklist.conf file.
Just add the module you don't want to load, e.g.
You can also blacklist modules from the bootloader.
Simply add modprobe.blacklist=modname1,modname2,modname3 to your bootloader's kernel-line parameter ...
This message usually indicates that you're missing the kernel headers. When you compile a third-party kernel module, you need some source files from the kernel and a few additional files that depend on the kernel compile-time configuration and are generated when the kernel is compiled. These files are called “kernel headers”, and most Linux distributions, ...
Download the current drivers from the Ralink Support website (download both XP and Windows 7 versions):
Install Windows Wireless Drivers (ndiswrapper):
Open Software Center and search "Windows Wireless".
Click "More Info" on the Windows Wireless Drivers package.
Ensure that both Add-ons (...
Thanks for the tips and advice. I spent 3 hours on the problem and finally gave up with the Netgear USB Wifi adapter. I'm done struggling with Netgear hardware on Linux.
I drove to the closest PC shop and bought an Edimax EW-77IIUAn 150 Mbps Wireless USB adapter. It worked out of the box - No installation whatsoever :-) I plugged it in, and Ubuntu ...
Thanks to whoever posted it. It took me almost a day to get my WiFi working in my old laptop with broadcom PCI wlan. I used ndiswrapper by directly downloading it but it didn't work for me. I tried to install it by compiling the soruce code but I got into a compilation error where it said error: ‘struct kernel_stat’ has no member named ‘cpustat.
Then I ...
This same problem just started happening for me a couple days ago and in my search to fix it, I found a post this morning on ubuntuforums.org with an alternative fix. Since I haven't seen any mention of this method yet here, I figured i go ahead and post it for everyone else.
Here's HalfNote5's original post:
Since I lack enough reputation to post the ...