LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ndiswrapper error: No rule to make target `WLAN/ndiswrapper (https://www.linuxquestions.org/questions/linux-newbie-8/ndiswrapper-error-no-rule-to-make-target-%60wlan-ndiswrapper-690249/)

rover8898 12-13-2008 12:25 AM

Ndiswrapper error: No rule to make target `WLAN/ndiswrapper
 
Hello all,

I am trying currently to get Ndiswrapper working in order to use my wireless internet usb key. Unfortunately, I have encountered some technical difficulties when I compile it. (Also, I am new to linux)

After following the INSTALL instructions for the ndiswrapper-1.53 software, I obtain the following error:

Code:

[root@localhost ndiswrapper-1.53]# make
make -C driver
make[1]: Entering directory `/dl/Linux WLAN/ndiswrapper-1.53/ndiswrapper-1.53/driver'


*** WARNING: This kernel uses 4K stack size option
(CONFIG_4KSTACKS); many Windows drivers will not work
with this option enabled. Disable CONFIG_4KSTACKS
in kernel's .config file, recompile and install kernel


make -C /usr/src/kernels/2.6.18-53.el5-i686 M=/dl/Linux WLAN/ndiswrapper-1.53/ndiswrapper-1.53/driver
make[2]: Entering directory `/usr/src/kernels/2.6.18-53.el5-i686'
make[2]: *** No rule to make target `WLAN/ndiswrapper-1.53/ndiswrapper-1.53/driver'.  Stop.
make[2]: Leaving directory `/usr/src/kernels/2.6.18-53.el5-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/dl/Linux WLAN/ndiswrapper-1.53/ndiswrapper-1.53/driver'
make: *** [all] Error 2


I have googled this error and although I find some mention of it, I have yet to find a solution that I can apply.

Linux distro: RHEL 5.1
Wireless USB key: Dlink DWL-G122 rev A2


Any help will be appreciated
-Roger

jstephens84 12-13-2008 12:38 AM

try doing a ./configure. Looks like the error is saying that you don't have a make file so it does not know how to create the binary. Also your wireless adapter should have a native linux module that you can compile. I will look into that for you.

jstephens84 12-13-2008 12:45 AM

I believe that your card should use the ralink chipset. This can be downloaded from serialmonkey or http://www.ralinktech.com/ralink/Hom...ort/Linux.html if you typeing
Code:

lsusb
that should return a list of usb devices. post back what you have. While I have seen people say that adapter works with ndiswrapper, I feel you get better performance from native drivers.

rover8898 12-13-2008 12:39 PM

ndiswrapper error fixed
 
Thank you for your replies.

Actually the problem with the ndiswrapper compiling was that there a space in folder name. Hence, a command (in the makefile I suppose) was broken in 2. Once the space removed, ndiswrapper compiled just fine.

Quote:

I believe that your card should use the ralink chipset. This can be downloaded from serialmonkey or http://www.ralinktech.com/ralink/Hom...ort/Linux.html if you typeing
Code:

lsusb

that should return a list of usb devices. post back what you have. While I have seen people say that adapter works with ndiswrapper, I feel you get better performance from native drivers.

According to:
https://help.ubuntu.com/community/Ha...CardsDlink#USB
It seems that the Dlink DWL-G122 rev A2 usb key requires a prism driver or ndiswrapper - ralink drivers are not mentioned to function for A2. Rev B1, C1 require a ralink driver. Rev D1 requires a marvel chipset driver or ndiswrapper.

I have not yet installed my wireless drivers with ndiswrapper as I just wanted to reply first to this post. If anyone knows of a native linux driver that works with Dlink DWL-G122 rev A2, I will appreciate the info as I would prefer a linux driver instead ndiswrapper.

By the way
Code:

[root@localhost ~]# lsusb
Bus 001 Device 001: ID 0000:0000 
Bus 001 Device 002: ID 22b8:4810 Motorola PCS Triplet GSM Phone (storage)
Bus 002 Device 001: ID 0000:0000 
Bus 002 Device 002: ID 2001:3704 D-Link Corp. [hex] DWL-G122 802.11g rev. A2
[root@localhost ~]#


P.S I have my motorola cell phone connected to my computer (via usb) for charging purposes, that is why it is listed in the "lsusb" output.

-Roger

tredegar 12-13-2008 12:48 PM

It looks as though 2001:3704 D-Link Corp. [hex] DWL-G122 802.11g rev. A2 was working as long ago as Aug 2006, (using ndiswrapper). There doesn't seem to be a native linux driver.

You may want to see this post: http://www.linuxquestions.org/questi...48#post2393548

jstephens84 12-13-2008 02:31 PM

Quote:

Originally Posted by rover8898 (Post 3374275)
Thank you for your replies.

Actually the problem with the ndiswrapper compiling was that there a space in folder name. Hence, a command (in the makefile I suppose) was broken in 2. Once the space removed, ndiswrapper compiled just fine.




According to:
https://help.ubuntu.com/community/Ha...CardsDlink#USB
It seems that the Dlink DWL-G122 rev A2 usb key requires a prism driver or ndiswrapper - ralink drivers are not mentioned to function for A2. Rev B1, C1 require a ralink driver. Rev D1 requires a marvel chipset driver or ndiswrapper.

I have not yet installed my wireless drivers with ndiswrapper as I just wanted to reply first to this post. If anyone knows of a native linux driver that works with Dlink DWL-G122 rev A2, I will appreciate the info as I would prefer a linux driver instead ndiswrapper.

By the way
Code:

[root@localhost ~]# lsusb
Bus 001 Device 001: ID 0000:0000 
Bus 001 Device 002: ID 22b8:4810 Motorola PCS Triplet GSM Phone (storage)
Bus 002 Device 001: ID 0000:0000 
Bus 002 Device 002: ID 2001:3704 D-Link Corp. [hex] DWL-G122 802.11g rev. A2
[root@localhost ~]#


P.S I have my motorola cell phone connected to my computer (via usb) for charging purposes, that is why it is listed in the "lsusb" output.

-Roger

yeah, I was wrong. It is a prism based chipset. I looked at the wrong line.


All times are GMT -5. The time now is 07:35 PM.