LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-27-2009, 11:53 AM   #1
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
Fedora 12 Ndiswrapper installation problem


I've installed the ndiswrapper packages from the repositories used in this guide in order to make ndiswrapper work on my laptop, but following the instructions also in that guide, changed only for my own wireless card's driver instead, at the point it says to run:
Code:
modprobe ndiswrapper
It returns:
Code:
FATAL: Module ndiswrapper not found.
And I cannot continue.
I've done nothing different to the guide, except, as said, to change the drivers to the one I have to use for my card.

I don't understand why it's doing this. The card in question, if it matters, is a Netgear WG511v2 (Marvell Techologies chipset, so no native driver).

Thanks in advance.
 
Old 11-27-2009, 04:31 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Can you post previous command's outputs, please.

Because we need to understand what was before "modprobe ndiswrapper"
 
Old 11-27-2009, 04:34 PM   #3
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
They're listed in the linked to Fedora guide in the first post.
 
Old 11-27-2009, 04:47 PM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Google: "Fedora 12 Module ndiswrapper not found"
 
Old 11-27-2009, 04:52 PM   #5
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
Contrary to popular belief, I am not stupid, and like usual when faced with a problem, Google is the FIRST port of call, this being the last if I haven't found a useful solution that works.
 
Old 11-27-2009, 05:21 PM   #6
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Hi

I don't think the guide that you used included a "# ndiswrapper -m" command, which loads ndiswrapper into /etc/modules. In Debian, my /etc/modules has three lines:
loop
sbp2
ndiswrapper

I also have one line in /etc/modprobe.d/ndiswrapper:
alias wlan0 ndiswrapper

Do you have a directory: /etc/ndiswrapper? Mine contains a .sys file, a .inf file and various .conf files.

Do you have pcmcia module loaded. Try lsmod....

Also you might want to check which version of ndiswrapper you have, I am using 1.55. Furthermore this page may be of interest: http://www.angelfire.com/linux/hardwire/problems.html

Hope this helps
 
Old 11-27-2009, 05:25 PM   #7
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
the ndiswrapper -m command has been suggested to me before, and has had no change on the result.
The line you have in ndiswrapper.conf is for me, in /etc/modprobe.conf, because it was suggested that it might solve the problem.
The ndiswrapper version is 1.54 , from the rpmfusion-free repository.
 
Old 11-27-2009, 05:30 PM   #8
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Have you seen: http://www.angelfire.com/linux/hardwire/problems.html ??

I presume that lsmod doesn't show ndiswrapper. Any joy with pcmcia? Since I believe your card is a pccard.
 
Old 11-27-2009, 05:32 PM   #9
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
You are correct, lsmod does not show ndiswrapper at all.
I have seen that page, the only part which appears to help is the 3rd in the ndiswrapper problems.
That section suggests to me that I will have to compile it myself, something I am unable, and unwilling to do myself, because the computer isn't all that powerful, and would probably have a heart attack if I asked it to compile anything, let alone that I know next to nothing about how to compile ndiswrapper.
 
Old 11-27-2009, 05:36 PM   #10
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
can you run: locate ndiswrapper ?

Mine returns amoungst many others:
/lib/modules/2.6.26-2-amd64/misc/ndiswrapper.ko

Your kernel name is no doubt up in the 30's
 
Old 11-27-2009, 05:38 PM   #11
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
whereis ndiswrapper returns:
Code:
ndiswrapper: /usr/sbin/ndiswrapper /etc/ndiswrapper
I'm uncertain as to how to find the current kernel version in use.
 
Old 11-27-2009, 05:42 PM   #12
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
The following is the INSTALL instructions from ndiswrapper-1.55.tar.gz:

The instructions below explain how to install ndiswrapper. This is
rather short version; more details about installation,
troubleshooting, FAQ etc. can be found in the Wiki at

http://ndiswrapper.sourceforge.net/wiki

Prerequisites
=============

You need a recent kernel, at least 2.6.16, with header files for the
kernel. Make sure there is a link to the kernel source from the modules
directory. The command

ls /lib/modules/`uname -r`/build

should have at least 'include' directory and '.config' file.

Downloading
===========

Download the latest version of the ndiswrapper sources from here and
extract it with the command

tar zxvf ndiswrapper-version.tar.gz

This will create ndiswrapper-version directory. Change to that
directory and run

make uninstall
make

Login as root and run
make install

Install Windows driver
======================

If this is the first time you install ndiswrapper, you need to install
Windows driver for Windows XP (in some cases Windows NT or Windows
2000 may also work). First, get a Windows driver that is known to
work. See http://ndiswrapper.sourceforge.net/wiki/List for status
about the device for which you are installing Windows driver. For
this, you need to identify device ID with

lspci -n

if it is PCI device or

lsusb

if it is USB device.

Then lookup in that List for the device ID and if a driver is known to
work, get that driver. Occassionally, Windows driver on the CD or your
Windows partition may work, but if it doesn't, don't complain - get a
known-to-work driver.

Many Windows drivers are distributed either as zipped files or cab
files. Zipped files, even if they are .exe files, can be extracted
with 'unzip' in Linux; cab files can be extracted with combination of
'cabextract' and 'unshield' programs.

Once the driver has been unpacked, locate .inf and .sys files. If
necessary, move these files so both .inf and .sys are in the same
directory. Some drivers also come with firmware files, such as
fwrad16.bin etc. These files also should be in the same
directory. Then install the Windows driver with

ndiswrapper -i driver.inf

This installs .inf file and required .sys and .bin files. Now, see if
installation of Windows driver is "valid" with

ndiswrapper -l

This should report

"driver present, hardware present"

for the driver installed and if that driver is for the device that is
already in the system. If device is not present, it should report

"driver present"

If not, the Windows driver has not been installed properly.

Now load ndiswrapper module with

modprobe ndiswrapper

If everything worked properly, this should initialize 'wlan0' wireless
device, which can be configured with wireless tools, such as
'iwconfig', 'wpa_supplicant' etc.
 
Old 11-27-2009, 05:45 PM   #13
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
I have two problems before even attempting that - I don't know how to find the kernel version in use, and I don't know how to make the link mentioned near the start, since it doesn't exist on my system.
 
Old 11-27-2009, 05:55 PM   #14
minrich
Member
 
Registered: Aug 2003
Location: Isles of Man & Wight
Distribution: See signature
Posts: 548

Rep: Reputation: 40
Did you try the locate command that I suggested? The whereis command only returns the directories that include the ndiswrapper name.

Look at /boot/ and you will see what kernel is loading. Or type uname -r in a terminal
 
Old 11-27-2009, 05:57 PM   #15
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
Locate ndiswrapper returns:
Code:
/ndiswrapper_drivers
/etc/ndiswrapper
/etc/modprobe.d/ndiswrapper
/etc/ndiswrapper/wg511v2
/etc/ndiswrapper/wg511v2/11AB:1FAA.5.conf
/etc/ndiswrapper/wg511v2/11AB:1FAA:4E00:1385.5.conf
/etc/ndiswrapper/wg511v2/11AB:1FAB.5.conf
/etc/ndiswrapper/wg511v2/wg511v2.inf
/etc/ndiswrapper/wg511v2/wg511v2xp.sys
/lib/modules/2.6.31.5-127.fc12.i686/extra/ndiswrapper
/lib/modules/2.6.31.5-127.fc12.i686/extra/ndiswrapper/ndiswrapper.ko
/ndiswrapper_drivers/CopyWHQLDriver.exe
/ndiswrapper_drivers/InsDrvlh.exe
/ndiswrapper_drivers/WG511v2.INF
/ndiswrapper_drivers/WG511v2.cat
/ndiswrapper_drivers/WG511v2.sys
/ndiswrapper_drivers/WG511v2XP.sys
/ndiswrapper_drivers/snetcfg .exe
/ndiswrapper_drivers/wlndis51.inf
/ndiswrapper_drivers/wlndis51.sys
/usr/sbin/ndiswrapper
/usr/sbin/ndiswrapper-buginfo
/usr/share/doc/ndiswrapper-1.54
/usr/share/doc/ndiswrapper-1.54/AUTHORS
/usr/share/doc/ndiswrapper-1.54/ChangeLog
/usr/share/doc/ndiswrapper-1.54/INSTALL
/usr/share/doc/ndiswrapper-1.54/README
/var/lib/yum/yumdb/k/2353c4effd6d0f35ce229cd0c81ddee2709062ab-kmod-ndiswrapper-2.6.31.5-127.fc12.i686-1.54-4.fc12.14-i586
/var/lib/yum/yumdb/k/6f8ae75c1f8c9dc1070f50c3929917661953b453-kmod-ndiswrapper-1.54-4.fc12.14-i586
/var/lib/yum/yumdb/k/2353c4effd6d0f35ce229cd0c81ddee2709062ab-kmod-ndiswrapper-2.6.31.5-127.fc12.i686-1.54-4.fc12.14-i586/checksum_data
/var/lib/yum/yumdb/k/2353c4effd6d0f35ce229cd0c81ddee2709062ab-kmod-ndiswrapper-2.6.31.5-127.fc12.i686-1.54-4.fc12.14-i586/checksum_type
/var/lib/yum/yumdb/k/2353c4effd6d0f35ce229cd0c81ddee2709062ab-kmod-ndiswrapper-2.6.31.5-127.fc12.i686-1.54-4.fc12.14-i586/command_line
/var/lib/yum/yumdb/k/2353c4effd6d0f35ce229cd0c81ddee2709062ab-kmod-ndiswrapper-2.6.31.5-127.fc12.i686-1.54-4.fc12.14-i586/from_repo
/var/lib/yum/yumdb/k/2353c4effd6d0f35ce229cd0c81ddee2709062ab-kmod-ndiswrapper-2.6.31.5-127.fc12.i686-1.54-4.fc12.14-i586/from_repo_revision
/var/lib/yum/yumdb/k/2353c4effd6d0f35ce229cd0c81ddee2709062ab-kmod-ndiswrapper-2.6.31.5-127.fc12.i686-1.54-4.fc12.14-i586/from_repo_timestamp
/var/lib/yum/yumdb/k/2353c4effd6d0f35ce229cd0c81ddee2709062ab-kmod-ndiswrapper-2.6.31.5-127.fc12.i686-1.54-4.fc12.14-i586/reason
/var/lib/yum/yumdb/k/2353c4effd6d0f35ce229cd0c81ddee2709062ab-kmod-ndiswrapper-2.6.31.5-127.fc12.i686-1.54-4.fc12.14-i586/releasever
/var/lib/yum/yumdb/n/8d86cc7a0bdb74c7baa0abc1680f18f95009523c-ndiswrapper-1.54-2.fc11-i586
/var/lib/yum/yumdb/n/8d86cc7a0bdb74c7baa0abc1680f18f95009523c-ndiswrapper-1.54-2.fc11-i586/checksum_data
/var/lib/yum/yumdb/n/8d86cc7a0bdb74c7baa0abc1680f18f95009523c-ndiswrapper-1.54-2.fc11-i586/checksum_type
/var/lib/yum/yumdb/n/8d86cc7a0bdb74c7baa0abc1680f18f95009523c-ndiswrapper-1.54-2.fc11-i586/command_line
/var/lib/yum/yumdb/n/8d86cc7a0bdb74c7baa0abc1680f18f95009523c-ndiswrapper-1.54-2.fc11-i586/from_repo
/var/lib/yum/yumdb/n/8d86cc7a0bdb74c7baa0abc1680f18f95009523c-ndiswrapper-1.54-2.fc11-i586/from_repo_revision
/var/lib/yum/yumdb/n/8d86cc7a0bdb74c7baa0abc1680f18f95009523c-ndiswrapper-1.54-2.fc11-i586/from_repo_timestamp
/var/lib/yum/yumdb/n/8d86cc7a0bdb74c7baa0abc1680f18f95009523c-ndiswrapper-1.54-2.fc11-i586/reason
/var/lib/yum/yumdb/n/8d86cc7a0bdb74c7baa0abc1680f18f95009523c-ndiswrapper-1.54-2.fc11-i586/releasever
I don't know if that's useful.

The kernel version reported to me from the uname command is:
2.6.31.5-127.fc12.i686.PAE
 
  


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 Installation Issues with Belkin F5D6050 Wireless Adaptor and Fedora 5 Welsh Pablo Linux - Wireless Networking 1 09-10-2006 03:00 PM
NDISWrapper Installation Issues with Belkin F5D6050 Wireless Adaptor and Fedora 5 Welsh Pablo Linux - Wireless Networking 3 09-10-2006 01:23 PM
ndiswrapper installation on Fedora Core 5 jjluna13 Linux - Newbie 2 07-04-2006 06:52 PM
Ndiswrapper Installation Problem with Fedora 5 cybercullen Linux - Wireless Networking 21 03-31-2006 08:28 AM
Ndiswrapper installation problem *matt* Linux - Software 9 01-26-2006 07:35 AM

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

All times are GMT -5. The time now is 04:45 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
Open Source Consulting | Domain Registration