All of lore.kernel.org
 help / color / mirror / Atom feed
* FAQ and quickstart
@ 2017-01-16 11:31 lennart
  2017-01-16 11:32 ` Jason A. Donenfeld
  2017-01-16 13:13 ` Jörg Thalheim
  0 siblings, 2 replies; 7+ messages in thread
From: lennart @ 2017-01-16 11:31 UTC (permalink / raw)
  To: wireguard

Hi,

I'm trying to wireguard via the quickstart [0].
But I get this error:
$ sudo ip link add dev wg0 type wireguard
RTNETLINK answers: Operation not supported

I know it has something to do with kernel configurations, but that would
be a whole new topic to me.
What do I need to do? Isn't this a good question for a FAQ?

I'm on a archlinux:
$ uname -r
4.8.13-1-ARCH

Second:
How can a search the hole list archive? I'm just used to an interface to
do that.

[0] https://www.wireguard.io/quickstart/

Thanks a lot!

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

* Re: FAQ and quickstart
  2017-01-16 11:31 FAQ and quickstart lennart
@ 2017-01-16 11:32 ` Jason A. Donenfeld
  2017-01-16 13:13 ` Jörg Thalheim
  1 sibling, 0 replies; 7+ messages in thread
From: Jason A. Donenfeld @ 2017-01-16 11:32 UTC (permalink / raw)
  To: lennart; +Cc: WireGuard mailing list

Did you install WireGuard?

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

* Re: FAQ and quickstart
  2017-01-16 11:31 FAQ and quickstart lennart
  2017-01-16 11:32 ` Jason A. Donenfeld
@ 2017-01-16 13:13 ` Jörg Thalheim
  2017-01-16 13:23   ` lennart
  1 sibling, 1 reply; 7+ messages in thread
From: Jörg Thalheim @ 2017-01-16 13:13 UTC (permalink / raw)
  To: wireguard

The kernel module is most likely not loaded.

Make sure the following command returns something.

$ lsmod | grep wireguard
wireguard             126976  0
ip6_udp_tunnel         16384  1 wireguard
udp_tunnel             16384  1 wireguard
x_tables               28672  12 xt_hashlimit,xt_LOG,ipt_REJECT,ip_tables,iptable_filter,xt_tcpudp,xt_limit,ip6t_REJECT,ip6table_filter,wireguard,xt_conntrack,ip6_tables
ipv6                  389120  151 nf_conntrack_ipv6,nf_reject_ipv6,nf_defrag_ipv6,wireguard,nf_nat_ipv6

Since you are on archlinux, did you reboot after kernel upgrade?


On 2017-01-16 12:31, lennart wrote:
> Hi,
>
> I'm trying to wireguard via the quickstart [0].
> But I get this error:
> $ sudo ip link add dev wg0 type wireguard
> RTNETLINK answers: Operation not supported
>
> I know it has something to do with kernel configurations, but that would
> be a whole new topic to me.
> What do I need to do? Isn't this a good question for a FAQ?
>
> I'm on a archlinux:
> $ uname -r
> 4.8.13-1-ARCH
>
> Second:
> How can a search the hole list archive? I'm just used to an interface to
> do that.
>
> [0] https://www.wireguard.io/quickstart/
>
> Thanks a lot!
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard

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

* Re: FAQ and quickstart
  2017-01-16 13:13 ` Jörg Thalheim
@ 2017-01-16 13:23   ` lennart
  2017-01-16 13:26     ` Jason A. Donenfeld
  0 siblings, 1 reply; 7+ messages in thread
From: lennart @ 2017-01-16 13:23 UTC (permalink / raw)
  To: wireguard

Solved it! (Thanks Jason)
"linux-headers" was not installed.
"pacman -S linux headers" did the trick.

Thanks all!

On 01/16/2017 02:13 PM, Jörg Thalheim wrote:
> The kernel module is most likely not loaded.
> 
> Make sure the following command returns something.
> 
> $ lsmod | grep wireguard
> wireguard             126976  0
> ip6_udp_tunnel         16384  1 wireguard
> udp_tunnel             16384  1 wireguard
> x_tables               28672  12 xt_hashlimit,xt_LOG,ipt_REJECT,ip_tables,iptable_filter,xt_tcpudp,xt_limit,ip6t_REJECT,ip6table_filter,wireguard,xt_conntrack,ip6_tables
> ipv6                  389120  151 nf_conntrack_ipv6,nf_reject_ipv6,nf_defrag_ipv6,wireguard,nf_nat_ipv6
> 
> Since you are on archlinux, did you reboot after kernel upgrade?
> 
> 
> On 2017-01-16 12:31, lennart wrote:
>> Hi,
>>
>> I'm trying to wireguard via the quickstart [0].
>> But I get this error:
>> $ sudo ip link add dev wg0 type wireguard
>> RTNETLINK answers: Operation not supported
>>
>> I know it has something to do with kernel configurations, but that would
>> be a whole new topic to me.
>> What do I need to do? Isn't this a good question for a FAQ?
>>
>> I'm on a archlinux:
>> $ uname -r
>> 4.8.13-1-ARCH
>>
>> Second:
>> How can a search the hole list archive? I'm just used to an interface to
>> do that.
>>
>> [0] https://www.wireguard.io/quickstart/
>>
>> Thanks a lot!
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
> 
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard
> 

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

