LINUX.ORG.RU

How to change module's option?

 , , options


0

0

I want to change an option (e.g. ip_pkt_list_tot) of the module xt_recent (ipt_recent in past). How can i do that?

To write

options xt_recent ip_pkt_list_tot=123
, but where?

«man modprobe.conf» says that modprobe.conf will be removed in future, so I want to use a solution that will be working in future.

Please, help. Thanks in advance.

P.S.

Sorry for non-russian letters, no russian keyboard layout set up here :)

Because the modprobe command can add or remove more than one module, due to module dependencies, we need a method of specifying what options are to be used with those modules. All files underneath the /etc/modprobe.d directory which end with the .conf extension specify those options as required. (the /etc/modprobe.conf file can also be used if it exists, but that will be removed in a future version).

All files underneath the /etc/modprobe.d directory which end with the .conf extension specify those options as required.

Вот к чему приводит чтение манов по диагонали.

Atragor
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.