LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-12-2008, 11:25 PM   #1
rover8898
LQ Newbie
 
Registered: Dec 2008
Posts: 7

Rep: Reputation: 0
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
 
Old 12-12-2008, 11:38 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
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.
 
Old 12-12-2008, 11:45 PM   #3
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
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.
 
Old 12-13-2008, 11:39 AM   #4
rover8898
LQ Newbie
 
Registered: Dec 2008
Posts: 7

Original Poster
Rep: Reputation: 0
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
 
Old 12-13-2008, 11:48 AM   #5
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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
 
Old 12-13-2008, 01:31 PM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by rover8898 View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
automake error: no rule to make target all jwstric2 Programming 2 10-18-2011 02:48 PM
kdevelop error: no rule to make target.. is it a bug? LinToWinWin Linux - Software 3 07-08-2008 01:07 AM
linux-wlan-ng: No rule to make target `modules'. Stop. johnc2k Linux - Software 1 01-26-2007 05:19 PM
lopster v1.2.2 make error: No rule to make target `m4/glibc21.m4' Kropotkin Fedora 0 10-31-2004 11:19 AM
Error: *** No rule to make target 'all'. Stop aa2bi Linux - Newbie 6 06-08-2004 12:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration