LinuxQuestions.org
Visit Jeremy's Blog.
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 09-07-2004, 01:34 PM   #1
MiMiCx10
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Rep: Reputation: 0
Unhappy Command Not Found ndiswrapper


Hello, I posted an issue similar to this one at the wireless networking forum. However, I do not think it is related to the ndiswrapper. Instead I think I am getting this problem simply because I'm doing something wrong :-). When trying to install the ndiswrapper, I type "make install" Some files are compiled and no errors accumulate. However, I do the next step "ndiswrapper -i bcm4306.inf" and get the following message "ndiswrapper: Command not found." The ame things happens if i just try "ndiswrapper." I must be making some simple mistake. Please help

Thanks,
Brandon
 
Old 09-07-2004, 01:42 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 469Reputation: 469Reputation: 469Reputation: 469Reputation: 469
Are you running it as root?
 
Old 09-07-2004, 02:10 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Jessie 8.4
Posts: 5,873

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
There are several things to do. First, run the which command to find the location (read path) to the ndiswrapper executable. Ex: which ndiswrapper.
Assume it's in /usr/bin.
Your next step is to check the file /etc/ld.so.conf to see that /usr/bin is in your path. If it is not, add that path to ld.so.conf, then run /sbin/ldconf to pick up the added path. From then on, you should be able to start ndiswrapper using the commands you've already tried.
Alternative method. Bash is somewhat simpleminded. It requires that you give it specific information about the location of an application you propose to run from the command line. If you have not edited/verified ld.so.conf, then you must apply one of the following methods:
a) specify the /full/path/to/ndiswrapper executable to tell bash where to find it, or
b) cd to the directory which contains the ndiswrapper executable, and issure the command ./ndiswrapper. The ./ tells bash to look in the present working directory for the executable.
The command not found error usually means that bash doesn't know where to find something. Use a or b to tell bash where to find the executable for any application, and it'll work.

Last edited by bigrigdriver; 09-07-2004 at 02:12 PM.
 
Old 09-07-2004, 05:11 PM   #4
MiMiCx10
LQ Newbie
 
Registered: Sep 2004
Posts: 5

Original Poster
Rep: Reputation: 0
Thank you so much for your help. This was the problem precisely. I'm an old MS-DOS user and didn't realize that in Linux you needed to specify the ". /" if the file is in the current working folder. :-)


Thanks again,
Brandon
 
  


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
ndiswrapper not found??? it-s Mandriva 2 03-07-2005 04:19 AM
ndiswrapper suse 9.2 module not found sarge extreme Linux - Wireless Networking 4 01-28-2005 06:37 PM
ndiswrapper with WMP11, hardware not found JCdude2525 Linux - Wireless Networking 7 10-19-2004 05:58 PM
Ndiswrapper - Hardware not found eggoz Linux - Wireless Networking 4 10-02-2004 09:31 PM
Linux Newbie - ndiswrapper : Command not found MiMiCx10 Linux - Wireless Networking 1 09-07-2004 09:41 PM


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