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 01:12 PM.