* Re: FAQ and quickstart
  2017-01-16 13:23   ` lennart
@ 2017-01-16 13:26     ` Jason A. Donenfeld
  2017-01-16 13:33       ` Christian Hesse
  0 siblings, 1 reply; 7+ messages in thread
From: Jason A. Donenfeld @ 2017-01-16 13:26 UTC (permalink / raw)
  To: Christian Hesse; +Cc: WireGuard mailing list

Hi Christian,

Should the wireguard Arch package depend on linux-headers? Or the dkms
package on linux-headers? Or is it just the Arch-way that dkms merely
prints a warning but doesn't actually have real package deps?

Jason

On Mon, Jan 16, 2017 at 2:23 PM, lennart <lennart@hamburg.freifunk.net> wro=
te:
> Solved it! (Thanks Jason)
> "linux-headers" was not installed.
> "pacman -S linux headers" did the trick.
>
> Thanks all!
>
> On 01/16/2017 02:13 PM, J=C3=B6rg Thalheim wrote:
>> The kernel module is most likely not loaded.
>>
>> Make sure the following command returns something.
>>
>> $ lsmod | grep wireguard
>> wireguard             126976  0
>> ip6_udp_tunnel         16384  1 wireguard
>> udp_tunnel             16384  1 wireguard
>> x_tables               28672  12 xt_hashlimit,xt_LOG,ipt_REJECT,ip_table=
s,iptable_filter,xt_tcpudp,xt_limit,ip6t_REJECT,ip6table_filter,wireguard,x=
t_conntrack,ip6_tables
>> ipv6                  389120  151 nf_conntrack_ipv6,nf_reject_ipv6,nf_de=
frag_ipv6,wireguard,nf_nat_ipv6
>>
>> Since you are on archlinux, did you reboot after kernel upgrade?
>>
>>
>> On 2017-01-16 12:31, lennart wrote:
>>> Hi,
>>>
>>> I'm trying to wireguard via the quickstart [0].
>>> But I get this error:
>>> $ sudo ip link add dev wg0 type wireguard
>>> RTNETLINK answers: Operation not supported
>>>
>>> I know it has something to do with kernel configurations, but that woul=
d
>>> be a whole new topic to me.
>>> What do I need to do? Isn't this a good question for a FAQ?
>>>
>>> I'm on a archlinux:
>>> $ uname -r
>>> 4.8.13-1-ARCH
>>>
>>> Second:
>>> How can a search the hole list archive? I'm just used to an interface t=
o
>>> do that.
>>>
>>> [0] https://www.wireguard.io/quickstart/
>>>
>>> Thanks a lot!
>>> _______________________________________________
>>> WireGuard mailing list
>>> WireGuard@lists.zx2c4.com
>>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>>
>> _______________________________________________
>> WireGuard mailing list
>> WireGuard@lists.zx2c4.com
>> https://lists.zx2c4.com/mailman/listinfo/wireguard
>>
> _______________________________________________
> WireGuard mailing list
> WireGuard@lists.zx2c4.com
> https://lists.zx2c4.com/mailman/listinfo/wireguard



--=20
Jason A. Donenfeld
Deep Space Explorer
fr: +33 6 51 90 82 66
us: +1 513 476 1200
www.jasondonenfeld.com
www.zx2c4.com
zx2c4.com/keys/AB9942E6D4A4CFC3412620A749FC7012A5DE03AE.asc

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

* Re: FAQ and quickstart
  2017-01-16 13:26     ` Jason A. Donenfeld
@ 2017-01-16 13:33       ` Christian Hesse
  2017-01-16 13:34         ` Jason A. Donenfeld
  0 siblings, 1 reply; 7+ messages in thread
From: Christian Hesse @ 2017-01-16 13:33 UTC (permalink / raw)
  To: Jason A. Donenfeld; +Cc: WireGuard mailing list

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

"Jason A. Donenfeld" <Jason@zx2c4.com> on Mon, 2017/01/16 14:26:
> Hi Christian,
> 
> Should the wireguard Arch package depend on linux-headers? Or the dkms
> package on linux-headers? Or is it just the Arch-way that dkms merely
> prints a warning but doesn't actually have real package deps?

We have several linux packages in our repositories. Users may use linux-lts,
linux-zen, linux-grsec or anything from AUR with the corresponding headers
package. Depending on 'linux-headers' would force the users to install linux
and linux-headers packages.

Even the tools' dependency on the module is something people complain about...

So I think I will keep things as-is. Users are advised to read install
messages. :-P
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: FAQ and quickstart
  2017-01-16 13:33       ` Christian Hesse
@ 2017-01-16 13:34         ` Jason A. Donenfeld
  0 siblings, 0 replies; 7+ messages in thread
From: Jason A. Donenfeld @ 2017-01-16 13:34 UTC (permalink / raw)
  To: Christian Hesse; +Cc: WireGuard mailing list

Makes sense!

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

end of thread, other threads:[~2017-01-16 13:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-16 11:31 FAQ and quickstart lennart
2017-01-16 11:32 ` Jason A. Donenfeld
2017-01-16 13:13 ` Jörg Thalheim
2017-01-16 13:23   ` lennart
2017-01-16 13:26     ` Jason A. Donenfeld
2017-01-16 13:33       ` Christian Hesse
2017-01-16 13:34         ` Jason A. Donenfeld

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.