Skip to main content

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
code:
modprobe -r ipt_recent  modprobe ipt_recent ip_list_tot=500
(i need change ip_list_tot parameter)

code:
# modprobe -r ipt_recent  fatal: module ipt_recent in use.

hi,

# modprobe -r ipt_recent
fatal: module ipt_recent in use.
this tells ipt_recent module being used other module.
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.
code:
$ modprobe -r <module using xt_recent> $ modprobe -r ipt_recent $ modprobe ipt_recent ip_list_tot=500
don't forget re-insert module using xt_recent.
code:
$ modprobe <module using xt_recent>
hope helps.


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

Popular posts from this blog

Error compiling for board Arduino/Genuino Uno.

Installation database is corrupt

esp8266 (nodemcu 0.9) client.write très lent ???