Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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
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
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.