add a net daemon for main