Autodetect a network interface if one isn't specified in the config file