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 01-14-2012, 04:43 AM   #1
g_p_linux
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Rep: Reputation: Disabled
sudo: insmod: command not found


Hello,

i'm trying to load a kernel module and i can't cause the insmod command is not found.

I did:
  1. cd /
  2. cd sbin
  3. "insm" and Press Tab the command "insmod" appears
  4. su LoginUser
  5. password requested - password accepted
  6. sudo insmod
  7. sudo: insmod: command not found

In the sbin folder "insmod" appears, but when i type the command "insmod" i get a command not found

What shall i do in order to fix that?

Thanks, in advabce
 
Old 01-14-2012, 05:16 AM   #2
g_p_linux
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Hello,

i solved it.

In the 6th step i had typed "sudo insmod" instead of "sudo /sbin/insmod"

Now it's fine,
thanks
 
Old 01-14-2012, 06:33 AM   #3
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
You could have used modprobe.
http://linux.die.net/man/8/modprobe
 
Old 01-14-2012, 06:42 AM   #4
g_p_linux
LQ Newbie
 
Registered: Oct 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks,

i didn't know about that command but i'll check it out!
 
  


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
sudo cd /root gives 'sudo: cd: command not found'. stf92 Linux - Newbie 4 03-03-2012 09:05 AM
[SOLVED] sudo ... command not found PlatformIndependentBoy Linux - Server 7 08-06-2010 12:44 PM
bash: rpm: command not found && sudo: alien: command not found Java_Code Ubuntu 7 07-27-2006 11:57 PM
Insmod command not found after installing pctel-0.9.6 under rh8 Bensoft Kill MS Linux - Software 7 11-16-2003 07:38 PM
insmod --> bash:command not found linorg Linux - Newbie 7 11-15-2003 10:05 AM


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