LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2003, 04:29 PM   #1
sabaka
LQ Newbie
 
Registered: Sep 2003
Location: Baltimore, MD, USA
Distribution: RedHat 9.0
Posts: 29

Rep: Reputation: 15
Linux newbie needs help configure kernal source code


Hey everyone.

To get my wlan USB adapter to work I need to install a driver (www.linux-wlan.org) which requires me to configure the kernal.

Note: Before I did anything I had NOTHING in my /usr/src folder.

I went to the Add/Remove program and added the ENTIRE developer package (including the source code). Next, I checked the /usr/src folder and noticed a new folder Linus 2.4.0-6 (something like that), and bunch of files inside, including README's. Next, like a fool, I tried to compile the WLAN driver, only to learn that I need to compile the kernal first. After many failures I realized that the /usr/src/linux2.4.0-6 folder was only the source code, and not compiled yet. I then found a guide on how to config (make config) the source code and compile it.

Here is my problem:

I cannot 'make config' because access is denied (in my /usr/src/linux folder), even when I log it as root. How can I configure if access is denied? Do I need to move the source code to something like /home?? If I do this, do I need to erase the current linux folder in /usr/src??? How do I move the source code to /home, or do I need to download it from internet and untar into the home, is there any way to load the source code into /home FROM THE CD?? Also, if I move the source code to /home, can I config from there?? Will it compile everything into the right directory??

Thanks in advance.
 
Old 09-12-2003, 04:44 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
You have to compile the kernel as root. The easiest place to compile it is in /usr/src/linux. The "access denied" problem may be a permissions problem. Check that root has read/write and sometimes execute permissions for all of the files in /usr/src/linux and /usr/src/linux-2.4.19-6 and all of their subdirectories and files.
 
Old 09-12-2003, 07:24 PM   #3
sabaka
LQ Newbie
 
Registered: Sep 2003
Location: Baltimore, MD, USA
Distribution: RedHat 9.0
Posts: 29

Original Poster
Rep: Reputation: 15
jailbait

How do I check this? Where can I find the root's access abililties??
 
Old 09-12-2003, 07:36 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"Where can I find the root's access abililties??"

Use the ls command, for example:

ls -l /usr/src/linux-2.4.19-6

The permissions will show up something like:
drw-r--r--

d stands for directory
the next three characters are the root permissions for read, write, and execute.
 
  


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
Kernal Source Code douginky Mandriva 2 12-20-2004 03:28 PM
HELP: newbie compiling source code.... kevingpo Linux - Software 6 12-13-2004 01:16 PM
how to install kernal-source code? jmg1894 Linux - Software 8 06-07-2004 06:06 PM
Mandrake 9.2 Kernal source code Penguin666 Linux - General 9 11-19-2003 07:56 PM
Kernal source code andrewtc Linux - Software 6 04-25-2003 02:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:03 AM.

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