<div dir="auto">Out of date iproute2?<div dir="auto"><br></div><div dir="auto">Which distro? Version?<br><br><div data-smartmail="gmail_signature" dir="auto">--<br>Sent from my telephone.<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Apr 20, 2018, 12:36 ST <<a href="mailto:smntov@gmail.com">smntov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I have <br>
...<br>
Address = <a href="http://192.168.4.1/24" rel="noreferrer noreferrer" target="_blank">192.168.4.1/24</a><br>
SaveConfig = true<br>
in wg0.conf<br>
<br>
1. if I add a peer with `wg set wg0 peer ...` WG doesn't add it<br>
immediately to the wg0.conf file, only after I run `wg-quick down wg0`.<br>
Why not? What happens if the system crashes unexpectedly?... The peer<br>
will not be saved to the config file and the information will be lost.<br>
<br>
<br>
2. once I run `wg-quick down wg0` I get:<br>
<br>
Option "-all" is unknown, try "ip -help".<br>
cat: /etc/resolvconf/run/interface/wg0: No such file or directory<br>
[#] wg showconf wg0<br>
sync: ignoring all arguments<br>
[#] ip link delete dev wg0<br>
<br>
Now the wg0.conf is enhanced with the peer details that was added<br>
through command line, but the Address = <a href="http://192.168.4.1/24" rel="noreferrer noreferrer" target="_blank">192.168.4.1/24</a> disappears from<br>
the config. So running `wg-quick up wg0` again doesn't assigns IP to the<br>
wg0 interface... What's wrong?<br>
<br>
I'm using version:<br>
apt list wireguard<br>
wireguard/unstable,now 0.0.20180304-1 all [installed]<br>
<br>
Thank you!<br>
<br>
<br>
_______________________________________________<br>
WireGuard mailing list<br>
<a href="mailto:WireGuard@lists.zx2c4.com" target="_blank" rel="noreferrer">WireGuard@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/wireguard" rel="noreferrer noreferrer" target="_blank">https://lists.zx2c4.com/mailman/listinfo/wireguard</a><br>
</blockquote></div>