Re: wg(4) inhibits reboot

2025-01-02 Thread km
• Lloyd [2025-01-02 02:03]: I've been doing some testing against Wireguard and was able to get the system in a state where it was unable to reboot via the shutdown command. Unfortunately, I've been unable to reproduce the issue again so far. This particular system was running an unmodified GEN

Re: wg(4) inhibits reboot

2025-01-02 Thread Matthew Ernisse
On Thu, Jan 02, 2025 at 05:22:03AM +, Lloyd said: Your /etc/hostname.wg0 file should contain a line such as the following at the end: !/usr/local/bin/wg setconf wg0 /etc/wireguard/wg0.conf The ! specifies a shell command - see hostname.if(5) You will need to install the wireguard-tools pa

Re: wg(4) inhibits reboot

2025-01-02 Thread Steve Williams
Hi, If you are running 7.6, you should look at wg(4), and ifconfig (search for wireguard) I have some sample hostname.wg files that have OpenBSD working as a Wireguars server with my Windows laptop. No wireguard-tools required. I did find this useful as well.

Re: wg(4) inhibits reboot

2025-01-01 Thread Lloyd
Steve Williams wrote: > What is your configuration that you have a wg process running? Your /etc/hostname.wg0 file should contain a line such as the following at the end: !/usr/local/bin/wg setconf wg0 /etc/wireguard/wg0.conf The ! specifies a shell command - see hostname.if(5) You will nee

Re: wg(4) inhibits reboot

2025-01-01 Thread Steve Williams
Hi, What is your configuration that you have a wg process running? I'm configuring Wireguard currently and am just using the hostname.wg0, hostname.wg1. Still struggling making OpenBSD a client to a Wireguard server, but I think it's the server that's an issue. Do you have a package installed

wg(4) inhibits reboot

2025-01-01 Thread Lloyd
I've been doing some testing against Wireguard and was able to get the system in a state where it was unable to reboot via the shutdown command. Unfortunately, I've been unable to reproduce the issue again so far. This particular system was running an unmodified GENERIC kernel from -current: Open