DHCP

This section describes the automatic provisioning via DHCP Option 66.

Depending on your DHCP Server, you need to enable the DHCP Option 66 and set the provisioning url.

Examples

OpenWRT (dnsmasq)

/etc/config/dhcp

config dhcp 'lan'
    ...
    list dhcp_option '66,https://http_auth_username:http_auth_password@djangopbx.example.org/provision/device_config/all/{mac}.cfg'

The provisioning url may differ from vendor to vendor, please look at the Vendors docs for your vendor specific information.

OPNSense (isc)

Navigate to Services –> ISC DHCPv4 –> [INTERFACE]

Then add the full provisioning url in the field TFTP server –> Set TFTP hostname.