diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-06 12:54:29 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-05-06 12:54:29 +0200 |
commit | 197689a3cd310859a194ec0bebe6bf50c97171ba (patch) | |
tree | b62990400af30def09c88f2d727a8149a4068eb2 | |
parent | version: bump (diff) | |
download | wireguard-tools-197689a3cd310859a194ec0bebe6bf50c97171ba.tar.xz wireguard-tools-197689a3cd310859a194ec0bebe6bf50c97171ba.zip |
man: mention BSD debugging
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r-- | src/man/wg.8 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/man/wg.8 b/src/man/wg.8 index 0f74751..7984539 100644 --- a/src/man/wg.8 +++ b/src/man/wg.8 @@ -219,6 +219,13 @@ by running as root: \fB # modprobe wireguard && echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control\fP +On OpenBSD and FreeBSD, debugging information can be written into +.BR dmesg (1) +on a per-interface basis by using +.BR ifconfig (1): + +\fB # ifconfig wg0 debug + On userspace implementations, it is customary to set the \fILOG_LEVEL\fP environment variable to \fIverbose\fP. .SH ENVIRONMENT VARIABLES |