new function to set the configuration of a network adapter