LinuxQuestions.org
Visit Jeremy's Blog.
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 12-31-2005, 06:30 PM   #1
Mailainias
LQ Newbie
 
Registered: Dec 2005
Posts: 1

Rep: Reputation: 0
Problem installing ndiswrapper


Hi I am new ofcourse. I am trying to install ndiswrapper and have ndis and the card driver I need. I can't find an rpm in the repositories I have. Freshrpms, dries, and dag. I downloaded and unpacked ndiswrapper-1.7. From ndis I typed make and make install. everything seemed to go ok without errors. when I go to the file with the card driver and type ndiswrapper -i bcmwl5.info I get the message "ndiswrapper command not found." what should I do
 
Old 12-31-2005, 08:29 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Is that fedora? If so change to root with su-, I think that sets up your $PATH. If ndiswrapper is at /usr/sbin/ndiswrapper then you can /usr/sbin/ndiswrapper -i bcmwl5.inf there won't be an o at the end just inf. To see if it is there;
cd /usr/sbin
ls (do you see ndiswrapper)
If its not try whereis ndiswrapper or locate ndiswrapper
make sure you follow the guide at ndiswrapper wiki ...

Last edited by comprookie2000; 12-31-2005 at 08:35 PM.
 
Old 12-31-2005, 09:16 PM   #3
Mailanias
LQ Newbie
 
Registered: Dec 2005
Posts: 8

Rep: Reputation: 0
I do see ndiswrapper in /usr/sbin. I tried ndiswrapper -i bcmwl5.inf but I get the error bash: ndiswrapper command not found. The inf. file is in a file named temp under my home directory. Do I have to put it somewhere specific? Which directory do I need to be in when I type ndiswrapper -i bcmwl5.inf? here is some output from my attempt. What am I doing wrong here?
[root@localhost ndiswrapper-1.7]# make distclean
make -C driver clean
make[1]: Entering directory `/home/shane/ndiswrapper-1.7/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 usb.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/shane/ndiswrapper-1.7/driver'
make -C utils clean
make[1]: Entering directory `/home/shane/ndiswrapper-1.7/utils'
rm -f *~ *.o loadndisdriver
make[1]: Leaving directory `/home/shane/ndiswrapper-1.7/utils'
rm -f *~
rm -fr ndiswrapper-1.7 ndiswrapper-1.7.tar.gz *.deb patch-stamp
make -C driver distclean
make[1]: Entering directory `/home/shane/ndiswrapper-1.7/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 usb.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/shane/ndiswrapper-1.7/driver'
make -C utils distclean
make[1]: Entering directory `/home/shane/ndiswrapper-1.7/utils'
rm -f *~ *.o loadndisdriver
rm -f .\#*
make[1]: Leaving directory `/home/shane/ndiswrapper-1.7/utils'
rm -f .\#*
[root@localhost ndiswrapper-1.7]# make
make -C driver
make[1]: Entering directory `/home/shane/ndiswrapper-1.7/driver'
make -C /lib/modules/2.6.14-1.1653_FC4/build SUBDIRS=/home/shane/ndiswrapper-1.7/driver \
DRIVER_VERSION=1.7
make[2]: Entering directory `/usr/src/kernels/2.6.14-1.1653_FC4-i686'
LD /home/shane/ndiswrapper-1.7/driver/built-in.o
CC [M] /home/shane/ndiswrapper-1.7/driver/hal.o
CC [M] /home/shane/ndiswrapper-1.7/driver/iw_ndis.o
CC [M] /home/shane/ndiswrapper-1.7/driver/loader.o
CC [M] /home/shane/ndiswrapper-1.7/driver/misc_funcs.o
CC [M] /home/shane/ndiswrapper-1.7/driver/ndis.o
CC [M] /home/shane/ndiswrapper-1.7/driver/ntoskernel.o
CC [M] /home/shane/ndiswrapper-1.7/driver/ntoskernel_io.o
CC [M] /home/shane/ndiswrapper-1.7/driver/pe_linker.o
CC [M] /home/shane/ndiswrapper-1.7/driver/pnp.o
CC [M] /home/shane/ndiswrapper-1.7/driver/proc.o
CC [M] /home/shane/ndiswrapper-1.7/driver/wrapndis.o
CC [M] /home/shane/ndiswrapper-1.7/driver/wrapper.o
CC [M] /home/shane/ndiswrapper-1.7/driver/usb.o
CC [M] /home/shane/ndiswrapper-1.7/driver/divdi3.o
LD [M] /home/shane/ndiswrapper-1.7/driver/ndiswrapper.o
Building modules, stage 2.
MODPOST
CC /home/shane/ndiswrapper-1.7/driver/ndiswrapper.mod.o
LD [M] /home/shane/ndiswrapper-1.7/driver/ndiswrapper.ko
make[2]: Leaving directory `/usr/src/kernels/2.6.14-1.1653_FC4-i686'


*** WARNING: Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel


make[1]: Leaving directory `/home/shane/ndiswrapper-1.7/driver'
make -C utils
make[1]: Entering directory `/home/shane/ndiswrapper-1.7/utils'
gcc -g -Wall -DUTILS_VERSION=\"1.7\" -o loadndisdriver loadndisdriver.c
make[1]: Leaving directory `/home/shane/ndiswrapper-1.7/utils'
[root@localhost ndiswrapper-1.7]# make install
make -C driver install
make[1]: Entering directory `/home/shane/ndiswrapper-1.7/driver'
make -C /lib/modules/2.6.14-1.1653_FC4/build SUBDIRS=/home/shane/ndiswrapper-1.7/driver \
DRIVER_VERSION=1.7
make[2]: Entering directory `/usr/src/kernels/2.6.14-1.1653_FC4-i686'
Building modules, stage 2.
MODPOST
make[2]: Leaving directory `/usr/src/kernels/2.6.14-1.1653_FC4-i686'


*** WARNING: Kernel is compiled with 4K stack size option (CONFIG_4KSTACKS); many Windows drivers will not work with this option enabled. Disable CONFIG_4KSTACKS option, recompile and install kernel


mkdir -p /lib/modules/2.6.14-1.1653_FC4/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.14-1.1653_FC4/misc
/sbin/depmod -a
make[1]: Leaving directory `/home/shane/ndiswrapper-1.7/driver'
make -C utils install
make[1]: Entering directory `/home/shane/ndiswrapper-1.7/utils'
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.5. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/home/shane/ndiswrapper-1.7/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8
[root@localhost ndiswrapper-1.7]# cd /home/shane/temp/
[root@localhost temp]# ls
AegisE2.dll bcmwlcpl.cpl data1.cab MFC42.DLL setup.iss
AegisE5.dll bcmwld2k.exe data1.hdr MFC42U.DLL Version.txt
AegisI2.exe bcmwlhlp.chm data2.cab MSVCP60.DLL wltray.exe
AegisI5.exe bcmwlhoa.ini DellInfo.exe MSVCRT.DLL wltrynt.dll
bcm43xx.cat bcmwlhom.exe dellinst.exe R102320.EXE wltrysvc.exe
BCMLogon.dll bcmwlhom.ini ikernel.ex_ README.txt
bcmwl5a.ini bcmwlntp.sys is.exe setup.exe
bcmwl5.inf bcmwltry.exe launcher.ini Setup.ini
bcmwl5.sys bcmwlu00.exe layout.bin setup.inx
[root@localhost temp]# ndiswrapper -i bcmwl5.inf
bash: ndiswrapper: command not found
[root@localhost temp]#

Last edited by Mailanias; 01-01-2006 at 02:15 PM.
 
Old 12-31-2005, 09:56 PM   #4
viper4
LQ Newbie
 
Registered: Dec 2005
Posts: 14

Rep: Reputation: 0
im also having trouble installing ndiswrapper. I have a broadcam 54g card.

I downlaoded ndiswrapper and extracted it and then make distclean and make as advised in instructions. make distclean works but when i try to make it says:

make -C driver
make[1]: Entering directory `/home/sean/ndiswrapper-1.7/driver'
Can't find kernel sources in /lib/modules/2.6.13-15.7-default/build;
give the path to kernel sources with KSRC=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/home/sean/ndiswrapper-1.7/driver'
make: *** [all] Error 2
 
