Skip to content

Wireguard Client Not working in latest Alpine Linux 3.23 / openresolv 3.17.0-r0Β #45

@bignay2000

Description

@bignay2000

I have an Alpine Linux Server virtual machine that uses Wireguard Client to connect to a Unifi hosted Wireguard server. This worked flawlessly for over a year until upgrading to Alpine Linux 3.23.

Rebooting the server causes /etc/resolv.conf to be empty.

Restarting the wireguard client service fails because /etc/resolv.conf doesn't update back to the network dns or is empty.

https://wiki.alpinelinux.org/wiki/Configure_a_Wireguard_interface_(wg)

rc-service wg-quick.wg0 restart
 * Starting WireGuard via wg-quick(8) for wg0 ...
[#] ip link add dev wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 172.16.16.8/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
 * Failed to start WireGuard via wg-quick(8) for wg0                                                                                                           [ !! ]
 * ERROR: wg-quick.wg0 failed to start

I downgraded the openreolv package to Alpines Linux 3.22's 3.14.1-r0 version today and things are working again. Tested rebooting the server and stop and starting the wireguard service.

vi /etc/apk/repositories
@v3.22 http://dl-cdn.alpinelinux.org/alpine/v3.22/main

I also reproduced this issue with a bare metal Alpine Linux ISO install on the Raspberry Pi 2w.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions