LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-30-2005, 11:05 PM   #1
n00bDanimal
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core IV
Posts: 27

Rep: Reputation: 15
ndiswrapper installation


I'm having difficulties installing ndiswrapper on FC4: first off I've tried installing and re-installing a few different ways and I'm not even sure if its completely removed from my system yet. any suggestions to that problem?

also, this is the first way I tried installing it. I downloaded ndiswrapper-1.2.tar.gz and un-gzipped and rolled out the tarball. then i went into that directory (ndiswrapper-1.2) and did the following
Code:
#make
#make install
so then i attempted some commands with "ndiswrapper" and it says there is no such command.

so the next time I attempted to install it I tried to modify the files into rpms using these commands: (this is inside the ndiswrapper-1.2 file on my desktop)
Code:
#make
#make rpm
I then followed the .rpms into my /usr/src/redhat/RPMS/i386 file and proceeded to
Code:
#rpm -Uvh *.rpm
which compiled the following
Code:
kernel-module-ndiswrapper-2.6.11-1.1369_FC4-1.2-1.i386.rpm
ndiswrapper-1.2-1.i386.rpm
ndiswrapper-debuginfo-1.2-1.i386.rpm
any thoughts? ideas? any help would be much appreciated!
 
Old 08-31-2005, 07:10 AM   #2
mickyg
Member
 
Registered: Oct 2004
Location: UK
Distribution: Ubuntu/Kubuntu
Posts: 249

Rep: Reputation: 30
When you type a command in the shell, without specifying the exact path the shell looks at an environment variable called PATH which contains a semi-colon delimited list of places to look for programs. If it can't find the command in these places it returns the "Command not found" message.

Make sure either a) the path to ndiswrapper is in your PATH environment variable, or, b) (my preference) that ndiswrapper, or a symlink to it is in /usr/bin, /usr/local/bin or any other path that's already in your PATH environment variable.

You can view your environment variables by typing set at the shell.

You can find the location of installed programs on your linux system by using the whereis, find and slocate commands in the shell.

Hence:

$ whereis ndiswrapper

Should return a path to ndiswrapper.

I found these with a quick google search:

Basic Commands
Whereis
Finding Files

Just out of curiousity, why didn't you configure the source before running make && make install?

Last edited by mickyg; 08-31-2005 at 07:15 AM.
 
Old 08-31-2005, 08:17 AM   #3
n00bDanimal
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core IV
Posts: 27

Original Poster
Rep: Reputation: 15
thanks for the help, but my ndiswrapper is located in
Code:
/usr/sbin/ndiswrapper 

/usr/share/man/man8/ndiswrapper.8  and 

/usr/share/man/man8/ndiswrapper.8.gz
but its still not recognizing it as a command. i have no idea why its not recognizing it.


edit:: oh and the reason I didn't do a ./config (and i did try it) I got an error that there was no config file....I don't think it was included in my ndiswrapper download....

Last edited by n00bDanimal; 08-31-2005 at 09:31 AM.
 
Old 08-31-2005, 12:31 PM   #4
azucaro
Member
 
Registered: Jan 2005
Location: Washington, D.C.
Distribution: Arch (Custom), CentOS
Posts: 239

Rep: Reputation: 30
If ndiswrapper is in /sbin/, you need special authority (namely root or sudo access) to execute it. Become root and type /sbin/ndiswrapper and that should work.
 
Old 08-31-2005, 04:00 PM   #5
n00bDanimal
LQ Newbie
 
Registered: Aug 2005
Distribution: Fedora Core IV
Posts: 27

Original Poster
Rep: Reputation: 15
w00t thanks for the help! i literally jumped for joy once i got ndiswrapper done and could FINALLY get my server online lol...i scared a few people around me.....
 
Old 09-18-2005, 11:28 PM   #6
michaemkliu
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Cannot Create Soft Link

I have followed the installation steps given at http://ndiswrapper.sourceforge.net/m.../Installation.

However when I try to fullfill the prerequisite by soft-linking /lib/modules/VERSION/build to Karnel source by doing:

ln -s /usr/src/linux-2.6.11.4-20a-obj /lib/modules/2.6.11-20a-default/build

It ended with the message "permission denied". I have to admit it's been a while since I last deal with UNIX.

Any help would be appreciated.
 
Old 09-19-2005, 01:32 AM   #7
michaemkliu
LQ Newbie
 
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Fixed the above problem by setting user to ROOT.

Got another problem when using make, msg as follows - any clue?:

make -C driver
make[1]: Entering directory `/home/michaelmkliu/Desktop/ndiswrapper-1.3rc1/driver'
make -C /lib/modules/2.6.11.4-20a-default/build SUBDIRS=/home/michaelmkliu/Desktop/ndiswrapper-1.3rc1/driver \
DRIVER_VERSION=1.3rc1 \
UTILS_VERSION=1.2 modules
make[2]: Entering directory `/usr/src/linux-2.6.11.4-20a'
Makefile:494: .config: No such file or directory

WARNING: Symbol version dump /usr/src/linux-2.6.11.4-20a/Module.symvers is missing; modules will have no modversions.

CC [M] /home/michaelmkliu/Desktop/ndiswrapper-1.3rc1/driver/hal.o
/bin/sh: scripts/basic/fixdep: No such file or directory
make[3]: *** [/home/michaelmkliu/Desktop/ndiswrapper-1.3rc1/driver/hal.o] Error 1
make[2]: *** [_module_/home/michaelmkliu/Desktop/ndiswrapper-1.3rc1/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.11.4-20a'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/michaelmkliu/Desktop/ndiswrapper-1.3rc1/driver'
make: *** [all] Error 2
 
  


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
ndiswrapper installation PulsarSL Linux - Newbie 1 08-27-2005 09:58 PM
Ndiswrapper 1.0 installation error. jjee Linux - Laptop and Netbook 6 05-02-2005 08:56 PM
NdisWrapper installation PEACEYALL Debian 1 01-16-2005 03:39 AM
Need help with ndiswrapper installation e11 Linux - Newbie 8 10-31-2004 07:36 AM
ndiswrapper - driver installation tomap Linux - Wireless Networking 7 10-18-2004 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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