LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Having trouble installing ndiswrapper on ubuntu (https://www.linuxquestions.org/questions/linux-newbie-8/having-trouble-installing-ndiswrapper-on-ubuntu-436325/)

adamsimpkin384 04-18-2006 06:06 AM

Having trouble installing ndiswrapper on ubuntu
 
I recently installed ubuntu breezy badger,

after installing i needed to set up my wireless network cards so i could share an internet connection, but there are no existing linux drivers for my card,

i downloaded the latest stable for ndiswrapper so i could use my windows drivers, but i came across some trouble trying to compile and install it in the terminal

here is what the terminal displayed:

adam@Server:~$ su
Password:
root@Server:/home/adam# cd /home/adam/ndiswrapper-1.14
root@Server:/home/adam/ndiswrapper-1.14# make distclean
make -C driver clean
make[1]: Entering directory `/home/adam/ndiswrapper-1.14/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapndis.o wrapper.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
make[1]: Leaving directory `/home/adam/ndiswrapper-1.14/driver'
make -C utils clean
make[1]: Entering directory `/home/adam/ndiswrapper-1.14/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/home/adam/ndiswrapper-1.14/utils'
rm -f *~
rm -fr ndiswrapper-1.14 ndiswrapper-1.14.tar.gz *.deb patch-stamp
make -C driver distclean
make[1]: Entering directory `/home/adam/ndiswrapper-1.14/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o ntoskernel_io.o pe_linker.o pnp.o proc.o wrapndis.o wrapper.o divdi3.o usb.o x86_64_stubs.o \
divdi3.o .*.ko.cmd .*.o.cmd ndiswrapper.mod.[oc] *~ .tmp_versions
rm -f *_exports.h .\#* x86_64_stubs.h
make[1]: Leaving directory `/home/adam/ndiswrapper-1.14/driver'
make -C utils distclean
make[1]: Entering directory `/home/adam/ndiswrapper-1.14/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/home/adam/ndiswrapper-1.14/utils'
rm -f .\#*
root@Server:/home/adam/ndiswrapper-1.14# make
make -C driver
make[1]: Entering directory `/home/adam/ndiswrapper-1.14/driver'
Can't find kernel build files in /lib/modules/2.6.12-10-386/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/adam/ndiswrapper-1.14/driver'
make: *** [all] Error 2
root@Server:/home/adam/ndiswrapper-1.14# make install
make -C driver install
make[1]: Entering directory `/home/adam/ndiswrapper-1.14/driver'
Can't find kernel build files in /lib/modules/2.6.12-10-386/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/adam/ndiswrapper-1.14/driver'
make: *** [install] Error 2
root@Server:/home/adam/ndiswrapper-1.14#


now to me it looks like the 'make distlcean' command went well, but 'make' and 'make install'

im new to linux and any help given i would be thankful for.

beagle2 04-18-2006 06:22 AM

According to wiki "Ubuntu comes with the necessary ndiswrapper module pre-installed but it needs the ndiswrapper-utils package to get it working." Look here https://wiki.ubuntu.com/WifiDocs/Dri...iswrapperHowto

adamsimpkin384 04-18-2006 06:27 AM

thanks a bunch :D!

ill tell you how i get on.

adamsimpkin384 04-18-2006 07:06 AM

yep cheers my card works fine now, just need to share my internet with a winxp computer, looks tricky:newbie:

beagle2 04-18-2006 08:01 AM

If you mean using your linux box as a wireless access point, ndiswrapper doesnt support master mode (host ap) as yet. Cards which have a Intersil Prism 2/2.5/3 chipset can use master mode with this driver http://packages.ubuntulinux.org/hoary/net/hostap-utils or atheros chipset can use madwifi.


All times are GMT -5. The time now is 11:44 AM.