- priority: 5 --> 2
Hello Matthew,
as of version 0.4 wlan-ui doesn't seem to support
passing module options to the loaded WLAN
module.
I am using wlan-ui with ipw2200 and I like to pass
the "associate=0" parameter to it. In the shell I use:
modprobe ipw2200 associate=0
to do this.
So I like an option for specifying additional module
options in the wlan-ui config file /etc/wlanuirc.
I implemented this myself already as a quick hack.
Here follows a quick summary of the changes I
made:
# Teamix: added $MODULEPARAMS, ms,
30.4.2005
use vars qw($VERSION $MODULE
$MODULEPARAMS $DEVICE $CMDS);
After initialization of $MODULE:
# Teamix: Module parameters, ms, 30.4.2005
$MODULEPARAMS = '';
# sort out commands
# Teamix: support module params, ms, 30.4.2005
$CMDS = resolve_commands($MODULE,
$MODULEPARAMS, $CMDS);
In "resolve_commands":
# Teamix: Quick hack for supporting module
parameters, ms, 30.4.2005
$cmds->{load} = "$cmds->{modprobe}
$module $moduleparams"
unless $cmds->{load};
Well this should be it. I better send you the script
with all my changes via e-mail I think.
Regards,
Martin Steigerwald - team(ix) GmbH -
http://www.teamix.de