LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-29-2006, 12:47 AM   #16
ananke
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15

I'm still getting "no such file or directory" for the link to the kernel source. Maybe I'm just making a stupid mistake and typing it wrong, but I really don't think so. Is there any other reason the whole
Code:
ln -s /usr/src/linux-<kernel-version> /lib/modules/VERSION/build
thing would give me a no such file or directory?
 
Old 05-29-2006, 12:52 AM   #17
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you have the kernel source package installed? You did put your kernel version number in, right?
 
Old 05-29-2006, 12:54 AM   #18
ananke
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
I'm almost certain I have the right kernel source package installed, and yes, I did put my kernel number in. I'm trying a different kernel source package now.
 
Old 05-29-2006, 12:56 AM   #19
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
What's actually in /usr/src (type "ls -l /usr/src")?
 
Old 05-29-2006, 12:59 AM   #20
ananke
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
total 8
lrwxrwxrwx 1 root 18 May 29 00:28 linux -> linux-2.6.12mdk/
drwxr-xr-x 21 root 4096 May 29 1:15 linux-2.6.12mdk/
drwxr-xr-x 3 root 4096 May 27 22:00 RPM/
 
Old 05-29-2006, 01:01 AM   #21
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Does "uname -r" return 2.6.12mdk?
 
Old 05-29-2006, 01:04 AM   #22
ananke
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
Yep
I got the correct kernel, now. Do I need to uninstall the other one, or will this new one take its place or what?
 
Old 05-29-2006, 01:05 AM   #23
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You should be able to uninstall the source for the other kernel with no problems.
 
Old 05-29-2006, 01:21 AM   #24
ananke
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
When I tried to install the new kernel, it said it was already installed.
Just to double check and make sure I'm typing it right, what exactly goes in that code in place of "<kernel-version>" and "VERSION"? (i.e. with kernel version 2.6.12mdk, how exactly should that code look when I type it in?)
 
Old 05-29-2006, 01:25 AM   #25
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
You can enter in a partial name. You can also click on the "by description box" to include words from the package description in your search.
 
Old 05-29-2006, 01:26 AM   #26
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Just put `uname -r` in place of "<kernel-version>" and "VERSION". What that does is to run "uname -r", replacing it with the output of that command.
 
Old 05-29-2006, 01:28 AM   #27
ananke
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
Neato ^_^
Still getting a No such file or directory, though.
 
Old 05-29-2006, 01:35 AM   #28
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
That's odd, given

Quote:
Originally Posted by ananke
total 8
lrwxrwxrwx 1 root 18 May 29 00:28 linux -> linux-2.6.12mdk/
drwxr-xr-x 21 root 4096 May 29 1:15 linux-2.6.12mdk/
drwxr-xr-x 3 root 4096 May 27 22:00 RPM/
.

It should be working. You didn't accidentaly remove anything did you?
 
Old 05-29-2006, 01:37 AM   #29
ananke
LQ Newbie
 
Registered: May 2006
Posts: 26

Original Poster
Rep: Reputation: 15
I'd hope I'd be aware of removing something. The way Linux is, I'd think it'd be a little hard to accidentally remove anything. So no, to my knowledge, I haven't removed a thing. But, as I said, my install wasn't entirely complete, since disc3 never worked out for me.
Is there a way to create these directories?
 
Old 05-29-2006, 01:37 AM   #30
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
Dont need kernel-source if you install the ndiswrapper rpm. Search rpm.pbone for ndiswrapper-1.2-3mdk.i586 and try that. Might save you some grief.
 
  


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
help with instrtuctions for getting a 2wire wireless usb adapter to work wood_workur Linux - General 3 04-05-2006 08:11 PM
Need Linux driver for 2wire wireless USB adapter for SuSE 10 Joe Fay SUSE / openSUSE 0 03-06-2006 01:46 PM
How to install 2Wire Wireless USB adapter in Slackware? banjzooie Linux - Wireless Networking 2 02-17-2006 08:49 PM
SuSE 9.2 wont enable 2wire usb wireless adapter daivmoran Linux - Hardware 1 02-18-2005 02:49 PM
2Wire Usb wireless adapter problem sfamonkey Linux - Hardware 2 06-23-2004 07:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:04 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
Open Source Consulting | Domain Registration