NetGear WNA3100 is not detected

This new USB wireless adapter is not detected by OS. I have tried all possible custom configuration using networkmanager.
Any kind of info/help would be really appreciated.

thanks
Rohith

On 12/14/2010 09:06 AM, rohitacharya wrote:
>
> This new USB wireless adapter is not detected by OS. I have tried all
> possible custom configuration using networkmanager.
> Any kind of info/help would be really appreciated.

We have no idea what wireless chip is in a Netgear WNA3100. Please post the
output of the command ‘lsusb’.

The output from lsusb is:

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 0846:9020 NetGear, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

On 04/21/2011 10:06 AM, sirjohnson wrote:
>
> The output from lsusb is:
>
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96
> Optical Wheel Mouse
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 004: ID 0846:9020 NetGear, Inc.
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Sorry, but there is no Linux driver for that device. You will need to install
the ndiswrapper package for your kernel and use the Windows driver.

lwfinger,

Thanks for the reply. I’m working on that, but I’m getting stuck.

I think the driver is installed by ndiswrapper correctly. At least I get this:

ndiswrapper -l
bcmwlhigh5 : driver installed
device (0846:9020) present

Which seems to match nicely with the lsusb output for the Netgear card.

A ifconfig doesn’t show the wireless adaptor, just the wired one. So I’m stumped at what to do next. Any suggestions?

I had allot of trouble to get this adapter to work in Linux, but so far I managed to get it to work in both Fedora, Ubuntu and Crunchbang. In openSUSE it was different, but I might have a solution for it now as well, so will try it this weekend. Anyway, what you need to do is to compile ndiswrapper from source and before that you need to apply a patch to ntoskernal_io.c located in the ndiswrapper/driver folder. More info on that here and here. (third post, but edit ntoskernal_io.c first!)

The suse patch didnt work so skip that one, instead try install kmod-ndiswrapper after you are done with making ndiswrapper. I did that in fedora and it worked after getting some errors about modules not loading.

I wrote a guide on my blog in Swedish on how to compile ndiswrapper with the patch, but maybe you can use google translate or something? :smiley: Linuxbloggen

But, you can always try this if you already installed the dirver

ndiswrapper -ma
modprobe ndiswrapper

and with the last command the light should start flashing on the usb-network dongle or what it is called, indicating the wireless is active and running!

Sorry if my instructions are a bit confusing, I’m currently really drunk on wine and asking my self why I even write this? :smiley:

Will get back to you with a better explaination if needed and if you manage to get it to work, please let me know because this **** usb-network shitt is the only thing keeping me from using openSUSE at the moment >:(

Wahlgren,

Skol! :slight_smile:

Thanks for taking for a break from the wife and drinking. I think I follow you. I had already done ndiswrapper -m before. I added the -ma, but still nothing.

So I’ll follow along as best I can. I know I’ve some posts that others have got it working, but just not in SUSE yet. Hopefully this thread will have a happy ending.

On 04/21/2011 03:06 PM, sirjohnson wrote:
>
> Wahlgren,
>
> Skol! :slight_smile:
>
> Thanks for taking for a break from the wife and drinking. I think I
> follow you. I had already done ndiswrapper -m before. I added the -ma,
> but still nothing.
>
> So I’ll follow along as best I can. I know I’ve some posts that others
> have got it working, but just not in SUSE yet. Hopefully this thread
> will have a happy ending.

Is the ndiswrapper module loaded? Does ‘sudo /sbin/modprobe -v ndiswrapper’
produce any output? If so, do you have a wireless device now?

modprobe -l | grep ndiswrapper
/lib/modules/2.6.32.29-0.3-pae/weak-updates/updates/ndiswrapper.ko

localhost:/home/baysidevw # lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0846:9020 NetGear, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

localhost:/home/baysidevw # ndiswrapper -l
bcmwlhigh5 : driver installed
device (0846:9020) present

Also, there’s no ntoskernal_io.c in the bcmwlhigh5 driver folder. Just 0846:9020.F.conf, bcmwlhigh5.inf and bcmwlhigh5.sys.

I’m in the process of gathering everything necessary to compile ndiswrapper and the patches you mentioned.

Thanks,
Rich

Sorry… no output from sudo /sbin/modprobe -v ndiswrapper

it’s in the driver folder of ndsiwrapper package tyou download from here ndiswrapper | Download ndiswrapper software for free at SourceForge.net

you just need to patch and compule from source, thas all. I will write a guode tomorrow. Now goiung into terminal and “sudo poweroff” hjahaha! God natt! :smiley:

Skal to you too! :smiley: Good luck and thanks for thanking…or something. anyway, lets fix this mess together! get back to you tomorrow (swedish time)

Thanks for helping! Hey, my wife has a cousin in Malmo that works for Mercedes, maybe we can work something as compensation :wink:

So I found the file you referred to and edited. Did the patching, and the compiling. Everything was looking good.

I ran the ndiswrapper over again… ndiswrapper -ma, etc…

But nothing. I pulled the **** thing out of the port and plugged it back in and something happened. Can’t quite tell, looks like an icon to install a package. I pops up and goes away just as fast. But there’s no wireless device detected. So it’s a little better than before, at least it’s recognizing something is plugged in, but looks like it has no idea what to do with it.

So this is where I’m stuck at:

localhost:/wireless/Netgear # lsusb
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c016 Logitech, Inc. M-UV69a/HP M-UV96 Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 0846:9020 NetGear, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

localhost:/wireless/Netgear # ndiswrapper -l
bcmwlhigh5 : driver installed
device (0846:9020) present

localhost:/wireless/Netgear # iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

On 04/21/2011 05:36 PM, sirjohnson wrote:
>
> Wahlgren;2327599 Wrote:
>> Skal to you too! :smiley: Good luck and thanks for thanking…or something.
>> anyway, lets fix this mess together! get back to you tomorrow (swedish
>> time)
>
> Thanks for helping! Hey, my wife has a cousin in Malmo that works for
> Mercedes, maybe we can work something as compensation :wink:
>
> So I found the file you referred to and edited. Did the patching, and
> the compiling. Everything was looking good.
>
> I ran the ndiswrapper over again… ndiswrapper -ma, etc…
>
> But nothing. I pulled the **** thing out of the port and plugged it
> back in and something happened. Can’t quite tell, looks like an icon to
> install a package. I pops up and goes away just as fast. But there’s
> no wireless device detected. So it’s a little better than before, at
> least it’s recognizing something is plugged in, but looks like it has no
> idea what to do with it.

After you unplug and replug the device, what is at the end of the output from
‘dmesg’?

Hey it’s a small world after all and sober today so will be easier to think :wink:

So you managed to compile without any errors? That’s where I’m stuck you see. If you successfully compiled ndiswrapper with the patch, then what message do you get from the command ndiswrapper -v?

The ndiswrapper.ko file could be placed in the wrong location, so if you show us the message of ndiswrapper -v then maybe we can solve the problem.

After some tinkering with ndiswrapper and openSUSE 11.4 in virtualbox, I noticed things are not that similar like the rest of the distros out there that I got this USB-network adapter to work on.

I successfully installed ndiswrapper with both the kernel and suse patch this time and the driver is installed as well. For some reason ndiswrapper command is not found, but can be found in /usr/sbin/ndiswrapper and here is my output from ndiswrapper -v

/usr/sbin/ndiswrapper -v
utils version: '1.9', utils version needed by module: '1.9'
module details:
filename:       /lib/modules/2.6.37.1-1.2-default/updates/ndiswrapper.ko
version:        1.56
vermagic:       2.6.37.1-1.2-default SMP mod_unload modversions 586TSC

When I have done sudo /usr/sbin/ndiswrapper -ma and when I run the command modprobe /usr/sbin/ndiswrapper I get the message

FATAL: Module /usr/sbin/ndiswrapper not found.

I opened Yast - Network Settings and could see the USB-device. Choose edit and last step I got asked about what SSID to use and could find my access point! I selected it and the USB-network adapter started to flash like it does when connecting to the internet! After Network Settings finished I checked Network Interface and it said wlan0 is up and got an local ip adress. But for some reason I can’t get out on the internet and network management settings doesnt show anything except to ad a VPN.

Well, didn’t give much this asnwer I guess, but noticed there is something going on here and guess we should stick to use Yast and Network Settings after we compiled, patched and installed the driver. Also.

I’m starting to think about buying a new usb-network adapter and just replace the current one, but use the stand/dongle that comes with Netgear WNA3100. It takes to much time of my life to try and fix this…

EdIT: I did all the testing in virtualbox, so will give it another try on a fresh install tonight but now gotta go to the gym and get some muscles :smiley:

So the dmesg output is:

[54877.148034] usb 1-8: new high speed USB device using ehci_hcd and address 6
[54877.282871] usb 1-8: New USB device found, idVendor=0846, idProduct=9020
[54877.282877] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[54877.282881] usb 1-8: Product: Remote Download Wireless Adapter
[54877.282884] usb 1-8: Manufacturer: Broadcom
[54877.282886] usb 1-8: SerialNumber: 113
[54877.283058] usb 1-8: configuration #1 chosen from 1 choice
[54877.440032] usb 1-8: reset high speed USB device using ehci_hcd and address 6
[54877.626444] ndiswrapper (import:242): unknown symbol: ntoskrnl.exe:‘IoUnregisterPlugPlayNotification’
[54877.626710] ndiswrapper (load_sys_files:206): couldn’t prepare driver ‘bcmwlhigh5’
[54877.627568] ndiswrapper (load_wrap_driver:108): couldn’t load driver bcmwlhigh5; check system log for messages from ‘loadndisdriver’

Which is progress.

ndiswrapper -v gives me:

ndiswrapper -v
utils version: ‘1.9’, utils version needed by module: ‘1.9’
module details:
filename: /lib/modules/2.6.32.29-0.3-pae/weak-updates/updates/ndiswrapper.ko
version: 1.55
vermagic: 2.6.32.12-0.7-pae SMP mod_unload modversions 686

Let me check the logs to see what the problem is and post.

Ok, so it seems that the error has to do with the patch of ntoskernel_io.c. I appended the code to the bottom of the file and just checked to see that it was in fact there and it is. So I’m a little stumped why it’s having a problem with that.

I noticed that my ver of ndiswrapper was 1.55 and yours (and the downloaded ver) was 1.56. So I removed all ndiswrapper via Yast and started from scratch. No errors in compiling. And ndiswrapper -v gives me the new version.

ndiswrapper -v
utils version: ‘1.9’, utils version needed by module: ‘1.9’
module details:
filename: /lib/modules/2.6.32.29-0.3-pae/misc/ndiswrapper.ko
version: 1.56
vermagic: 2.6.32.29-0.3-pae SMP mod_unload modversions 686

Now the funny thing is when I did a ndiswrapper -l after compiling, I thought I would see no drivers loaded, but it registered bcmwlhigh5 there. I tried it and didn’t work. I uninstalled, verified nothing was loaded and loaded it again. But still nothing. dmesg says the same thing.

[56712.602422] usb 1-8: USB disconnect, address 6
[56718.304032] usb 1-7: new high speed USB device using ehci_hcd and address 7
[56718.438793] usb 1-7: New USB device found, idVendor=0846, idProduct=9020
[56718.438798] usb 1-7: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[56718.438802] usb 1-7: Product: Remote Download Wireless Adapter
[56718.438805] usb 1-7: Manufacturer: Broadcom
[56718.438808] usb 1-7: SerialNumber: 113
[56718.438990] usb 1-7: configuration #1 chosen from 1 choice
[56718.556032] usb 1-7: reset high speed USB device using ehci_hcd and address 7
[56718.762803] ndiswrapper (import:242): unknown symbol: ntoskrnl.exe:‘IoUnregisterPlugPlayNotification’
[56718.763066] ndiswrapper (load_sys_files:206): couldn’t prepare driver ‘bcmwlhigh5’
[56718.763900] ndiswrapper (load_wrap_driver:108): couldn’t load driver bcmwlhigh5; check system log for messages from ‘loadndisdriver’

Does it matter where the patch code goes in the ntoskernel_io.c? It’s just appended at the end.

Wahlgren,

Great Success!!!

I rebooted and everything is working now! Picked up DHCP no problem. And this update is happening via wireless.

I guess the reboot cleared anything in cache.

Thank you for all you help! Hope your muscles are nice and strong.

Was just about to give you a reply with suggestions of what to do but you solved the problem yourself so congratulations and this also gives me hope to install openSUSE 11.4 again. Can you sum it up what you did to get it to work? I tried so many different ways now that I lost my way, so it would be helpful to make a short guide for anyone else who drops by this thread in the future :slight_smile:

hehe thanks, gotta stay in shape even if one is a geek :wink:

Have a nice weekend!