RTNETLINK answers: Operation not supported

Sahil Gupta sg5414 at rit.edu
Sat Aug 5 21:38:39 CEST 2017


Hi,
I am not able to setup Wireguard interface on Raspberry pi.

Error:
RTNETLINK answers: Operation not supported


See the stack:
"
pi at raspberrypi:~ $ cd /etc/wireguard/
pi at raspberrypi:/etc/wireguard $ l
-bash: l: command not found
pi at raspberrypi:/etc/wireguard $ ls
publickey  wg0.conf
pi at raspberrypi:/etc/wireguard $ history | grep wg0
   15  history | grep wg0
pi at raspberrypi:/etc/wireguard $ ip link add wg0 type wireguard
RTNETLINK answers: Operation not permitted
pi at raspberrypi:/etc/wireguard $ sudo su
root at raspberrypi:/etc/wireguard# wg-quick up wg0
Warning: `/etc/wireguard/wg0.conf' is world accessible
[#] ip link add wg0 type wireguard
RTNETLINK answers: Operation not supported
`wg0` is not a valid WireGuard interface
Usage: wg show { <interface> | all | interfaces } [public-key | private-key
| listen-port | fwmark | peers | preshared-keys | endpoints | allowed-ips |
latest-handshakes | transfer | persistent-keepalive | dump]
root at raspberrypi:/etc/wireguard# wg show
root at raspberrypi:/etc/wireguard# wg show all
root at raspberrypi:/etc/wireguard#

"

Any pointers will be appreciated.

Thanks
Sahil Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20170805/eba58141/attachment-0001.html>


More information about the WireGuard mailing list