You can define commands for network-related execution times.


Menu path: System > System Customization > Custom Commands > Network



You can define commands for the following execution times:

Network initialization

The command is executed at the beginning of the network configuration.


The commands in the below fields are executed each time the relevant network interface starts. The INTERFACE environment variable contains the name of the network interface started.


After network DNS

The command is executed after each change in the IP address or host name / after each DNS configuration. At this point:

  • IP address / name server settings are used (e.g. via DHCP)


Before network services

The command is executed before network services are started. At this point:

  • IP address / name server settings are used
  • VPN is connected (if VPN autostart was enabled in the setup)
  • No network / host routing settings used


Final network command

The command is executed after network configuration is finished. At this point:

  • Network / host routing settings are used
  • NFS and SMB drives are available
  • System time is synchronized with the time server
  • UMS settings are retrieved but not effective yet