Den tors 4 maj 2023 kl 15:08 skrev Odd Martin Baanrud <mar...@lb7ye.net>:
> inet 10.0.6.1 0xfgffgf00 NONE up !/usr////////local/bin/wg setconf wg0 
> /etc/wireguard/wg0.conf

While multiple slashes combine into one, having /usr////... seems like
a weird thing to put in the config.
Apart from that, you either use /usr/local/bin/wg(-quick) to set up
your wireguard interface OR hostname.wg0 not calling one from the
other.
If you go for hostname.wg0, read up on the "man ifconfig" section
about wireguard tunnels and skip the wg0.conf. If you go for
wg/wg-quick, you can call it from rc.local or something.

> Accourding to hostname.if(5), !-commands must work in single-user mode, if 
> they should be executed.
> If this is the case, why is ‘wg’ in /usr/local/bin?

..which solves this "mystery" too.

-- 
May the most significant bit of your life be positive.

Reply via email to