Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > making link to kernel source

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-19-2007   #1 (permalink)
Just Joined!
 
Join Date: Oct 2006
Location: Denmark, Løgstør
Posts: 42
Send a message via MSN to phopogologo Send a message via Skype™ to phopogologo
making link to kernel source

hello, I have this problem with ndiswrapper. I downloaded it and untarred it, but failed to do the make command. It prompts me:

phobo@debian:~/dlf/ndiswrapper-1.49$ make
make -C driver
make[1]: Entering directory `/home/phobo/dlf/ndiswrapper-1.49/driver'
Makefile:35: *** Cannot find kernel version in /lib/modules/2.6.18-5-686/build, is it configured?. Stop.
make[1]: Leaving directory `/home/phobo/dlf/ndiswrapper-1.49/driver'
make: *** [all] Error 2

and I have acknowledged from other webpages that I have to make a link to the kernel source from the /lib/modules/VERSION/build directory. How this is accomplished is not written because it should be standard on most distributions. Please help
phopogologo is offline  


Reply With Quote
Old 11-20-2007   #2 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 4,067
What Linux distribution are you using? Do you have the kernel source (or kernel-devel) installed? If so, does it match the version of the kernel you are currently running?
daark.child is offline   Reply With Quote
Old 11-20-2007   #3 (permalink)
Just Joined!
 
Join Date: Oct 2006
Location: Denmark, Løgstør
Posts: 42
Send a message via MSN to phopogologo Send a message via Skype™ to phopogologo
I am running Debian. After thinking for a while I concluded that the kernel source I downloaded may not be working, but I think that my problem too in #1
phopogologo is offline   Reply With Quote
Old 11-20-2007   #4 (permalink)
Just Joined!
 
Join Date: Oct 2006
Location: Denmark, Løgstør
Posts: 42
Send a message via MSN to phopogologo Send a message via Skype™ to phopogologo
I am running Debian. After thinking for a while I concluded that the kernel source I downloaded may not be working, but I think that my problem too in #1

debian:/home/phobo# uname -r
2.6.18-5-686
phopogologo is offline   Reply With Quote
Old 11-20-2007   #5 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 4,067
You need to look in Synaptic (or using apt/aptitude) for the kernel-source version that matches the version of the kernel that you are running and select that for installation.
daark.child is offline   Reply With Quote
Old 11-20-2007   #6 (permalink)
Just Joined!
 
Join Date: Oct 2006
Location: Denmark, Løgstør
Posts: 42
Send a message via MSN to phopogologo Send a message via Skype™ to phopogologo
Okay, I searched the packages and I actually found some programs for ndiswrapper and therefore do no longer have any problems with that. Now my problem is that I need the driver files for my netcard, eh, forgive me, but how do I do that?
phopogologo is offline   Reply With Quote
Old 11-21-2007   #7 (permalink)
Just Joined!
 
Join Date: Oct 2006
Location: Denmark, Løgstør
Posts: 42
Send a message via MSN to phopogologo Send a message via Skype™ to phopogologo
Okay, I have made some progression. I found the ndiswrapper files on my synaptics package manager and installed it therefrom. I also have downloaded the drivers for this computer but putting it all together still does not work. I follow this tutorial: http://www.linuxforums.org/network/w...and_linux.html and have followed it to the point in which i have to write "modprobe ndiswrapper", but then the computer prompts me with debian:/home/phobo/dlf/80211BG/Driver# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.

and I do not know what it wrong or what to do. My best guess is that the correct kernel source is not installed. I just made the assumption that it would be installed together with ndiswrapper but it might have been a bad guess. I have not yet been able to find any such thing as kernel source on synaptics. If anybody can tell me the name of the file I have to install through it I will be delighted. Though if anybody has a better idea of what is wrong I would like to hear it
phopogologo is offline   Reply With Quote
Old 11-21-2007   #8 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 4,067
If you installed ndiswrapper using the Debian packages, then there is no need for the kernel source. Did you reboot after installig ndiswrapper. I remember a while back that I had to reboot my system in order for ndiswrapper to work.
daark.child is offline   Reply With Quote
Old 11-22-2007   #9 (permalink)
Just Joined!
 
Join Date: Oct 2006
Location: Denmark, Løgstør
Posts: 42
Send a message via MSN to phopogologo Send a message via Skype™ to phopogologo
ndiswrapper works now.

I then installed the driver

ndiswrapper -i /link/driver.INF

which prompted me that I needed some .dll-file but installed the driver anyway
----------------------------------------------------------------------------
debian:/home/phobo# ndiswrapper -m
modprobe config already contains alias directive

debian:/home/phobo# modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
------------------------------------------------------------------------------

and now I am stuck...again
phopogologo is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:23 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2