Thread: Changing a module parameter on an inserted module
i need change module parameter on module inserted in kernel. least invasive way this, since it's on production machine cannot reboot?
going do
(i need change ip_list_tot parameter)code:modprobe -r ipt_recent modprobe ipt_recent ip_list_tot=500
code:# modprobe -r ipt_recent fatal: module ipt_recent in use.
hi,
this tells ipt_recent module being used other module.# modprobe -r ipt_recent
fatal: module ipt_recent in use.
before removing module using modprobe, "used by" count should 0 module.
lsmod output check other module using xt_recent (xt_recent &
ipt_recent aliases of each other)
first remove module using xt_recent(ipt_recent) module.
don't forget re-insert module using xt_recent.code:$ modprobe -r <module using xt_recent> $ modprobe -r ipt_recent $ modprobe ipt_recent ip_list_tot=500
hope helps.code:$ modprobe <module using xt_recent>
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Changing a module parameter on an inserted module
Ubuntu
Comments
Post a Comment