mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-05-06 22:32:21 +03:00
Update README.md
Added `modinfo` command to get module availability. Added `lsmod | grep wireguard` to check whether the module is loaded to the kernel. Added `sudo` to the `modprobe` command because it requires root access to modify the kernel.
This commit is contained in:
parent
2fdafd34ca
commit
496ecd7b87
1 changed files with 11 additions and 1 deletions
|
@ -6,7 +6,17 @@ Depending on if the Wireguard kernel module is available on your system you have
|
||||||
|
|
||||||
You can check if the kernel modules are available via the following command:
|
You can check if the kernel modules are available via the following command:
|
||||||
```shell
|
```shell
|
||||||
modprobe wireguard
|
modinfo wireguard
|
||||||
|
```
|
||||||
|
|
||||||
|
This will return information about the wireguard kernel module if it is available. If it is available, you can check if it is loaded via the following command:
|
||||||
|
```shell
|
||||||
|
lsmod | grep wireguard
|
||||||
|
```
|
||||||
|
|
||||||
|
If it is available but not loaded, you can load the module via the following command:
|
||||||
|
```shell
|
||||||
|
sudo modprobe wireguard
|
||||||
```
|
```
|
||||||
|
|
||||||
If the command exits successfully and doesn't print an error the kernel modules are available.
|
If the command exits successfully and doesn't print an error the kernel modules are available.
|
||||||
|
|
Loading…
Add table
Reference in a new issue