LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 05-20-2006, 11:48 PM   #1
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Rep: Reputation: 15
Problems with Ndiswrapper (Suse 10.1)


Ok.
When i installed suse, i passed the sata.i paremeters during installing (i got sata hd)
checked my kernel version, it is: 2.6.16.13-4-smp

I am trying to install ndiswrapper.
I got the file and extracted it.
The next step is to make install. when i make install, i get the following error:



localhost:/usr/ndiswrapper # make install
make -C driver install
make[1]: Entering directory `/usr/ndiswrapper/driver'
Can't find kernel build files in /lib/modules/2.6.16.13-4-smp/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/usr/ndiswrapper/driver'
make: *** [install] Error 2



So the error is "Can't find kernel build files in /lib/modules/2.6.16.13-4-smp/build;".
And this is on the ndiswrapper's wiki page:
"1. Kernel-source files are not installed. These can be installed from your cd using an install manager such as rpmdrake (use the the search term "kernel-source") for rpm-based distributions such as mandrake and suse."


So now i am lost. What do i have to do? and how?
(im new to linux so be easy).


Thank you.
 
Old 05-21-2006, 01:24 AM   #2
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Rep: Reputation: 30
Not sure but why are you using make -C driver install instead of make install?

I used

# make
# make install
# ndiswrapper -i <driveR>
#ndiswrapper -l <lists drivers installed>

Last edited by soulxcavtor; 05-21-2006 at 01:26 AM.
 
Old 05-21-2006, 01:31 AM   #3
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by soulxcavtor
Not sure but why are you using make -C driver install instead of make install?

I used

# make
# make install
# ndiswrapper -i <driveR>
#ndiswrapper -l <lists drivers installed>
I'm not using make -C driver install. I don't even know what that is.
i used: 'make install'
 
Old 05-21-2006, 01:39 AM   #4
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Rep: Reputation: 30
Sorry I didn't read it fully, i'm new to linux also...


Edit: Check below post!

Last edited by soulxcavtor; 05-21-2006 at 01:44 AM.
 
Old 05-21-2006, 01:43 AM   #5
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Rep: Reputation: 30
You should have the kernel sources installed in /usr/src/, You should be running the same kernel that you compile nidswrapper against, so after grabbing the kernel sources, you should compile the new kernel, install, and reboot with the new kernel, then try "make"ing ndiswrapper again.

This thread will help you:
http://www.linuxforums.org/forum/man...iswrapper.html
 
Old 05-21-2006, 01:47 AM   #6
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by .nu
I'm not using make -C driver install. I don't even know what that is.
i used: 'make install'

Yes, i was as root.

I know what the problem is. The problem is:
"Can't find kernel build files in /lib/modules/2.6.16.13-4-smp/build;".

I'd like to know how i put the kernel build files in there.
 
Old 05-21-2006, 01:50 AM   #7
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Rep: Reputation: 30
Quote:
Originally Posted by soulxcavtor
You should have the kernel sources installed in /usr/src/, You should be running the same kernel that you compile nidswrapper against, so after grabbing the kernel sources, you should compile the new kernel, install, and reboot with the new kernel, then try "make"ing ndiswrapper again.

This thread will help you:
http://www.linuxforums.org/forum/man...iswrapper.html
Try the thread in this link...

or this one to install kernel:
http://gentoo-wiki.com/HOWTO_Install...urces_manually

Last edited by soulxcavtor; 05-21-2006 at 01:54 AM.
 
Old 05-21-2006, 02:00 AM   #8
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561
You could install ndiswrapper the easy way by installing the binary package from your installation disk.
 
Old 05-21-2006, 02:04 AM   #9
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal
You could install ndiswrapper the easy way by installing the binary package from your installation disk.
how? the distro comes with it, but i searched for it and didnt find it
 
Old 05-21-2006, 02:09 AM   #10
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by soulxcavtor
You should have the kernel sources installed in /usr/src/, You should be running the same kernel that you compile nidswrapper against, so after grabbing the kernel sources, you should compile the new kernel, install, and reboot with the new kernel, then try "make"ing ndiswrapper again.

This thread will help you:
http://www.linuxforums.org/forum/man...iswrapper.html

This thread helped.

Here's a quote from it, telling the solution:
"Looks like you'll need to install the kernel source. In a terminal/CLI, type in "uname -r" to see what kernel version you are running and then go to the RPMDrake to install the same exact kernel source. Open your Kmenu/start and RPMDrake or "Install Software/Packages" should be somewhere in System > Configuration. Type in kernel source in the search bar and look for the right one. You'll also want to make sure you have gcc and make installed."

The only problem is im not using mandrake..?
 
Old 05-21-2006, 03:04 AM   #11
soulxcavtor
Member
 
Registered: May 2006
Location: USA.FLorida
Distribution: Mandriva 2006 PowerPack
Posts: 238

Rep: Reputation: 30
Sorry, Suse I see, seems like your kernel source isnt linked correct or something. I'm not sure what you should do.
 
Old 05-21-2006, 03:10 AM   #12
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by soulxcavtor
Sorry, Suse I see, seems like your kernel source isnt linked correct or something. I'm not sure what you should do.

aaahh thanks for the help though.

Last edited by .nu; 05-21-2006 at 03:41 AM.
 
Old 05-21-2006, 06:44 PM   #13
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,263

Rep: Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561Reputation: 561
The title of your post says the problem is with SuSE 10.1

I just installed SuSE 10.1 on my laptop and also had a time with the ndiswrapper and ndiswrapper kernel modules for SuSE 10.1. The packages are included on the CD's. Modprobe would fail. So I installed the kernel-source, and kernel-syms packages and 1) uninstalled the installed version 2) Installed ndiswrapper and the kernel modules from the version 1.8 source, that I had backed up. ( I used rpmbuild to build the 2 rpms. ). This enabled me to stay on the net. I also retrieved from backup the ifcfg-wlan0, which made configuring the device a snap. A 64 random hex number would be too hard to remember!

Last edited by jschiwal; 05-21-2006 at 06:50 PM.
 
Old 05-22-2006, 11:11 AM   #14
.nu
Member
 
Registered: Mar 2006
Distribution: Slackware 10.2
Posts: 60

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jschiwal
The title of your post says the problem is with SuSE 10.1

I just installed SuSE 10.1 on my laptop and also had a time with the ndiswrapper and ndiswrapper kernel modules for SuSE 10.1. The packages are included on the CD's. Modprobe would fail. So I installed the kernel-source, and kernel-syms packages and 1) uninstalled the installed version 2) Installed ndiswrapper and the kernel modules from the version 1.8 source, that I had backed up. ( I used rpmbuild to build the 2 rpms. ). This enabled me to stay on the net. I also retrieved from backup the ifcfg-wlan0, which made configuring the device a snap. A 64 random hex number would be too hard to remember!

I got it working!
I used Yast to install the kernel-source files.
And since i had ndiswrapper installed, i just did iwconfig and from there set up the connection.


im sure this thread will help someone in the future lol
 
  


Reply

Tags
ndiswrapper


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with Ndiswrapper on SuSE 10.0 with WMP54G karken Linux - Wireless Networking 0 01-09-2006 07:32 AM
suse 10 ndiswrapper brickwall (smp problems?) sniff Suse/Novell 5 12-06-2005 01:10 AM
ndiswrapper 1.4 on SUSE 10 problems supwiddiss Linux - Wireless Networking 1 10-14-2005 04:48 AM
ndiswrapper problems on suse 9.1 personal jmroach Linux - Wireless Networking 0 01-18-2005 03:49 PM
Problems with ndiswrapper in SuSe 9.1 Hieronymus Linux - Laptop and Netbook 1 01-01-2005 12:03 AM


All times are GMT -5. The time now is 04:11 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration