LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-10-2004, 02:34 PM   #1
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Linux source


This is a really simple one I bet. I'm determined to finally get into linux and so have downloaded what I've read is the most user friendly one - mandrake. Everything is going great guns. Except for my wireless lan. So I've downloaded ndiswrapper and unzipped my windows driver. Its all there. However now I need to create a link to the source from the modules directory. so I'm about to type "ln" to create the link but then I look in usr/src and all there is in there is a folder called RPM, then a folder in that called RPMS, then several in that for different types of architecture by the looks of it. Is it just an empty directory (/usr/src) that I link to or do I have to install the kernel in here. Sorry, I cant get my head round this. Any help much appreciated. Apologies if I've missed a guide on how to do this. I have looked.
Regards
Chris
 
Old 10-10-2004, 02:35 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
The kernel source is generally in /usr/src/linux or /usr/src/linux-<version> ... if it's not there, chances are that you didn't install the kernel-source RPM that came with Mandrake. Install it, and you'll be set.
 
Old 10-10-2004, 02:39 PM   #3
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Original Poster
Rep: Reputation: 30
Cheers btmiller for very quick response. Now my next question is...how do I do that? Would that be on one of the cd's I downloaded? I'll have a look. Really appreciate the help. Can anyone reccomend a good book on this?
Cheers
Chris
 
Old 10-10-2004, 03:14 PM   #4
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Original Poster
Rep: Reputation: 30
Okay, I think I've got it. I'm downloading the 2.6.8.1 kernel from ftp.kernel.org. Then I use urpmi to install it into /usr/src/linux or something like that. Is that right? Hell, I'll know in a bit. Then I can link to the source and we should be laughing. If I'm doing anything wrong please post. Cheers
Chris
 
Old 10-10-2004, 03:59 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
The kernel you install via kernel.org is a source kernel - not configured for your system. Unless you want to have to learn (very quickly) about compiling a kernel, I'd stop now.

The files you want should be on your download cds. They'll be called kernel-source-x.x.x.
 
Old 10-10-2004, 05:32 PM   #6
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Original Poster
Rep: Reputation: 30
Hello Xavier!

Thanks for your reply. I downloaded the kernel but before I was about to install I discovered that great rpm utility RPMDrake so I've installed the kernel! Feeling very proud. Now I've got a problem with mdk 10.1 locking up after running the modprobe command following make install for ndiswrapper. I've got to edit the module.dep file but need to change permissions. I think you do that in the Shell? I'm getting there though
Cheers
Chris
 
Old 10-10-2004, 07:18 PM   #7
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Original Poster
Rep: Reputation: 30
Final Update:

I managed to get Firefox working on my wireless network. So 8 hours ago I had never used mandrake on the internet and now look. Its a whole new world! Anyway, for anyone who may come across this path after me the problems I had and how I solved them:

Had to install kernel source as it wasnt there already - used RPMDrake utility

Downloaded bcmwl5 driver from belkin site kept locking up PC so used download as listed on ndiswrapper site from emachines ftp. I have a f5d7000 belkin card which utilises the broadcom 94306 chipset.

Used the wireless config utility GUI to configure card instead of Konsole.

Hope this helps

Many thanks to btmiller and XavierP but mostly to the guys who wrote ndiswrapper at sourceforge. Good work and thanks!

Chris
 
  


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
Different source code (linux kernel) in Win & linux isilinux Linux - General 3 11-01-2007 06:15 PM
Debain kernel source or Linux kernel source? kushalkoolwal Debian 4 11-28-2005 02:56 PM
linux-wlan-ng cannot find Linux source dir adelaideyip Linux - Wireless Networking 1 08-20-2004 01:32 PM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 09:37 PM
Where to find the linux kernel source code in RH Linux 8? sceadu Linux - Newbie 17 03-20-2003 11:17 PM


All times are GMT -5. The time now is 05:41 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