Le 24/11/2011 21:52, Selim T. Erdogan a écrit :
Paul Isambert, 24.11.2011:
You're absolutely right. So here's a detailed account of what I've
done, following what was exposed (in French) here:
http://doc.ubuntu-fr.org/ndiswrapper
(Yeah, it's for Ubuntu, but that seemed good to me anyway.)
> From your next message, I saw that you solved your problem by
upgrading. (That's my favorite way to solve things too!)
Still, in case you need it later, and for completeness, let me
say a couple of things about ndiswrapper. (In my case, the
native driver, rt2500pci, has problems if the signal is low and/or
in ad-hoc mode, so it's useful to be able switch to ndiswrapper
occasionally.)
Good idea, I might need it later.
1. I've copied the WinXP driver files (it was recommended to use
those, even if they're 32bits and I have 64bits) into /home/wifi,
created just for that.
2. Then, into that directory, I've done "ndiswrapper -i net8192cu.inf"
3. I've checked with "ndiswrapper -l", which returned:
"net8192cu: driver installed".
(There were other failed drivers from previous attempts; I removed them.)
4. I've done "ndiswrapper -m", which returned:
WARNING: All config files need .conf:
/etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
module configuration already contains alias directive
The existing alias directive must come from a previous manipulation.
It's been a long time since I performed these steps but I don't remember
needing this "-m" step for my driver.
That was in the webpage I followed.
5. Then "modprobe ndiswrapper" returned:
WARNING: All config files need .conf:
/etc/modprobe.d/ndiswrapper, it will be ignored in a future release.
FATAL: Module ndiswrapper not found.
On the machine where I use ndiswrapper there's nothing related to it
in the /etc/modprobe.d/ directory. (Another hint that the "-m" step
was not necessary for me?)
The message saying that the module was not found is important. I think
that French page that you linked to had instructions for compiling the
module, but I don't see any such steps in your message. Did you
compile the module? (What does "/sbin/modinfo ndiswrapper" say?)
No, I didn't I installed the package from the repository directly with
dpkg (actually I installed two packages:ndiswrapper-common and
ndiswrapper-utils).
I can't remember if this came up before, but there is a package called
ndiswrapper-source. I install that and whenever I upgrade the kernel
I need to rebuild the module for the new kernel. I do this with the
help of the module-assistant package.
Thanks for the info, I'll do that.
(BTW, I recommend installing
the linux-headers-... meta-package for your architecture, otherwise
you won't be able to build the module for your new kernels.) Anyway,
with module-assistant "m-a a-i ndiswrapper" will build a deb package
for the module and install it.)
The linux-headers stuff is installed. I needed that when I followed
another course of action: building the drivers from Realtek.
Thanks,
Paul
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ecf5ff2.3060...@free.fr