LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   <make install> problem with NDISWRAPPER on Knoppix (https://www.linuxquestions.org/questions/linux-newbie-8/make-install-problem-with-ndiswrapper-on-knoppix-636415/)

Raptorialis 04-19-2008 07:31 AM

<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......

Any ideas of how to fix this.

Much appreciated if you can.

Steve

TITiAN 04-20-2008 01:51 PM

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.

Raptorialis 04-21-2008 03:01 PM

Quote:

Originally Posted by TITiAN (Post 3127163)
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.

Any further help much appreciated.

Steve

TITiAN 04-21-2008 04:34 PM

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/... ?
Quote:

/KNOPPIX/usr/src/linux-2.4.26/scripts/Makefile.build
The 2.4 kernel series are not recent, that fits with the fact that there's no Ndiswrapper pre-installed.

abid ch 03-27-2010 12:48 AM

ndiswrapper
 
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

TITiAN 03-28-2010 04:11 PM

hey this thread is nearly 2 years old, why do you still reply? xD


All times are GMT -5. The time now is 12:07 AM.