LinuxQuestions.org
Visit Jeremy's Blog.
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 02-04-2005, 09:00 AM   #1
moo113
Member
 
Registered: Aug 2004
Posts: 36

Rep: Reputation: 15
Fedora Core 3 and ndiswrapper


So I installed Fedora Core 3 and I'm trying to get ndiswrapper up and running but I ran into a problem. I make installed it and here's what I got:

[root@localhost ndiswrapper-1.0]# make install
make -C driver install
make[1]: Entering directory `/home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver'
make -C /lib/modules/2.6.9-1.667smp/build SUBDIRS=/home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver \
NDISWRAPPER_VERSION=1.0 \
EXTRA_VERSION= modules
make[2]: Entering directory `/lib/modules/2.6.9-1.667smp/build'
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/hal.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/iw_ndis.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/loader.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/misc_funcs.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/ndis.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/ntoskernel.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/pe_linker.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/proc.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/wrapper.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/usb.o
CC [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/divdi3.o
LD [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/ndiswrapper.o
Building modules, stage 2.
MODPOST
CC /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/ndiswrapper.mod.o
LD [M] /home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver/ndiswrapper.ko
make[2]: Leaving directory `/lib/modules/2.6.9-1.667smp/build'


*** WARNING: Kernel seems to have 4K size stack option (CONFIG_4KSTACKS) removed; many Windows drivers will need at least 8K size stacks. You should read wiki about 4K size stack issue. Don't complain about crashes until you resolve this.


mkdir -p /lib/modules/2.6.9-1.667smp/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.9-1.667smp/misc
/sbin/depmod -a
make[1]: Leaving directory `/home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/driver'
make -C utils install
make[1]: Entering directory `/home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/utils'
cc -Wall -g -DNDISWRAPPER_VERSION=\"1.0\" -c -o loadndisdriver.o loadndisdriver.c
gcc -o loadndisdriver loadndisdriver.o
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

NOTE: Windows driver configuration file format has changed since 1.0-rc2. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/home/geoff/Desktop/ndiswrapper/ndiswrapper-1.0/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8

Seemed to install fine except for that 4K warning thing, right? yet when I type ndiswrapper -i and path to my ini I get this:

[root@localhost ndiswrapper-1.0]# ndiswrapper -i /home/geoff/Desktop/ndiswrapper/bcmwl5.inf
bash: ndiswrapper: command not found

Need some help, if you please.
 
Old 02-04-2005, 09:22 AM   #2
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
ignoring everything else because you said looked fine, i see
Quote:
bash: ndiswrapper: command not found
i'd say you might need to fix that. either it ain't in your path, or something... been some time since i worked with ndiswrapper, i don't remember the specifics offhand...

if you're really lost, you could always:
find / -name ndiswrapper
 
Old 02-04-2005, 09:40 AM   #3
moo113
Member
 
Registered: Aug 2004
Posts: 36

Original Poster
Rep: Reputation: 15
I tried the find and came up with nothing, which is weird to say the least.
 
Old 02-04-2005, 09:49 AM   #4
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
like i said, it's been some time since i worked with ndw... looks like a bad install, though...
 
Old 02-04-2005, 10:04 AM   #5
2Gnu
Senior Member
 
Registered: Jan 2002
Location: Southern California
Distribution: Slackware 14.0
Posts: 1,874

Rep: Reputation: 49
whereis ndiswrapper & which ndiswrapper should give you some ideas about the path. Otherwise, updatedb and locate ndiswrapper.
 
Old 02-04-2005, 10:24 AM   #6
secesh
Senior Member
 
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154

Rep: Reputation: 47
umm... not quite:

Quote:
Which takes one or more arguments. For each of its argu_
ments it prints to stdout the full path of the executables
that would have been executed when this argument had been
entered at the shell prompt. It does this by searching for
an executable or script in the directories listed in the
environment variable PATH using the same algorithm as
bash(1).
--which searches your path.. and if it was there, (s)he wouldn't be having this problem... whereis might get you further b/c it searches "standard Linux places" ... but not if you have a good $PATH
 
Old 02-04-2005, 03:59 PM   #7
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Thats a good build, if you are worried about the 4k stack warning then visit ww.linuxant.com to get a rebuild with 16k kernel stack sizes. Your problem is your path to ndiswrapper isnt in your bash_profile:
It'll most likely be in
/usr/sbin/ndiswrapper - in fact it is. Check your make install output just above NOTE and you'll see its installed it there.
Cheers
Chris

Last edited by snecklifter; 02-04-2005 at 04:00 PM.
 
Old 02-04-2005, 04:00 PM   #8
moo113
Member
 
Registered: Aug 2004
Posts: 36

Original Poster
Rep: Reputation: 15
So if it's not in my bash_profile, how do I use it?
 
Old 02-04-2005, 04:01 PM   #9
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
/usr/sbin/ndiswrapper -i /path/to/driver/here.inf
will get your driver installed.
 
Old 02-04-2005, 04:03 PM   #10
moo113
Member
 
Registered: Aug 2004
Posts: 36

Original Poster
Rep: Reputation: 15
And from then on instead of typing just ndiswrapper I use /usr/sbin/ndiswrapper?

And what's an easy way to check my architecture so I know which driveloader to download?
 
Old 02-04-2005, 04:06 PM   #11
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
Nope. It wont add it to your bash_profile but one step at a time eh? You wont need to path to ndiswrapper again unless you upgrade your kernel (which no doubt you will after getting internet working). If you want to be able to just type ndiswrapper instead of the full path then you need to add
PATH=$PATH:/usr/sbin
to your bash_profile which is located in your home directory.
Btw, if you want ntfs support you can get it here
http://linux-ntfs.sourceforge.net/rpm/fedora3.html
but like I said, one step at a time!
Cheers
Chris
 
Old 02-04-2005, 04:08 PM   #12
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
check your arch with the following command in bash
rpm -q --queryformat "%{ARCH}\n" kernel
cheers
Chris
 
Old 02-04-2005, 04:09 PM   #13
moo113
Member
 
Registered: Aug 2004
Posts: 36

Original Poster
Rep: Reputation: 15
Hey, thanks so much for your help, I shall be apply these tips tonight.
 
Old 02-04-2005, 04:10 PM   #14
snecklifter
Member
 
Registered: Mar 2004
Location: UK/West Yorkshire/Huddersfield
Distribution: Fedora 7
Posts: 982

Rep: Reputation: 30
My pleasure. I'm very drunk now so I'll think I'll go to bed. Let me know how you go.
 
Old 02-04-2005, 08:08 PM   #15
moo113
Member
 
Registered: Aug 2004
Posts: 36

Original Poster
Rep: Reputation: 15
Okay, so /usr/sbin/ndiswrapper worked perfectly and I thought I was making real progress until I ran into a problem. I can't modprobe ndiswrapper.

Where is modprobe supposed to be? Does it come with ndiswrapper? Is it a separate package? And does it come with FC3?
 
  


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
ndiswrapper with broadcom on fedora core 3 sketchydave Linux - Wireless Networking 12 04-29-2005 10:55 AM
ndiswrapper and fedora core 3 Ab3n Linux - Newbie 6 04-05-2005 02:36 AM
NDISWRAPPER 1.1 and FEDORA CORE 3 basketkase999 Linux - Wireless Networking 2 03-19-2005 03:06 PM
ndiswrapper with Fedora Core 1 jhuff Linux - Newbie 1 01-20-2005 09:40 AM
ndiswrapper under Fedora Core 2 BlueNoteMKVI Linux - Wireless Networking 2 06-19-2004 10:07 AM


All times are GMT -5. The time now is 04:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration