LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ndis wrapper error in Slackware 10.2 (https://www.linuxquestions.org/questions/slackware-14/ndis-wrapper-error-in-slackware-10-2-a-404109/)

JockVSJock 01-16-2006 01:29 PM

ndis wrapper error in Slackware 10.2
 
I have an Orinoco gold card 11b/g and the cardmgr detects it, so I've gotten the WindowsXP driver and d/l'ed that on the XP side.

Installed ndiswrapper and have run the commands that have created /etc/ndiswrapper.

When I run ndiswrapper -l as root, I get the following output:

Code:

root@probot:/home/cmmiller/ndiswrapper/ndiswrapper-1.7/utils# ./ndiswrapper -l
Installed drivers:
inffile invalid driver!

I also have checked out the wiki, but don't see a solution there either.

thanks

raska 01-16-2006 02:02 PM

looks like a corrupted driver to me ... try another one or download it again :rolleyes:

what do you get issuing iwconfig as root?

chess 01-16-2006 02:09 PM

Are you doing the "ndiswrapper -i <driver>" inside the directory where the driver is located? Also, do you have both the .inf and the .sys files in the directory?

insaneavocado 01-16-2006 02:10 PM

also, one problem what I sometimes had with it is you have to make sure you have the .inf the .cat and the .sys file all of the same name in the directory you get the .inf file from; I did it a few times with JUST the .inf file and that messes it up and brings up the message you got.

JockVSJock 01-16-2006 04:35 PM

Quote:

Originally Posted by raska
looks like a corrupted driver to me ... try another one or download it again :rolleyes:

what do you get issuing iwconfig as root?

Code:


root@probot:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.


JockVSJock 01-16-2006 04:36 PM

Quote:

Originally Posted by Jackson1995
Are you doing the "ndiswrapper -i <driver>" inside the directory where the driver is located? Also, do you have both the .inf and the .sys files in the directory?


Code:


root@probot:/ntfs-c/Documents and Settings/CMMiller/My Documents/Orinoco/Winxp# ls -a
./  ../  ntpr11ag.cat  ntpr11ag.inf  ntpr11ag.sys

Yes, bot .inf and .sys are both in the same directory where I'm running the command from...

MS3FGX 01-16-2006 06:54 PM

Why exactly are you trying to use ndiswrapper for an Orinoco gold card? Orinoco cards are natively supported very well by the kernel.

JockVSJock 01-16-2006 07:54 PM

Quote:

Originally Posted by MS3FGX
Why exactly are you trying to use ndiswrapper for an Orinoco gold card? Orinoco cards are natively supported very well by the kernel.

If thats true, they why doesn't iwconfig detect anything once I slap the card into the pcmcia slot?

When I ran Ubuntu with the same type of card, I had to also use the ndiswrapper to get it to work.

JockVSJock 01-22-2006 06:47 PM

I've d/l'ed the Orinoco driver for the NDIS wrapper again and it was a no go.

I'm posting some of my cardctl info to help with the troubleshooting:

Code:


root@probot:~# cardctl status
Socket 0:
  3.3V CardBus card
  function 0: [ready]
root@probot:~# cardctl config
Socket 0:
  Vcc 3.3V  Vpp1 3.3V  Vpp2 3.3V
  interface type is "cardbus"
  function 0:
root@probot:~# cardctl ident
Socket 0:
  product info: "Atheros Communications, Inc.", "AR5001-0000-0000", "Wireless LAN Reference Card", "00"
  manfid: 0x0271, 0x0012
  function: 6 (network)

Also, I have another wireless card that works upon bootup with Slackware. It is a WaveLAN Silver card, and the funny thing is, it can get on my neighbor's wireless AP (there's not WEP and I live in an apartment). I have a AP, it is locked down, and I can't detect it with KWireless.

Also using iwlist can't see my locked down AP.

Any ideas how I can get the orinoco card to work

or

get the WaveLAN card to find my locked down AP?

thanks

Crobat 01-22-2006 08:32 PM

did you run the following?
Code:

ndiswrapper -i DriverName.inf
Please replace DriverName with the name of your Driver. :)

JockVSJock 01-22-2006 09:26 PM

Quote:

Originally Posted by Crobat
did you run the following?
Code:

ndiswrapper -i DriverName.inf
Please replace DriverName with the name of your Driver. :)

This is the output

Code:

root@probot:/home/cmmiller/ndiswrapper/ndiswrapper-1.7/utils# ./ndiswrapper -i /ntfs-c/Documents and Settings/CMMiller/My Documents/Orinoco/Winxp/ntpr11ag.inf
Usage: ndiswrapper OPTION

Manage ndis drivers for ndiswrapper.
-i inffile        Install driver described by 'inffile'
-d devid driver  Use installed 'driver' for 'devid'
-e driver        Remove 'driver'
-l                List installed drivers
-m                Write configuration for modprobe


where 'devid' is either PCIID or USBID of the form XXXX:XXXX

Am I not doing something right here?

thanks

BCarey 01-22-2006 09:33 PM

Try
Code:

./ndiswrapper -i "/ntfs-c/Documents and Settings/CMMiller/My Documents/Orinoco/Winxp/ntpr11ag.inf"
ie. put quotes around the file name or else escape the spaces in the path with \.

Brian

chrisortiz 01-22-2006 10:46 PM

if it is supported nicely by the kernel, lets take that approach. That way you can avoid the windows wrapper/driver all together.

what do you get when you type lsmod?

Alien Bob 01-23-2006 01:02 PM

Quote:

product info: "Atheros Communications, Inc."
It is an Atheros card, you will need the madwifi driver for that: http://madwifi.org/

Eric

JockVSJock 01-23-2006 08:58 PM

Quote:

Originally Posted by chrisortiz
if it is supported nicely by the kernel, lets take that approach. That way you can avoid the windows wrapper/driver all together.

what do you get when you type lsmod?

cmmiller@probot:~$ lsmod
Module Size Used by Not tainted
snd-pcm-oss 36736 0
snd-mixer-oss 12376 0 [snd-pcm-oss]
uhci 24284 0 (unused)
ehci-hcd 17516 0 (unused)
usbcore 59148 1 [uhci ehci-hcd]
snd-via82xx 13376 0
gameport 1420 0 [snd-via82xx]
snd-ac97-codec 58556 0 [snd-via82xx]
snd-pcm 54344 0 [snd-pcm-oss snd-via82xx snd-ac97-codec]
snd-timer 13764 0 [snd-pcm]
snd-mpu401-uart 3136 0 [snd-via82xx]
snd-rawmidi 12480 0 [snd-mpu401-uart]
snd-seq-device 3812 0 [snd-rawmidi]
snd 32772 0 [snd-pcm-oss snd-mixer-oss snd-via82xx snd-ac97-codec snd-pcm snd-timer snd-mpu401-uart snd-rawmidi snd-seq-device]
snd-page-alloc 4712 0 [snd-mixer-oss snd-via82xx snd-pcm snd-timer snd-rawmidi snd-seq-device snd]
soundcore 3396 4 [snd]
via-rhine 12336 1
mii 2272 0 [via-rhine]
crc32 2880 0 [via-rhine]
ds 6548 1
yenta_socket 10436 1
pcmcia_core 39172 0 [ds yenta_socket]
ntfs 51232 1 (autoclean)
ide-scsi 9392 0


All times are GMT -5. The time now is 08:32 AM.