connectnetwork init