Connecting to the local network