Old 12-31-2005, 10:05 PM   #5
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
For whatever distribution you are using do a search on how to install the kernel source or kernel headers or there may be a package for ndiswrapper or go to kernel,org and install a new kernel, but that is a little work.
 
Old 01-01-2006, 02:18 PM   #6
Mailanias
LQ Newbie
 
Registered: Dec 2005
Posts: 8

Rep: Reputation: 0
This is where I am now. I am sure this is the right driver. I got it from the dell support page for my system. It's a broadcom truemobile 1450. should I remove it and try again. do I remove it by typing bcmwl5.inf -e ?
[shane@localhost ~]$ su -
Password:
[root@localhost ~]# cd/home/shane
-bash: cd/home/shane: No such file or directory
[root@localhost ~]# cd /home/shane/windows-drivers
[root@localhost windows-drivers]# ndiswrapper -i bcmwl5.inf
bcmwl5 is already installed. Use -e to remove it
[root@localhost windows-drivers]# ndiswrapper -l
Installed drivers:
bcmwl5 invalid driver!
[root@localhost windows-drivers]#
 
Old 01-01-2006, 07:18 PM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
You can go to /etc/ndiswrapper and delete it there.
I use the same driver, download this;
ftp://ftp.support.acer-euro.com/note.../xp/80211g.zip
Then you unzip it.
then cd to the unziped folder.
then ls to see what is there
then ndiswrapper -i bcmwl5.inf
then ndiswrapper -l
then ndiswrapper -m
then depmod -a
then modprobe ndiswrapper
http://ndiswrapper.sourceforge.net/m...p/Installation
If you can't get it to work you may need the newest version of ndiswrapper. But it is best to try with the version that came with your distro so you won't have to go through the kernel stuff. The distro's that are the easy to install are most times the hardest to work with because they are missing alot of stuff when you try to install software that didn't come with it. Some other distro's that have a solid base to work off of seems alot easier to install other stuff. To install ndiswrapper from scratch you will need;
Prerequisites
 
  


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 from cd aaronwilliam117 Linux - Newbie 5 12-17-2005 12:22 AM
problem with BMC4318. After installing bcmwl5.inf, modprobe ndiswrapper gives error. jnummela Linux - Wireless Networking 17 11-30-2005 07:58 PM
problem building and installing rpm from ndiswrapper source steveman2000 Linux - Newbie 5 10-23-2005 08:01 PM
Problem installing Netgear xw311 v2 with ndiswrapper eduardomsilva Linux - Wireless Networking 5 02-10-2005 01:02 PM
help installing ndiswrapper. rjcrews Linux - Wireless Networking 10 10-07-2004 11:36 PM


All times are GMT -5. The time now is 06:24 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration