LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-20-2006, 06:17 PM   #1
martini1991
LQ Newbie
 
Registered: Aug 2006
Location: CA
Distribution: N/A
Posts: 9

Rep: Reputation: 0
Exclamation NdisWrapper problems! I dont understand how to install it. Please help me!


Hello,

I seem to have a huge problem installing the NdisWrapper for my Wireless USB, which is Netgear WG11 v2. I installed Linux SUSE 10.1 yesterday, and it was pretty easy, until it froze on Hardware Configuration. So i had to do it manually. Anyway in order to install my Wireless, on SUSE 10.1 i had to have a driver for it, and the NdisWrapper somehow makes it work. I went to the wiki, and red the instructions. Im pretty sure i did everything right from downloading to untaring it. The commands all worked, until i got to the part where i needed to install it. is the command "make install", or "install". I was in the directory where a untared the NdisWrapper, and i said make install, but it came up with the following...

...Major:~ # cd /home/martini
Major:/home/martini # cd /downloads
-bash: cd: /downloads: No such file or directory
Major:/home/martini # cd /home/martini/Downloads
Major:/home/martini/Downloads # cd /home/martini/Downloads/ndiswrapper-1.23
Major:/home/martini/Downloads/ndiswrapper-1.23 # make install
make -C driver install
make[1]: Entering directory `/home/martini/Downloads/ndiswrapper-1.23/driver'
Can't find kernel build files in /lib/modules/2.6.16.13-4-default/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/martini/Downloads/ndiswrapper-1.23/driver'
make: *** [install] Error 2

This is basically what i did, and it looks like im stuck. Please help me! This is very urgent!

 
Old 08-20-2006, 06:33 PM   #2
firedance
Member
 
Registered: Dec 2003
Location: Sweden
Distribution: Arch Linux
Posts: 65

Rep: Reputation: 15
what is the output of ls -l /lib/modules and uname -a ?
-edit- - did you do ./configure and make before trying make install?

Last edited by firedance; 08-20-2006 at 06:34 PM.
 
Old 08-21-2006, 11:47 AM   #3
martini1991
LQ Newbie
 
Registered: Aug 2006
Location: CA
Distribution: N/A
Posts: 9

Original Poster
Rep: Reputation: 0
The output for ls -l /lib/modules is

martini@Major:~> ls -l /lib/modules
total 1
drwxr-xr-x 5 root root 576 2006-08-13 09:50 2.6.16.13-4-default

The output for uname -a is

martini@Major:~> uname -a
Linux Major 2.6.16.13-4-default #1 Wed May 3 04:53:23 UTC 2006 i686 i686 i386 GN U/Linux

But i dont know what you mean by ./configure. Is it a command? If it is here is the output,

martini@Major:~> cd /home/martini/Downloads/ndiswrapper-1.23
martini@Major:~/Downloads/ndiswrapper-1.23> ./configure
bash: ./configure: No such file or directory
martini@Major:~/Downloads/ndiswrapper-1.23> /configure
bash: /configure: No such file or directory
martini@Major:~/Downloads/ndiswrapper-1.23> mak configure
bash: mak: command not found
martini@Major:~/Downloads/ndiswrapper-1.23> make configure
make: *** No rule to make target `configure'. Stop.
martini@Major:~/Downloads/ndiswrapper-1.23>

Why cant i configure? Oh yeah and I tried the same thing in super user mode. So what do I do now?
 
Old 08-21-2006, 12:49 PM   #4
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 957
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
let's start with this :
Quote:
Can't find kernel build files in /lib/modules/2.6.16.13-4-default/build;
Have you installed the kernel source? If yes, find where and give the path with the KBUILD=<path> argument to make (try either adding it to makefile, or executing make install KBUILD=<path> ) Never tried to install with an argument, so I can't help much.
 
Old 08-21-2006, 11:25 PM   #5
martini1991
LQ Newbie
 
Registered: Aug 2006
Location: CA
Distribution: N/A
Posts: 9

Original Poster
Rep: Reputation: 0
So I typed in the command KBUILD=<path>. It gave me the following response,

martini@Major:~> su
Password:
Major:/home/martini # KBUILD=<path>
bash: syntax error near unexpected token `newline'
Major:/home/martini # make install KBUILD=<path>
bash: syntax error near unexpected token `newline'

What does this mean? And what do you mean by "an argument". Is there something wrong with my kernel? Is that why I cant make install. Im getting more and more confused with each day!
 
Old 08-22-2006, 12:18 AM   #6
zetabill
Member
 
Registered: Oct 2005
Location: Rhode Island, USA
Distribution: Slackware, Xubuntu
Posts: 348

Rep: Reputation: 31
With ndiswrapper there is only
Code:
make
and
Code:
make install
That's why it's not finding configure. I have never used Suse so I don't know anything about what the package would be installed, but I do know that you need to get the guts of the kernel. Kernel sources or headers... whatever they may be called... are needed to build ndiswrapper driver.

If you upgrade your kernel you'll always have to get the sources (they should have the headers in there) and rebuild ndiswrapper.

Since Suse has its own nifty package management I wouldn't be surprised if there are packages you can install from Yast.
 
Old 08-22-2006, 08:10 AM   #7
serafean
Member
 
Registered: Mar 2006
Location: Czech Republic
Distribution: Gentoo, Chakra
Posts: 957
Blog Entries: 14

Rep: Reputation: 135Reputation: 135
I said
Quote:
Have you installed the kernel source?
. Start out with this. Like zetabill said
Quote:
Since Suse has its own nifty package management I wouldn't be surprised if there are packages you can install from Yast.
Look in Yast for 'kernel-source' and/or 'kernel-headers'. You could also look for ndiswrapper itself in Yast.

as to this :
Quote:
make install KBUILD=<path>
If you have to use it, you must replace "path" with the actual path to your kernel source.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I dont understand this! zeldafanfreak Linux - Hardware 1 08-12-2005 03:52 PM
I dont understand blacktattoo Linux - Newbie 1 12-26-2004 09:41 PM
i dont understand!!!! Fathonkey Linux - Software 17 05-29-2003 12:37 PM
Dont Understand Sifvion Slackware 27 03-26-2003 02:49 PM
Things dont work when you dont understand withoutaclue Linux - Newbie 3 03-12-2003 10:51 AM

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

All times are GMT -5. The time now is 12:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration