LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 07-05-2006, 04:14 AM   #16
SoftDux
LQ Newbie
 
Registered: Jul 2006
Location: Johannesburg, South Africa
Distribution: Suse, Ubuntu, Fedora Core
Posts: 14

Rep: Reputation: 0
similar problem on suse?


Hi

I have a similar problem on Suse 9.3.The card I have, is a Gigabyte GN-WP01GS, which presumably uses the RaLink RT/61 driver. I could not get this to work, so instead I tried the ndiswrapper way.

I got the driver from Gigabyte's site, and installed it with ndiswrapper:

Code:
linux:~ # ndiswrapper -i /home/drdon/GN-WP01GS/Drivers/xp2k/rt61.inf
Installing rt61
linux:~ # ndiswrapper -l
Installed ndis drivers:
rt61    driver present, hardware present
linux:~ # modp
modplugplay      modprobe         modprobe.static
linux:~ # modprobe ndiswrapper
FATAL: Module ndiswrapper not found.
I installed ndiswrapper from YaST, and when I try and locate the ndiswrapper.ko file, it doesn't seem to exist.

It's kind of imperrative that I get this to work without having to recompile the kernel, or download any other software. I need to be able to get it to work with only the Suse DVD and the driver's CD that came with the card.

Can someone please help me with this?
 
Old 08-07-2006, 08:18 AM   #17
fabion
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Hi!
ndiswrapper does not work for me either!
I get completed hung on modprobe ndiswrapper.
I`m using FC5 with kernel-2.6.17-1.2157_FC5 and ndiswrapper-1.18-1.lvn5.
[root@lnx2 ~]# modinfo ndiswrapper
filename: /lib/modules/2.6.17-1.2157_FC5/extra/ndiswrapper/ndiswrapper.ko
author: ndiswrapper team <ndiswrapper-general@lists.sourceforge.net>
description: NDIS wrapper driver
version: 1.18
license: GPL
vermagic: 2.6.17-1.2157_FC5 mod_unload 686 REGPARM 4KSTACKS gcc-4.1
depends:
srcversion: 3FDEA0E072B0486E28CFF1E
parm: hangcheck_interval:The interval, in seconds, for checking if driver is hung. (default: 0) (int)
parm: debug:debug level (int)
parm: proc_gid:The gid of the files created in /proc (default: 0). (int)
parm: proc_uid:The uid of the files created in /proc (default: 0). (int)
parm: if_name:Network interface name or template (default: wlan%d) (charp)
[root@lnx2 ~]# ndiswrapper -l
Installed drivers:
mrv8000c driver installed, hardware present
I`m using a encore ENLWI-G card.
I tried all the tips I saw, and I still in the same!
If anybody had success with this, please tell me
Tks,,,,,,,,,,,,,,fabio
 
Old 10-16-2006, 01:09 AM   #18
julius.luo
LQ Newbie
 
Registered: Jan 2006
Posts: 1

Rep: Reputation: 0
Hi

I have exactly same problem with you guys, while I am using FC 5, with 2.6.15 kernel.

[root@sluo driver]# insmod ndiswrapper.ko
insmod: error inserting 'ndiswrapper.ko': -1 Invalid module format
 
Old 05-08-2007, 06:57 PM   #19
baghdadi13
LQ Newbie
 
Registered: Jul 2006
Distribution: Ubuntu 8.04
Posts: 18

Rep: Reputation: 0
I have the same problem ,,,,
I have ZenWalk 2.4 with kernel 2.6.18
-- how can solve this problem
 
Old 08-26-2007, 05:21 PM   #20
bab258
LQ Newbie
 
Registered: Aug 2007
Posts: 5

Rep: Reputation: 0
Wink

Thanks. Same problem. Solve it just coping file "ndiswrapper.ko" to /lib/modules/`uname -r`/misc/

after

# depmod -a
# modprobe ndiswrapper
# iwconfig

PC: Using laptop HP Pavilion dv6000 (dv6300)
OS: Debian 4.0 etch
uname -a:
Linux debian 2.6.18-4-k7 #1 SMP Mon Mar 26 17:57:15 UTC 2007 i686 GNU/Linux

lspci | grep Network:
03:00.0 Network controller: Broadcom Corporation Dell Wireless 1390 WLAN Mini-PCI Card (rev 01)

ndiswrapper -l:
installed drivers:
bcmwl5 driver installed, hardware (14E4:4324) present (alternate driver: bcm43xx)
 
Old 08-26-2007, 06:46 PM   #21
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
Some of the problems reported in this thread are caused by not having an ndiswrapper module matched to the kernel version being run. If you have a working ndiswrapper, and you change kernel versions, ndiswrapper will stop working until you get a new version of ndiswrapper. You can't simply move the ndiswrapper.ko file from one place to another in /lib/modules/. It has to be recompiled.

If you have the source code for ndiswrapper and you have the header files for the kernel you're running, you can compile and install a new module ndiswrapper.ko yourself. Otherwise, you'll have to find a pre-compiled ndiswrapper somewhere that matches your kernel.

I wouldn't worry too much about those warnings about a 4k stack you get when you compile ndiswrapper. I've gotten the warnings on two systems, but never had a problem. I'm not sure the ndisrapper code correctly detects 4k stacks, anyway.
 
Old 08-27-2007, 02:17 AM   #22
ultimatenoob
Member
 
Registered: May 2005
Location: Bellingham, WA
Distribution: Suse 10.2
Posts: 77

Rep: Reputation: 15
Alright, I just switched back to Debian earlier tonight after my OpenSuSE installation abruptly died last night -- ironically, it died because i finally got my wireless working, and some update or another was crashing my X server - so i figured i'd switch back to Debian.

I've got ndiswrapper 1.9 installed, the drivers are loaded & it claims that the module is loaded - but it's not. Here is some of the output i'm getting:

Code:
debian:/etc/modprobe.d# lsmod |grep ndis
debian:/etc/modprobe.d# cat ndiswrapper
install pci:v000014E4d00004301sv000012F3sd0000103Cbc*sc*i* /sbin/modprobe ndiswrapper
install pci:v000014E4d00004301sv*sd*bc*sc*i* /sbin/modprobe ndiswrapper
install pci:v000014E4d00004320sv000000E7sd00000E11bc*sc*i* /sbin/modprobe ndiswrapper
install pci:v000014E4d00004320sv000012F4sd0000103Cbc*sc*i* /sbin/modprobe ndiswrapper
install pci:v000014E4d00004320sv*sd*bc*sc*i* /sbin/modprobe ndiswrapper
alias wlan0 ndiswrapper
debian:/etc/modprobe.d#
debian:/etc/modprobe.d#
Right now I'm trying to track down the ndiswrapper.ko file without any luck. I do have a ndiswrapper profile in /etc/modprobe.d (see above), but it hasn't been working properly. Any ideas or pointers out there? I'll let you know if stumble across anything myself.

Edit - oh, and by the way: iwconfig does not list wlan0, even though the /etc/modprobe.d/ndiswrapper file lists it as that..

Last edited by ultimatenoob; 08-27-2007 at 02:41 AM.
 
Old 08-28-2007, 07:12 PM   #23
GregLee
Member
 
Registered: Feb 2004
Location: Waimanalo, HI
Distribution: Slackware 10, Fedora 6
Posts: 308

Rep: Reputation: 30
"ndiswrapper.ko" is the file name of the module with the ndiswrapper driver. It must be produced by compiling the ndiswrapper source code and inserted into your running kernel using modprobe. The fact that "lsmod |grep ndis" produces no output shows that this hasn't happened (and how could it, if you have no ndiswrapper.ko module to insert?). The lines you got from "cat /etc/modprobe.d/ndiswrapper" are just directions for the hotplug system for how to insert a driver for certain devices on the pci bus (and the directions are not going to work until you come up with an ndiswrapper.ko module).
 
Old 09-21-2007, 06:11 PM   #24
khaan
LQ Newbie
 
Registered: Feb 2007
Distribution: ubuntu
Posts: 24

Rep: Reputation: 15
I had the same problem: ndiswrapper.ko missing under Debian and to solve that you should:
Code:
apt-get install build-essential kernel-headers-$(uname -r) module-assistant
apt-get install ndiswrapper-source
cd /usr/src
m-a prepare
m-a a-i ndiswrapper

modprobe ndiswrapper
(the kernel module is not in the ndiswrapper-common package, but needs to be built with the module-assistant from the ndiswrapper-source package)
 
Old 01-21-2008, 08:23 PM   #25
Ishkabibble
Member
 
Registered: Aug 2003
Location: Worcester MA
Distribution: Ubuntu 8.04
Posts: 120

Rep: Reputation: 15
Sounds like this is just too hoary a problem to deal with. I'm experiencing the same thing with an Encore ENLWI-G. I'll post the dmesg response later. When I try "iwlist wlan0 scan" it comes back with "Interface doesn't support scanning."

dmesg:
[ 415.954715] ndiswrapper version 1.45 loaded (smp=yes)
[ 416.051738] ndiswrapper: driver mrv8000c (Marvell,02/22/2005,3.1.1.7) loaded
[ 416.052297] ACPI: Unable to derive IRQ for device 0000:04:04.0
[ 416.052303] ACPI: PCI Interrupt 0000:04:04.0[Q]: no GSI - using IRQ 11
[ 416.053989] ndiswrapper: using IRQ 11
[ 416.856465] ndiswrapper (mp_init:263): couldn't initialize device: C0000001
[ 416.856478] ndiswrapper (pnp_start_device:440): Windows driver couldn't initialize the device (C0000001)
[ 416.856496] ndiswrapper (mp_halt:305): device e165e500 is not initialized - not halting
[ 416.856505] ndiswrapper: device eth%d removed
[ 416.856527] ACPI: Unable to derive IRQ for device 0000:04:04.0
[ 416.856540] ndiswrapper: probe of 0000:04:04.0 failed with error -22
[ 416.856600] usbcore: registered new interface driver ndiswrapper

Last edited by Ishkabibble; 01-21-2008 at 08:25 PM. Reason: Adding dmesg
 
Old 05-23-2008, 08:33 PM   #26
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by Benjamin View Post
When I do ndiswrapper -l it says I have the driver and hardware there. But, when I do modprobe ndiswrapper, it says "FATAL: Module ndiswrapper not found."

i know this is a old post but im haveing the same exact problem but on slackware 12 and i have a dell wireless 1450 usb adapter. ive pretty much tryed everything i know and ive been searching for days. only thing i can find is people with the some exact error. the 1 i did read where the guy fixed it he just used ndiswrapper 1.38 instead of the newest version. and of course i tryed that also. the driver does say its installed and the device is preset but does not show up when i type "iwconfig", also just like Ben when i do "modprobe ndiswrapper" i get "FATAL: Module ndiswrapper not found."

any help at all will be greatly appreciated, thanks.
 
Old 05-24-2008, 12:45 PM   #27
baghdadi13
LQ Newbie
 
Registered: Jul 2006
Distribution: Ubuntu 8.04
Posts: 18

Rep: Reputation: 0
try to compile the driver from source,
that solved the problem for me
 
Old 05-24-2008, 02:46 PM   #28
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by baghdadi13 View Post
try to compile the driver from source,
that solved the problem for me
im still kinda new to linux so im not really sure what u mean by that. maybe explain a little?

also.. i realized that it made the ndiswrapper.ko module in "/lib/modules/2.6.21.5-smp/misc/" and modprobe trys to do it from "/lib/modules/2.6.21.5/misc/". i tryed simply copying it to the other folder and trying "modprobe ndiswrapper" again and it says something like "Invalid module format".

