LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-18-2005, 01:16 AM   #1
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Rep: Reputation: 30
problems installing Ndiswrapper


Because I don't yet understand the syntax of console commands or the process of compiling, I don't know what I'm doing with the Ndiswrapper installation.

The first thing the instructions say (I am reading the ndiswrapper wiki at Sourceforge) is "go to source-directory. Does that mean go to the directory containing my Ndiswrapper download, or to the directory containing the Linux sources (which I do not know and would have to locate)?

Then the instructions say to do "make distclean", run "make" (as root) and then "make install". What exactly am I "making"? And is there a difference between "do" and "run," or are they the same thing?--it says "do" for the make distclean, and "run" for the make and make install.

I'm not getting anywhere with this. Linux should compile the **** thing for me.

Ndiswrapper wiki: http://ndiswrapper.sourceforge.net/m...n#Installation
 
Old 07-18-2005, 02:10 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Quote:
Downloading

Download the latest version of the ndiswrapper sources from [[2] (http://sourceforge.net/projects/ndiswrapper)] and extract it with tar zxvf ndiswrapper-version.tar.gz This will create ndiswrapper-version directory. Change to that directory with cd ndiswrapper-version.
Then continue with the commands.
 
Old 07-18-2005, 02:29 PM   #3
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
installing Ndiswrapper: "make" doesn't work

OK...I changed to the directory with Ndiswrapper (it's on my desktop at the moment, because I didn't know where else to put it) by dragging the directory onto the console. So I know I am there. "make distclean" worked, but something went wrong when I typed "make" as root. I thought it would help if I reprinted it below. (I was logged in as administrator--I thought I should be, to do something this important.)

By the way, I see you are a moderator, sir...I hope you will consider establishing a Xandros forum soon, as I have Xandros but do not see it in the distribution forums. Thank you very much.


______________________________________
Password:
HADLEY:~# cd '/home/josh/Desktop/ndiswrapper-1.2'
HADLEY:/home/josh/Desktop/ndiswrapper-1.2# make distclean
make -C driver clean
make[1]: Entering directory `/home/josh/Desktop/ndiswrapper-1.2/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o pe_linker.o proc.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/josh/Desktop/ndiswrapper-1.2/driver'
make -C utils clean
make[1]: Entering directory `/home/josh/Desktop/ndiswrapper-1.2/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/home/josh/Desktop/ndiswrapper-1.2/utils'
rm -f *~
rm -fr ndiswrapper-1.2 ndiswrapper-1.2.tar.gz *.deb patch-stamp
make -C driver distclean
make[1]: Entering directory `/home/josh/Desktop/ndiswrapper-1.2/driver'
rm -rf ndiswrapper.ko ndiswrapper.o hal.o iw_ndis.o loader.o misc_funcs.o ndis.o ntoskernel.o pe_linker.o proc.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/josh/Desktop/ndiswrapper-1.2/driver'
make -C utils distclean
make[1]: Entering directory `/home/josh/Desktop/ndiswrapper-1.2/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/home/josh/Desktop/ndiswrapper-1.2/utils'
rm -f .\#*
HADLEY:/home/josh/Desktop/ndiswrapper-1.2# sudo make
sudo: unable to lookup HADLEY via gethostbyname()
make -C driver
make[1]: Entering directory `/home/josh/Desktop/ndiswrapper-1.2/driver'
Can't find kernel sources in /lib/modules/2.6.11-x1/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/josh/Desktop/ndiswrapper-1.2/driver'
make: *** [all] Error 2
You have new mail in /var/mail/root
HADLEY:/home/josh/Desktop/ndiswrapper-1.2#
 
Old 07-18-2005, 02:36 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Since you are already root (as shown by the # mark), using sudo will do nothing and gives an error. Just type "make".

We would love to have a Xandros forum, our policy is that we will only have a distro forum if the distro supports/sponsors it. This normally means having a person (or people) from that distro join LQ and offer help in their forum. As a user you could help with this by politely emailling the Xandros team and asking that they contact Jeremy to establish a forum.
 
Old 07-18-2005, 05:07 PM   #5
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
re: Ndiswrapper

There must be another problem. I left out sudo this time, and it still didn't work:
_______________________________
HADLEY:/home/josh/Desktop/ndiswrapper-1.2# make
make -C driver
make[1]: Entering directory `/home/josh/Desktop/ndiswrapper-1.2/driver'
Can't find kernel sources in /lib/modules/2.6.11-x1/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/josh/Desktop/ndiswrapper-1.2/driver'
make: *** [all] Error 2
HADLEY:/home/josh/Desktop/ndiswrapper-1.2#
 
Old 07-18-2005, 05:18 PM   #6
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
re: Xandros forum

I did as you suggested, and contacted Xandros to ask them to coordinate on a new forum.
 
Old 07-18-2005, 06:01 PM   #7
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Nice one on the forum Do you have the kernel-sources installed? I'm guessing that you are using Xandros so (and again I'm guessing) that in it's package management there is an option to download and install the sources for your kernel.
 
Old 07-18-2005, 11:37 PM   #8
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
re: Ndiswrapper

I am not sure whether I have the kernel sources or something else (RPMs?--apparently that was how Mandrake installed itself when I tried it)...that is another one of the things I don't entirely understand. I downloaded Xandros using BitTorrent, copes the .iso file as a data image to make an installation CD, and installed by booting from the CD.

If Xandros has a package manager that would do this for me, I would be delighted. Would that be in the control panel?
 
Old 07-19-2005, 12:04 AM   #9
joshknape
Member
 
Registered: Jul 2005
Posts: 216

Original Poster
Rep: Reputation: 30
re: kernel sources

Hmm...I may be wrong. The error messages saying Xandros can't find the kernel sources would suggest that I don't have them. If I do, where should I look for them? And if I don't have them, how do I make sure I get them the next time I reinstall?
 
Old 07-19-2005, 02:25 AM   #10
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
The package manager is called "Xandros Networks" (which sounds like a confusing name to me ). You need to look at the kernel sources package and download/install the source that matches your kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problems installing ndiswrapper-1.2 on Mandrake 10.1 ChillyWillie Linux - Hardware 6 07-20-2005 07:42 PM
Problems installing ndiswrapper-1.2 on Mandrake 10.1 ChillyWillie Mandriva 2 07-20-2005 03:53 PM
problems installing ndiswrapper slack---line Linux - Wireless Networking 2 01-17-2005 04:40 AM
Booting problems after installing Ndiswrapper (Fedora 2) mawaldne Linux - Wireless Networking 4 12-30-2004 11:16 AM
help installing ndiswrapper. rjcrews Linux - Wireless Networking 10 10-07-2004 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:33 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