LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Couldnt install ndiswrapper in ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/couldnt-install-ndiswrapper-in-ubuntu-683684/)

rmvprasad 11-15-2008 10:39 PM

Couldnt install ndiswrapper in ubuntu
 
As I was trying to enable the wiresless on Ubuntu I was was following different links available on net. Wireless has become a problem everytime I install Ubuntu. The links are

https://help.ubuntu.com/community/Wi...ting%20Drivers

prasad@prasad-laptop:~/ndiswrapper-1.28$ make distclean
make -C driver clean
make[1]: Entering directory `/home/prasad/ndiswrapper-1.28/driver'
rm -rf ndiswrapper.ko ndiswrapper.o crt.o hal.o iw_ndis.o loader.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o rtl.o wrapmem.o wrapndis.o wrapper.o usb.o divdi3.o usb.o win2lin_stubs.o \
divdi3.o workqueue.o .*.ko.cmd .*.o.cmd \
ndiswrapper.mod.[oc] *~ .tmp_versions Modules.symvers Module.symvers
make[1]: Leaving directory `/home/prasad/ndiswrapper-1.28/driver'
make -C utils clean
make[1]: Entering directory `/home/prasad/ndiswrapper-1.28/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/home/prasad/ndiswrapper-1.28/utils'
rm -f *~
rm -fr ndiswrapper-1.28 ndiswrapper-1.28.tar.gz patch-stamp
make -C driver distclean
make[1]: Entering directory `/home/prasad/ndiswrapper-1.28/driver'
rm -rf ndiswrapper.ko ndiswrapper.o crt.o hal.o iw_ndis.o loader.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o rtl.o wrapmem.o wrapndis.o wrapper.o usb.o divdi3.o usb.o win2lin_stubs.o \
divdi3.o workqueue.o .*.ko.cmd .*.o.cmd \
ndiswrapper.mod.[oc] *~ .tmp_versions Modules.symvers Module.symvers
rm -f *_exports.h .\#* win2lin_stubs.h
make[1]: Leaving directory `/home/prasad/ndiswrapper-1.28/driver'
make -C utils distclean
make[1]: Entering directory `/home/prasad/ndiswrapper-1.28/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/home/prasad/ndiswrapper-1.28/utils'
rm -f .\#*


prasad@prasad-laptop:~/ndiswrapper-1.28$ make
make -C driver
make[1]: Entering directory `/home/prasad/ndiswrapper-1.28/driver'
make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/prasad/ndiswrapper-1.28/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/prasad/ndiswrapper-1.28/driver/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[2]: *** [_module_/home/prasad/ndiswrapper-1.28/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/prasad/ndiswrapper-1.28/driver'
make: *** [all] Error 2


prasad@prasad-laptop:~/ndiswrapper-1.28$ sudo make install
make -C driver install
make[1]: Entering directory `/home/prasad/ndiswrapper-1.28/driver'
make -C /lib/modules/2.6.24-16-generic/build SUBDIRS=/home/prasad/ndiswrapper-1.28/driver
make[2]: Entering directory `/usr/src/linux-headers-2.6.24-16-generic'
scripts/Makefile.build:46: *** CFLAGS was changed in "/home/prasad/ndiswrapper-1.28/driver/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make[2]: *** [_module_/home/prasad/ndiswrapper-1.28/driver] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.24-16-generic'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/prasad/ndiswrapper-1.28/driver'
make: *** [install] Error 2

I looked into your website and tried to follow the steps. It simply says as below

sudo apt-get install ndiswrapper-utils-1.28
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package ndiswrapper-utils-1.28

vaderj 11-16-2008 02:49 PM

according to synaptic, 1.9 is the latest ver. of ndiswrapper, so you can try adjusting the version number. i just tried pulling it from apt-get and it looks like it is not available for x64

rmvprasad 11-17-2008 11:20 PM

I found ndiswrapper in the following location
/usr/share/doc/ndiswrapper-utils-1.9
I created a directory by name bcm4311 as mentioned at the link
https://help.ubuntu.com/community/Wi...u%20may%20have

It gave the following steps
user@ubuntu:~/ndiswrapper-1.28$ cd ~
user@ubuntu:~$ mkdir bcm4311
user@ubuntu:~$ mv sp33008.exe bcm4311
user@ubuntu:~$ cd bcm4311
user@ubuntu:~/bcm4311$ cabextract sp33008.exe

I am not finding the file sp33008.exe in step 3


All times are GMT -5. The time now is 12:02 PM.