Skip to content

Commit

Permalink
Net: README: Add example usage of /etc/modprobe.d/lkrg.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
solardiz committed Feb 27, 2024
1 parent 918c96a commit 125c128
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -271,8 +271,8 @@ With LKRG installed on the system, you can list them with:

(Depending on system configuration, "modinfo" might not require root.)

Parameters can be specified on command-lines of "insmod", "modprobe", or in a
file in the /etc/modprobe.d directory.
Parameters can be specified on command-lines of "insmod", "modprobe", or after
"options lkrg " in a file in the /etc/modprobe.d directory.

For descriptions of the parameters and their default and possible values,
please refer to the following two sections.
Expand All @@ -293,6 +293,12 @@ thereof specified in braces) to enable its optional remote logging.
- net_server_pk (no default)
Log server public key (64 hexadecimal digits)

If you're starting LKRG via a systemd unit or startup script (such as those
provided in here), our recommended way to specify the above parameters is by
creating the file /etc/modprobe.d/lkrg.conf with something like this in it:

options lkrg net_server_addr=127.0.0.1 net_server_pk=64hexdigitshere

Please refer to LOGGING on how to use the corresponding userspace components.


Expand Down

0 comments on commit 125c128

Please sign in to comment.