Discussion:
Need help installing ndiswrapper
(too old to reply)
Dennis Wicks
2008-10-05 18:30:17 UTC
Permalink
I am installing ndiswrapper and can't get it to complete properly.

In the INSTALL it states:

You need a recent kernel, at least 2.6.16, with header files for the
kernel. Make sure there is a link to the kernel source from the modules
directory. The command

ls /lib/modules/`uname -r`/build

should have at least 'include' directory and '.config' file.

I have kernel 2.6.26 and I have installed both the kernel headers and the kernel
source but I still don't have the build directory and the required directory & file.

How do I get these setup?

TIA!!
Dennis
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Eduardo M KALINOWSKI
2008-10-05 19:40:19 UTC
Permalink
Post by Dennis Wicks
I am installing ndiswrapper and can't get it to complete properly.
You need a recent kernel, at least 2.6.16, with header files for the
kernel. Make sure there is a link to the kernel source from the modules
directory. The command
ls /lib/modules/`uname -r`/build
should have at least 'include' directory and '.config' file.
I have kernel 2.6.26 and I have installed both the kernel headers and the kernel
source but I still don't have the build directory and the required directory & file.
You don't need the kernel source, but rather the kernel include files.
These are in the package linux-headers-<version> .
--
Be consistent.
-- Larry Wall in the perl man page

Eduardo M KALINOWSKI
***@kalinowski.com.br
http://move.to/hpkb
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Dennis Wicks
2008-10-05 23:00:17 UTC
Permalink
Post by Eduardo M KALINOWSKI
Post by Dennis Wicks
I am installing ndiswrapper and can't get it to complete properly.
You need a recent kernel, at least 2.6.16, with header files for the
kernel. Make sure there is a link to the kernel source from the modules
directory. The command
ls /lib/modules/`uname -r`/build
should have at least 'include' directory and '.config' file.
I have kernel 2.6.26 and I have installed both the kernel headers and the kernel
source but I still don't have the build directory and the required directory & file.
You don't need the kernel source, but rather the kernel include files.
These are in the package linux-headers-<version> .
OK, I did that and tried a few things, none of which worked.

I used aptitude to purge and install ndisgtk ndiswrapper-common
ndiswrapper-utils-1.9 and then:

ndiswrapper -i /media/disk/drivers/network/R174291/bvmwl5.inf
installing bcmwl5 ...

modprobe ndiswrapper
FATAL: Module ndiswrapper not found.

The same thing happens when I use ndisgtk to install the drivers.

So, no difference, no joy ...

Any more help?

TIA!
Dennis
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Florian Kulzer
2008-10-07 20:40:08 UTC
Permalink
Post by Dennis Wicks
Post by Eduardo M KALINOWSKI
Post by Dennis Wicks
I am installing ndiswrapper and can't get it to complete properly.
You need a recent kernel, at least 2.6.16, with header files for the
kernel. Make sure there is a link to the kernel source from the modules
directory. The command
ls /lib/modules/`uname -r`/build
should have at least 'include' directory and '.config' file.
I have kernel 2.6.26 and I have installed both the kernel headers and
the kernel source but I still don't have the build directory and the
required directory & file.
You don't need the kernel source, but rather the kernel include files.
These are in the package linux-headers-<version> .
OK, I did that and tried a few things, none of which worked.
I used aptitude to purge and install ndisgtk ndiswrapper-common
ndiswrapper -i /media/disk/drivers/network/R174291/bvmwl5.inf
installing bcmwl5 ...
modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
The same thing happens when I use ndisgtk to install the drivers.
It seems that you have not compiled the kernel ndiswrapper module (using
module-assistant):

http://wiki.debian.org/NdisWrapper#head-d830e05d15a64e40a56b82c293d9d9b65949b3f4

If this does not work for you then post the exact commands that you use
and the error messages that you get when trying to follow these
instructions.

(It seems that you attempted to use the generic upstream INSTALL
instructions; this should not be necessary because module-assistant
should do all the complicated stuff for you on Debian.)
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
alan hutchinson
2008-10-08 06:50:06 UTC
Permalink
Hi Florian I also have bean trying to install "ndiswrapper" as well, and
just like you it is proving to be problematic ,I even tryed doing it the
windows way by downloading "ndiswrapper" on to the Debian desktop,but
synaptic package manager just does not show it on the interface, So I
tryed following the instructions on this support site and this is what I got
in my terminal

debian:/home/thegreatalsky# apt-get install module-assistant
ndiswrapper-utils ndiswrapper-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package ndiswrapper-utils
debian:/home/thegreatalsky# m-a prepare
bash: m-a: command not found
debian:/home/thegreatalsky# m-a update
bash: m-a: command not found
debian:/home/thegreatalsky# module-assistant auto-install ndiswrapper
bash: module-assistant: command not found
debian:/home/thegreatalsky#
"I dont know what to
do"

On Tue, Oct 7, 2008 at 4:16 PM, Florian Kulzer <
Post by Dennis Wicks
Post by Dennis Wicks
Post by Eduardo M KALINOWSKI
Post by Dennis Wicks
I am installing ndiswrapper and can't get it to complete properly.
You need a recent kernel, at least 2.6.16, with header files for
the
Post by Dennis Wicks
Post by Eduardo M KALINOWSKI
Post by Dennis Wicks
kernel. Make sure there is a link to the kernel source from the
modules
Post by Dennis Wicks
Post by Eduardo M KALINOWSKI
Post by Dennis Wicks
directory. The command
ls /lib/modules/`uname -r`/build
should have at least 'include' directory and '.config' file.
I have kernel 2.6.26 and I have installed both the kernel headers and
the kernel source but I still don't have the build directory and the
required directory & file.
You don't need the kernel source, but rather the kernel include files.
These are in the package linux-headers-<version> .
OK, I did that and tried a few things, none of which worked.
I used aptitude to purge and install ndisgtk ndiswrapper-common
ndiswrapper -i /media/disk/drivers/network/R174291/bvmwl5.inf
installing bcmwl5 ...
modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
The same thing happens when I use ndisgtk to install the drivers.
It seems that you have not compiled the kernel ndiswrapper module (using
http://wiki.debian.org/NdisWrapper#head-d830e05d15a64e40a56b82c293d9d9b65949b3f4
If this does not work for you then post the exact commands that you use
and the error messages that you get when trying to follow these
instructions.
(It seems that you attempted to use the generic upstream INSTALL
instructions; this should not be necessary because module-assistant
should do all the complicated stuff for you on Debian.)
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
--
with a subject of "unsubscribe". Trouble? Contact
Michael Wagner
2008-10-08 11:30:12 UTC
Permalink
debian:/home/thegreatalsky# apt-get install module-assistant 
ndiswrapper-utils ndiswrapper-source
Reading package lists... Done
Building dependency tree      
Reading state information... Done
E: Couldn't find package ndiswrapper-utils
debian:/home/thegreatalsky# m-a prepare
bash: m-a: command not found
debian:/home/thegreatalsky# m-a update
bash: m-a: command not found
debian:/home/thegreatalsky# module-assistant auto-install ndiswrapper
bash: module-assistant: command not found
debian:/home/thegreatalsky#
                                                       "I dont know what
to do"
Hello Alan,

are you sure that the package was installed? Look with

dpkg -l module-assistant

And for the ndiswrapper packages. These packages are normally in the
main archive, therefore I don't understand why apt didn't find the
packages. Your /etc/apt/sources.list is ok? Make first an

aptitude update

and then look if they are installable with aptitude.

Hth Michael
--
"The key to immortality is first living a life worth remembering."
-Saint Augustine
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Florian Kulzer
2008-10-08 16:30:11 UTC
Permalink
Post by alan hutchinson
Hi Florian I also have bean trying to install "ndiswrapper" as well, and
just like you it is proving to be problematic,
Just to clarify: I am not currently using ndiswrapper at all myself,
which is why I was unaware that the name of the utilities package had
changed (see below).
Post by alan hutchinson
I even tryed doing it the
windows way by downloading "ndiswrapper" on to the Debian desktop,but
synaptic package manager just does not show it on the interface, So I
tryed following the instructions on this support site and this is what I got
in my terminal
debian:/home/thegreatalsky# apt-get install module-assistant
ndiswrapper-utils ndiswrapper-source
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package ndiswrapper-utils
The package is called "ndiswrapper-utils-1.9" on Lenny. Try this command
instead:

apt-get install module-assistant ndiswrapper-utils-1.9 ndiswrapper-source

You should see explicit messages that these packages are downloaded,
unpacked, and configured.

In general, if you have this kind of problem then you can use something
like

apt-cache search ndiswrapper

to find out which package is the right one to install. (If you are more
comfortable with synaptic then you can also use the search in synaptic
to find out the exact names of all ndiswrapper-related packages.)
Post by alan hutchinson
debian:/home/thegreatalsky# m-a prepare
bash: m-a: command not found
debian:/home/thegreatalsky# m-a update
bash: m-a: command not found
debian:/home/thegreatalsky# module-assistant auto-install ndiswrapper
bash: module-assistant: command not found
This is normal, because module-assistant is not yet installed on your
system. (The problem with ndiswrapper-utils-1.9 caused apt-get to abort
the installation of all three packages that you requested.)
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Dennis Wicks
2008-10-08 16:10:13 UTC
Permalink
Post by Florian Kulzer
Post by Dennis Wicks
Post by Eduardo M KALINOWSKI
Post by Dennis Wicks
I am installing ndiswrapper and can't get it to complete properly.
You need a recent kernel, at least 2.6.16, with header files for the
kernel. Make sure there is a link to the kernel source from the modules
directory. The command
ls /lib/modules/`uname -r`/build
should have at least 'include' directory and '.config' file.
I have kernel 2.6.26 and I have installed both the kernel headers and
the kernel source but I still don't have the build directory and the
required directory & file.
You don't need the kernel source, but rather the kernel include files.
These are in the package linux-headers-<version> .
OK, I did that and tried a few things, none of which worked.
I used aptitude to purge and install ndisgtk ndiswrapper-common
ndiswrapper -i /media/disk/drivers/network/R174291/bvmwl5.inf
installing bcmwl5 ...
modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
The same thing happens when I use ndisgtk to install the drivers.
It seems that you have not compiled the kernel ndiswrapper module (using
http://wiki.debian.org/NdisWrapper#head-d830e05d15a64e40a56b82c293d9d9b65949b3f4
If this does not work for you then post the exact commands that you use
and the error messages that you get when trying to follow these
instructions.
(It seems that you attempted to use the generic upstream INSTALL
instructions; this should not be necessary because module-assistant
should do all the complicated stuff for you on Debian.)
Thanks Florian!

That was the missing piece!

But one would think that when you do 'aptitude install xyz' everything
needed to install xyz would be done, as is the case with most packages.

Thank goodness for you and others that have somehow discovered where the
secret spells are kept!

Many Thanks!
Dennis
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
alan hutchinson
2008-10-06 08:20:17 UTC
Permalink
I also am having difficulty installing ndiswrapper I don't no where to
start,I thought that by useing synaptic package manager it would be a breeze
but evidently not I am useing Debian Lenny beta 2 i386 with kernel 2.624
1686 also I am trying to install network everywhere 2.4 GHz wireless usb
adapter,if some one could pleas help me ,
thanks in advance.
Post by Dennis Wicks
I am installing ndiswrapper and can't get it to complete properly.
You need a recent kernel, at least 2.6.16, with header files for the
kernel. Make sure there is a link to the kernel source from the modules
directory. The command
ls /lib/modules/`uname -r`/build
should have at least 'include' directory and '.config' file.
I have kernel 2.6.26 and I have installed both the kernel headers and the
kernel source but I still don't have the build directory and the required
directory & file.
How do I get these setup?
TIA!!
Dennis
--
Florian Kulzer
2008-10-07 20:50:08 UTC
Permalink
Post by alan hutchinson
I also am having difficulty installing ndiswrapper I don't no where to
start,I thought that by useing synaptic package manager it would be a breeze
but evidently not I am useing Debian Lenny beta 2 i386 with kernel 2.624
1686 also I am trying to install network everywhere 2.4 GHz wireless usb
adapter,if some one could pleas help me ,
thanks in advance.
Try this:

http://wiki.debian.org/NdisWrapper#head-d830e05d15a64e40a56b82c293d9d9b65949b3f4

If you run into problems, post the details here (including verbatim
error messages). You can use synaptic to install the necessary packages
(the instructions in the wiki use the apt-get command) but then you have
to quit synaptic, open a terminal, become root and run the m-a
(module-assistant) commands as they are given in the wiki. ("m-a" is
simply a convenient abbreviation for "module-assistant"; they both start
the same program.)
--
Regards, | http://users.icfo.es/Florian.Kulzer
Florian |
--
To UNSUBSCRIBE, email to debian-user-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
Loading...