LinuxQuestions.org
Help answer threads with 0 replies.
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 07-23-2004, 05:35 PM   #1
tombaaaaa
LQ Newbie
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 15

Rep: Reputation: 0
modprobe: command not found


I'm trying to install ALSA. I think I've successfully compiled the various packages but I'm told in the installation instructions to "insert the modules into the kernel" using modprobe; however, when I type modprobe I get the error message

bash: modprobe: command not found

How do I enable mobprobe?

thanks,
Tom
 
Old 07-23-2004, 05:48 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Are you running it as root or as yourself? It may need to be run as root.

(Welcome to LQ , by the way)
 
Old 07-23-2004, 05:49 PM   #3
Corona4456
Member
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 66

Rep: Reputation: 15
2 things... either modprobe is not installed on your system or you are not doing it under root... in order to use 'modprobe' you have to be root from my past experiences anyway.

If loggin in under root fails (or using su) then try using 'insmod'.

Last edited by Corona4456; 07-23-2004 at 05:50 PM.
 
Old 07-23-2004, 05:58 PM   #4
tombaaaaa
LQ Newbie
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
thanks - insmod seemed to work. do you know how I would go about installing modprobe?
 
Old 07-23-2004, 06:00 PM   #5
Pete M
Member
 
Registered: Aug 2003
Location: UK
Distribution: Redhat 9 FC 3 SUSE 9.2 SUSE 9.3 Gentoo 2005.0 Debian Sid
Posts: 657

Rep: Reputation: 31
tombaaaaa
Code:
sbin/modprobe
Don't know why but this works in Redhat 9

Pete
 
Old 07-23-2004, 06:09 PM   #6
tombaaaaa
LQ Newbie
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
thanks pete - that works!
 
Old 07-23-2004, 06:21 PM   #7
Corona4456
Member
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 66

Rep: Reputation: 15
Hmm... guess you don't have the symbolic link for it... you can try doing this ln -s /sbin/modprobe /usr/bin/modprobe

This is assuming that /usr/bin/ is in your PATH environment variable. To see what environment variables you can just do 'echo $PATH'

Or you can just add /sbin to your path:
if using bash:
export PATH=$PATH:/sbin/

Last edited by Corona4456; 07-23-2004 at 06:22 PM.
 
Old 07-23-2004, 06:46 PM   #8
tombaaaaa
LQ Newbie
 
Registered: Jul 2004
Distribution: SuSE 9.1
Posts: 15

Original Poster
Rep: Reputation: 0
thanks - that's a useful tip
 
  


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
modprobe: command not found sutley Linux - Newbie 3 07-29-2005 06:39 PM
Modprobe command not found DoThatPlan Linux - Software 2 07-14-2004 09:21 AM
'modprobe' command not found DeltaXFX Fedora 5 07-09-2004 03:31 PM
modprobe: command not found redhatman Linux - Newbie 5 02-08-2004 11:13 PM
modprobe: command not found....? Tommi Linux - Newbie 3 06-27-2003 07:54 AM


All times are GMT -5. The time now is 02:07 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration