All of lore.kernel.org
 help / color / mirror / Atom feed
* RTNETLINK answers: Operation not supported
@ 2017-08-05 19:38 Sahil Gupta
  2017-08-06 16:30 ` Sahil Gupta
  0 siblings, 1 reply; 9+ messages in thread
From: Sahil Gupta @ 2017-08-05 19:38 UTC (permalink / raw)
  To: WireGuard mailing list, Eric Light, Jason A. Donenfeld

[-- Attachment #1: Type: text/plain, Size: 1124 bytes --]

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

Error:
RTNETLINK answers: Operation not supported


See the stack:
"
pi@raspberrypi:~ $ cd /etc/wireguard/
pi@raspberrypi:/etc/wireguard $ l
-bash: l: command not found
pi@raspberrypi:/etc/wireguard $ ls
publickey  wg0.conf
pi@raspberrypi:/etc/wireguard $ history | grep wg0
   15  history | grep wg0
pi@raspberrypi:/etc/wireguard $ ip link add wg0 type wireguard
RTNETLINK answers: Operation not permitted
pi@raspberrypi:/etc/wireguard $ sudo su
root@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@raspberrypi:/etc/wireguard# wg show
root@raspberrypi:/etc/wireguard# wg show all
root@raspberrypi:/etc/wireguard#

"

Any pointers will be appreciated.

Thanks
Sahil Gupta

[-- Attachment #2: Type: text/html, Size: 1479 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RTNETLINK answers: Operation not supported
@ 2017-02-28 16:08 William Clark
  2017-02-28 22:21 ` Lucian Cristian
  2017-03-01  8:14 ` Jörg Thalheim
  0 siblings, 2 replies; 9+ messages in thread
From: William Clark @ 2017-02-28 16:08 UTC (permalink / raw)
  To: WireGuard

[-- Attachment #1: Type: text/plain, Size: 677 bytes --]

Hello,

So I wanted to try WireGuard but unfortunately I can't get pas this part:
ip link add dev wg0 type wireguard.

When ever I run the command "ip link add dev wg0 type wireguard"
I get the output:
RTNETLINK answers: Operation not supported

This both happens on CentOS 7 and Fedora 25 and Ubuntu 16.04.

CentOS 7 Kernel:
Linux hostname 3.10.0-514.6.2.el7.x86_64 #1 SMP Thu Feb 23 03:04:39 UTC
2017 x86_64 x86_64 x86_64 GNU/Linux
Fedora 25 Kernel:
Linux hostname 4.9.7-x86_64-X #2 SMP Thu Feb 2 15:43:55 EST 2017 x86_64
x86_64 x86_64 GNU/Linux

I've tried installing Linux headers too, but no luck and I've rebooted
after the upgrade too, and still no luck.

Thanks a lot.

[-- Attachment #2: Type: text/html, Size: 1757 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2017-08-06 18:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-05 19:38 RTNETLINK answers: Operation not supported Sahil Gupta
2017-08-06 16:30 ` Sahil Gupta
2017-08-06 16:33   ` Sahil Gupta
2017-08-06 16:34     ` Jason A. Donenfeld
2017-08-06 18:31       ` Sahil Gupta
2017-08-06 18:36         ` Jason A. Donenfeld
  -- strict thread matches above, loose matches on Subject: below --
2017-02-28 16:08 William Clark
2017-02-28 22:21 ` Lucian Cristian
2017-03-01  8:14 ` Jörg Thalheim

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.