From abfe778159e94b76ec18f7289b5f726bf0f072c5 Mon Sep 17 00:00:00 2001 From: Kris <31308284+259095@users.noreply.github.com> Date: Sat, 17 Oct 2020 18:17:48 +0100 Subject: [PATCH 1/2] Update README.md Added section on accessing more verbose logging. --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 449290e..f40d73d 100644 --- a/README.md +++ b/README.md @@ -517,6 +517,23 @@ ip route show table local ip route get 192.0.2.3 ``` +#### Logs + +To enable additional logging run: +```modprobe wireguard +echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control +``` + +To follow logs: +```dmesg -wH +``` + +Systems with modern kernel and Safe Boot might require disabling Secure Boot DKMS Signature Verification to allow access to kernel logs. +```mokutil --disable-verification +reboot +``` + + ### Testing #### Ping Speed From 05d37d6a3e1d7f54e0f9c3e4367f164c8cb0d587 Mon Sep 17 00:00:00 2001 From: Kris <31308284+259095@users.noreply.github.com> Date: Sat, 17 Oct 2020 18:19:41 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f40d73d..b3e32c4 100644 --- a/README.md +++ b/README.md @@ -520,16 +520,19 @@ ip route get 192.0.2.3 #### Logs To enable additional logging run: -```modprobe wireguard +```bash +modprobe wireguard echo module wireguard +p > /sys/kernel/debug/dynamic_debug/control ``` To follow logs: -```dmesg -wH +```bash +dmesg -wH ``` Systems with modern kernel and Safe Boot might require disabling Secure Boot DKMS Signature Verification to allow access to kernel logs. -```mokutil --disable-verification +```bash +mokutil --disable-verification reboot ```