LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-22-2005, 09:25 AM   #1
Royle
Member
 
Registered: Apr 2004
Posts: 112

Rep: Reputation: 15
help installing ndiswrapper.


I'm trying to install ndiswrapper according to this here: http://ndiswrapper.sourceforge.net/m...allDebianSarge

So far what I've done is installed wireless-tools, and ndiswrapper-source. Next I went to the directory /usr/src/modules/ndiswrapper and ran make install. Then I used ndiswrapper -i to install the windows driver. Then I tried
Code:
modeprope ndiswrapper
and it told me there was no module ndiswrapper. What have I done wrong? Thanks in advance for your help.

Last edited by Royle; 08-22-2005 at 09:31 AM.
 
Old 08-22-2005, 02:55 PM   #2
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Try using this:

If you are using a custom-compiled kernel then follow these steps:

cd /usr/src/

apt-get install ndiswrapper-utils and ndiswrapper-source

And then go to your current kernel source directory

cd /usr/src/linux

And then

make-kpkg kernel_image modules_image

After this

ndiswrapper -i <name of inf driver file>

modprobe ndiswrapper

And hopefully it should work.

Let me know how it went. I was also stuck to the same problem few days back.
 
Old 08-22-2005, 04:40 PM   #3
Royle
Member
 
Registered: Apr 2004
Posts: 112

Original Poster
Rep: Reputation: 15
I got an erro running

make-kpkg kernel_image modules_image

it said
Code:
The changelog says we are creating 2.6.8-ndiswrapper, but I thought the version is 2.6.8
I'm pretty sure the problem is that I named my kernel with
Code:
--append-to-version=ndiswrapper
I don't know how to name a kernel just 2.6.8 (I'm just a noob). I'm pretty sure the solution is to tell ndiswrapper that the version of the kernel is different, or change the name of the kernel. Neither of which I know how to do. What do I do?
 
Old 08-22-2005, 05:44 PM   #4
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
Try compiling your kernel with --revision. That;s what I had used. Also look at the following post where I had posted a very similar question.

http://www.linuxquestions.org/questi...highlight=ndis
 
Old 08-22-2005, 08:52 PM   #5
Royle
Member
 
Registered: Apr 2004
Posts: 112

Original Poster
Rep: Reputation: 15
Hmmm I tried compiling the kernel with this:
Code:
make-kpkg --initrd --revision kernel_image
and get this:
Code:
I note that you are using the --reivsion flag with the value kernel_image.  However, the ./debian/changelog file exists, and has a different value 10.00.Custion.  I am confused by this deiscrepancy, and am halting.
Now what?
 
Old 08-23-2005, 10:23 AM   #6
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
I should have given you the entire command.

Try this.

fakeroot make-kpkg --revision=custom.1.0 kernel_image
 
Old 08-24-2005, 02:51 PM   #7
Royle
Member
 
Registered: Apr 2004
Posts: 112

Original Poster
Rep: Reputation: 15
just a quick question: what does
Code:
make-kpkg kernel_image modules_image
Do?
 
Old 08-24-2005, 07:21 PM   #8
kushalkoolwal
Senior Member
 
Registered: Feb 2004
Location: Middle of nowhere
Distribution: Debian Squeeze
Posts: 1,249

Rep: Reputation: 49
I think it just builds the kernel image and modules image and not the entire package. You might want to confirm this from someone else also. I used that command when I have to install some modules into my custom kernel although some times it does give me error also.
 
  


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
Installing ndiswrapper harisund Ubuntu 5 02-28-2006 09:26 AM
Installing Ndiswrapper Sleepy_Sentry Linux - Newbie 5 08-12-2005 09:55 PM
installing ndiswrapper sarge extreme SUSE / openSUSE 2 01-31-2005 06:18 PM
Need help installing ndiswrapper unclejessie77 Linux - Wireless Networking 8 11-21-2004 09:01 AM
help installing ndiswrapper. rjcrews Linux - Wireless Networking 10 10-07-2004 10:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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