Hi list, I've got a D-Link DWL-G122 Rev C1 USB dongle that I'm trying to get working in SuSE 9.3 with ndiswrapper. So far I've installed ndiswrapper with yast, found some compatible winxp drivers and loaded them up. Now I'm a bit stuck though. I've tried using yast to add a new network device, both as USB and with the module specified as ndiswrapper but ifconfig never gives me any indication that it's made any difference. I get the following useful output: linux:/home/panda # ndiswrapper -l Installed ndis drivers: dr71wu driver present, hardware present linux:/home/panda # modprobe -v ndiswrapper insmod /lib/modules/2.6.11.4-21.11-default/extra/ndiswrapper.ko linux:/home/panda # ifconfig eth0 Link encap:Ethernet HWaddr 00:40:D0:2B:61:F4 inet addr:10.0.0.12 Bcast:255.255.255.255 Mask:255.0.0.0 inet6 addr: fe80::240:d0ff:fe2b:61f4/64 Scope:Link UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1 RX packets:413 errors:0 dropped:0 overruns:0 frame:0 TX packets:428 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:237046 (231.4 Kb) TX bytes:84291 (82.3 Kb) Interrupt:11 Base address:0xe800 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:226 errors:0 dropped:0 overruns:0 frame:0 TX packets:226 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:14329 (13.9 Kb) TX bytes:14329 (13.9 Kb) Any ideas where I'm going wrong? -- Paul
On Monday 24 April 2006 8:38 am, Paul Howie wrote:
Hi list,
I've got a D-Link DWL-G122 Rev C1 USB dongle that I'm trying to get working in SuSE 9.3 with ndiswrapper.
So far I've installed ndiswrapper with yast, found some compatible winxp drivers and loaded them up. Now I'm a bit stuck though.
I've tried using yast to add a new network device, both as USB and with the module specified as ndiswrapper but ifconfig never gives me any indication that it's made any difference.
I get the following useful output:
linux:/home/panda # ndiswrapper -l Installed ndis drivers: dr71wu driver present, hardware present
linux:/home/panda # modprobe -v ndiswrapper insmod /lib/modules/2.6.11.4-21.11-default/extra/ndiswrapper.ko Try one of the following: modprobe ndiswrapper or ndiswrapper -m
Then type "iwconfig" It should list the wireless card (probably wlan0, but
possibly as eth1).
--
Jerry Feldman
(sorry for the off-list reply, forgot to check the reply-to)
On 24/04/06, Jerry Feldman
On Monday 24 April 2006 8:38 am, Paul Howie wrote:
I've got a D-Link DWL-G122 Rev C1 USB dongle that I'm trying to get working in SuSE 9.3 with ndiswrapper. Try one of the following: modprobe ndiswrapper
I've done this
or ndiswrapper -m
and this (sorry, forgot to mention that one)
Then type "iwconfig" It should list the wireless card (probably wlan0, but possibly as eth1).
# iwconfig lo no wireless extensions. eth0 no wireless extensions. sit0 no wireless extensions. Thanks for the help though, that iwconfig command seems useful. I'll keep digging -- Paul
Since you appear to have followed all the correct steps and ndiswrapper -l
shows the hardware, you might check to see what happens when you load the
driver. Dmesg should show something like:
ndiswrapper version 1.2 loaded (preempt=no,smp=no)
ndiswrapper: driver bcmwl5 (Broadcom,02/11/2005, 3.100.64.0) loaded
ACPI: PCI Interrupt 0000:02:02.0[A] -> GSI 22 (level, low) -> IRQ 217
ndiswrapper: using irq 217
wlan0: ndiswrapper ethernet device 00:14:a5:4d:9e:40 using driver bcmwl5,
configuration file 14E4:4319.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
--
Jerry Feldman
On 24/04/06, Jerry Feldman
Since you appear to have followed all the correct steps and ndiswrapper -l shows the hardware, you might check to see what happens when you load the driver.
/var/log/message had an error about the driver not being 32-bit. The dlink drivers seem to be the cause of the probelm, I've found some from the original chipset manufacturer that don't throw any errors on modprobe. I've still not got the device showing in iwconfig but I'm hopeful that playing around in yast will resolve that. Thanks for the help. -- Paul
On Monday 24 April 2006 11:32 am, Paul Howie wrote:
/var/log/message had an error about the driver not being 32-bit. The dlink drivers seem to be the cause of the probelm, I've found some from the original chipset manufacturer that don't throw any errors on modprobe.
I've still not got the device showing in iwconfig but I'm hopeful that playing around in yast will resolve that. Possibly not. I found that when I loaded the 32-bit driver, "ndiswrapper -l" showed that it was loaded and that the hardware was detected, but after a modprobe, dmesg showed the errors.
--
Jerry Feldman
On 24/04/06, Jerry Feldman
I've still not got the device showing in iwconfig but I'm hopeful that playing around in yast will resolve that. Possibly not. I found that when I loaded the 32-bit driver, "ndiswrapper -l" showed that it was loaded and that the hardware was detected, but after a modprobe, dmesg showed the errors.
Do you have the exact same device working? If you have known good drivers then maybe you could email them to me? It might take some of the guesswork out of this. Right now I have no errors from dmesg - i get this: ndiswrapper: module not supported by Novell, setting U taint flag. ndiswrapper version 1.1 loaded (preempt=no,smp=no) usbcore: registered new driver ndiswrapper I also have no errors from any other part of the procedure, but my boot log file has the line ifstatus: Interface wlan0 is not available repeated about 6 times. The device is detected ok (bus 1 device 3): # lsusb Bus 001 Device 004: ID 047d:101f Kensington Bus 001 Device 003: ID 07d1:3c03 D-Link System Bus 001 Device 001: ID 0000:0000 I'm starting to get a little confused. -- Paul
The device is detected ok (bus 1 device 3):
# lsusb Bus 001 Device 004: ID 047d:101f Kensington Bus 001 Device 003: ID 07d1:3c03 D-Link System Bus 001 Device 001: ID 0000:0000 Unfortunately, I do not have the same device. My device is a Broadcom 4319 Airforce chip on the mother board. In your case, you have a device that is detected at PCIID 07d1:3c03. From the previous posts, ndiswrapper is able to validate the driver and detect the hardware, but you stated that the driver is the wrong driver for
On Monday 24 April 2006 12:20 pm, Paul Howie wrote:
the architecture.
On my system, AMD-64 with a 64-bit SuSE 10.0, with the 32-bit driver
"ndiswrapper -l" reported hardware present, but when the driver was loaded
(by modprobe) the driver actually faulted. When I initially tried the
64-bit driver, ndiswrapper -l reported:
gaf@gaflap:~> ndiswrapper -l
Installed ndis drivers:
bcmwl5 driver present
In my specific case, I ran:
ndiswrapper -d 14e4:4319 bcmwl5
Then ndiswrapper -l reports
bcmwl5 driver present, hardware present
As soon as I did this and loaded the module (modprobe ndiswrapper), dmesg
indicated a successful load of the driver and wlan0 appeared. You may be
reporting it as eth1.
You might also try "ndiswrapper -hotplug" since your device is a USB device.
--
Jerry Feldman
On 24/04/06, Jerry Feldman
From the previous posts, ndiswrapper is able to validate the driver and detect the hardware, but you stated that the driver is the wrong driver for the architecture.
Not any more, I was getting an error message in dmesg about the driver being non-32 bit, so I found another driver and now I'm not getting any errors at all.
On my system, AMD-64 with a 64-bit SuSE 10.0, with the 32-bit driver "ndiswrapper -l" reported hardware present, but when the driver was loaded (by modprobe) the driver actually faulted. When I initially tried the 64-bit driver, ndiswrapper -l reported: gaf@gaflap:~> ndiswrapper -l Installed ndis drivers: bcmwl5 driver present
In my specific case, I ran: ndiswrapper -d 14e4:4319 bcmwl5
Then ndiswrapper -l reports bcmwl5 driver present, hardware present
I had much the same results with the 64-bit driver before, but with the 32-bit one everything seems to be going ok. I get the driver present, hardware present message and dmesg confirms that ndiswrapper is being loaded correctly. I tried specifying the ID anyway, just in case it helped, no joy.
As soon as I did this and loaded the module (modprobe ndiswrapper), dmesg indicated a successful load of the driver and wlan0 appeared. You may be reporting it as eth1.
Unfortunately this seems to be where I'm having trouble. For some reason I'm not getting any additional interfaces come up once the driver is loaded. that is, if "ifconfig -a" would tell me about it like I assume it should. All I have are lo, eth0 (my wired network card) and sit0.
You might also try "ndiswrapper -hotplug" since your device is a USB device.
A good idea, but it doesn't seem to have improved matters. I also found that there is a native linux driver available for the device. I've compiled it and used insmod to load it but that doesn't seem to be working either... I'm probably missing something simple. I'll probably wait until suse 10.1 is out since I'm already planning to upgrade. Hopefully things will go more smoothly for that. Thanks for all the help. If you have any more ideas I'd love to hear them. -- Paul
I also found that there is a native linux driver available for the device. I've compiled it and used insmod to load it but that doesn't seem to be working either... I'm probably missing something simple. I'll probably wait until suse 10.1 is out since I'm already planning to upgrade. Hopefully things will go more smoothly for that. A native driver is much preferable to a Windows driver. Make sure that you remove ndiswrapper, and the ndiswrapper driver. I found
On Monday 24 April 2006 3:11 pm, Paul Howie wrote:
that shortly after I got it working that it was trying to load the driver
at the incorrect PCIID (that I mistyped) and then the correct one. In this
case, it was working, but there were some bootup messages.
ndiswrapper -e should remove that driver, and then make sure the ndiswrapper
module is not loaded.
Also note that some vendors tend to change chips in mid-stream. Belkin uses
Broadcom, but ndiswrapper does not work for all the Belkin wireless devices
that use the Broadcom chip.
In any case, before you give up, make sure your system is completely clean,
and then install the native driver.
--
Jerry Feldman
On Monday 24 April 2006 15:11, Paul Howie wrote:
Thanks for all the help. If you have any more ideas I'd love to hear them.
Hi Paul, Since your open to ideas... Have you tried the boot parameter "acpi=noirq"? Someone else yesterday had a usb network adapter refusing to configure/connect and adding this boot parameter solved the problem (it was contending with his usb mouse.) Also, try unplugging the adapter, waiting a few seconds and plugging it back in ;-) I'm wondering if the module might respond to a 'new usb hardware found' event... regards, Carl
On 24/04/06, Carl Hartung
Have you tried the boot parameter "acpi=noirq"? Someone else yesterday had a usb network adapter refusing to configure/connect and adding this boot parameter solved the problem (it was contending with his usb mouse.)
Also, try unplugging the adapter, waiting a few seconds and plugging it back in ;-) I'm wondering if the module might respond to a 'new usb hardware found' event...
I'll give that a try and let you know if I have any luck. The strange thing is that the hardware is listed in the output of both lsusb and ndiswrapper -l. It seems to be detecting and installing just fine, but not bringing up the wlan0 (or eth1 or whatever) interface. I've learned a lot about ndiswraper and even found a native linux driver for the chipset so at this point I'm quite prepared to cut my losses and wait for 10.1 since I'll just have to do it all again then anyway. Thanks for the help. -- Paul
Paul Howie wrote:
Hi list,
I've got a D-Link DWL-G122 Rev C1 USB dongle that I'm trying to get working in SuSE 9.3 with ndiswrapper.
So far I've installed ndiswrapper with yast, found some compatible winxp drivers and loaded them up. Now I'm a bit stuck though.
I've tried using yast to add a new network device, both as USB and with the module specified as ndiswrapper but ifconfig never gives me any indication that it's made any difference.
I get the following useful output:
linux:/home/panda # ndiswrapper -l Installed ndis drivers: dr71wu driver present, hardware present
linux:/home/panda # modprobe -v ndiswrapper insmod /lib/modules/2.6.11.4-21.11-default/extra/ndiswrapper.ko
linux:/home/panda # ifconfig (snip)
Does (/sbin/)lsusb lists the device? Otherwise there might be something amiss with the usb set up. Regards, -- Jos van Kan registered Linux user #152704
participants (4)
-
Carl Hartung
-
Jerry Feldman
-
Jos van Kan
-
Paul Howie