Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    25.07.r.20250709.2036 First Boot WireGuard Service not running

    Scheduled Pinned Locked Moved Plus 25.07 Develoment Snapshots
    40 Posts 2 Posters 1.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • stephenw10S Offline
      stephenw10 Netgate Administrator
      last edited by

      Hmm, OK those dpinger error logs above are not in the given systen log txt. I assume those do appear in the system log? But not at boot?

      Bob.DigB 1 Reply Last reply Reply Quote 0
      • Bob.DigB Offline
        Bob.Dig LAYER 8 @stephenw10
        last edited by

        @stephenw10 I can wait 20 minutes and post again if this helps. Can I upload to another place than the public forum? And I guess I should post the logfile and not copying stuff from the browser. 😉

        1 Reply Last reply Reply Quote 0
        • stephenw10S Offline
          stephenw10 Netgate Administrator
          last edited by

          Yup you can upload here: https://nc.netgate.com/nextcloud/s/rLWRrGHTF6MoNaW

          Bob.DigB 1 Reply Last reply Reply Quote 1
          • Bob.DigB Offline
            Bob.Dig LAYER 8 @stephenw10
            last edited by

            @stephenw10 This dpinger stuff is only in the log after I "enabled" the gateways by hand.
            This time, I had halted pfSense before, kea-dhcp4 wasn't running according to service status widget.

            1 Reply Last reply Reply Quote 0
            • stephenw10S Offline
              stephenw10 Netgate Administrator
              last edited by

              Hmm, so in that log after 'Bootup complete' none of the WG tunnels or gateways were up?

              Bob.DigB 3 Replies Last reply Reply Quote 0
              • Bob.DigB Offline
                Bob.Dig LAYER 8 @stephenw10
                last edited by Bob.Dig

                @stephenw10 I dropped you some pictures what I actually see and this is interesting, at least to me. I just rebooted to have the same problem.

                1. Dashboard shows none of the WireGuard Gateways and Service Status shows WireGuard not running. If I push the button to start WireGuard, nothing happens.
                2. WireGuard Status shows that only the connection to Debian is not running, others do. (Others in red are expected to not run and are not of interest.)
                3. In Gateways I enable all of the WireGuard Gateways by hand, they are for whatever reason not enabled.
                4. Going back to WireGuard Status I now see a warning that WireGuard is not running (why not before?). Then I press the button to start the WireGuard Service and this time it does.
                5. Everything is running and working like it should.
                1 Reply Last reply Reply Quote 0
                • Bob.DigB Offline
                  Bob.Dig LAYER 8 @stephenw10
                  last edited by

                  @stephenw10 I made some further changes. I removed the gateway for that problematic tunnel and also removed keep alive etc so that it is not expected to be running at start.
                  That didn't changed anything for me. At next reboot, gateways are down as is WireGuard. So it seems more of a general problem, although no one else is reporting it...

                  1 Reply Last reply Reply Quote 0
                  • Bob.DigB Offline
                    Bob.Dig LAYER 8 @stephenw10
                    last edited by Bob.Dig

                    @stephenw10 Today I rebooted the host (Hyper-V) and had no problem at all. Don't know if this points towards being a weird virtualization issue... But then, why would WireGuard be effected...

                    1 Reply Last reply Reply Quote 0
                    • Bob.DigB Offline
                      Bob.Dig LAYER 8
                      last edited by Bob.Dig

                      Running /etc/pppoe_restart_pppoe0 via Command Prompt fixes the issue after reboot for me, maybe other things do too...

                      Edit: Interestingly, doing it as a Services: Shellcmd Settings like shown below doesn't do it, so I removed that after testing (it one time).
                      Screenshot 2025-07-27 104416.png

                      Edit2: So to me it is looking like a timing problem between 25.07.r.20250709 and 25.07.r.20250715.

                      1 Reply Last reply Reply Quote 0
                      • stephenw10S Offline
                        stephenw10 Netgate Administrator
                        last edited by

                        Yup it does look like a timing issue or race condition. You have quite a lot of stuff running there. I'm not able to replicate it here. Yet.

                        Are you using failover or loadbalance with those WG gateways? If not you might try disabling the monitoring action on them. That will significantly reduce the boot processes.

                        Bob.DigB 1 Reply Last reply Reply Quote 1
                        • Bob.DigB Offline
                          Bob.Dig LAYER 8 @stephenw10
                          last edited by Bob.Dig

                          @stephenw10 said in 25.07.r.20250709.2036 First Boot WireGuard Service not running:

                          Are you using failover or loadbalance with those WG gateways? If not you might try disabling the monitoring action on them.

                          Not with them but with others. Disabling the monitoring action only on them didn't make a difference.

                          Edit: Disabling it on all but WAN also made no difference.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.