<make install> problem with NDISWRAPPER on Knoppix
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
<make install> problem with NDISWRAPPER on Knoppix
Hello,
I am trying to set a speedtouch 121g adapter up on Knoppix and have downloaded the ndsiwrapper-1.52 from http://ndiswrapper.sourceforge.net/joomla/index.php and have used tar to unravel. tar -zxvf ndiswrapper-version.tar.gz
I have entered lsusb athe device is there
Then to compile and install
"Go to the source-directory and run make distclean and make. As root, run make install. This should compile and install both the kernel module and the userspace utilities."
But i get an error when i run "make install"
says "make -C install"
"grep: /KNOPPIX/usr/src/linux-2.4.26/scripts/Makefile.build No such file or directory".
There is no scripts directory under /KNOPPIX......
Here's a solution that should work if you can build up a temporary internet connection (perhaps via cable?):
As Knoppix is Debian-based, you should be able to install ndiswrapper via module-assistant (which uses apt).
If there are *.deb-sources in the file /etc/apt/sources.list, the following commands in konsole should install things from the internet and configure them:
Code:
su
[root-password needed]
apt-get update
apt-get install module-assistant
m-a a-i ndiswrapper
ndiswrapper -i *.inf-file
modprobe ndiswrapper
etc. etc.
The file /etc/apt/sources.list should contain "commented-out" sources. If one of these procedures tells you that it couldn't find some program, you'll need to edit that file. If you don't know what to do there, or anything else is unclear, post any questions.
Here's a solution that should work if you can build up a temporary internet connection (perhaps via cable?):
As Knoppix is Debian-based, you should be able to install ndiswrapper via module-assistant (which uses apt).
If there are *.deb-sources in the file /etc/apt/sources.list, the following commands in konsole should install things from the internet and configure them:
Code:
su
[root-password needed]
apt-get update
apt-get install module-assistant
m-a a-i ndiswrapper
ndiswrapper -i *.inf-file
modprobe ndiswrapper
etc. etc.
The file /etc/apt/sources.list should contain "commented-out" sources. If one of these procedures tells you that it couldn't find some program, you'll need to edit that file. If you don't know what to do there, or anything else is unclear, post any questions.
Thank you very much TITiAN for your kind support. I will definately use this solution if i continue to draw a blank with trying to get the laptop connection working directly with wireless.
The problem seems to lie with the way i have the paths configured and i am not even sure whether the scripts that make is trying to locate are actually bundled with the Knoppix CD. The make file is looking for a path grep: /KNOPPIX/usr/src/linux-2.4.26/scripts/Makefile.build. But /scripts/Makefile.build does not exist.
I think the reason why the scripts are not found is that there are no "kernel headers" installed, which are needed by kernel modules such as Ndiswrapper and other drivers. It could be something like "build-essential", too; in any case, module-assistant takes care of such things (i.e. installing everything needed for building a kernel module) and modules can normally be build automatically without problems.
Newer versions of Knoppix, however, ship a precompiled Ndiswrapper module. Maybe it will be easier to install from a new Knoppix CD/DVD/... ?
when you use ndiswrapper to install then you must go to applicatins & this take only .inf file then you install this & make it possible to install.there is only this way to install prog using ndiswrapper
best regards
abid ch
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.