ndiswrapper does not unload

I'm trying to customize my network configuration on my HP Compaq
nx6325. I'm using ndiswrapper for my broadcom card, and I'm trying to
get wireless roaming working with ifplugd, guessnet and wpasupplicant.
Right now, I'm trying to configure ifplugd with my own custom action
script (see attachment).

I would like for ifplugd to switch to the wired ethernet port
automatically if it is plugged in, de-configuring the wireless and
removing the driver from the kernel to turn the antenna off. I cannot
turn the antenna off using the push button above the keyboard.

My script (my.action) appears to work when the ethernet port is
plugged in; however, the kernel reloads ndiswrapper right after my
script unloads it. So I cannot get the script to turn off the antenna
as I would like. I remove the module from the kernel from the command
line, and it reloads it automatically.

ndiswrapper is in /etc/modules. I also have an init script that is
meant to manually unload the driver at shutdown. There were problems
with this model unloading the module properly on shutdown causing
reboot problems. So this is why I wrote this script and set it to
start and stop at appropriate runlevels.

Any ideas what might be causing it to automatically reload the module?
\

SAJ

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

ndiswrapper does not unload

Oh . . . and the files:

/etc/ifplug.d/action.d/my.action (http://www.osix.net/modules/folder/
index.php?tid=15290&action=vf)

/etc/init.d/ndiswrapper (http://www.osix.net/modules/folder/index.php?
tid=15291&action=vf)

--

ndiswrapper does not unload

I ran "ndiswrapper -mi" to write the "install" configuration to "/etc/
modprobe.d/ndiswrapper," and this seems to have resolved my problem.

On Feb 26, 10:50 pm, "SAJChurchey" wrote:
> Oh . . . and the files:
>
> /etc/ifplug.d/action.d/my.action (http://www.osix.net/modules/folder/
> index.php?tid=15290&action=vf)
>
> /etc/init.d/ndiswrapper (http://www.osix.net/modules/folder/index.php?
> tid=15291&action=vf)
>
> --

Syndicate content