Code:
Linux:~# ndiswrapper -l
dellnic : driver installed
        device (413C:8104) present
Linux:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

Linux:~# depmod -a
Linux:~# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.21.5/misc/ndiswrapper.ko): Invalid module format
and if i search that error all i get is this
http://translate.google.com/translat...ial%26hs%3De73

google translate ofcourse, i can only read english.. doesnt seen to address my problem tho

Last edited by oXiKoTToN; 05-24-2008 at 08:37 PM.
 
Old 05-25-2008, 06:52 AM   #29
khaan
LQ Newbie
 
Registered: Feb 2007
Distribution: ubuntu
Posts: 24

Rep: Reputation: 15
Quote:
Originally Posted by oXiKoTToN View Post
im still kinda new to linux so im not really sure what u mean by that. maybe explain a little?
Go and download the source code of ndiswrapper, unzip the archive and read the file called INSTALL inside to know how to compile and install it.

Quote:
also.. i realized that it made the ndiswrapper.ko module in "/lib/modules/2.6.21.5-smp/misc/" and modprobe trys to do it from "/lib/modules/2.6.21.5/misc/". i tryed simply copying it to the other folder and trying "modprobe ndiswrapper" again and it says something like "Invalid module format".
I am not telling you it is going to help this time, but usually, when a program is looking for some file at the wrong place, instead of copying it, it is usually better to create a symbolic link:

# cd /lib/modules/2.6.21.5/misc/
# ln -s /lib/modules/2.6.21.5-smp/misc/ndiswrapper.ko
 
Old 05-25-2008, 07:13 AM   #30
oXiKoTToN
LQ Newbie
 
Registered: May 2008
Posts: 22

Rep: Reputation: 15
Quote:
Originally Posted by khaan View Post
# cd /lib/modules/2.6.21.5/misc/
# ln -s /lib/modules/2.6.21.5-smp/misc/ndiswrapper.ko
first i tryed that and got the same error

Quote:
unzip the archive and read the file called INSTALL inside to know how to compile and install it.
the only INSTALL and README files that are in there are the default 1s from the original package i downloaded wich do not work because there is no make file. so i just assumed that i just place the files where they go and run "doinst.sh", im pretty sure it did nothing tho because "uname -r" gives me "2.6.21.5". and here is the doinst.sh scipt

Code:
# Only run depmod on matching running kernel
# Slackware will run depmod anyway on reboot):
MYMODVER=2.6.21.5-smp
MYKERNEL=`uname -r`
if [ "$MYKERNEL" = "$MYMODVER" ]; then
  if [ -x sbin/depmod ]; then
    chroot . /sbin/depmod -a $MYKERNEL 1> /dev/null 2> /dev/null
  fi
fi
i might be kinda noobish to this but im positive that did nothing. and if i try modprobe again i get the same thing as before.

Code:
:~# ndiswrapper -l
dellnic : driver installed
        device (413C:8104) present
:~# depmod -a
:~# modprobe ndiswrapper
FATAL: Error inserting ndiswrapper (/lib/modules/2.6.21.5/misc/ndiswrapper.ko): Invalid module format

Last edited by oXiKoTToN; 05-25-2008 at 07:47 AM.
 
  


Reply

Tags
modprobe, ndiswrapper


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
error running "modprobe ndiswrapper" in mandrake 10.1 b!gsteve!!! Linux - Wireless Networking 4 03-19-2005 05:57 PM
running "modprobe ndiswrapper" hangs the system cricketer Linux - Wireless Networking 5 08-30-2004 08:10 AM
My system freezes after I issue the "modprobe ndiswrapper" command. markjc Linux - Wireless Networking 1 08-24-2004 10:47 AM
"depmod" and "modprobe" commands don't work The1PatO Fedora 7 06-10-2004 01:10 PM
where to set up "modprobe 3c59x" to load nic driver on boot? zero79 Debian 3 04-15-2004 04:42 PM


All times are GMT -5. The time now is 01:00 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration