Finally got it working because dmesg gave me the missing link: step 3.
Based on:
http://sourceforge.net/apps/mediawiki/n ... ar_WNA3100
1. Connect the WNA3100 and:
Code: Select all
lsusb
Bus 001 Device 003: ID 0846:9020 NetGear, Inc. WNA3100(v1) Wireless-N 300 [Broadcom BCM43231]
2. Get the latest ndiswrapper source:
http://sourceforge.net/projects/ndiswrapper
At moment of writing: v1.57
3. Unpack in /usr/src
Or any other directory
4. Make sure to uninstall everyting you have on ndiswrapper:
Code: Select all
apt-get purge ndiswrapper-source ndiswrapper-dkms dniswrapper-utils-1.9 ndiswrapper-common ndisgtk mintwifi
5. This step is not entirely necessary although it made my connection a bit more stable:
Code: Select all
gksu gedit /usr/src/ndiswrapper-1.57/driver/usb.c
Code: Select all
wstdcall BOOLEAN USBD_InterfaceIsDeviceHighSpeed(void *context)
{
/*struct wrap_device *wd = context;
USBTRACE("wd: %p", wd);
if (wd->usb.udev->speed == USB_SPEED_HIGH)
USBEXIT(return TRUE);
else
USBEXIT(return FALSE);*/
USBEXIT(return TRUE);
}
6. cd /usr/src/ndiswrapper-1.57
Code: Select all
make uninstall (just to be sure)
make
make install
ndiswrapper -v
7. Copy the drivers (attached to this tutorial) to /drivers/wna3100 (or any other directory)
- bcmh43xx.cat
bcmh43xx64.cat
bcmwlhigh5.inf
bcmwlhigh5.sys
bcmwlhigh564.sys
9.
Code: Select all
ndiswrapper -i /drivers/wna3100/bcmwlhigh5.inf
ndiswrapper -l
Code: Select all
ndiswrapper -a 0846:9020 bcmwlhigh5
Code: Select all
modprobe -iv ndiswrapper
If all's well:
Code: Select all
modprobe ndiswrapper
Code: Select all
dmesg | grep ndis
[ 1046.538893] RIP [<ffffffffa116f0f2>] USBD_InterfaceGetUSBDIVersion+0x2d/0x2d [ndiswrapper]
In this case the USBD_InterfaceGetUSBDIVersion needs to be changed in usb.c
When changes are made:
Code: Select all
modprobe -r ndiswrapper
11. Check if your wlan is up:
Code: Select all
iwconfig
Code: Select all
echo ndiswrapper >> /etc/modules
Edit: changed order - no code editing needed.
However, I noticed very unstable data transfer: hangs with copying "large" (300MB) files.
So, if anyone has experience with that, let me know.
Edit: thanks to nordlichreiter (see below) you can improve the stability of the connection by limiting the up and downstream:
Code: Select all
sudo apt-get install trickler
sudo -s trickle -u 5000 -d 5000 apt-get update