Ndiswrapper error: No rule to make target `WLAN/ndiswrapper
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.