LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 04-18-2006, 06:06 AM   #1
adamsimpkin384
LQ Newbie
 
Registered: Dec 2005
Location: England, Essex
Distribution: Ubuntu 5.10
Posts: 8

Rep: Reputation: 0
Question 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.
 
Old 04-18-2006, 06:22 AM   #2
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
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
 
Old 04-18-2006, 06:27 AM   #3
adamsimpkin384
LQ Newbie
 
Registered: Dec 2005
Location: England, Essex
Distribution: Ubuntu 5.10
Posts: 8

Original Poster
Rep: Reputation: 0
thanks a bunch !

ill tell you how i get on.
 
Old 04-18-2006, 07:06 AM   #4
adamsimpkin384
LQ Newbie
 
Registered: Dec 2005
Location: England, Essex
Distribution: Ubuntu 5.10
Posts: 8

Original Poster
Rep: Reputation: 0
yep cheers my card works fine now, just need to share my internet with a winxp computer, looks tricky
 
Old 04-18-2006, 08:01 AM   #5
beagle2
Member
 
Registered: Aug 2004
Location: Aberdeen Scotland
Distribution: elive,sidux,xp,pclinuxos super gamer, mandriva 2007
Posts: 417

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper ubuntu amd64 thewfool Linux - Hardware 5 03-27-2006 12:34 AM
Ubuntu 5.10 ndiswrapper bottledwater Linux - Wireless Networking 9 10-16-2005 04:18 PM
Having trouble installing ndiswrapper onto Ubuntu fugiware Linux - Hardware 4 07-28-2005 01:20 PM
Ndiswrapper in Ubuntu stevenyu Ubuntu 8 03-29-2005 04:06 AM
Trouble installing ndiswrapper in redhat digislime Linux - Software 0 08-12-2004 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration