Hi Maxim, Here are the commands I executed. TLDR, wg-quick complains about a
signature
mismatch in /etc/resolv.conf. It does not go away if I simply nuke that file or
run
resolvconf -u manually.
The wg error persists :/.
BR, RSM.-
root@gx2 ~#
/gnu/store/30gizwy43571x1nk3l7bxz8fp98iwd5a-wireguard-tools-1.0.20260223/bin/wg-quick
up /gnu/store/60sqapacz4pihmgmdr2b05ahmlp1w6p0-wireguard-config/wg0.conf
Warning:
`/gnu/store/60sqapacz4pihmgmdr2b05ahmlp1w6p0-wireguard-config/wg0.conf' is
world accessible
[#] ip link add dev wg0 type wireguard
[#] wg addconf wg0 /dev/fd/63
[#] ip -4 address add 10.65.248.255/32 dev wg0
[#] ip link set mtu 1420 up dev wg0
[#] resolvconf -a wg0 -m 0 -x
resolvconf: signature mismatch: /etc/resolv.conf
resolvconf: run `resolvconf -u` to update
[#] ip link delete dev wg0
root@gx2 ~#
/gnu/store/rbspsxja81d5srskx6y5jf4gix8a5nwn-openresolv-3.13.2/sbin/resolvconf -u
Status of nscd:
It is running since 08:08:22 (5 minutes ago).
Main PID: 2438
Command: /gnu/store/m31vlvwm79m89fk3xk0z4h7snk61y510-glibc-2.41/sbin/nscd -f
/gnu/store/mam32iva1j0kfrnd1dncj0l4f3bx55l0-nscd.conf --foreground
It is enabled.
Provides: nscd
Requires: user-processes syslogd
Custom actions: configuration statistics invalidate
Will be respawned.
Service user-homes has been started.
Service nscd has been started.
root@gx2 ~# herd restart wireguard-wg0
Service wireguard-wg0 is not running.
Service user-homes has been started.
herd: error: exception caught while executing 'start' on service
'wireguard-wg0':
Throw to key `%exception' with args `("#<&invoke-error program:
\"/gnu/store/30gizwy43571x1nk3l7bxz8fp98iwd5a-wireguard-tools-1.0.20260223/bin/wg-quick\"
arguments: (\"up\"
\"/gnu/store/60sqapacz4pihmgmdr2b05ahmlp1w6p0-wireguard-config/wg0.conf\")
exit-status: 1 term-signal: #f stop-signal: #f>")'.
* Maxim Cournoyer <[email protected]>:
> Hi Raymundo,
>
> Raymundo Soto Morales <[email protected]> writes:
>
> > Hello Maxim,
> >
> > Thanks for your reply, but nope, I am actually using IP addresses as
> > endpoints
>
> OK. Could you try running the command manually as root to see what it
> prints/happens (I believe these messages should also be logged to
> /var/log/messages).
>
> --8<---------------cut here---------------start------------->8---
> sudo
> /gnu/store/30gizwy43571x1nk3l7bxz8fp98iwd5a-wireguard-tools-1.0.20260223/bin/wg-quick
> \
> up /gnu/store/60sqapacz4pihmgmdr2b05ahmlp1w6p0-wireguard-config/wg0.conf
> --8<---------------cut here---------------end--------------->8---
>
> Perhaps there's simply something misconfigured there?
>
> --
> Thanks,
> Maxim