LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-08-2004, 02:05 AM   #1
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Rep: Reputation: 30
/usr/src/linux doesnt exist?


when iam trying to install a driver for wireless lan, the following comes up:
/usr/src/linux is missing or incomplete
what's going on? how do i fix this?
 
Old 02-08-2004, 02:20 AM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Usually the linux source is not installed by default (takes up space and alot of people don't ever need it). It should be on your installation disks (usually the third disk, depending on the distro), so you can just install the linux source files off of there.
 
Old 02-08-2004, 02:43 AM   #3
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
hmm not sure if i quite understand. i have to install something?
i have suse 9 pro and there are 5 disks
 
Old 02-08-2004, 02:45 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
just look for a file on your cds that look something like kernel-source-X.XX.XXXX.rpm and click it to install that. the X's are just numbers for the kernel version. basically look for an rpm with kernel-source in the name of it.
 
Old 02-08-2004, 02:58 AM   #5
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
alright. and after installing it i will be able to install the driver without hhavingg the problem?
 
Old 02-08-2004, 03:03 AM   #6
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
well from the other threads you have regarding installing those drivers, i don't know.

you need to look at the make thread you started and tell us if you've installed gcc, make, and your development packages.
 
Old 02-08-2004, 07:02 AM   #7
globeTrotter
Member
 
Registered: Feb 2004
Location: Townsville, Queensland, Oz
Distribution: Red Hat 9
Posts: 107

Rep: Reputation: 15
i had to install the source files to get my winmodem driver working. you sound like you've got the source file installed right??? if so follow on. su to become root then
# cd /usr/src
# ls
you should get a list of files. look specifically for one named 'kernel-x.x.xx-x'
where the x.x.xx-x is your kernel version number. if it's not there, you havent installed the source files. if it is your in luck. now you have to make a file named 'linux' that is a symbolic link to your source file. so:
# ln -s kernel-x.x.xx-x linux
now
# ls
this time you should see the 'linux' file in the list. Now try to install the driver again. make sure you are root when installing drivers and files.
good luck
GT
 
Old 02-08-2004, 11:32 AM   #8
santasballz
Member
 
Registered: Jan 2004
Posts: 227

Original Poster
Rep: Reputation: 30
thank you poeple
 
  


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
/usr/src/linux does not exist Sigkill(9) Linux - Newbie 2 01-02-2005 01:54 PM
/usr/src/linux doesn't exist! How do I install it? Sinope Linux - Newbie 5 08-09-2004 03:53 PM
Help!!... /usr/src/linux/Makefile does not exist. PhoenixZorn Slackware 4 11-16-2003 09:14 PM
/usr/src/linux? krackerroot Slackware 6 10-26-2003 03:31 PM
Creating /usr/src/linux-<xx> from kernel.<xx>.src.rpm jmourik Linux - Newbie 2 02-19-2003 04:24 PM


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