Failed to start networking.service on new FreePBX 17 install

After creating Vultr Cloud Compute Server with Debian 12 x64 as OS
and installing with wget

The networking.service always fails to start.

I set the network settings in System Admin to static with the correct IP address, etc and checked the /etc/network/interfaces.d/enp1s0 file:

auto enp1s0
allow-hotplug enp1s0
iface enp1s0 inet static
address 45.76.75.197
netmask 255.255.254.0
gateway 45.76.74.1

The /etc/network/interfaces file:

#This file describes the network interfaces available on your system

#and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

#The loopback network interface

auto lo
iface lo inet loopback

#The primary network interface

allow-hotplug enp1s0
iface enp1s0 inet static
address 45.76.75.197
netmask 255.255.254.0
gateway 45.76.74.1

The web GUI and phones work but the firewall rules get corrupted.

How can I get networking.service to start? Do I have to disable systemd-networkd?

Every once in a while my v16 Distro would start with disabled Network service after a reinstall.
I suppose it’s the same for v17?

In my case the solution was to make sure that networking.service started correctly before installing FreePBX 17.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.