Help - Search - Members - Calendar
Full Version: Debian Ndiswrapper Error
Suggest A Fix PC Support Forums > Operating Systems > Unix, Linux, and BSD
condorstats
Hi all,

Well now im running Debian, found the slim distros a bit too... slim!

So yeah, I have a WPC54G Wireless PCMCIA card, which needs Ndiswrapper to be used.

I first of all changed my repositories to "unstable" then ran "dist-upgrade" and also moved up to kernel as below

ran uname - a
" Linux JohnLaptop 2.6.8-2-686 #1 Tue Aug 16 13:22:48 UTC 2005 i686 GNU/Linux "

Then downloaded the ndiswrapper through Synaptic for this kernel, im sure the version is correct.

It all seemed to install ok.

Next I run

"ndiswrapper -i lsbcmnds.inf"

all installs correct etc... just like it has on previous linux dists ive used.

next, this is the problem!

#modprobe ndiswrapper
presents the following error.

"FATAL: Error inserting ndiswrapper (/lib/modules/2.6.8-2-686/misc/ndiswrapper.ko): Operation not permitted "

btw, I am running that asroot.

So, can anyone help me out here? the wireless is the only thing to get sorted out really!

Cheer
LinuxSam
Just to check that it isn't allready loaded... run lsmod and post the output.

also try this:

dpkg -l |grep ndiswrapper

and post the output

and : dpkg -l |grep linux-image

and post the output.

and make sure that you also have ndiswrapper-utils installed.

/LinuxSam
condorstats
lsmod
CODE
Module                  Size  Used by
vfat                   14656  0
af_packet              22568  2
msdos                   9696  0
fat                    46784  2 vfat,msdos
sd_mod                 21728  0
scsi_mod              125228  1 sd_mod
floppy                 61200  0
snd_mixer_oss          20096  1
ipv6                  264772  8
ds                     18756  4
uhci_hcd               33136  0
snd_cs46xx             91976  1
snd_rawmidi            25124  1 snd_cs46xx
snd_seq_device          8200  1 snd_rawmidi
snd_ac97_codec         69988  1 snd_cs46xx
snd_pcm                98728  1 snd_cs46xx
snd_timer              25732  1 snd_pcm
snd                    57156  7 snd_mixer_oss,snd_cs46xx,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_t
imer
soundcore              10272  2 snd
snd_page_alloc         11752  2 snd_cs46xx,snd_pcm
gameport                4704  1 snd_cs46xx
e100                   32608  0
mii                     5120  1 e100
yenta_socket           21728  1
pcmcia_core            70868  2 ds,yenta_socket
agpgart                34664  0
dm_snapshot            19100  0
dm_mirror              22580  2
dm_mod                 59804  2 dm_snapshot,dm_mirror
capability              4520  0
commoncap               7232  1 capability
psmouse                20360  0
mousedev               10476  1
usbmouse                5664  0
usbcore               118980  4 uhci_hcd,usbmouse
ide_cd                 42656  0
cdrom                  40732  1 ide_cd
rtc                    12760  0
ext3                  127240  2
jbd                    62616  1 ext3
mbcache                 9348  1 ext3
ide_generic             1408  0
piix                   13440  1
ide_disk               19296  4
ide_core              139940  4 ide_cd,ide_generic,piix,ide_disk
unix                   28756  592
font                    8320  0
vesafb                  6656  0
cfbcopyarea             3872  1 vesafb
cfbimgblt               3040  1 vesafb
cfbfillrect             3776  1 vesafb


dpkg -l |grep ndiswrapper
CODE
ii  ndiswrapper-common                 1.28-1                          Common scripts required to use the utilities
ii  ndiswrapper-modules-2.6.8-2-686    1.1-2                           Ndiswrapper linux kernel module
ii  ndiswrapper-utils                  1.1-5                           Userspace utilities for ndiswrapper
ii  ndiswrapper-utils-1.1              1.1-5                           Userspace utilities for ndiswrapper


dpkg -l |grep linux-image <-- Has no output?

Cheers
LinuxSam
QUOTE
dpkg -l |grep linux-image <-- Has no output?


That is strange... if you have a kernel installed... try it with only linux or change it to kernel-image

/LinuxSam
condorstats
Hi,

For all those interested, i came back around to a fresh install of Debian now, ( got my partitions messed up RE backup so needed wipe clean) and the way it is done now...

upgraded to kernel 2.6.8-3-686
installed "ndiswrapper-modules-2.6.8-3-686"
installed ndiswrapper and ndiswrapper-utils.

#ndiswrapper -i lsbcmnds.inf
#ndiswrapper -m
#modprobe ndiswrapper

brought me my lovely wlan0 connection.

installed "wireless-tools" also,

and set up my /etc/network/interfaces as follows

CODE
# The primary network interface
iface wlan0 inet dhcp
wireless-essid xxxx
wireless-mode managed
wireless-key xxxx


I also added "ndiswrapper" to /etc/modules

Job Done (well, i'll find out when I reboot!)

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.